Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with replicating proxy output XML transforming ABAP table

prince_isaac
Active Participant
0 Likes
2,512

Good day experts

I am facing an issue when attempting to replicate a proxy out structure as a file in ABAP. I made adjusted copies of the generated proxy structures removing the CONTROLLER segments and created my own custom deep output structure. I can pass my data along to it and doing a transformation created using transaction STRANS. However when I download the file the structure is not identical to the proxy structure, this is required by the calling system as per received WSDL format. The reason for the file output is that I am running into volume issues and to bypass this I want to drop a file that calling system can consume without any additional code changes on their side.

Proxy Output on the left and my generated file on the right

sap-screenshot.png

The deep structure is defined:

sap-screenshot-output.png

sap-screenshot-nestedstructure.png

The transformation defined:

sap-screenshot-transformation.png

How can replicate my output to be exact to the generated proxy output?

regards

Good day experts

I am facing an issue when attempting to replicate a proxy out structure as a file in ABAP. I made adjusted copies of the generated proxy structures removing the CONTROLLER segments and created my own custom deep output structure. I can pass my data along to it and doing a transformation created using transaction STRANS. However when I download the file the structure is not identical to the proxy structure, this is required by the calling system as per received WSDL format. The reason for the file output is that I am running into volume issues and to bypass this I want to drop a file that calling system can consume without any additional code changes on their side.

Proxy Output on the left and my generated file on the right

sap-screenshot.png

The deep structure is defined:

sap-screenshot-output.png

sap-screenshot-nestedstructure.png

The transformation defined:

sap-screenshot-transformation.png

How can replicate my output to be exact to the generated proxy output?

regards

3 REPLIES 3
Read only

prince_isaac
Active Participant
0 Likes
2,348

Hi Experts

I made a change to the transformation to make the fields attributes and lost the closing tags.

Any advise on how I can get this fixed?

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,348

I guess you mean using the type XSDANY that you filled by using a transformation. It seems that you used a DDIC Table Type instead of a DDIC Structure. Note that it's best to see the code of the transformation.

Read only

prince_isaac
Active Participant
0 Likes
2,348

Issue resolved.

Firstly changed back all elements to attributes in the transformation then proceeded to comment out the table type nodes and successfully replicated the exact output as the proxy.

regards