cancel
Showing results for 
Search instead for 
Did you mean: 

Sender RFC Scenario Error:Payload Is Missing

former_member270496
Participant
0 Kudos

I am facing an issue in 'RFC2JDBC' scenario which is mentioned below:

here our scenario is 'RFC2JDBC'.here our 'RFC' is having 2 fields in tables parameter

i.e. empno & empname.

the results of the 'RFC' is coming as:

Personnel Number Employee Name

00000100 Rasmiraj

00000200 Tanmay

00000300 Kanhu

00000400 Debabrata

00000500 shantanu

i am triggering the 'rtfc' through a program.

when i am triggering the 'RFC',in monitor of PI it's coming as sucessful.however in the payload one of the field value is missing i.e. employee name.(same also updating in the legacy database)

in the payload it's appearing as:

[ <?xml version="1.0" encoding="UTF-8" ?>

- <rfc:ZSAM_SEND_RFC_PI xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

- <EMP_DTLS>

- <item>

<EMPNO>00000100</EMPNO>

<EMPNAME />

</item>

- <item>

<EMPNO>00000200</EMPNO>

<EMPNAME />

</item>

- <item>

<EMPNO>00000300</EMPNO>

<EMPNAME />

</item>

- <item>

<EMPNO>00000400</EMPNO>

<EMPNAME>a</EMPNAME>

</item>

- <item>

<EMPNO>00000500</EMPNO>

<EMPNAME />

</item>

</EMP_DTLS>

</rfc:ZSAM_SEND_RFC_PI> ]

please,suggest.(here,we are using sender 'RFC' communication channel & an 'RFC'destination of type 'T'(with parameter registered server program,gateway host,gateway service)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Rasmiraj,

I've been through this problem.

Look in your destination, tab MDMP & UNICODE.

Flag or disflag the option UNICODE/NO-UNICODE and test again.

I think that doing this will solve the insue.

att.

former_member270496
Participant
0 Kudos

thanks carlos.issue is solved.

Former Member
0 Kudos

Hi rasmiraj tripathy,

I am also facing the same problem (Sender or Payload is missing) while integrating R3 to B1 using IDOC. When I resend IDOC, it capture by B1iSN but doesn't work, it gives me error. When I look into xml document, it is found that there is no receiver payload.

My R3 system is non-unicode and it is difficult to change it to unicode as it requires updation.

Can you please confirm that this error is coming due to Non-Unicode, and can be resolved by setting it to Unicode.

Note: There is no double definition of any object.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

1. Test your function Module directly in ECC. Does it return back the employee Name ?

if no, change your abap code.

if yes, maybe the function module (FM) imported in ESR does not have the last version.

2. Check the imported function module in ESR.

If everything is ok, you have certainly an issue of cache due to for instance a change done in your FM.

3. To clean this RFC cache, you have to stop/start the RFC Adapter service "XPI Adapter: RFC" in NWA. See how to do that [with this link|http://wiki.sdn.sap.com/wiki/display/XI/Startandstop+services].

regards.

Mickael

former_member312864
Active Participant
0 Kudos

is it showing record correctly in ecc system sxmb_moni.

go for cache refresh full mode

http ://<server>:<port>/CPACache/refresh?mode=full

Former Member
0 Kudos

Hi,

-> maybe you've changed the RFC structure - you need to restart the RFC adapter (RFC FAQ note on OSS)

Check your unicode settings for both R/3 and PI by:

1.) In ID, in your RFC Sender comm channel, check if the unicode option is checked

2.) In R/3, check your RFC Destination (SM59) type T and then see if the unicode option is on the unicode tab

3.) Retest

reagrds,

ganesh.