on 12-15-2006 10:48 AM
Hello,
I have a RFC -> XI -> Email Szenario and built a function modul in SAP
to test the RFC. But SXMB_MONI don't receive all field values or the values
are in wrong fields. First I thought my mapping is crashed, but the it seems
the RFC delivers wrong information. In Moni the payload looks like this
<i>
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Z_RFC_CALL_XI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
- <GS_REASON>
<REASON1>Reason1</REASON1>
<REASON2>Reason3</REASON2>
<REASON3 />
<REASON4 />
</GS_REASON>
..
..</i>
In RFC I filled it like this:
<i>
<REASON1>Reason1</REASON1>
<REASON2>Reason2</REASON2>
<REASON3>Reason2</REASON3>
<REASON4>Reason2</REASON4>
</i>
So what happend? The result screen of my RFC tells me that all
fields were filled and send successfully.
How can I debug this?
thanks
chris
Use this /people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
@Sravya
Thanks for the link, but I don't call a RFC from XI but call
a RFC-Adapter from a SAP system. So I do the other way
@Bhavesh
Which trace level I should increase? Where to do this?
You mean that my function modul not delivers everything I want?
Then the result screen in se37 would not show all fields filled, or?
thanks
regards
chris
No, but I can only see the payload after my first mapping and not the stuff direct send from SAP. But it is only a 1:1-mapping to an abstract interface.
The payload there is crashed. Interessting is that my RFC function moduls
uses structures and tables which are send to XI, but only the structures
with the field MANDT are wrong.
Example:
<i>
GS_SC_DATA>
<MANDT>001</MANDT>
<ISOSID>0715-2006-0000000173 GO</ISOSID>
<ACTION />
<TYPE />
<SID>OTN20DT113083 USRI32365 0</SID>
<DEVNAME>TEXTTEXTEXT</DEVNAME>
<USERID />
..
</i>
The ISOSID should look like <ISOSID>LI20715-2006-0000000173</ISOSID> so the first three character of the field MANDT are missing in next field and so on.
Tables (even with MANDT field) are transfered correct like this dummy values:
- <GT_SERVICE>
- <item>
<MANDT>444</MANDT>
<ISOSID>444</ISOSID>
<ITEM_COUNT>444</ITEM_COUNT>
<SERVICECODE>444</SERVICECODE>
<SERV_CLUSTER>444</SERV_CLUSTER>
<SERVICE>444</SERVICE>
<SERVICEOPTION>444</SERVICEOPTION>
<SERVICEOWNER>444</SERVICEOWNER>
<COUNTRY>444</COUNTRY>
<BU>444</BU>
<PRICE>444</PRICE>
<PRICEUNIT>444</PRICEUNIT>
<LOCATION>444</LOCATION>
</item>
</GT_SERVICE>
It really looks like a bug
Hi @all,
now I delete my szenario completely and import the RFC new, after clearing all caches. But still the same matter. Also I create new communication channels
and communication agreements -> nothing happend.
The SAP system sends structures and tables through the RFC, but
only the structures are confused. Could this be a bug within XI?? Does
anyone did already successfully transfer ABAP structures through RFC?
Thanks
regards
chris
Hi Christian,
I had a similar problem. We send a synchronous RFC request XI -> SAP and get a response. In the response everythings seems fine, but the value of exactly one field was always missing. When executing the function module via transaction se37 the field was filled - but with XI we did not get it back during the remote request. First I thought about a RFC metadata issue, but even reimporting the function module to XI and refreshing caches had no effect.
In SAP some texts are maintained language-dependent. Also my missing field. When we executed the function module manually we were logged on with DE and got the value. In the communication channel I usually use EN. But for english the text was not existing. After switching the logon language EN to DE in the channel it works.
Best regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chris,
a rather strange problem!
Just try increasing the trace level and checking into the trace on MONI if something went wrong?
My hutch though it might sound stupid is that the report you have written is not populating the data as you want it!
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.