2014 Dec 03 10:34 AM
hai Everyone,
I've created a smartform with two table, my recuirement is that,
i should show only one table when a condition match,
For E.g
if <condition_true>
First table
elseif<condition_true>
Second table.
Its should show either one table as for the condition matches.
How can i achive this.??
2014 Dec 03 10:39 AM
Hi,
create 2 tables and add the conditions in table conditions tab.
for ex.
if <condition_true>
lv_flag = 'X'.
elseif<condition_true>
lv_flage = ' '.
first write the above logic before the tables and add the condition lv_Flag = 'X' in one table conditions tab and in another table lv_flag = ' ' condition in conditions tab.
Thanks,
Sree
hai Everyone,
I've created a smartform with two table, my recuirement is that,
i should show only one table when a condition match,
For E.g
if <condition_true>
First table
elseif<condition_true>
Second table.
Its should show either one table as for the condition matches.
How can i achive this.??
2014 Dec 03 10:39 AM
Hi,
create 2 tables and add the conditions in table conditions tab.
for ex.
if <condition_true>
lv_flag = 'X'.
elseif<condition_true>
lv_flage = ' '.
first write the above logic before the tables and add the condition lv_Flag = 'X' in one table conditions tab and in another table lv_flag = ' ' condition in conditions tab.
Thanks,
Sree
2014 Dec 03 11:00 AM
Hai Sreedevi,
In the particular data elements has Value Ranges, if it has 1 and 5 then it should call the one table else case its should call an another table,
in a table condition i can give either 1 or 5 right, but my situation it should call the table for 1 and 5
Thanks
2014 Dec 03 11:24 AM
H Joy,
please set the flag for 1 and 5.
ex:
if <field_value> eq '1' or <field_value> eq '5'.
lv_flag = 'X'.
else.
lv_flag = ' '.
endif.
put the flag condition in table conditions tab.
Thanks,
Sree
2014 Dec 03 11:29 AM
2014 Dec 03 10:39 AM
Hi Joy,
Both table have a 'CONDITION' tab, right? Just input you condition there.
regards,
Archer
2014 Dec 03 11:02 AM
hey Dengyong,
yes you are correct, but my fields shoyld match with AND condition because it has value ranges.
thank You
2014 Dec 03 10:39 AM
2014 Dec 03 11:03 AM
2014 Dec 03 12:11 PM
Polu answered some seconds before me (we were three in the same minute ) and look better at Condition tab, there is an icon to add a "OR" condition (the second from right)
Regards,
Raymond
2014 Dec 04 4:50 AM
2014 Dec 03 10:45 AM
Hi,
You can create an alternative condition in your window.
Flow logic -> Alternative.
Provide you condition here and you can put your internal tables in True and false accordingly.
2014 Dec 03 11:06 AM
hai archana,
In the particular data elements has Value Ranges, if it has 1 and 5 then it should call the one table else case its should call an another table,
in a table condition i can give either 1 or 5 right, but my situation it should call the table for 1 and 5
Thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |