cancel
Showing results for 
Search instead for 
Did you mean: 

Read Data of Deleted/Inserted Containers of Freight Booking

Former Member
0 Kudos

Dear TM Expert,

I have a requirement to read deleted/inserted record of freight unit at freight booking level in cargo management Tab.

For eg, My Freight Booking is 10000000, currently it has 3 Freight units into as FU1, FU2 & FU3.

Now user is deleting a FU2 and Inserting a FU4 to Freight booking 10000000. After deleting & Inserting a FU user selects SAVE for Freight Booking.

Now I need to read which FU is deleted and Inserted using this I need to manage a Z table for container tracking.

Is their a way to read FU deleted / inserted in Freight Booking.

If not at SAVE action of Freight Booking is a a way during delete or insert action we can read which FU is deleted or inserted.

Thanks in advance.

Regards,

Md.Rafi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mohammed

Please give us a feedback! If it is the case mark this thread with a Correct Answer and Helpful Answer where appropriate.


See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why  


Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.


Best regards

Eduardo Chagas

[SCN Moderator]

Answers (1)

Answers (1)

bharath_k6
Active Participant
0 Kudos

Dear Rafi,

You can check the class - /SCMTMS/CL_TOR_D_ITEM_TR_AM and method - HANDLE_ITEM_DELETION.

Probably you can enhance this method and achieve what you are expecting. But you have to make sure your Z table is updated only when SAVE is performed because user can revert(change of mind) any moment in time by clicking on CANCEL button.

Let me know if any challenges.

Thanks,

Bharath.