‎2006 Oct 11 4:44 PM
Hi,
I have one table to get printed.
It's header line fields are some a b c and so on.
And If the table don't have any rows in it , then it should not get printed(header line also).
How this will happen?
‎2006 Oct 11 4:50 PM
If you are looping through your internal table in the DATA tab of your table node, then the header shouldn't print if there are no lines in your internal table.
You can also use the Conditions tab of your table node.
itab[] <> INITIAL.
‎2006 Oct 11 4:50 PM
hi,
Try using describe statement in program lines node of smartform and set a variable to 'X'. Specify this variable in the output conditions of table node in smartforms.
If you have not achieved with the above, try with this.
Check whether there are entries in the table by using describe statement in your driver program. Based on it, set a flag variable (V_rec_exist). Pass this value to the Function module. In output conditions of table, check whether v_rec_exist is 'X' or not.
Regards,
Sailaja.
‎2006 Oct 11 4:50 PM
If you are looping through your internal table in the DATA tab of your table node, then the header shouldn't print if there are no lines in your internal table.
You can also use the Conditions tab of your table node.
itab[] <> INITIAL.
‎2006 Oct 11 4:53 PM
Hi,
While defining your header in smartform , there is a tag with Conditions,there you can give the required condition.