Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC issue

Former Member
0 Kudos

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 .

1 ACCEPTED SOLUTION

balbino_soaresferreirafil
Active Participant
0 Kudos

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,


5 REPLIES 5

balbino_soaresferreirafil
Active Participant
0 Kudos

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,


0 Kudos

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.

0 Kudos

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

0 Kudos

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,

0 Kudos

Do you trying to execute the FM 'X' in SE37 too?