Functionality Several documents can be transferred to the function module forreversal. For this purpose, the document number to be reversed and thedocument year and, if known, new reversal document number is sent to thetable. If the new reversal document number is not known, the functionmodule provides a new number for posting the document. The reversal document is posted with reversed sign in accounting. Successfully reversed documents are indicated in table CACS00_DOCFI_H(FI document header data) in field WORK_FLAG with 'S'. This helps inavoiding a renewed reversal. (Error) messages are returned in a table. In addition, a processingstatus is returned, whether the documents were formatted/postedcorrectly. Notes
- The field E_FLG_ERROR is set to 'X' in case of first error.
- Depending upon switch position (I_FLAG_ROLLBACK), the unsuccessful
documents are marked with 'E' in table IT_DOC in field WORK_FLAG or theprocessing is terminated with ROLLBACK.
|