2021 Jul 09 7:39 AM
hi.
I am posting PGI Transaction.
In one of the custom object , class and method . I am executing below FM.
Here objtype and event are custom.
Before posting the transaction PGI.I enable /h , then
GO TO ->Settings-> change debug profile settings. then pressing the Execute button
PGI Posted and then below line my external break point is stopped,
here i am pressing F6 OR F7 Both tried. But after debug mode is end,
If i see in SM58 . Did not see any transaction. Do u think any thing I am missing.
even i tried. After pressing the F6 OR F7. There is no entry in SM58.
I am sure.. few days before.. I fallow the same steps, that time i can see entry in SM58. If i debug the entry. It is calling. one RFC. but now it is not working.
Now also. below FM will call that RFC. Definitely ,If u ask why i am confident means. there one ztable is updating. if i see the ztable in se11. after posting PGI. It is updating. this is the only place ,code written for updating the ztable.
while calling below FM. there is one more RFC will trigger. I want to debug that FM.(here i put external break point too no use).


hi.
I am posting PGI Transaction.
In one of the custom object , class and method . I am executing below FM.
Here objtype and event are custom.
Before posting the transaction PGI.I enable /h , then
GO TO ->Settings-> change debug profile settings. then pressing the Execute button
PGI Posted and then below line my external break point is stopped,
here i am pressing F6 OR F7 Both tried. But after debug mode is end,
If i see in SM58 . Did not see any transaction. Do u think any thing I am missing.
even i tried. After pressing the F6 OR F7. There is no entry in SM58.
I am sure.. few days before.. I fallow the same steps, that time i can see entry in SM58. If i debug the entry. It is calling. one RFC. but now it is not working.
Now also. below FM will call that RFC. Definitely ,If u ask why i am confident means. there one ztable is updating. if i see the ztable in se11. after posting PGI. It is updating. this is the only place ,code written for updating the ztable.
while calling below FM. there is one more RFC will trigger. I want to debug that FM.(here i put external break point too no use).


2021 Jul 09 7:46 AM
If you set a trace using ST01 with both RFC / SQL did you see your table updated ?
2021 Jul 09 7:47 AM
2021 Jul 09 7:51 AM
The bad way for understanding what is the issu, is to set a long wait in the code you would like to debug, go in SM50 and debug here
2021 Jul 09 7:53 AM
2021 Jul 09 8:08 AM
A last chance, but regarding your function, I am not sure about RFC.
Sometime, you could configure specific user about RFC, so you need to specify in your debug profile (SE38) the user you would like to debug. This user must be dialog user
2021 Jul 09 8:20 AM
2021 Jul 09 9:09 AM
2021 Jul 09 9:17 AM
Hi Kali Charan,
Please Go to Utilities->setting and check the user name in Debugging tab, make sure the user is yours. Also, please ensure that you have kept an External Breakpoint within your FM which is being called.

2021 Jul 09 9:24 AM
2021 Jul 09 9:25 AM
Update function modules can be debugged only via Update debugging (which is already set in your settings).
When the update task starts, the debugger opens and you can then add a Procedure Breakpoint on the function module you want to debug, click continue, and the debugger pauses on it.
More information in the Web:
update debug site:sap.com
Concerning RFC, that would imply specific information from you. Generally speaking, external debug usually works, but not all the time.
2021 Jul 09 12:39 PM
I just realize that it's SWE_EVENT_CREATE_IN_UPD_TASK (Business Workflow event). The classic way is to run directly the object behind the event (SWO1, SE24, etc. depends on the object type behind the task related to the event).
Search:
debug workflow site:sap.comNB: most of the answers won't talk about SWW_BREAKPOINT which seems to be the latest and most official way to debug workflow, unfortunately I never used it. See note 2197117 - Debugging of background work items.