on 10-05-2012 7:43 PM
Hi Frds ,
I have 2 tables for output in a SMARTFORM , and even when one of the table is empty those header text are getting displayed ..
I tried giving a conditions like if FS_TAB(internal table ) is not equal to empty still not working ...
Please help ,
Bharathi
Hi Bharathi,
You can use a folder and keep condition FS_TAB not initial on folder level and maintain table in folder.so if internal table is initial then execution wont goes into folder so header text will not get print.just let me know the status whether it worked or not..
Regards,
Mahipal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharathi,
1) From Driver Program.
create logic in driver program for Cheking Internal table is empty or not.
IF IT_XYZ is not INITAL.
pass you values in Internal table
ELSE.
flag Ex: 'X' . " Flag for Header Text
ENDIF.
not internal table is empty then you will get flag = 'X.
you just check this flag value in smartform
if flag = 'X' then Header Text Print and flag = ' ' (blank) then Print internal table values
2 ) Direct in Smartfroms.
then as Mr Yogesh suggessted:
" In the conditions tab of TABLE use 'INITIAL' check for the itab.
Place a program line (code section) just before your table. put a break-point in it. You can
check in debug if the given condition (of 'INITIAL' or "SPACE') is getting satisfied or not."
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the conditions tab of TABLE use 'INITIAL' check for the itab.
Place a program line (code section) just before your table. put a break-point in it. You can check in debug if the given condition (of 'INITIAL' or "SPACE') is getting satisfied or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Find the number of lines in internal table, capture that value in variable.
use that variable while giving condition at header text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Specifying the condition "IF FS_TAB[] <> INITIAL" in the SmartForm's table element should work. Perhaps you can give more details?
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 | |
10 | |
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.