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

2 screens

Former Member
0 Likes
1,048

Hi All!!

I am entering a material number in the 1st screen and then hit enter, then it should show up the orders in which it is involved in the second screen, also they should be able to check the orders required. So could anyone suggest, how I can go on further with this.

Thanks,

Shekhar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,030

create two screens :

first screen : 9000

case sy-ucomm.

when 'ENT1'.

get the data from table.

leave to screen 9100.

second screen : 9100

design your layout ..

Thanks

Seshu

create two screens :

first screen : 9000

case sy-ucomm.

when 'ENT1'.

get the data from table.

leave to screen 9100.

second screen : 9100

design your layout ..

Thanks

Seshu

7 REPLIES 7
Read only

Former Member
0 Likes
1,031

create two screens :

first screen : 9000

case sy-ucomm.

when 'ENT1'.

get the data from table.

leave to screen 9100.

second screen : 9100

design your layout ..

Thanks

Seshu

Read only

0 Likes
1,030

do I have to create the prog as module pool or executable?

Read only

0 Likes
1,030

Create you program as module pool and assign a transaction code to it.

Thanks

Aneesh.

Read only

0 Likes
1,030

U can write it in executable...

but u need to create screens, PBO MOdules, PAI MOdules...for those screens... and u may create include for pbo and pai oder write in same executable program...

Regards

SAB

Read only

0 Likes
1,030

can u pls explain it more clearly because I havent done it before.

Thanks, points would be rewarded for more details.

Read only

0 Likes
1,030

1. Create a Executable program..

2. variable declaration. selection screen.

3. select statements..

4. Call Screen 100.

--> double click on screen and create and design as per ur requrement.

place a button.

double clcik on pai module --> create --> same in ZPROG.

PAI module appears in ZPROG.

place the code..

CASE SY-UCOMM.

WHEN 'BUTN'.

UR REQUIREMENT STEPS.......

...............

CALL SCREEN 200.

ENDCASE.

--> Double click on 200 --> create and design..

double clcik on 200 PBO module --> create

code it as per ur requirement..

--> Double click on 200 PAI --> create

module USER_COMMAND_0200 input.

CASE SY-UCOMM.

WHEN 'EXIT'. " EXIT button to return to previous screen 100.

SET SCREEN 0.

LEAVE SCREEN.

*LEAVE TO SCREEN 100.

ENDCASE.

endmodule. " USER_COMMAND_0200 INPUT

u can create a t-code for this program .. in SE93 and provide the program anme and initial screen number.

Regards

SAB

Read only

0 Likes
1,030

thanks a lot syed!!