Skip to Content
0

Restrict movement 262 if the order status is CNF

Dec 22, 2017 at 03:10 PM

101

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Dec 26, 2017 at 05:43 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 26, 2017 at 11:33 AM
0

Explore user Status profile - BS02 .

Share
10 |10000 characters needed characters left characters exceeded
Anupam Sharma Jan 02 at 08:41 AM
0

Hi

check this BAdi WORKORDER_GOODSMVT.

Regards,

Anupam Sharma

Show 1 Share
10 |10000 characters needed characters left 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?

0