‎2007 May 30 8:03 AM
hallow
i have a page with lot of table with data
but when one table dont have data i get the frame of table with headers but empty
how i can do that if in one table i dont have data that the smart form dont bring
anythihg like table dont existent
and when i have data i see the table with data inside
regards
‎2007 May 30 8:09 AM
Hi,
In main window, within the table put a condition to check the itab for initial
otherwise, in main window write code to check for the values of the itab. if values are there then trigger the table by passing a flag value
Regards
shiva
‎2007 May 30 8:05 AM
Hi,
In the Smartform, you have the Condition in the Header of the table node, there check for the Internal table whether it is initial or not, or else use the IF else condition if the Table is initial then do not display else display the table
Regards
Sudheer
‎2007 May 30 8:38 AM
hi Sudheer Junnuthula
can u give me example how to do it
becouse i dont find it i new in this topic.
lets cal my table itab
regards
‎2007 May 30 8:46 AM
hi antonio,
just remove frames for the windows,
then if u dont have data then u can get nothing on the output.
regards,
seshu.
‎2007 May 30 8:58 AM
Hi
In the main window we have conditions wherein we can specific when the data to be printed. Suppose we have a material no in the output and we dont want to print the smartforms when the material is blank then in the condition we can specify to material <> ''. In this way we can check the condition of each and every field of the table or else we can check for the work area itself.
Hope will resolve your problem.
rgds
thiru
‎2007 May 30 9:22 AM
hi antonio,
like what Sudheer Junnuthula mentioned, in the table u created, there is a CONDITION tab where you can input your logic.
as you mentioned, if ur table itab is empty, you wouldnt want to print out the table. in your condition tab, in the field name = itab, relational operator = "Not Equals To", comparison value = ' '.
in this case, if itab is empty, it will not print out the table.
hope it helps
‎2007 May 30 8:08 AM
Hi
In the Smartform, you have the Condition in the Header of the table node, there check for the Internal table whether it is initial or not, or else use the IF else condition if the Table is initial then do not display else display the table
<b>http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.</b>
Regards,
Sree
‎2007 May 30 8:09 AM
Hi,
In main window, within the table put a condition to check the itab for initial
otherwise, in main window write code to check for the values of the itab. if values are there then trigger the table by passing a flag value
Regards
shiva