TO PRINT PO WITH CONDITION LINES WHICH HAS ONLY VALUES
Hi friends,
I want to create PO with multiple items. I want all the taxes, freight , Insurance etc to be printed in the PO as total of all the PO items. But along with them, i get the condition types (LST, Surcharge etc) which has NIL values also displayed in the PO as Zero value .
How to solve this.?
I tried with print parameter 'B' also.
Kindly let me know.
Adv Thanx
T.Rajan
anyone knows this may kindly reply
adv. Thanx
Rajan
Ciao,
we found that with absolute values, the field with the value is not komvd-kbetr but komvd-kwert. We didn't change the form (medruck) but the programme, setting the value komvd-kbetr = komvd-kwert.
in programme LMEDRUCKF18 we add the code:
select single * from t685a where kappl = 'M'
and kschl = komvd-kschl.
if t685a-krech = 'B'.
komvd-kbetr = komvd-kwert.
endif.
just before:
call function 'WRITE_FORM'
EXPORTING
element = 'ITEM_CONDITIONS'
EXCEPTIONS
others = 01.
clear sy-subrc.