Application Development 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: 

Calling a Subscreen in a Button Click.

0 Kudos
1,369

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

0 Kudos
303

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

0 Kudos
304

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

0 Kudos
303

Hi Swarop,

thanks for the replay

Now it is working fine.