To cancel Usage Decision and reverse matl. movement doc

Question: Usage decision against inspection lot (GR against Purchase Order)
has been given. This posts the stock from Quality to Unrestricted.

Now the Usage decision given has to be reversed or Calcelled which
should lead to reversing of the material movement document.

[/b]

Answer:
You can't reverse your UD, but on the P.O you can specify that you want to pick from Unrestrected use in stead of QI.
_________________
Regards
Trygve

Answer:
You have to implement a user-exit to do this.
Use exit EXIT_SAPMQEVA_008 and activate include ZXQEVU10
typical code to revoke the UD:

*----------------------------------------------------------------------*
* INCLUDE ZXQEVU10 *
*----------------------------------------------------------------------*
* Example Code lifted from SAP sample include LXQEVF10
*
*----------------------------------------------------------------------*
*-- Example: Reset the Usage decision
*-- Please add your own authority requirements here or
*-- use the authority check within the general status management
*-- by adding a user status profile

*-- Reset Status Usage Decision by using business transaction QM68.

CALL FUNCTION 'QAST_PROCESS_ACTIVITY'
EXPORTING
* I_DIALOG = 'X'
I_OBJNR = I_QALS-OBJNR
I_VORGANG = 'QM68'
EXCEPTIONS
NOT_ALLOWED = 1
ACTIVITY_NOT_ALLOWED = 2
OTHERS = 3.

This wil enable to reset the UD. If you have made the stock posting however, this will not be reversed.

If you want to resubmit a material batch to inspection and repost it to inspection stock, you will have to customize stock inspection for the material!

Answer:
Out of curiosity. under what conditions do you see this reset or cancellation being done?

Once the UD is made and the stock posting is done, you should have separate business process in place to deal returns, mistakes or errors.

You should never really get to the point of doing a stock posting and UD in error in most cases. In which case a MBST can be used to cancel the lot.

Normally, I add a specific UD code for errors. The UD is changed with history to document the problem. Then the material in questoin is moved to blocked stock by the approriate inventory control people. A form is filled out and sent to the accounting people who are the only people who can directly write off material out of the system. The PO paperwork then needs to be redone referencing the original PO that was used in error. In additon a Quality Notification should be generated to documet the process. This is exactly the type of error that needs to be tracked so that efforts are made to reduce incorrect receipts and vendor errors.

If the UD is not made, a vender return can be generated via the inspectio lot and then a new PO then is issued. A Quality Notification should again be created.

For driri: Out of curiousity, wouldn't it be kind of dangerous to assign this type of action (reset code) to a user exit? I'd be somewhat nervous about that.

Craig

Answer:
To Craig,

True, it is kind of dangerous to assign this functionality to a user-exit. Like I mentioned, when a stock posting has already been made, you should re-inspect the material with an appropriate business process to back this up. The user-exit in question was implemented for a customer where they didn't post material to Q stock at all. Resetting UD's was done to correct mistakes in results recording. Inspection lots were submitted to automatic UD's in the background, so in many cases where there were mistakes, the UD was already made and the lot closed of course.
I have never encountered a situation where it was not possible to correct mistakes with stock postings using mbst or transfer postings to blocked or inspection stock.

IJsbrand den Drijver (driri)

Answer:
Thanks for the info Driri!

Craig

Answer:
To : Craig/Trygve/Driri/Tag-QM

There is one transaction by which material document can be reversed even after usage decision was taken.

The transaction code is MB0A.

The steps for executing the above trancode is as follows.

Inputs:-
Posting date : UD date.
Movement type : 102
Enter relevant plant, storage location, vendor and the material code

The purchase order/sch.agreement for the given vendor-matl-plant combination will be displayed.

Select the correct PO and click adopt selected.

The material with quantities to be reversed will appear in various line items. Select the correct quantity for which the reversal to be made.
Click adopt + details
Enter storage location
Remove "X" in the stocktype field
Save.
Material document will be generated.
Please compare the stockoverview of the material before and after the reversal and you could see the difference.

This transaction could be mainly used if usage decision was taken wrongly and should be performed only for limited usages.

The correct material could be inwarded again and correct usage decision can be taken.

reg
subri.

Answer:
Thanks!

Is this unique to 4.6C? What versions will it work in? Any idea?

Craig

Answer:
Hi,

I think the procedure described above is the standard procedure in case you want to reserve the GR in case the UD had been made. The transaction MB0A is available in other releases as well.

In case you havn't touched the inspection lot (no results/UD) you can cancel the insp. lot by reversing the initial posting.

I created once a documentation for my end-users explaing what to do in which case. Let me check if I can find it....you know...documentation and how to find it again after a couple of years...Oh boy...getting older!

Regards
QM-Dude

Answer:
hello, qm-dude
I don't know wether you found out your document. We often ocuures the situation. Our staff will make some mistake to post wrong quantity during UD. And we must deal with the thing.
Can you post your document here.
Thank you!

Answer:
QM-Dude is on vacation until Feb so don't be surprised if no response is posted for awhile. You might want to send him a PM so that it will be waiting for him when he returns.

Craig

Answer:
I have similar problem, but in production process. My user perform a partial confirmation of prod order CO11. But then he realizes that he made an error of quantity. Instead of CO13, he did it at MBST. Then he made UD, transfer from QI to unrest, then perform transfer posting plant to plant ( to Marketing storage location). Since the mistakes have started from confirmation, we need to cancel everything.

Any suggestion?
- Can we reverse material from unrest to QI? then cancel UD? or any other procedure that we can perform?
- T-Code MB0A is only applied for GR for unknown PO, any T-code for 'PP' material to reverse?
- Is QM-dude has been around? we are still waiting for his 'procedure' document!

Thanks and regards,

Aulvin

Answer:
Let me explain additional info of my problems
Production order quantity is 1000. After confirmation (4 times of partial confirmation --> 4 inspection lots) it lead to 1200 items. All lots have been UD. However, I have to cancel one UD of inspection lot, since the order confirmation should only be 3 times!

Any other suggestion to reset this problems? Since it's impossible to cancel UD and perform MBST for lot's material?

Really need your help

Aulvin

Answer:
HI all experts,

It is good to see the discussions for UD reversal.

There is a OSS note 175842 for reversal of stocks after UD.

We have applied the same 3years ago and using the same for corrections as and when required.

All the best,

Happy sapping,


Kbs

India
Copyright ?2007 - 2008 www.jt77.com