Categories
SAP Blogs

Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management

Dear community,

Today I would like to share 1 helpful approach for quick BOPF debugging and root cause analyses with an example on SAP Transportation Management.

While working with SAP TM, people sometimes need to investigate an unexpected behavior of one or another Node instance. Eg, 1 Item was deleted or the Location ID was changed.

And there is a simple trick. If you go into BOBF transaction, behind every Node you can find its buffer class. Usually, it is /BOBF/CL_BUF_SIMPLE.Node%20buffer

Go into this class and find the method “modify”.

This method consumes all your transactional modifications and applies them to the buffer tables.

Then, find the “CASE” statement for change mode. This is a perfect place to catch unexpected

Find the change mode, that you want to track and put a breakpoint:

Create/Update/Delete

Right-click on breakpoint label -> Create Breakpoint condition:

Specify the instance key of the item (or another Node), which you want to track:

A breakpoint condition can be quite sophisticated, with checking data content, like STOP location (STOP is a BOPF Node in SAP TM).

But in this case, you need to specify the Node key first, to make it work only for STOP nodes:

Now, green button and F8. The watchpoint will stop, once you meet your condition.

Check the call stack and find the coding, which has triggered your modification:

In my example this is Action class /SCMTMS/CL_TOR_A_UPDATE_ITEMTR.

I hope, it’ll help to save your time.

Leave a Reply

Your email address will not be published. Required fields are marked *

×
Placement Report
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Interview Questions
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Learn More
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Sign Up Now
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Join Us
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Get started
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Buy Now
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Download Course Content
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Call Back
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Ask for Demo
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Enquiry
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Please fill form to see Video
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Schedule Your Demo
Quick BOPF debugging in SAP Transportation Management

Quick BOPF debugging in SAP Transportation Management
×
Apply for scholarship