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

Calling a Subscreen in a Button Click.

0 Likes
1,939

Hi all,

I am creating module program by using sub screen to display the material no based on purchase requisition number means if i give the purchase requisition in main screen it has to call sub screen in that it has to display material no and based on material no it has to call one more sub screen and it has to display the material type based on the material no

I tried this i got main screen  but i couldn't able to get the sub screen.

My codes.

PROCESS BEFORE OUTPUT.

   MODULE status_8000.

   CALL  SUBSCREEN sub INCLUDING sy-repid v_scr.

 

PROCESS AFTER INPUT.

   CALL SUBSCREEN sub.

   MODULE user_command_8000.

**In Main Program.

CASE sy-ucomm.

     WHEN 'DISPLAY'.

       v_scr = '0110'.


Thanks

Nagarjuna

1 ACCEPTED SOLUTION
Read only

0 Likes
873

Hi Nagarjuna,

Your Code looks good, I think you need to re size your subscreen area as well as your sub-screen to a proper size.

Check this and reply me,

Regards,

Swaroop

2 REPLIES 2
Read only

0 Likes
874

Hi Nagarjuna,

Your Code looks good, I think you need to re size your subscreen area as well as your sub-screen to a proper size.

Check this and reply me,

Regards,

Swaroop

Read only

0 Likes
873

Hi Swarop,

thanks for the replay

Now it is working fine.