cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Invoice Layout problem

Former Member
0 Likes
436

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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.

Former Member
0 Likes

Hi,

I need to process the FM at any cost as i am fetching the other details also using the FM.. I am looking for any other FM or other alternatives.

Regards,

Asif Ali Khan