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

RFC Source data not filled correctly

Former Member
0 Likes
2,053

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

I have answered this question myself, when I changed the table from table's tab of RFC to Import tab with a table type...it started working fine...