Skip to Content
avatar image
Former Member

Block UD saving, If stock posting is not done

Dear Experts,

My requirement is to block UD when a stock posting activity not completed. In standard setting, the system allows to save UD without stock posting completion.

Is there any customization is possible to do this activity?

So that, the system should not allow UD saving without stock posting completion.

VRMP.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Feb 04, 2009 at 04:02 AM

    Dear VRMP

    I think this can be done with status profile. an example given below. please try using the same.

    Link: [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20fbc091-ea3a-2b10-f0a3-877ffbf36436]

    one more suggestion , in selected sets for ud (03) you can make a setting against each codes such a way that all the quantity get posted when UD is saved.

    This can be done in QS51 > selected the code group> go to codes> maintain a proposal against each code> tick the stock screen background

    If you set this indicator, the stock quantity that is still outstanding is automatically posted in accordance with the stock posting proposal in the usage decision code, when you save the usage decision.

    You cannot prevent this transfer posting.

    Hope this helps

    Gajesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Gajesh,

      This link for Block UD, If RR is incomplete.

      But my requirement is Block UD saving, If Stock posting is not done.

      What happens you know, for a segregation lot the users doing UD saving(ASEG) for the purpose of lot closing. But, the Inspection qty is still under segregation by vendor for certain period. After some time the lot is still pending for some other reason. The stock qty is in RPL one day which become issue.

      So, I need a system for this. UD saving itself the system should show a error message contains 'Stock posting is not completed'

      Moreover, i don't want automatic stock posting for pending stock thru' selected codes.

      VRMP.

  • avatar image
    Former Member
    Feb 04, 2009 at 05:35 AM

    Hi VRMP,

    Gajesh is guiding you in 100% correct way. Status Profile will work for you exactly as per your requirement.

    You will be in need to use the STD Profile "QM_L_001 - Inspection Lot Profile 1" will surely work for you. Herewith attaching some guiding links that are prepared to establish the control to prevent UD if RR is not done. Similarly look into for some business transaction that prevent UD before Stock posting.

    [Thread - 1 |user-profile-created-to-block-the-ud-if-rr-is-not]

    [Thread - 2|result-recording-mandatory-before-ud]

    [Thread - 3|how-to-prevent-ud-when-result-recording-is-not-car]

    Or the at the other hand you can do it smarter way also.

    Make the Posting proposal for UD code in Back ground in QS51 for each UD code. By doing this if the user will perform UD and save, system will; perform the Stock posting in background automatically.

    Reagrds,

    Shyamal

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 04, 2009 at 04:46 AM

    Dear VRMP

    i have given that as an example only. please explore to get the result you want. i will also try and let u know if i get the perfect solution

    Regards

    Gajesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 05, 2009 at 11:48 AM

    Hi VRMP,

    Simple solution to handle this is with user exit, with a condition that if stock to be posted is not equal to zero-> UD cannot be saved.

    We had the same requirement from users, user exit works fine

    Hope this should solve ur issue

    Regards

    Venugopal

    Add comment
    10|10000 characters needed characters exceeded