on ‎2008 Oct 06 1:00 PM
Hi All,
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
Request clarification before answering.
Hi,
Put a condition in CONDITIONS tab of the smartform where this FM is calling.
condition type PR00 is Inactive(like Condition type ne 'X'.)
ES_BIL_INVOICE-IT_KOND ne initial.
or if this FM is calling in print program put the same logic and dont process the FM.
Thanks,
Sree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.