2009 Mar 23 10:42 AM
Hello Gurus,
My client's requirement is to update/carry out new pricing if an user tries to change the payment terms while creating a sales order. i have found that the appropriate place to write this piece of code..i.e under MV45AFZZ under the form 'FORM userexit_move_field_to_vbkd'.
But im not getting a suitable Function module or anything else which wud work like we goto pricing -> click on update -> carry out new pricing.
Please help.
Regards,
Amit
2009 Mar 23 11:45 AM
HI,
take a enhancement details from functional consultant.
normally they are supposeto give us all details regarding enhancement name , user exit nameetc.
Hello Gurus,
My client's requirement is to update/carry out new pricing if an user tries to change the payment terms while creating a sales order. i have found that the appropriate place to write this piece of code..i.e under MV45AFZZ under the form 'FORM userexit_move_field_to_vbkd'.
But im not getting a suitable Function module or anything else which wud work like we goto pricing -> click on update -> carry out new pricing.
Please help.
Regards,
Amit
2009 Mar 23 11:09 AM
hope this will help
ENHANCEMENT 11 /SAPHT/SW_PRICE_PROT_SAPFV45K. "active version
ISSW D40/41 below starts GGRAKD4041
*************************************
Call function module to determine if order rec. date (vbak-audat)
has changed and price protection applies to any items--if so,
calc new pricing for the entire order.
CLEAR SY-SUBRC.
CALL FUNCTION '/SAPHT/SW_SAPFV45K_CHKPERIOD'
EXPORTING
I_VBAK = VBAK
I_OVBAK = *VBAK
I_VORGANG = T180-TRTYP
TABLES
XVBAP = XVBAP
EXCEPTIONS
NEW_PRICING = 1.
OTHERS = 2.
IF SY-SUBRC = 1.
MESSAGE ID 'OG' TYPE 'I' NUMBER '033'.
PERFORM PREISFINDUNG_GESAMT(SAPMV45A) USING CHARC.
ENDIF.
Above is GGRAKD4041 *************************************
ENDENHANCEMENT.
add this in FV45KFAK_VBAK_BEARBEITEN
2009 Mar 23 11:30 AM
Thanx for the reply,
do u mean that i need to change the SAP std program..
moreover can u pls elaborate on the solution..coz im unable to find this FV45KFAK_VBAK_BEARBEITEN
regards,
amit
2009 Mar 23 11:19 AM
hi
go to Sales Order Item data> billing tab > update the price
hope this helps
regards
Aakash Banga
2009 Mar 23 11:45 AM
HI,
take a enhancement details from functional consultant.
normally they are supposeto give us all details regarding enhancement name , user exit nameetc.
2009 Mar 24 4:21 AM
2009 Mar 24 4:23 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |