Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Nested Schema Issue in SAP BODS

$
0
0

Hi BODS Gurus,

 

We have created a Real time service, flow of messages is as below:

 

Synchronous scenario:

 

Request:

Third party(Web service call)-> SAP BODS(Request XSD) -> SAP CRM(Function Module)

 

Response:

SAP CRM(Function Module) -> SAP BODS(Response XSD) -> Third Party (Web service call)

 

Third party has shared the request and response XSD; in BODS we have used these XSD's and shared the wsdl file with them to send the request data and receive the response back.

 

Request XSD contains deep nested structure.

 

Issue we are facing here:

 

When we receive the request data(nested data) and we are converting this deep nested structure and removing single level of nesting.

 

few fields (XML tags) are getting repeated multiple times even if in request data field occurring only once.

 

We have generated the files at very first level where request is received and after one query where we have removed level of nesting.

 

Attached screenshot of Input data and Query (where single level of nesting is removed) and below output files data for few records where is getting repeated.

 

Request Data:

<?xml version="1.0" encoding="UTF-8"?>

<test1>

<mfResortProfileID>5775710</mfResortProfileID>

<Time>2016.01.29 10:46:30</Time>

</test1>

 

First Query Output Data:

<?xml version="1.0" encoding="UTF-8"?>

<test2>

<mfResortProfileID>5775710</mfResortProfileID>

<Time>2016.01.29 10:46:30</Time>

<mfResortProfileID>5775710</mfResortProfileID>

<Time>2016.01.29 10:46:30</Time>

<mfResortProfileID>5775710</mfResortProfileID>

<Time>2016.01.29 10:46:30</Time>

</test2>

 

Please help us in resolving iissue?

 

Waiting for your valuable feedback.

 

Thanks in advance.

 

Regards,

SV


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>