on 01-04-2013 11:10 AM
Hi all experts,
My requirement : In QA32, I have done results recording, Usage decision then stock will be updated in Unrestricted stock type. Now I have to transfer stock of unrestricted stock type to block stock type (movement type 344 E) in background. So for this background transaction I need user exit or badi?
I have used user exit QEVA0007 - UD: Control of compulsory comment or long text presetting, this user exit is trigger at the time of UD but quality stock not transferred to unrestricted stock (movement type 321).
I have tried following user exits but not triggered at the time of UD.
QEVA0004 Exit for changing information line in usage decision header
QEVA0005 User subscreen for displaying add. data for usage decision
QEVA0006 Entry to usage decision transactions
QEVA0007 UD: Control of compulsory comment or long text presetting
QEVA0008 Usage decision: Customer function key (e.g. to cancel UD)
QEVA0009 UD: Predefinition of quantity to be posted to sample stock
QEVA0010 UD: Usage decision check
So please tell me about any user exit or badi?
Thanks & regards,
Nitin Nerkar
SAP QM Consultant
Hi,
My dear frnd
Client requirement is one thing and standard practices is another, best you can suggest to ur client that that may adopt stdn practices bcoz it helps them in future as far as performance and other things are concern. enable dirct QA to block posting in selected set and tick the indicator for Direct stck posting W.r.t UD codes.
Now comes to BADi, if ur client want this u need to use MB_GOODSMOVEMENT , but my point of view this is not suggestable bcoz continual updation on MSEG is itself a big risk, and no technical guys either programmer and Basis will suggest it, becoz Read and update of MSEG itself a trouble( as far as performance and data consistency is concern).
now its your choice.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your valuable suggestion but following are critical problems.
Case I: As per standard practice concerned client don't want manual transfer entry from unrestricted to block stock. If I suggest QI stock to block stock and then block stock to unrestricted stock then t code LX02 for warehouse management (WM) module concerned stock will show in stock category Q ( stock in Quality control ). By using VL01N delivery is not possible because of error shows
"Delivery has not yet been completely processed by WM"
Case II : If badi is not suitable. Please suggest me other way.
Regards,
Nitin Nerkar
SAP QM Consultant
Dear Nitin
With the help of technial guy/abaper create your own custom function module in which you can write code to transfer the stock from unsrestricted to block stock and define you follow up action and assign that function module to that follow up action.
ans assign that follow up action to Ud code in QS51.
I hope it will help you.
Manish
You can use "indicator: function module called after posting" for follow-up action of UD code.
SAP will perform your function module (movement 411 E) after stock posting (from QI to unrestricted).
QCC0 > Quality Inspection > Inspection Lot Completion > Define Follow-Up Actions > Follow-Up Actions
I think you know how set this process. (please refer F1 hep)
Regards, DoWook KIM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use exit ZXMBCU02, which is called for all goods movements.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After using enhancement MB_CF001, it is not triggered after stock updated in unrestricted stock type. I want such enhancement so that stock transfer from unrestricted to block stock by using t code MB1B with 411 E so that this transfer posting will be done in background.
Regards,
Nitin Nerkar
Hi,
thanks for reply,
I check all the badi which is given in cl_exithandler class but all these trigerd befor updating mseg table.
my requirement is when i do QA32 new material document is created for unrestricted stock and i want to move that stock in blocked stock category therefore I required user exit or badi afer MSEG table update.
Thanks,
Sumit Patil.
Check the BADI MB_GOODSMOVEMENT
In QS51, against UD code, you can mention where the stock is to be posted.
In Posting Proposal UD, mention as Unrestricted & in Stock Screen Background, select the tick box.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maheshwaran,
Thanks for your quick reply but above solution is not proper.
After UD done, material document for movement type 321 is created and after that I have to transfer unrestricted stock type to block stock type in background for that I need user exit or badi whatever suitable for it. So abaper will use that user exit or badi in background program.
Please give me a correct reply.
Regards,
Nitin Nerkar
I read your title & I answered according to that one. But your content is different from the title you gave.
Is there any fixed qty which will be moved from Unrestricted to Blocked stock, once UD is done??
Using user exit as well, how you will pick up the qty which needs to be transferred to blocked stock??
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.