cancel
Showing results for 
Search instead for 
Did you mean: 

RFC->XI->WebService / Trouble with Inbound of RFC

Former Member
0 Kudos

Hi folks!

i am in troubles!

i have an rfc:

CALL FUNCTION 'ZFI_AUSGLEICHMELDUNG_KISS'

IN BACKGROUND TASK

DESTINATION 'XD7_SEND_AUSGL_KISS'

EXPORTING

i_augkiss = wk_augkiss.

the structure of wk_augikiss:

EZDAT DATUM DATS 8

AUGDT DATUM DATS 8

AUGBL AUGBL_KK CHAR 12

AUGRD AUGRD_KK CHAR 2

OPBEL OPBEL_KK CHAR 12

GPART GPART_KK CHAR 10

VTREF VTREF_KK CHAR 20

i fill the structure correctly. debug-session-view of wk_augkiss:

1 EZDAT D 8 20060712

2 AUGDT D 8 20060712

3 AUGBL C 12 000000012345

4 AUGRD C 2 02

5 OPBEL C 12 000000000123

6 GPART C 10 0000100013

7 VTREF C 20 00000000000000100013

but in the SXMB_MONI the payload of the inbound-rfc-messege is:

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

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

- <I_AUGKISS>

<EZDAT>2006-07-12</EZDAT>

<AUGDT>0000-00-01</AUGDT>

<AUGBL>000000012300</AUGBL>

<AUGRD>00</AUGRD>

<OPBEL>000000100013</OPBEL>

<GPART />

<VTREF />

</I_AUGKISS>

</rfc:ZFI_AUSGLEICHMELDUNG_KISS>

there is a displacement of field-content. i tried to move the fields in the structure in to another place. nothing helped.

can anybody help me? the scenario should run today :-((

thank u for ur help!

Accepted Solutions (1)

Accepted Solutions (1)

ravi_raman2
Active Contributor
0 Kudos

Antonio,

After reading through the answers..i can only suggest this........

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0... RFC Troubleshooting Guide

Hope that helps, though in your case i also would open an OSS note as it seems you have done all that you can and might be a bug..though i am not sure if i have fully qualified that statement...!

Regards

Ravi Raman

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

May be you have to check if the system is unicode enabled. And if so then in SM59 you have to select the unicode radio button and also check the gateway host.

Regards,

Vish.

Former Member
0 Kudos

Hi Antonio,

I am also working on RFC to File scenario.

While creating the RFC connection in SM59, We need to Give gateway host & gateway service.... So it should be R3 IP address and system no

or XI IP address and system no ?

Former Member
0 Kudos

hi anuj

this thread treats my really big problem... for u the answer is:

gateway host & service is always the sending system...

cu

Former Member
0 Kudos

Hello Antonio,

did you find a solution / reason for your issue with the misplaced payload?

I have the same problem here and no idea.

Currently we are working with a self developed hot fix on sender side because our problem is in the field order which requires now placing '9' s into the digits of this field which are not transported because empty .

So order '000001234' is transported as '1234' and so all fields following are misplaced. With '999991234' it works!

But....

Any help is appreciated!

Thank you in advance!

Dirk

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Did you make some changes in the RFC strcuture after you imported into XI?

If yes, just make some dummy changes in the RFC adapetr and activate it again.

There can be issues in the RFC metadata.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh

i know about this 'trick' - but it do not help...

thank u

Former Member
0 Kudos

Hi Antonio,

Looks like there is a mismatch between the RFC structure imported and the RFC Metadata in Sender system. I am not sure of it..but you can try restarting(stop and start) the RFC Adapter Service from Visual Admin. Then it will load the meta data again.

Regards,

Amitabha

Former Member
0 Kudos

hi Amitabha

we stoped and starded the service but the problem is always there.

regards

toni

Former Member
0 Kudos

Hi Toni,

Please repeat the process once again.

Import the RFC and then try.Its surely the error with the RFC metadata.

Thanks

Amitanshu

Former Member
0 Kudos

Hi-

I think only thing you can do reimport the RFC and activate it again.

Former Member
0 Kudos

hi Amitanshu

i imported the rfc but without better results...

thank u