hi,
we have a Z report which does a price simulation. basically in the report, we have to enter some data in the selection screen like customer, material, pricing date and sales order type. what this report does is it calls VA01 in background and so the pricing conditions are determined and are avalailble in KOMV strructure and thus we get the output from such structure with all condition types and their values.
so everytime we run this z report, every time it calls a sales order in create mode in background.
but the issue is, this report does not show rebate condition types(rebate condition type status D), if the the rebate agreement has status D(finally settled). this is because our rebate condition types is supposed to appear in sales order but once a rebate agreement is settled, this report will not show the rebate conditions since once rebate agreement is settled, the rebate conditions will not come in pricing since this is sap standard and since our z report call va01, these reabte conditions are also not available in structure.
so what to do so that rebate conditons for rebate agreement which is settled aslo appear in our pricing simulation.
is there any other way of simulating so that the above problem is avoided or coud you pls let me know the function module or standard progam which prevents rebate conditon types with status D not to appear in sales order pricing,
regards
sachin