cancel
Showing results for 
Search instead for 
Did you mean: 

Thiefs! Field Value is missing.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

Use this /people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

Chris,

Go to SXMB_ADM --> Integration Engine Configuration --> Specific Configuration --> make the TRACE_LEVEL to 3 and check, Am not sure if this will help, but worth a try!

Regards

Bhavesh

Former Member
0 Kudos

Nothing unusual in trace

Further ideas??

Former Member
0 Kudos

Hi Christian,

Try to reactivate your sender rfc communication channel once more.

Thanks,

Tuhin

Former Member
0 Kudos

Hi,

I reactivate the channel, reimport the rfc (after changes in rfc) and

reactivate also the mappings. no changes

Former Member
0 Kudos

OK In mapping in SXMB_MONI are you getting same source message sent from SAP ?

Former Member
0 Kudos

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

Former Member
0 Kudos

I feel it is sender rfc adapter issue.

Make new TCP-IP connection and try to use a new communication channel.

Former Member
0 Kudos

Hi,

did u create the RFc and then checnge it again. From the error it feels like a cache issue.

Regards

Vijaya

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello,

interessting. I'm not able to test this, because we switched everything to table

and it works. But it's good to know what I have to check next time with same

issue. But I'm not sure, if we used different languages

Thanks and regards

chris

bhavesh_kantilal
Active Contributor
0 Kudos

Andreas,

Great answer.!

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

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