Ansicht
Dokumentation
FINS_CFIN_COMMITMENT_POST_V2 - Posting of CO Commitment
CL_GUI_FRONTEND_SERVICES - Frontend Services Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
You can use this function module to replace source cost objects with central cost objects and post commitments to the central cost objects. Currently the standard objects that carries commitments are purchase orders or purchase requisitions. You can replicate commitments related to these objects using the standard functionalities provided by this interface. For commitments related to other cost objects, you can use customized BADIs to enable replication.
Parameter IT_CMT_HEADER contains the header information about the commitment documents to be replicated. It contains the reference type (PR or PO) and the relevant PR/PO document number.
Parameter IT_CMT_ITEM contains the item information about the commitment documents to be replicated. It contains the following fields
- Key Fields
- FIN_CFIN_S_CO_CMT_COM: this structure contains the common fields of EKPR and EKBP. This structure contains the common fields of purchase orders and purchase requisitions that will be used to generate PR/PO in the central finance system.
- FIN_CFIN_S_CO_CMT_EKPR_SPEC: this structure contains the fields specific to EKPR. This structure contains the specific fields of purchase requisitions that will be used to generate PR in the central finance system.
- FIN_CFIN_S_CO_CMT_EKBP_SPEC: this structure contains the fields specific to EKBP. This structure contains the specific fields of purchase orders that will be used to generate PO in the central finance system.
- FIN_CFIN_S_CO_CMT_APP: this structure contains the appendix information and extension, which specify the technical fields used in the interface's internal processing. It also provides information on when/by whom the commitment is created.
- CI_CFIN_CMT_EXT: this structure contains the customized fields enhanced by the client, if any.
Parameter IB_SIM determines which AIF interface the commitment info will be processed by.
- if this indicator is set, then the commitment info will be processed by the AIF commitment simulation interface, which will execute all necessary steps except for the final posting step. This will help the user to identify any potential errors without having to actually post the commitment info to the database in central finance system.
- If this indicator is not set, then the commitment info will be processed by the AIF commitment posting interface, which will execute all necessary steps to post the commitment document to the data based in central finance system.
Parameter ET_MESSAGE is the message table containing returning messages from the commitment posting interface.
There are some other features and limitations in this function module. For more information, see SAP note 2549128.
Example
Notes
Further information
Parameters
ET_MESSAGEIB_SIM
IT_CMT_HEADER
IT_CMT_ITEM
Exceptions
Function Group
FINS_CFIN_CMT_EXTERNALTXBHW - Original Tax Base Amount in Local Currency Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 3638 Date: 20240604 Time: 030237 sap01-206 ( 74 ms )