Skip to Content

Pricing date of sales order

Helllo ,

my pricing date in sales order is based on the requested delivery date....But many times users change the requested

delivery date and the pricing date is changed.I need to have initial pricing date always and never changed.

I think SAP standard dont have solution for this right?

Thanks and best regards

L

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2011 at 03:17 PM

    Hi,

    You can discuss your requirement with the ABAP consultant and use the below user exits to meet your requirement:

    USEREXIT_MOVE_FIELD_TO_VBAP

    Use this user exit to assign values to new fields at sales document item level.

    USEREXIT_MOVE_FIELD_TO_VBKD

    Use this user exit to assign values to new fields for business data of the sales document.

    Hope the above helps.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2011 at 03:12 PM

    I think you need to control using user exit USEREXIT_NEW_PRICING_VBKD in program MV45AFZB.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2011 at 03:16 PM

    Go to VOV8, select your order type and execute. There at the bottom, you can see a field Prop. f. pricing date. Select an option whichever suits your requirement. Perhaps, "B" suits your requirement.

    thanks

    G. Lakshmipathi

    Edited by: Lakshmipathi on Jul 19, 2011 8:47 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2011 at 07:20 AM

    Hai Luis Guilhermo,

    In sales order program ,

    SAPMV45A

    Include : MV45AFZZ

    FORM userexit_save_document_prepare

    CODE:

    CONSTANTS: c_t(45) TYPE c VALUE 'Please enter current date or future date in ',
                 c_t1(18) TYPE c VALUE 'Pricing date field'.
    
    IF sy-tcode = 'VA01' OR sy-tcode = 'VA02'.
    
          IF vbkd-prsdt LT sy-datum.
    
            MESSAGE e000(zmsg1) DISPLAY LIKE 'E' WITH c_t c_t1.
    
          ENDIF.
    
        ENDIF.
    
    

    This user exit code will check your pricing date should be equal to or more that system date, else gives error.

    Regards,

    Mani

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.