08-05-2022 3:01 PM
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
08-05-2022 6:19 PM
Either you're not authorized to the "Remote Debug", or the destination user is not a Dialog User.
08-05-2022 6:27 PM
Hi sandra.rossi Destination user P2QCONE2QJPY does not exist in USR01 but still it is working in Quality but not in production.
08-05-2022 7:32 PM
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.