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

Problem with call subscreen

Former Member
0 Likes
2,218

I have created a Transaction using two screens,one is normal screen(100) and the other one is subscreen(110).

In flow logic of 100 PBO, I have written the following statement.

call subscreen SUB including 'zmod1' '110'.

I have activated the two screens.But I am getting run time error.

Error:

Program "zmod1" tried to use screen "0110".

The screen does not exist.

Can any one please give me the solution for this problem.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,124

Ensure screen 110 is activated.

Try changing call to

call subscreen SUB including 'ZMOD1' '0110'.

Moreover do not forget to write

CALL SUBSCREEN SUB

in your PAI.

Regards,

Mohaiyuddin

4 REPLIES 4
Read only

Former Member
0 Likes
1,125

Ensure screen 110 is activated.

Try changing call to

call subscreen SUB including 'ZMOD1' '0110'.

Moreover do not forget to write

CALL SUBSCREEN SUB

in your PAI.

Regards,

Mohaiyuddin

Read only

Former Member
0 Likes
1,124

check wheather u have written CALL SUBSCREEN: AREA1in pai r not

see below example

PROCESS BEFORE OUTPUT.

MODULE STATUS_100.

CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,

AREA2 INCLUDING SY-REPID NUMBER2.

PROCESS AFTER INPUT.

MODULE CANCEL AT EXIT-COMMAND.

MODULE SAVE_OK.

CALL SUBSCREEN: AREA1,

AREA2.

MODULE USER_COMMAND_100.

Read only

Former Member
0 Likes
1,124

Hi,

Program name must be upper case.

call subscreen SUB including 'ZMOD1' '110'.

Read only

Former Member
0 Likes
1,124

Hi,

make sure that you select the subscreen radio button in the SCREEN attribute tab of screen 110.

regards

Ramchander Rao.K