Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

help in smart form

Former Member
0 Likes
811

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
790

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

7 REPLIES 7
Read only

Former Member
0 Likes
790

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

Read only

0 Likes
790

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

Read only

0 Likes
790

hi antonio,

just remove frames for the windows,

then if u dont have data then u can get nothing on the output.

regards,

seshu.

Read only

0 Likes
790

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

Read only

0 Likes
790

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

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
790

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

Read only

Former Member
0 Likes
791

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