cancel
Showing results for 
Search instead for 
Did you mean: 

Xm l to json conversion issue

09-19-2021 10:45 AM
481 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

I have idoc to soap asynchronous scenario

But the message should sent in json formal there I used xml to json conversion there after I have an issue.

Example : field value : "0914902" it should like this

After conversion field value: 914902 with out qutoes ..

Can any one please help ASAP

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Hari,

I wonder which JSON conversion capability you use since your scenario is IDoc to SOAP, in SAP Process Integration / SAP Process Orchestration only the REST adapter has an in-built XML to JSON / JSON to XML conversion. So, if you use the REST adapter, there is the possibility to define custom conversion rules, in your case you need to define your xml element as of type integer, see https://help.sap.com/viewer/5cf7d2de571a45cc81f91261668b7361/7.5.22/en-US/a40979890af3403d84ff2f028f...

Alex