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

RFC Source data not filled correctly

Former Member
0 Likes
2,054

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

Hello Saxena,

Kindly use CONVERSION_EXIT_MATN1_INPUT Function Module.. it seems you wrongly CONVERSION_EXIT_ALPHA_INPUT..

Please use FM i mentioned over here....

Regards,

R.Ragu

Former Member
0 Likes

kindly do Cache Connectivity Test in Component Monitoring Page of RWB

Former Member
0 Likes

check the RFC connection from the SAP ERP to SAP XI in order to be compatible with the encoding setting. For examplke if both systems are UNICODE then check on the appropriate tab of the RFC connection if the UNICODE checkbox is marked.