cancel
Showing results for 
Search instead for 
Did you mean: 

Any ways to insert header condition into billing directly?

Former Member
0 Kudos

hi All,

Right now, our customer has a requirement to offer customer a discoust by certain percentage and basing on subtotal2 price (in process value) in billing.

But the funding of this discount has limit. Another word, we cannot set this discount by percentage, because it may exceed the limit for the last order.

So the best solution we can think of is to place a header condition (not item condition) into Billing. the question is HOW.

we knew, for sale order, we can call BAPI "BAPI_SALESORDER_CHANGE" to insert header condition into sale order. but we cannot find similar functions for billing. Are there anyone can find similar functions to place header condition into Billing header??

BTW, BDC is not recommemded by customer. please try another way.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

If you dont want the condition type to populate in sale order manually, you can have a header condition type assigned in pricing procedure where you also maintain routine 24 under "Reqt" tab.  By doing so, this condition type will flow only in billing document where you can key in the required value manually.

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipathi,

Maybe I confuse you.

what we need to let system automatically calculate the value of this header condition and place into billing, not to ask user manually insert such header condition.

Thanks all the same.

Lakshmipathi
Active Contributor
0 Kudos

In that case, you can try with USEREXIT_PRICING_PREPARE_TKOMK in program MV45AFZZ

G. Lakshmipathi

phanikumar_v3
Active Contributor
0 Kudos

Dear

Please remember the thumb rule --

All header conditions are Manual conditions and

Some times the condition record can be retrieved based on Formulas..

Phanikumar