Multiple Tables - Header data is not printed in any of the tables
I have a SMARTFORM requirement like explained below.
The "production material (PBOM) header" information should be printed as a template and under which 3 separate tables to print "Bom Components", "Product Mix" and one another information of the above "production material(PBOM)". There are more than one PBOM and thus smartform needs to print the above all template and tables as many times as the number of PBOM records available in the internal table.
PRINT <PBOM header>
<Created date> etc...
TABLE: Print all Components and their details,
TABLE: Print all product Mix and some details,
The whole layout needs to be called in a loop to print for all PBOM Headers that are there in an internal table.
What I am trying is,
1. Created a LOOP at PBOM level and print the header details using a TEXT node. (this is printed fine)
(2). Created a table for COMPONENTS
(3). Table for PRODUCT MIX.
Repeat the PBOM Header printing on each page. And if everything is printed for that PBOM and start a new page to start printing the new PBOM (this is for every iteratation of the PBOM internal table).
the problem is in tables (2) & (3) the headers are not getting printed but the main area information is printed. I am using the same line type at both header and main area. I am doing all these on a main window of the first page.
Is this requirement possible through smartform?
If possible, what am I missing?
Should I do all these on a secondary Window? Or whats is the best way of doing this in smartform?
Or should I just do away with SMARTFORM and pick something like Classical Report Or SAP Script?
Millions of Thanks in advance...
Waiting for your valuable inputs...