cancel
Showing results for 
Search instead for 
Did you mean: 

Sample Sales with Budget allocation

Former Member
0 Kudos

Hi ,

Customer wants to allocate a fixed budget for each and every sample(which will be supplied free of cost). Beyond the budget allocated for that partucular sample(Annual), if they try to raise a Sale order, then it should throw a warning or error message that limit exceeds the annual target.

Could you share your suggestions and ideas, to explore this scenario.

Thanks&Regards

Sreekanth

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

You can create an internal order via ko01 and save. Go to ko22 where you can refer this internal order and fix the budget value there.

Now you have to link the sale order to above with the help of ABAPer.

thanks

G. Lakshmipathi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi sreekanth

U can use User exit Pricing preperare TKOMP in MV45AFZZ for this purpose.

create a new condition table with material or material group/material for entering anuual budget for that material.

Maintain another delta condition table with same combination and condition record number.

In user exit code :

Check document type of sample sales .

capture the net value of an item with material.

Compare this material ,Sales pricing date within condition table validity.

Deduct the amount an update the second condition table along with KNUMV or condition record number .

so at each sales document processing system sholud check amount remaining in z table and if its zero for any material

enter z message "annual target exceeded".

Take help of abaper to do this coding.

I hope this will help u.

Regards

Mandar

Former Member
0 Kudos

Mandar Deshpande,

May you explain better your solution, please.

Best Regards.

Kleyson Rios.