Skip to Content
avatar image
Former Member

Which is the user exit or badi for stock posting from quality to unrestricted stock type after usage decision in t code QA32 ?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 04, 2013 at 11:37 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04, 2013 at 12:06 PM

    Hi,

    You can use exit ZXMBCU02, which is called for all goods movements.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2013 at 01:23 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2013 at 11:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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