on 04-13-2023 2:27 PM
Hi,
I need to programmatically create a customer on a SAP RISE S/4Hana system. The external system will be the system of reference for customers, and I need to replicate the data (creates and changes) into a SAP S/4Hana system. We are using a SAP CPI middleware system, so we can control the type and structure of the data that is presented, but we know that the external system does not have any concept of SAP's org structures, so we'll have to dynamically fill the details in as part of the interface.
I'm looking for options, and I've found several people asking the same question and no definitive answers.
We just need to create or change the customer, the payer, bill_tos, ship_tos and any associated contacts. As I said the external system doesn't know about SAP company codes or sales orgs, terms of payment, and a whole range of actual master data you would think off, so they will all be defaulted into the data structure before making the call.
I'm just looking for the current best practice on how to create customers as part of day to day activity, rather than by migration or mass upload process.
HI Adam,
Have you considered the Business Partner SOAP webservice.
https://microlearning.opensap.com/media/Business+Partner+SOAP+Services+Overview+-+SAP+S+4HANA+Techno...
https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/44e06f22436c43e582db6ccd5250e29b/bf630b973c0d4efb8e1...
Is mise le meas,
Brad
SAP Product Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I wasn't aware of this, which is part of the reason I asked the question.
I'm currently looking at the class: cl_md_bp_maintain which isn't well documentent but seems to do everything I need. However I'll check out the SOAP interface as well. Though because we will need to derive a lot of data from z tables to construct our new BPs the standard class may be the better option.
Again, thanks for the suggestion.
User | Count |
---|---|
104 | |
13 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.