Skip to Content
avatar image
Former Member

RFC Adapter Settings - stage 3 problems

Hi Experts,

Mine is a RFC to FILE scenerio.I am facing a strange problem. I am sending some data to the RFC through a SE38 program, but only a part of the data is reaching the SXMB_MONI!

See the report program and the Remote function Module below. also the details of the structure is given below:

REPORT ZRFC_ADAPTER.

Data: it_final1 type standard table of zrfc_str with header line .

it_final1-NAME = 'ArnaB'.

it_final1-ADDRESS = 'address'.

it_final1-EMAIL = 'arnab.rudra1gmail'.

it_final1-ID = 'ID'.

append it_final1.

CALL FUNCTION 'ZRFC_XI'

IN BACKGROUND TASK DESTINATION

'R32XIRFC'

EXPORTING

username = sy-uname

tables

it_final = it_final1 .

break-point.

COMMIT WORK.

Clear it_final1.

I have seen in debugging mode, after removing the "

IN BACKGROUND TASK DESTINATION

'R32XIRFC'", that the internal table " it_final1 " is working fine......

The RFC structure

IT_FINAL LIKE ZRFC_STR -- in tables parameter. and the structure of ZRFC_STR is as follows!

NAME ZNAME CHAR 14

ADDRESS ZADDRESS CHAR 40

TELEPHONE ZTEL CHAR 20

EMAIL ZEMAIL CHAR 40

ID ZID CHAR 10

But when checking the SXMB_MONI load , data is incomplete and cut.......Now many of you will suggest re-importing teh RFC in Integratio Repository, and reactivating the communication channel, but i hav done that several times,,,,still the data coming in is incomplete and shreded...i donno why...take a look at teh sxmb_moni output!!

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

<USERNAME>RETAILDEV</USERNAME>

- <IT_FINAL>

- <item>

<NAME />

<TELEPHONE>rudra1</TELEPHONE>

<ADDRESS />

<EMAIL />

<ID />

</item>

</IT_FINAL>

</rfc:ZRFC_XI>

I know, that there is nothin getting stuck in the queue, and had there been anything wrong in the code, nothin would hav worked.....can u guys tell me where am i gettin stuck..

Regards,

Arnab

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 22, 2008 at 06:29 AM

    Arnab,

    I wont ask you to do any of the steps as I know I was the one who asked you to do that 😊

    My only guess, and I know you are going to cringe, is everything in the ABAP Report right?

    Also, do you have COMMIT WORK at the end of your report?

    You would need to have this.

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Cheeeeeeeeeeeeeeeeeeeeeeers Dava.. problem solved......wht hundreds could nt answer, u resolved in seconds, Many thanks buddy!!

      Arnab.

      P.S.: a million points from heart!!