Functionality Several documents can be sent to the function module for reversal. Forthis, the document number to be reversed, the document year, and ifknown, the new reversal document number are sent to the table. If thenew reversal document number is not known, the function module providesa new number for posting the document. Reversal document is posted with the reversed sign in the accounting. Successfully reversed documents are marked in the table CACS00_DOCFI_H(FI-document header data) in field WORK_FLAG with 'S'. This helps inavoiding duplicate reversal. (Error)messages are returned in a table. In addition, a processingstatus is returned, whether the documents were properly formatted/posted. Notes
- The field E_FLG_ERROR is set to 'X' after the first error.
- Depending upon the switch position (I_FLAG_ROLLBACK), erroneous
documents are marked with 'E' in table IT_DOC in field WORK_FLAG or theprocessing is terminated with ROLLBACK.
|