on 07-19-2011 3:51 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you need to control using user exit USEREXIT_NEW_PRICING_VBKD in program MV45AFZB.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.