2021 Jun 03 10:44 AM
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
The deep structure is defined:
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
The deep structure is defined:
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
2021 Jun 04 12:13 PM
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?
2021 Jun 04 3:37 PM
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.
2021 Jun 07 7:09 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |