‎2008 Oct 22 5:05 AM
hi,
In my tab strip control under a tab in a subscreen i have a i/p o/p field as number of partners and on entering a value into it that many rows should be displayed by openibg a table control in order to enter data like name of owner/ partner , address , age , sex , location etc . And i should have a pushbutton as save so that if i click on it the total data should be inserted into the table.
And with that i also have some fields like survey number and reg number which also should be inserted into table.
Thanks & Regards,
Syam.
‎2008 Oct 22 5:20 AM
starts with normal screen elements ,tab strip control examples and end with Tablecontrol examples already available, choose one of them and try to proceed. they are easy to understand, you can easily code also.
DEMOTABSTRIP* for tabstrip
DEMOTABLECONTROL* for table control
also use ABAPDOCU transaction for userdialogs.
‎2008 Oct 29 5:51 AM
Hi Syam,
I have a sample code for making the Columns in a table Control invisible.
You just have to mention which Column you want to hide.
Suppose you dont want the third Column to be displayed then give ****IF waa-index = 3**.
******************************************************
if sy-tcode = 'ZAMITTRANS_AMIT'.
DATA: waa LIKE LINE OF TABCON-cols.
CLEAR waa.
LOOP AT TABCON-cols INTO waa.
IF waa-index = 3.
waa-invisible = 'X'.
MODIFY TABCON-cols FROM waa.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Amit.