Hi
I have searched the internet for an answer to this and every one that I have found hasn't worked.
This is the first time I have had to externally debug something from ECC in SRM so apologies in advance.
I have a user in SRM (e.g SRM1) which is trying to call in a purchase order from ECC via BAPI_PO_GETDETAIL
Originally I put an external break point in the bapi and also via Utilities/Settings on the ABAP Editor (Debbuging tab) I set the user to SRM1.
This didn't work so I put a trace on and saw that it calls the bapi with RFCUSER.
I then tried to do the same as above for RFCUSER but it wouldn't allow me to because it is a system user not a Dialogue user.
I then found potential solutions on the internet
One suggested putting something in the code to make it loop etc and then set the debug on. I couldn't do this as I can't amend the bapi (sap std).
One suggested putting the debug on in SRM and ECC - this didn't work
Everything I've tried does not work, any help will be appreciated
thanks
Sandra