Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to set break-point on MATERIAL_WRITE_DOCUMENT

bharatvekariya2
Explorer
0 Kudos
357

Hi Everyone,

I would like to add custom code on fm MATERIAL_WRITE_DOCUMENT whenever entry change gets recorded in material master. From ST05, I understood that MM02 is making RFC call after leaving transaction. I have set external break-point but debugger is not stopping. Any suggestion how to debug this?

Regards,

Bharat

1 ACCEPTED SOLUTION

thkolz
Contributor
302

Did you try to change the debugger settings and enable System/Update Debugging?


You could also use BAdI BDCP_BEFORE_WRITE.

3 REPLIES 3

thkolz
Contributor
303

Did you try to change the debugger settings and enable System/Update Debugging?


You could also use BAdI BDCP_BEFORE_WRITE.

Sandra_Rossi
Active Contributor
0 Kudos
302

MATERIAL_WRITE_DOCUMENT is an update function module, part of function group which is not flagged as a "System" program, is not called inside tRFC, so only Update Debugging is necessary.

raymond_giuseppi
Active Contributor
302

MATERIAL_WRITE_DOCUMENT is an update V1 FM.

  • Allow debuging in update task
  • Be aware on restriction on code allowed in those FM