on 05-05-2009 5:00 AM
Dear All experts,
I would like to check the internal table is empty or not, if it is empty I would like to do not display something,if it is now empty I will show something.How should I check the internal table in the smartforms? Just set it in the condition as internal table not equal initial or describe the internal table's line then check if the lines equal to zero or not?
BR
Hi,
You can check the condition in Initialization tab of Global Definition and set a flag value and use that flag value at the same time of value OR Use Program lines node to check the internal table contents and set a flag value to display the content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a program line node and pass the internal table and get the number of records by describe table statement then u will get some no if the internal table is not initial. The check the conditions based on this variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
In the Global definition->Initialization tab you can check the internal table is intial or not and set the flag variable. Use this flag variable in the window Conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can do this check in Initialization part of SmartForms. Just need to import it and put your condition (any code you want in it).
if itab is initial.
<......>.
else.
<.....>.
endif.
Hope this will solve your problem
Cheers,
Suvendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.