Fonction SAP CACSCD_TRANSFER_ISCD_REVERSAL - FS-CD: Reset Document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_FLAG_ROLLBACK FLAG C 1 X General Flag
I_TEST CACSTESTFLAG C 1 Indicator: Test Run

Paramètre Reférence Type Long. Description
E_FLG_ERROR CACSCASEERROR C 1 Indicator: Commn Case Inconsistent (X = error, ' ' = ok)

Paramètre Reférence Long. Facultatif Description
ET_MESSAGE CACS_S_TRANSF_MESSAGE 568 Reporting Structure for FI Transfer
IT_DOC CACS_S_TRANSFER_ISCD_R 66 Structure: Reversal FSCD Document

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.