Skip to Content
0
Nov 11, 2019 at 08:12 PM

Insight to BADI /SAPSLL/IF_BADI_CDOC_EXT~CDOC_EXT

114 Views

Hello,

Was looking at this BADI to do an update to the declaration. However, when I look at the documentation, see below, it does not seem to match the parameters for the method. The parameter IS_CDOC is exported to the method, but cannot be changed.

So, I did not read the documentation correct?

____________________________________________________

Short Text

Post Document

Functionality

Method CDOC_POST can run directly before the update; it allows you to synchronize data from the external application with the finished documents, as the final document is available at this point.


Result

The system saves the data from the customer tab pages in the documents in Customs Management, according to your BAdI settings.

Parameters

The method contains the following import parameter for the document object: IS_CDOC - document object

Exceptions

This BAdI does not have any exceptions.

Notes
•This method is called whenever a document is saved.
•The document is updated synchronously, which means the external application should not call any separate update modules IN UPDATE TASK.
•The method must not contain any COMMIT WORK statements, nor any registration of PERFORM ON COMMIT.
•All error messages must be output as A (termination) or X (exit with short dump) messages in this method.