cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Source data not filled correctly

Former Member
0 Likes
2,003

Hi All,

I am facing a typical problem.

I have created a RFC to File scenario and I am running the ABAP program to call the RFC with the following values:

field1(type Char 14; value:'aaaaaa') --> Field1 (string)

filed2(type Char 15; value:'000000000000012') -->Field2 (string)

filed3(type Char 10; value: 'fgdf') -->Field3 (string)

field4(type Char 8; value: 'sgsdfg') -->Field4 (string)

However, the source structure in XI is getting filled with the following values:

Field1 - 'aaaaaa'

Field2 - '00000012fgdfsgsdfg'

Field3 - Empty

Field4 - Empty.

This is in the source structure (before the mapping is done). I am unable to make out if the problem is there in ABAP program or in XI.

I tried debugging ABAP program. But it looked perfectly fine. Is there something I need to change in XI for this scenario???

Please reply its urgent.

Reward points would be given.

View Entire Topic
Former Member
0 Likes

Hi

First check if RFC is remotwe enabled.

I hope u have created TCP/IP RFC connection in Sender System with program id and this same program id is maintained in the ID Sender RFC Configuration.

Also check the program id should be same in both area --> Since it is case senstive.

Also --> import RFC in IR , if u have made changes in RFC re import that's better.

hope above is helpful

rwd points if useful

rgds

srini

Former Member
0 Likes

Hi Srini,

The RFC connection is fine, I am able to get values in the source structure.However, the values are not getting correctly populated.

Thanks,

Vishal.

Former Member
0 Likes

Hi,

Then have u checked the mapping and u r "Receiver File Adapter" Config ??

Have u given right conetent conversion

rdgs

srini