Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

user exist for MV45AFZZ and RV60AFZZ

Hi,

I followed below link and successfully add sales document item category to " Allowed fields". then created a table and access sequece for my condition type But condtion type won't carry condition record under sales condtion. I think I didn't make my user exit codes right.

[http://www.sap-img.com/sap-sd/add-a-field-to-new-condition-table-in-pricing.htm]

FORM USEREXIT_PREPARE_TKOMP.
u2022	* TKOMP-zzfield = xxxx-zzfield2.
u2022	* { INSERT  DEVK902616
u2022	*MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
u2022	*} INSERT
ENDFORM.
*eject

Your advice will be deeply appreciated.

thanks,

Linda

Former Member
Former Member replied

Hi Linda,

1) The * mark at the begining of a statemnt indicates it is commented. Pls remove the * mark

and 2) It has to be VBAP-PSTYV TO TKOMP-ZZPSTYV.

pls do the changes as below and check:

FORM USEREXIT_PRICING_PREPARE_TKOMP.

  • TKOMP-zzfield = xxxx-zzfield2.

*{ INSERT DEVK902616 1

MOVE VBAP-PSTYV TO TKOMP-ZZPSTYV.

*} INSERT

ENDFORM.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question