cancel
Showing results for 
Search instead for 
Did you mean: 

User exit in sales order to add new item condition

Former Member
0 Kudos

Hi,

Our business requirement is to add new item conditions in an order (VA01/VA02) using ABAP coding. Has anyone done this before?

I'm thinking of using USEREXIT_NEW_PRICING_VBAP in MV45AFZB ?

Thanks.

Edited by: William Lawlor on Jul 8, 2008 12:19 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for your assistance. I found that I can actually use RV61AFZB

Regards.

MariusStoica
Active Participant
0 Kudos

Hi William,

Do you remember how you achieved this?

Thanks,
Marius

Former Member
0 Kudos

Hi Marius,

Sorry for the delay - I keep having problems logging into SDN.

I used the routine USEREXIT_BEWERTEN_INIT and appended the relevant data to the TKOMV internal table.

Hope this helps,

William

Former Member
0 Kudos

Hi,

Based on the item category value, I need to add in a new item condition which I suppose will make it's way eventually into table KOMV.

Do you mesn pricing like RV61A902 ?

Former Member
0 Kudos

Hi,

If you want to active (to check) a condition type according to item category, you can used a requirement like RV61A9XX with KOMP-PSTYV.

Example :

SY-SUBRC = 4.

IF KOMP-KPOSN NE 0.

CHECK: KOMP-PSTYV = 'TAN'.

ENDIF.

SY-SUBRC = 0.

Is this OK for you ? Or another requirement ?

Regards,

Lionel

Former Member
0 Kudos

Hi,

This exit USEREXIT_NEW_PRICING_VBAP in MV45AFZB is used only to determine or not a new price calculation according to a modification of specific field (ex : if shipping condition is changed, then new price determination).

To add new condition type, you can used requirement in pricing procedure (V/08) with condition formula.

What is the condition to add this new condition type ?

Regards,

Lionel