cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting selection of same material in unplanned/adhoc Inventory count.

0 Kudos

Hi,

We are using SAP IM 3.2. Our requirement is to restrict the user from selecting the same material in unplanned/adhoc Inventory count.

Ex: For first line item, user selected Mat1 and by mistake if user selects same material(Mat1) for any other line item in the same unplanned document we have to display a message to the user "Mat1 is already counted, please select other Material". How can we meet this requirement.

Can anyone help me out with the rule.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

We got the soultion .... Thanks.

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

Under MaterialCount Action you may have several steps.

Step 1
Step 2 - Apply
Step 3
Step 4 - Apply

and others.

What if you create a Step 0 transaction with a validation rule to check if the MaterialCount -> Counted property is already set to "X". Which means it is counted. If it is set to X then give a validation error that this has been counted. 

The value of Counted gets set to X after the user enters a value for that material on the screen.

now if you plan to do an edit of the count, you may need to reset the Counted property back to null somewhere in the edit process before it calls the same MaterialCount action.

Without really designing this, this is the first thing that pops in my head.


I believe others may have done this better.

Best Regards,

Mark Pe
SAP Senior Support Engineer

0 Kudos

Thanks for the reply Mark.

We need the above said functionality in Material Add not in Material Count.