Skip to Content
avatar image
Former Member

Read Data of Deleted/Inserted Containers of Freight Booking

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 18, 2015 at 09:34 PM

    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]

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 13, 2015 at 06:41 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded