cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict movement 262 if the order status is CNF

former_member226308
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Anupam1143
Active Contributor
0 Kudos

Hi

check this BAdi WORKORDER_GOODSMVT.

Regards,

Anupam Sharma

former_member226308
Participant
0 Kudos

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?

Former Member
0 Kudos

Explore user Status profile - BS02 .

former_member513101
Active Contributor
0 Kudos

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