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

Module Pool

Former Member
0 Likes
834

Hello frnds,

I have designed a Tabstrip (without using Table control wizard).. my problem is when i see my tabstrip screen on the main screen,, the second tab appears by default as selected,, i want first one to appear as the default thing,, can you plz suggest where might i be wrong,,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
807

you might be given this type of code i pai,

for example

CASE ok_code.

WHEN 'PERDET'----


> Name of the Tabstrip Tab

OR 'RESSUM'

OR 'PRODET'

OR 'OTHSAP'

OR 'PROEXP'

OR 'GENINF'.

resumetab-activetab = ok_code.

then in pbo loop and enloop create a module and make like this,

for example,

CASE resumetab-activetab.

WHEN 'PERDET'.

resumetab-activetab = 'PERDET'.

dynnr = '0300'.

WHEN 'RESSUM'.

resumetab-activetab = 'RESSUM'.

dynnr = '0400'.

WHEN 'PRODET'.

resumetab-activetab = 'PRODET'.

dynnr = '0500'.

WHEN 'OTHSAP'.

resumetab-activetab = 'OTHSAP'.

dynnr = '0800'.

WHEN 'PROEXP'.

resumetab-activetab = 'PROEXP'.

dynnr = '0900'.

WHEN 'GENINF'.

resumetab-activetab = 'GENINF'.

dynnr = '1100'.

WHEN OTHERS.----


>this is the default assigning of first tab in tabstrip

resumetab-activetab = 'PERDET'.

dynnr = '0300'.

ENDCASE.

7 REPLIES 7
Read only

Former Member
0 Likes
808

you might be given this type of code i pai,

for example

CASE ok_code.

WHEN 'PERDET'----


> Name of the Tabstrip Tab

OR 'RESSUM'

OR 'PRODET'

OR 'OTHSAP'

OR 'PROEXP'

OR 'GENINF'.

resumetab-activetab = ok_code.

then in pbo loop and enloop create a module and make like this,

for example,

CASE resumetab-activetab.

WHEN 'PERDET'.

resumetab-activetab = 'PERDET'.

dynnr = '0300'.

WHEN 'RESSUM'.

resumetab-activetab = 'RESSUM'.

dynnr = '0400'.

WHEN 'PRODET'.

resumetab-activetab = 'PRODET'.

dynnr = '0500'.

WHEN 'OTHSAP'.

resumetab-activetab = 'OTHSAP'.

dynnr = '0800'.

WHEN 'PROEXP'.

resumetab-activetab = 'PROEXP'.

dynnr = '0900'.

WHEN 'GENINF'.

resumetab-activetab = 'GENINF'.

dynnr = '1100'.

WHEN OTHERS.----


>this is the default assigning of first tab in tabstrip

resumetab-activetab = 'PERDET'.

dynnr = '0300'.

ENDCASE.

Read only

0 Likes
807

Intresting .....

Read only

0 Likes
807

hi Gautham,

what do u mean by intresting?

Read only

0 Likes
807

What is intresting in thread - "module pool" ---gautham

Read only

matt
Active Contributor
0 Likes
807

>

> Intresting .....

it is interesting isn't it. Who'd have guest?

matt

Read only

Former Member
0 Likes
807

Hi

U need to initailize the structure of your tabstrip, so u should fill the field ACTIVETAB: here insert the ok_code of your first tab.

Max

Read only

Former Member
0 Likes
807

Hi,

if first one to appear as the default thing,write code as

mytabstrip-activetab = 'Tab1'.

now first tab will come as default.