on 09-02-2006 9:17 AM
Hi Friends,
I am doing a scenario CSV File to RFC. This is for SO creation in R/3 thru RFC.
I was provided with a wrapper RFC which internally calls the Sales order create BAPI.
Now my problem is When I go to SE37 and test the function module the SO is getting created but with the same data when I pass thru XI the so is not getting created. What can be the problem. Is there any authorization issue, if so tell me what auth should be given.
Vijay
Hi Vijay,
Try with an external break point inside the RFC and see if all the values are passed properly. Make sure you are setting break point for the same user which is used in the RFC adapter.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vijay,
Did you check the BAPI return parameter and what is the message you are getting. I think the problem is because of the conversion exit. I this this should be the problem R/3 expects leading zeros for vendor/customer numbers ans this is quite common error. Either change the wrapper RFC to handle this kind of values like calling the conversion routin before passing to the BAPI. This conversion routin can be foung in the domain.
Or add the leading zeros in XI mapping.
use this code in udf while mapping
int intDif, i;
String strDiff = new String();
intDif = 10 - Par_Input.length();
if(intDif > 0)
{
strDiff = "0";
for(i=1; i<intDif; i++)
strDiff = strDiff.concat("0");
strDiff = strDiff.concat(Par_Input);
return strDiff;
}
else return Par_Input;
Thanks,
Prakash
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.