The problem is with line types, where in the MAIN window of INVOICE smartform has a Table defined with the name TABLEITEM, which has nearly 6 - 7 lines defined with different LINE TYPES, my requirement is to align the values on the same line picked from diffrent line types.
eg: In the standard INVOICE the table TABLEITEM has line types HD_GEN, IT_GEN, IT_KOND_WA ETC.,I want to dispaly the values KMEIN & KWERT which are present under IT_KOND_WA onto IT_GEN line.
It would be great if some body help me on this .
Thanks in advance.
If I understand you correctly, you'd like to print the condition value KWERT and unit KMEIN together with the item data of IT_GEN!
As there can be more than one condition available for each item line, you'd have to get the total into IT_KOND_WA-KWERT (expecting KMEIN to be identical for all condition lines) and add the output into the item line block. Also you would most likely have to deactivate the output elements of the LOOP over the condition table GS_IT_KOND.
PS: I had a look at form LB_BIL_INVOICE.
Gruß
Ereglam
May the Force be with your code || .| |.|| | .... . ..|. ||| .|. |.|. . |... . .|| .. | .... |.|| ||| ..| .|. |.|. ||| |.. .