Application Development 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: 

Table Control &Tab Strip

Former Member
0 Kudos

what is table control and tab strip

4 REPLIES 4

0 Kudos

Hi,

Table control and Tabstrip are special type of GUI elements. Called as Controls. The structure for both these elements are defined in the type-poll CXTAB.

You need to use type-pools cxtab. statement in you program to use them.

And you need to define them using the keywork CONTROLS.

You can get more info from the following links.

http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_47x200/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm

Regards,

Sesh

gopi_narendra
Active Contributor
0 Kudos

Check these links also

<b>Table Control

http://help.sap.com/saphelp_nw2004s/helpdata/en/45/adee2396f711d1b46b0000e8a52bed/frameset.htm

Tab Strips

http://help.sap.com/saphelp_nw2004s/helpdata/en/6d/5da5428295c911e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/24/23b937ba187121e10000009b38f8cf/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm</b>;

Check these programs in SE38

TabStrips

demo_dynpro_tabstrip_local

demo_dynpro_tabstrip_server

Table Control

demo_dynpro_tabcont_loop

demo_dynpro_tabcont_loop_at

<b>These are the standard SAP examples on table contorls and tab strips.</b>

Regards

- Gopi

Message was edited by: Gopi Narendra

0 Kudos

hi gopi,

could yiu define your answer more clearly

Former Member
0 Kudos

Hi Abhay,

You have to select a Tabstrip from the screen options and define the Tabstrip in the Report as follows,

controls <table-control_name> type tabstrip.

1. Define a Subscreen area for the Tabstrip and assign it to all the tabs.

2. Create a seperate Subscreen for each tab and to activate them write the following cade in the PAI Module,

save_ok = ok_code.

clear ok_code.

  • hotmancontrol-activetab = save_ok.

case save_ok.

when '<tab1_name>'.

number = '600'.

hotmancontrol-activetab = 'CREATE'.

when '<tab2_name>'.

number = '0700'.

hotmancontrol-activetab = 'MODIFY'.

when '<tab3_name>'.

number = '0800'.

hotmancontrol-activetab = 'LIST'.

endcase.

600, 700, 800 are the subscreen nos. for each tabs.

Hope this will help