‎2005 Aug 12 5:05 AM
hai abapers,
i have a requirement in which i have to supress the whole column in the table. is it possible in smartforms. plz respond quickly. its urgent
‎2005 Aug 12 5:26 AM
Hi Hasmath,
I am assuming that you are using a TABLES node to display the table in your SmartForm? Not sure if thisis what you are after, but can you simply put some criteria in the "Conditions" tab of the column you wish to supress?
Cheers,
Pat.
‎2005 Aug 12 5:26 AM
Hi Hasmath,
I am assuming that you are using a TABLES node to display the table in your SmartForm? Not sure if thisis what you are after, but can you simply put some criteria in the "Conditions" tab of the column you wish to supress?
Cheers,
Pat.
‎2005 Aug 12 7:24 AM
how to supress the etc., space in the mainwindow... that has been left before the end of main window.
waiting for ur replies
‎2005 Aug 12 7:59 AM
Hi Hasmath,
Please follow these steps to supress a column in smartforms. I assume that you are using TABLES.
In TABLE node you might have created line types for columns. When you supress columns using the condition tab, you may get error or formatting problem. This is because the new cell is determined using the 'NEW CELL' checkbox in the output condition of the table child node (such as text node). When you supress one column, the data that is to be displayed in the next column will come in the previous one. This is fine if you want to disable a particular column completely and move the other columns to the left.
But if you want to only supress the column value then use the 'Alternate condtion' node.
Now let me tell you how to do both.
Condition tab - In the text node you can find a tab for giving condition. Enter the condition there. The node will be displayed only when the condition is true.
Alternate condition - This is similar to condition but we have True as well as False. So you can have two text nodes, one for true and another for false. You can copy the existing text node under 'True' and a text node with blank in 'False'.
Hope this will help you.
Thanks
Vinod
‎2005 Aug 12 1:02 PM
vinod as u said i had implemented in the same way. it is working fine but if i want to supress the whole col. is it possible or not? . give reply soon. however full points to u guy. thank u
‎2005 Aug 12 2:02 PM
Hi,
In that case, after the check box New Cell, enter no of the columns you want to skip. This will skip the column for all the lines.
Regards,
Gagan
‎2005 Aug 13 10:50 AM
Hi,
Yes. This is possible using Alternate condition node or the condition tab in the text node.
For example you have the following columns to be displayed.
Col1 Col2 Col3 Col4 Col5 Col6
In the TABLE node you use 'New Cell' option to define column. So in 'Col1' you will give a new line type and from 'Col2' to 'Col6' you enable the checkbox 'New Cell'.
When you disable one column say 'Col4', as per your requirement 'Col5' and 'Col6' should move to the left.
For this what you can do is to give the condition in the condition tab of the column 'Col4'. So when the condition is false, the 'Col4' node is not processed and 'Col5' and 'Col6' will move to the left. The problem with this is that if the length of 'Col4' is less than 'Col5', the value of 'Col5' may not get displayed.
In your case if 'Col4' has more length than 'Col5' and 'Col5' has more length than 'Col6', then it is OK.
Other solution that I have mentioned in my earlier post is to use alternate condition. But in this case the 'Col4' will be displayed with blank value. But there will not be any problem of formatting as mentioned in the case with 'condition tab'.
Thanks
Vinod