on 07-02-2014 8:35 AM
Hi Experts,
I am a SAP ABAP developer and there is no mechanism in place(as of now) to see if the data from PI has come to SAP.
Is it possible to debug in SAP R3 4.6 C system from PI system?
It may be an irrelevant question from PI point of view but I need an answer. Thanks a lot
Mohit
Hi Mohit,
I have done this, but i don't recommend the way i did, but i can tell what i did:
I used of a debugging trick to change the RFC FM in productive code (receiving system), and added an infinite loop in which the code would be trapped only if it was my user processing the code:
====================================
WHILE sy-subrc = 0 AND SY-UNAME = 'MYUSER'.
ENDWHILE.
====================================
Then after triggering the process, i started SM50, selected my running process and in the upper menu -> Administration->Program->Debugging
By this point the program is started in debugging in the infinite loop, then i change the sy-subrc to get out of the loop and proceed the program in debugging.
If you are going to do it be careful, this is a last resort and isn't recommended to be done. I have done it when i was under pressure and i had to solve the issue immediatelly.
Obs.: The external breakpoint resource allows you to debug the process like this, but it depends on your system version. I see you are in 46C, so i don't know if it would work.
Regards,
Renan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohit,
The data from PI to ECC reaches either through IDOC, PROXY or an RFC.
For all these methods we can monitor in PI adapter engine and con confirm if the data was sent out successfully or not. Besides we can check individual RFC destination if they are connected to correct port and url or not. If all this is fine then there are no chances of data not reaching to ECC.
But you can certainly not debug R3 from PI system.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.