Skip to Content
0
Sep 20, 2023 at 08:42 AM

How to read further sales order data within a BAdI at runtime

45 Views

Within BAdIs for sales order processing/updating (e.g. SD_SLS_MODIFY_HEAD) not all relevant sales order data is available within available importing parameters. For this particular example, e.g. (adjusted) partner addresses are not available. But missing data is still relevant for follow-up processes or further functionality like pricing, exclusion, etc. In this particular example, the (possibly adjusted) country and postal code of a certain partner are relevant for pricing (-> shipping costs, island fee).


Unfortunately, class cl_sls_data_ref, which could be used within a BAdI to read further sales order data at runtime, is not released by SAP.

Is there any way to read further sales order data within a BAdI at runtime even though it is missing in importing parameters?