Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help: Pricing in SD

Former Member
0 Likes
981

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
932

HI,

take a enhancement details from functional consultant.

normally they are supposeto give us all details regarding enhancement name , user exit nameetc.

HI,

take a enhancement details from functional consultant.

normally they are supposeto give us all details regarding enhancement name , user exit nameetc.

6 REPLIES 6
Read only

Former Member
0 Likes
932

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

Read only

0 Likes
932

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

Read only

Former Member
0 Likes
932

hi

go to Sales Order Item data> billing tab > update the price

hope this helps

regards

Aakash Banga

Read only

Former Member
0 Likes
933

HI,

take a enhancement details from functional consultant.

normally they are supposeto give us all details regarding enhancement name , user exit nameetc.

Read only

0 Likes
932

Thanks Monika,

Problem solved.

Regards,

Amit

Read only

0 Likes
932

always welcome