Product Information
Cloud BAdIs for Sales Scheduling Agreement SOAP Inbound message
Background
Communication Scenario: Sales Scheduling Agreements With Buyers Integration (SAP_COM_0444)
Scope Items: Sales Scheduling Agreements (3NR)
Business Object: Sales Scheduling Agreement
from CE2002, we introduce 2 total new cloud BAdIs for this soap service:
BAdi definition
SD_EDI_INB_SEARCH_SCHEDGAGRMT:Search for Sales Scheduling Agreements in EDI Processing
Enable customer to implement their own logic to determine sales scheduling agreement to be updated, which would override the standard determination once this BAdI is implemented.But if no sales scheduling agreement is determined by the custom logic or the provided ones is not detected from system, the standard determination would work again, and a warning message would tell customers that no sales scheduling agreement is found from custom logic.
You can pick up this BAdI for below scenario:
1. Multiple sales scheduling agreement exist with the same Sold-To-Party, Customer Material and Customer Reference(based on the deployment whether PO number is checked or not), and standard logic will detect more than one scheduling agreement, but only one can be updated. In this case, a specific sales scheduling agreement can be appointed in the BAdI.
SD_EDI_INB_CHECK_SCHEDGAGRMT:Check Sales Scheduling Agreements in EDI Processing
Enable customers to implement their own check beside the standard check before save changes, to stop the process or not is based on the custom message type, only message type ‘E’ would interrupt the process, others message type could only between ‘S’,’W’ and ‘I’.
Thanks for Sharing.
Hi Jianhong Zhao
Thank you very much for the information.
We have been testing the "SD_EDI_INB_SEARCH_SCHEDGAGRMT: Search for Sales Scheduling Agreements in EDI Processing" BADI and everything seems to be working properly.
However, we have realised that the "SD_EDI_INB_SEARCH_SCHEDGAGRMT: Search for Sales Scheduling Agreements in EDI Processing" BADI only allows to use the following structures:
SALESSCHEDULINGAGREEMENT
SALESSCHEDULINGAGREEMENTITEM
Do you know if it is possible to use the DELIVERYSCHEDULE and SCHEDULELINE structures?
It seems that only the "SD_EDI_INB_CHECK_SCHEDGAGRMT: Check Sales Scheduling Agreements in EDI Processing" BADI allows to use all the structures available in a sales scheduling agreement > SALESSCHEDULINGAGREEMENT, SALESSCHEDULINGAGREEMENTITEM, DELIVERYSCHEDULE, SCHEDULELINE.
Thank you very much in advance for your comments.
Best regards.
Jorge.