Skip to Content

Restrict movement 262 if the order status is CNF

Hello,

We are having an issue where users manually doing 262 movement on orders that are in CNF status to get the component out and issue it to other orders.

In order to prevent this from happening, we'd like to restrict the 262 movement if an order is in CNF status.

Is there an user-exit that I can use to accomplish this change?

Your help is appreciated.

Regards,
Eddie

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 26, 2017 at 05:43 AM

    Hi Eddie,

    You can try Following Badi or exit

    1. MB_CF001
    2. MB_DOCUMENT_BADI
    3. MB_MIGO_ITEM_BADI

    If Mvt Type = 262 then select data from table JEST where status = I0009 and order no = OR + Production order

    if sy-subrc <> 0, prompt error message.

    If you are going to use Exit 1 and 2. read this note 1284654 as they will cause inconsistency in certain circumstance.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2017 at 11:33 AM

    Explore user Status profile - BS02 .

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02 at 08:41 AM

    Hi

    check this BAdi WORKORDER_GOODSMVT.

    Regards,

    Anupam Sharma

    Add comment
    10|10000 characters needed characters exceeded

    • Thank you Sharma for your reply.

      One question though, there are several transactions that can perform 262 such as MIGO, MBST, CO13, etc.

      Would BAdi WORKORDER_GOODSMVT work for all the transactions or is this something that we can define what transaction we want to restrict within the BAdi?