cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing Condition - activation and deactivation

Former Member
0 Kudos

Hi Friends,

I have below requirement.

In sales order, If material Qty is less than 5, condition 'ZD03' should activated

and if it greater than 5 condition should be deactivated.

I have written the logic in routine which it's working fine with single line item.

while creating Sales order with 2 line items - for first material I have entered Qty 2 for which condition should be activated and it is working fine . For Second line item I have put qty 6, for this also the condition is getting activated.

Can you please advice regarding the same.

can u pls provide any structure that will contain all the line items from sales order?.

I am using KOMP structure but, it's getting only first line item data.

Thanks in advance.

Regards,

Bharat.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check XVBAP internal table.You need to put check for the quantity field in this table.

Reward points if useful

Regards,

Amrish Purohit