Skip to Content
0
Former Member
Nov 28, 2011 at 06:49 AM

Script Logic - Calling BADI on Condition

55 Views

Hi,

I have a requiremnt where we have a Forecast and Budget planning in the same application but the cost calculation is different and i am planning to create two different BADI to calculate the cost (one for Budget and one for Forecast).

The Idea is in the Default.LGF, just read the first record and if the Category is "BUDGET" the call the Budget calculation BADI and if the Category is "FORECAST" then call forecast BADI.

My question here is how to read the first record without reducing the scope in Script Logic??

Regards,

Meiyalagan