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: 

Issue with call function destination

former_member594288
Participant
0 Kudos

Hi,

When i debug the below statement in production it is not going to the function module but it is working in quality system. what is the issue behind this. Any idea?

CALL FUNCTION 'BAPI_APOATP_CHECK'
DESTINATION
lv_destination

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

Either you're not authorized to the "Remote Debug", or the destination user is not a Dialog User.

former_member594288
Participant
0 Kudos

Hi sandra.rossi Destination user P2QCONE2QJPY does not exist in USR01 but still it is working in Quality but not in production.

Sandra_Rossi
Active Contributor
0 Kudos

I mean, the "destination user" = the user defined in the RFC Destination in SM59 (A2QCLNT300), see how it's defined in that system via SU01, if it's type communication or system, then you can't debug it. The user should be of type service (or dialog).

NB: the RFC Destination may also possibly use a trusted connection = user in the called system same as in the calling system, in your case that would be a problem as you say it doesn't exist.