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

doubt in module pool

Former Member
0 Likes
399

hi all

i am doing a report of type 'm' (module pool),in that designed a selection screen (9001).on entering the value and excecuting, it does not go to the output screen ,it comes out of the program.i have given output screen in start of selection ... call screen 9002(output screen)..why this happens.. help me in this regard

thanks in advance

lokesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
380

Hi,

In Type M program, why you are using Start-of-selection.

In 9001 screen PAI, call screen 9002.

In the PAI, you will have a pushbutton or a command to call the next screen, there write like

In PAI event.

if SY-UCOMM = 'Code'.
Call screen 9002.
Endif.

Regards

Sudheer

3 REPLIES 3
Read only

gopi_narendra
Active Contributor
0 Likes
380

u can not use start-of-selection in module pool.

u have call screen 9002 in the user_command of 9001 screen.

<b>case SY-UCOMM.

when 'ENTR'.

call screen 9002.

endcase.</b>

Regards

- Gopi

Read only

Former Member
0 Likes
381

Hi,

In Type M program, why you are using Start-of-selection.

In 9001 screen PAI, call screen 9002.

In the PAI, you will have a pushbutton or a command to call the next screen, there write like

In PAI event.

if SY-UCOMM = 'Code'.
Call screen 9002.
Endif.

Regards

Sudheer

Read only

Former Member
0 Likes
380

Hi Lokesh,

In PAI of Screen 9001

Case-Sy-ucomm.

when 'CODE' " which u have assign to button.

<b>***********always use capital letters for code*****</b>

call screen 9002.

endcase.

Hope this helps.

Regards

-


Sachin

Message was edited by: Sachin Dhingra