Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table control

Former Member
0 Likes
333

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.

2 REPLIES 2
Read only

Former Member
0 Likes
308

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.

Read only

Former Member
0 Likes
308

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.