cancel
Showing results for 
Search instead for 
Did you mean: 

stopping issue for next five days

Former Member
0 Kudos

Hello QM Gurus,

My client wants that system should not allow issuing of material from unrestricted stock for next five days after usage decision. Means i have given UD for material, posted to unrestrcted stock on 14/02/2011, now user can not consume it till 19/02/2011. After this date only system should allow for further consumption.

Please guide.

Thanks in Advance

Kailash

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks to all.

Former Member
0 Kudos

HI,

If your material is batch managed,use selected set with Unrestricted use stock,blocked batch status once ud done create BAPI to take the batches from restricted stock for every 5 days.

former_member42743
Active Contributor
0 Kudos

Why not leave the material in QI u till it has aged the correct number of days?

Create special UD code, like "approved for release". APRE. Select this code when everything is good. Make sure there is no stock posting behind it.

Then once a day run QA32. Create a selection profile to only select lots with SPRQ and UD. Add the selection variant "lot last changed date" to the selection screen. Default in the current date minus five days. You should only get a list of those lots with an outstanding stock posting and where the lot hasn't been changed for at least 5 days and that already have UD. You could also add in at the selection field for the UD to select those with APRE.

Select the lots, click on UD and and enter in the UD code A and save. The stock will be moved to unrestricted.

If you didn't want to have users do this, you could probably write a program to do it for them and run it in batch once a day.

FF

Former Member
0 Kudos

I think following can be a possibility

1.create a Storage location such as Interim storage location or Quarantine storage location.

2.when you take UD move the material/post the material to this storage location.

3.Now from this storage location when ever you create any material document through T code MIGO ,MB1b etc etc ,you can restrict the movement depend on logic in user exit/badi such as MB_DOCUMENT_BADI

4.logic can be capture difference between date when material moved into storage location & trying to do material document.

Former Member
0 Kudos

Kailash,

You can implement batch determination strategy.

This strategy can be implemented in IM, PP, WM or SD.

Use standard Batch characteristics LOBM_VERAB for your requirements.

Additional details on How to set up batch determination can be found on page 53 of attached link

http://help.sap.com/printdocu/core/print46c/en/data/pdf/LOBM/LOBM.pdf