Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 30, 2011 at 06:20 PM

    Hi Linda,

    Could you pls paste the exact code you've written and also please go to pricing analysis and let us know what does system say about your cond type?

    Regards,

    Raghu.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.