Invoice Layout problem
In have copied the standard Invoice layout program and done some modifications. The program is using FM LB_BIL_INV_OUTP_READ_PRTDATA to get the Billing details (ES_BIL_INVOICE).
My requirement is, If for the billing document no. (t-code VF03) the ITEM condition type PR00 is Inactive, then the FM should pick the next condition type values and display it in the smartform output. This scenario is not possible by using the above FM as it returns blank values for ES_BIL_INVOICE-IT_KOND table.
Please suggest some alternatives or any other FM which will give the values of the next condition type for the item if PR00 is inactive.
Thanks in Advance,
Asif Ali Khan