cancel
Showing results for 
Search instead for 
Did you mean: 

Abap proxy to xml file.

Former Member
0 Kudos

I was successfully completed this scenario, however, I have 1 problem,

when I generate proxy, I'm getting xml format with two two fields before entering the values in them..

for example:

<xxxx>

<empname> this is string1 </empname>

<empname> this is string1 </empname>

<empcity> this is string1 </empcity>

<empcity> this is string1 </empcity>

<XXX>

Note : When I remove duplicate fields and with values and executed, I getting correct out put at $sxb_moni under status.

what is da mistake I am doing and how to avoid this.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I m not using code here, just creating abap class in proxy generation screen wid tcode :sproxy.

Like click on test interface, selecting sender service, checking xml editor --> Execute.

here I m getting xml format with above field which are dublicate..

when I remove duplicate fields and send values, Im getting correct output at $smb_moni (Integration Engine)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Check the Code in the report that triggers the ABAP proxy.

The issue is when the abap proxy is creating the data.

Regards

Bhavesh

Former Member
0 Kudos

Hi,

If you are saying that the ABAP proxy is sending the duplicate fields, then you can check the code that uses the ABAP proxy. Duplicate entries are entered there.

Regards,

Bill