12-18-2013 11:12 AM
Hello all,
I have created new FM 'X' in which i am calling another FM 'Y'(which is remote enabled but calling in same system ) to change PO data, when i run the FM 'Y' in SE37 it is changing PO in back end and no issues . But when i execute my new FM 'X' PO is not changed and FM 'Y' is giving error messages.
Please let me know what is the difference .
12-18-2013 11:28 AM
Hi,
what kind of error messages is returned?
Is FM 'Y' a standard function? or a Z function?
If is standard, tell me the function name.
regards,
12-18-2013 11:28 AM
Hi,
what kind of error messages is returned?
Is FM 'Y' a standard function? or a Z function?
If is standard, tell me the function name.
regards,
12-18-2013 11:33 AM
Dear Balbino,
FM Y is an Z function but it is calling standard FM inside, the exceptions are mainly authorization related . but it is working fine from se37.
Best regards.
12-18-2013 11:45 AM
Hi Sundeep
Can you please paste your code here. The issue can be in SE37 your user name is the one executing where as in code during transaction it is the RFC user executing which does not have authorization.. What user name it return back for authorization
Nabheet
12-18-2013 11:55 AM
Hi Nabheet,
The message i am getting is
"Missing authorization : Purchase order change
Purchasing org . XXXX "
There is no used id here, please let me know how to check RFC user id
Best regards,
12-18-2013 12:00 PM