cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new field to the structure KOMK(Pricing structure)

Former Member
0 Kudos

Hi,

I need to add custom field called ZCITY to the structure KOMK. Could you please help me how can I add this new field? Can we do it using APPEND stucture or any other method?

And during change mode of Sales Order (VA02), I need to populate this field ZCITY based on certain conditions. Could you please help with any BADI or User Exit where I can change this KOMK structure.

Could you please help me out with ideas and suggestions?

Bottom line is:

Need to add new field ZCITY to the structure KOMK

And need to populate this field during change mode of sales order (VA02)

Once this field is populated, freight cost determination should happen based on this CITY. which means repricing happens based on this field.

Please help me out with steps for the above requirement.

Thanks,

Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, use:

KOMKBV1 (Sales Document)

Add a field in some of the append inside the structure.

To fill information use : EXIT USEREXIT_KOMKBV1_FILL, function module KOMKBV1_FILL.

Regards