cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to stop a debugger in Nota fiscal document creation during Invoice creation?

Former Member
0 Likes
1,700

I am creating a Invoice from VF01 with reference to Delivery document.

When Invoice is created the Nota fiscal document is getting created in the background. I have placed a debugger in Nota fiscal related code. However the debugger doesn't stop in the code but Nota fiscal document gets generated successfully.

I have checked System debugging, Update debugging options but still no luck.

Please let me know how to stop the control before creation of Nota Fiscal.

Accepted Solutions (0)

Answers (1)

Answers (1)

Renan_Correa1
Active Contributor

Hi,

Include LJ1BGF01, form create_nota_fiscal. The NF itself is created in update task, so you either place a BP before update FM or you have to turn on "update debugging".

My hint is that if you don't know what you are debugging and what you want to check in general it's not worth debugging.

Regards,

Renan Correa

Sandra_Rossi
Active Contributor
0 Likes

Better say "you place a BP at beginning of create_nota_fiscal AND you have to turn on "update debugging""

(OR is incorrect; if you don't turn on update debugging, the program won't stop at the breakpoints reached in the asynchronous update task)