cancel
Showing results for 
Search instead for 
Did you mean: 

Insert a manual pricing condition using ABAP in ERP-SD

Former Member
0 Kudos

How can I insert a header pricing condition using ABAP program during order create. Can someone list the user-exits or place to enhance to achieve this. The scenario is this. We have a header only condition which means that we can manually insert the condition during order creation. But we want o automate this using ABAP. It is not changing the condition value, but inserting the condition into the pricing conditions during SD Order create.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you want the header condition must be follow in every sale order then mark that condition type as mandatory in your pricing procedure,so the same condition will come into sale order there at header you can give the price manually.

If you want to maintain fixed price for that condition and for every sale order go for enhancement,user exit MV45AFZZ - USEREXIT_PRICING_PREPARE_TKOMK. Then the ABAPer will make the condition and condition value as static for the sale order.

Regards

RAM 

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Add this condition to the pricing procedure (tcode V/08), and create your own VOFM requirement. In this VOFM define your algorithm. If the condition is manual (or you don't want it will be populated from conditions master data) you could set it in V/06 in control data in calculate type as value 'G'. For this, you need other VOFM subroutine (formula)

See SAP Note 156230 - Requirements: What is permitted, what is not?

I hope this helps you

Regards

Eduardo

Lakshmipathi
Active Contributor
0 Kudos

You can try with USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ)


G. Lakshmipathi