on ‎2008 Jul 21 2:02 PM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi ,
i hope you r using MATNR Field...
in ABAP MATNR Domain contains Conversion Routine CONVERSION_EXIT_MATN1_INPUT...
it will convert input into 18 characters Format... it works internally....
so u need to populate 18 chars for the same.... other wise ur problem will continue
ask them to use it....
check with ur ABAP Team...
Regards,
R.Ragu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vishal,
This is a problem only with the RFC at the sender side.
XI do not manupulate any data coming in from the adapters,
try to reimport the RFC in IR and check again. Also get the programm debugged by the ABAPers.
Regards,
Rookie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I am still unable to debug this problem....I got the program checked by an ABAPer and changed the structure of the tables in SE11 and Reimported the RFC too. However, this time the fields: Field 1; Field 3; and Field 5 got filled with random data and the field for Field2( Datum) and Field4 (Matnr) are still Empty.
I'll be glad if anyone could help me with this.
Thanks,
Vishal.
Hi,
It seems that you have made some changes in the structure of RFC in R/3 (after importing it into XI). Just re-import the RFC again into your Repository and try.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.