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

Function Module - Calling Screen with Subscreen?

former_member393151
Participant
0 Likes
940

I have a function module that is calling a screen. This screen includes a subscreen area (due to a tabstrip). When I call the screen, I get a dump

Program "RS_TESTFRAME_CALL" tried to use screen 1100.

The screen does not exist.

- however if I test the screen outside of the function module call it works fine. Is it possible to do what I'm trying?

Thanks for any help

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
815

Hi Heather, I assume that you are clicking the "Test" button within the function module? If yes, then it may not be possible to test like this because of the screen generation. I would suggest create a little program which calls your function for testing. There are some limitations when testing function modules within the framework like that.

REgards,

Rich Heilman

Read only

0 Likes
815

Yes - was trying with the test button. I did try creating a dummy program (and even a test transaction) and I'm still having the same problem.

Read only

0 Likes
815

Make sure that all screen and subscreen within the group exist and are active.

REgards,

Rich Heilman

Read only

0 Likes
815

Yup - everything there and active. If I eliminate the call to the subscreen for the tabstip - call works fine.

Read only

0 Likes
815

How have you defined your screens in this function module, using screen painter? Are any described by using SELECTION-SCREEN statement?

Regards,

Rich Heilman

Read only

0 Likes
815

The main screen is type "normal" and the subscreen is of type "subscreen".