Functionality Several documents can be sent to the function module for reversal. Thedocument number to be reversed, the document year and, if available, thenew reversal document number are entered in the table for this purpose.In case the new reversal document number is not known, the functionmodule gives a new number for posting the document. The reversal document is posted in accounting with reversed sign. Successfully reversed documents are marked in the table CACS00_DOCFI_H(FI document header data) in field WORK_FLAG with 'S'. This helps inavoiding a duplicate reversal. (Error-)messages are returned in a table. In addition, a processingstatus is also returned as to whether the documents were correctlyformatted/posted. Notes
- The field E_FLG_ERROR is set to 'X' after the first error.
- Depending upon the switch settings (I_FLAG_ROLLBACK), the erroneous
documents in table IT_DOC in field WORK_FLAG are marked with 'E' or theprocessing is terminated with ROLLBACK.
|