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

Selection screen Block inside a block

Former Member
0 Likes
4,337

Hi

Is it possible to design a block in side a block in selection - screen?

If so, how is it possible..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,424

U can do that.

selection-screen begin of block b1 with frame title text-001.

selection-screen begin of block b2 with frame title text-002.

parameters : P_pernr like pa0000-pernr.

selection-screen end of block b2.

selection-screen end of block b1.

10 REPLIES 10
Read only

Former Member
0 Likes
2,425

U can do that.

selection-screen begin of block b1 with frame title text-001.

selection-screen begin of block b2 with frame title text-002.

parameters : P_pernr like pa0000-pernr.

selection-screen end of block b2.

selection-screen end of block b1.

Read only

Former Member
0 Likes
2,424

hi,

yes , you can do this

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .

<some code>

SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .

<some code>

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN END OF BLOCK b1.

Read only

0 Likes
2,424

but My Query is ::

After exectuing one selection - screen .. I should get another selection screen ...

Not a single selection screen ...

Read only

Former Member
0 Likes
2,424

Hi,

Yes,it is possible..

Let's check with this:

tables:lfa1,kna1.

selection-screen begin of block s1 with frame title text-001.

selection-screen begin of block s2 with frame title text-002.

parameters : p_kunnr like kna1-kunnr.

select-options:s_lifnr for lfa1-lifnr.

selection-screen end of block s2.

selection-screen end of block s1.

Regards,

Shiva Kumar

Read only

0 Likes
2,424

but My Query is ::

After exectuing one selection - screen .. I should get another selection screen ...

Not a single selection screen ...

Read only

Former Member
0 Likes
2,424

Hello,

sorry to say, i dont think calling a selection screen block with another block will matter much with the requirement.

Please, eloborate on the exact requirement, so that u can get a proper solution from the forum users.

regards,

Vivek

Read only

0 Likes
2,424

but My Query is ::

After exectuing one selection - screen .. I should get another selection screen ...

Not a single selection screen ...

Read only

0 Likes
2,424

but My Query is ::

After exectuing one selection - screen .. I should get another selection screen ...

Not a single selection screen ...

Read only

0 Likes
2,424

hi

for your requirement create one screen with selection parameters what you need ,and call that screen in your program .

I tried ur req with small code .its working .i think this will solve ur probelm.

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
2,424

>

> Hi

>

> Is it possible to design a block in side a block in selection - screen?

> If so, how is it possible..

Yes,

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS : p_kunnr TYPE kna1-kunnr.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETERS : p_vbeln TYPE vbak-vbeln.
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN END OF BLOCK b1.

Thanks & Regards