on 01-08-2007 5:53 AM
Hi all,
I am configuring a simple RFC-XI-File scenario. The scenario is asynch. I can get pass the values from R/3 to XI server, but the order of fields in the RFC differs from the order that is passed to XI server(SXMB_MONI).
The order of fields in my RFC is
FM_MATNR
FM_ERSDA
FM_MTART
FM_MBRSH
FM_MATKL
FM_MEINS
FM_MAKTX
But the order that is getting didplayed in SXMB_MONI is
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:ZMATERIAL_DETAILS xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<b><FM_ERSDA></b>2006-11-08<b></FM_ERSDA></b>
<b><FM_MAKTX></b>semi finished goods<b></FM_MAKTX> </b>
<b><FM_MATKL></b>003<b></FM_MATKL> </b>
<b><FM_MATNR></b>000000000000000006<b></FM_MATNR> </b>
<b><FM_MBRSH></b>M<b></FM_MBRSH> </b>
<b><FM_MEINS></b>EA<b></FM_MEINS> </b>
<b><FM_MTART></b>HALB<b></FM_MTART> </b>
</rfc:ZMATERIAL_DETAILS>
Can you let me know why this is caused? Also is there any setting to avoid this?
Regards,
Jai Shankar
Jai,
What about the structure of the RFC imported in Design of XI?
Is it the same as that the one in MONI?
Regards,
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jai,
The RFC adapter caches the RFC Metdata and it is responsible for converting the RFC data into the RFC XML and vice versa.
Your RFC XML has the fields in a particular order and so, when the RFC adapter is converting the incoming RFC data into the RFC XML message, it is creating the XML message in the order as the XML . This is the default behavior, and as far as I know it cannot be altered.
Any specific reason as to why you are concerned about the order of the fields?
Regards
Bhavesh
Jai,
Irrespective of whether it is a deeply nested structure or not, the RFC adapter will create a valid RFC XML similar to the RFC you have imported in your Integratiuon Repository!
If the data is being populated correctly in your report, then the RFC adapter will also create a valid and correct XML. You need not worry abt this!
Regards
Bhavesh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.