on 2022 Jul 05 4:38 PM
Hello All,
In our project, there is a requirement from the business where we have to send two payloads using form-data via REST adapter(sender) to SAP PO(final receiver is SAP S4).
In form-data we are getting two payloads in a single message(below screenshot provided)
We are expected to perform the below steps by sending the payloads separately via REST sender API from the postman to SAP PO, below are the details:
* For JSON payload:
* For PDF payload:
The real problem is when we send both the payloads at the same time, with a JSON to XML mapping in ESR, the first payload(JSON), gets converted successfully, but the second payload(PDF), for which SAP PO generates a separate message-id, also tries to get executed through the same JSON to XML mapping and it fails.
Please find the below screenshots for reference:
The first payload is JSON and the second is PDF.
The above screenshot shows JSON to XML mapping executed successfully.
The above grab shows the SAP PO server generates a new message-id for PDF payload and fails during mapping steps as maybe its structure is not as expected in JSON to XML mapping.
Kindly suggest,
Thanks & regards,
Rajesh Shinde
Request clarification before answering.
Hi, Did you find solution to this? As I have similar requirement as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.