Skip to Content
author's profile photo Former Member
Former Member

Check the Freight order locked status in TM 8.0

Hi All,

Is there any method to check whether the Freight order is locked for processing, other than the messages obtained when the

Freight order is called for update and it returns a message, the Order is locked and cannot be processed.

Also can you please provide me the links, where I can find useful information regarding the TM 8.0

Regards,

Joseph M

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2011 at 02:07 PM

    perform action LOCK_ROOT on the FO instance.

    if there is a failure then you assume that this FO is locked.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi all,

      To retrieve the messages obtained in the object lo_message in the above code,

      call method /scmtms/cl_common_helper=>msg_convert_bopf_2_bapiret2

      EXPORTING

      io_message = lo_message

      CHANGING

      ct_bapiret2 = lt_bapiret2.

      lt_bapiret2 will have the messages raised. By looking across the internal table you can get the relevant message id.

      Regards,

      Joseph M

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.