‎2010 Jan 06 9:57 AM
Hi All,
We need to debug the FM which in ECC(6.0) System from the SRM system .
Can any one tell me now to go about it step by step if possible.
Note:In Both system user id has profile "SAP ALL " .
Thanks
-
Channappa Sajjanar
‎2010 Jan 06 10:04 AM
Please search the forum before posting such basic question..
Anyways u need to have an RFC connection between both system...
u can use SM59 for RFC connection
For Debugging it is same as normal function module but u need to give the logical system name( other system) also in which you want to debugg it
Regards
Satish Boguda
‎2010 Jan 06 10:08 AM
Hi Satish ,
thanks for your reply. but i searched forum for the same topic but none for the answers solved my issue that is why i posted new thread.
Regards
-
Channappa Sajjanar
‎2010 Jan 06 10:20 AM
Hi,
Make sure RFC user is defined as Dialog user (It would be nice to try to create same user name if possible). Not %100 sure but I never had problems on debugging if I have same user in both systems. And dialog user is a must.
Regards,
‎2010 Jan 06 11:26 AM
Hi Channappa,
Make sure you are keeping External Debugging in ECC rather than using session Break-Point.
Regards,
Swarna Munukoti
‎2010 Jan 06 11:28 AM
Hi Swarna ,
i have put both external break point and even the hard coded the 'Break-point' In the ECC RFC FM.
and both side using the same user id and both are dialog user only.
Regards
-
Channappa Sajjanar
‎2010 Jan 06 11:36 AM
Hi Channappa,
Can you cross check the points mentioned in this sap link:
http://help.sap.com/saphelp_nw70/helpdata/en/46/caf6818bc368dfe10000000a114a6b/content.htm
Also I guess you are keeping the external Break-point at the first line of the Function Module.
Regards,
Swarna Munukoti.
‎2010 Jan 06 12:38 PM
Hello,
You cannot straight away debug the RFC function module in ECC from SRM, as we usually debug other FM's.
1) In case you want to do so, make sure that the "User" being used for RFC call i.e. User ID used for establishing the RFC destination is a dialog user. In such case when RFC enable FM is triggered, the flow of this RFC should be available for debugging in SRM. I am not sure if it asks for a password in such, but if it so, give the p/w of that Dialog user.
2) Usually the user used for establishing RFC call will not be a dialog user. In such case, I think you should put a breakpoint in SRM at the exact point where this RFC enabled FM is being called. Verify and collect all the input values that are being passed to this FM. Go to ECC system and directly execute the same FM using those input values.
Best Regards,
Pavan
‎2010 Jan 06 12:52 PM
Hi,
I have tried the debug mode from calling program using third party software. Here I need to set a parameter, ABAP_DEBUG = 'X".
Prehaps, the call function will need to include this parameter as well.
Try it out and confirm
Bye
‎2010 Jan 06 2:12 PM
Hello Pavan,
thanks for your answer , but the FM is for creating the PO in ECC so it contains a huge data which contains more than 10 internal tables which is a huge data , so we are not able to do this.
Regards
-
Channappa Sajjanar
‎2010 Jan 06 3:16 PM
Hi,
You need to create a RFC Connection with the Logging user of System. Example, if you login to ECC System with USER01 as username then you have to create a RFC connection with the same user USER01 or need to call the RFC Function Module with the user with which you have placed the debug point. And the it must be an external debug point which needs to be enabled.
have a look at this following article:
Hope this will help you.
Thanks,
Samantak.
Edited by: Samantak Chatterjee on Jan 6, 2010 8:46 PM
Edited by: Samantak Chatterjee on Jan 6, 2010 8:47 PM
‎2010 Jan 06 5:08 PM
Hi Samantak.
thanks for the link, i got the concept .
Regards
-
Channappa Sajjanar
‎2010 Feb 15 7:41 AM
‎2016 Apr 15 4:20 AM