on 10-20-2014 3:36 PM
Hi Experts,
I have a clinet requirement that, If user reserved a component against a Maintenance Order and the same component reserved for another Order,at the time of releasing of the second order system should give a message saying that this component has reserved for so and so order.
Any body come accross this kind of requirement?Please post your comments or solutions for this scenario.
Thanks,
Best Regards/Kalyan
Dear Kalyan,
This is a very usual requirement by the users, and often people are surprised why SAP did not provide any standard way of controlling this. Due to some personal problems, I am unable to spend much on the system to work for a solution. But I hope you and your ABAPer will be able to trigger an error pop-up during such situations. This code in this document can become a base for buildng your logic. .
The logic
You need to retrieve the reserved but not withdrawn (BDMNG - ENMNG) quantity of the component in the particular Storage location (LGORT) from table RESB, subtract this from the present stock of this component in that Storage Location from table MARD. If currently Reserving Quantity of this component in this particular Storage Location exceeds the above figure, your error pop-up triggers.
Say QTY1 is Reserved but not withdrawn. Then QTY1 = RESB-BDMNG - RESB-ENMNG.
Say QTY2 is present stock. Then QTY2 = MARD-LABST.
Say QTY3 is the Quantity currently you are reserving , then QTY3 will be retrieved using the code in the document.
Now, error message would trigger if QTY1-QTY2 < QTY3.
This is basic guideline for working on the requirement. Best of luck. (Though this requirement is there at my place, we did not go for it, because of our some local constraints)
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan,
I guess you can use User Exits that trigger at Release or Save event...
Hope it will help you.
Best regards,
Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.