on 2020 Mar 13 8:05 AM
Hi,
I'm trying to expose IDOC as a REST service, which means 3rd party can send data to REST service and it will create and IDOC in SAP system. I have used the external definition to configure the same.
May I know the element name and the namespace name to use in the REST sender channel?
I have configured as below, please let me know anything wrong with this configuration.
External Definition -
Operation Mapping -
REST sender-
Request clarification before answering.
HI Buddhika,
This looks correct, but please test and if the namespace is wrong set the sender interface namesapce.
Even please, review the next step by step document:
https://blogs.sap.com/2016/01/15/example-of-sender-rest-adapter-in-pi-74/
Tip: if you see issues with your XSD, then open test tab, copy the IDOC xml, and convert that new XML into a new XSD, the import it into PI again. Here you can convert XML to XSD, just if is required: https://www.liquid-technologies.com/online-xml-to-xsd-converter
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azael,
Thanks for your valuable comment. In here I'm directly using IDOC in target operation in operation mapping, not a service interface. Anyidea how to do the configuration in sender channel?
Hi bkrishantha
Try the next configuration, in my opinion, could be the same configuration instead of Service interface you use the IDOC information:
If this helps you please mark as resolved, if you have doubts feel free to ask me,
Success
Thanks for your prompt response. I will check and get back to you. 🙂
User | Count |
---|---|
54 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.