Ansicht
Dokumentation
CMS_SENDOUTBND_IDOC - Send response IDOC for ship and debit claims
BAL Application Log Documentation SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
This function module is used to send the response IDOC
It is called from the CMS_OUTBND_IDOC_EXEC business logic handler
The function module calls CMS_BRE_INVOKE to execute a set of rules for the
the response IDOC. The function module CMS_LO_VALIDATIONBITS_SET is called
to set the validation bits for the failed rules.
The function module checks for the EDI codes that have been configured.
If the EDI codes are configured, the function module CMS_BRE_VALIDPOS_FOR_RULE_GET is called.
This function module returns the BIT position of the rule for which the EDI
code is configured.The bit in the bit position of the validation bits field
of the record is checked and if it is found to be 1 then the rejected EDI codes are sent.
The status of the records are made as Rejection sent.
If no EDI code bits have 1 then the pre requisite rules are checked and if all the rules are
executed successfully then the status of the records is made as acceptance sent
and a positive response is sent.
The pre req rules are checked by calling the function module
CMS_PRE_REQ_RUL_CHK_BL. If all the rules are success then it returns a success indicator as true.
If any one rule fails then the success indicator is returned as false.
The status of the record is changed to Rejection sent.
The function module CMS_LO_TO_CDT is called to convert the records to complex data types.
The function module CMS_IDOC_OUTPUT_SSDRSP is called to create the response IDOC and
it returns the response IDOC number.
Example
Notes
Further information
Parameters
CS_EXEC_STRUCEV_SUCC_IND
IV_EXEC_STR_NAME
Exceptions
Function Group
CMS_CLMCLC_BLCPI1466 during Backup General Material Data
This documentation is copyright by SAP AG.
Length: 2103 Date: 20240523 Time: 085915 sap01-206 ( 27 ms )