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

RFC Source data not filled correctly

Former Member
0 Likes
2,052

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

Refresh.....Please Reply!! we are still facing the same problem....we have used Conversion_Exit_Alpha_Input function module too....however, it didn't resolve the problem.

Former Member
0 Likes

Hi Vishal,

I hope you are using MOVE Statement to assign the values to the respective fields.Try to use UNPACK Statement for each field to fix this issue.

MOVE Field1[Source to Field1[Target].

UNPACK Field1[Target] to Field1[Target].

Let me know what exact code you are using if you are still facing the same problem.

Thanks

Sudharshan

Former Member
0 Likes

Hi Vishal

Also check with Data type that you have declared try to use the same data type that RFC has declared.

Thanks

Sudharshan