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

sub screen area and subscreen

Former Member
0 Likes
1,197

Hi all,

I am calling a normal screen from abap program when i click pushbutton in that screen, subscreen should be displayed in subscreen area which is defined under pushbutton.

when'push'.

call subscreen sub.

its not working.please help.

Hi all,

I am calling a normal screen from abap program when i click pushbutton in that screen, subscreen should be displayed in subscreen area which is defined under pushbutton.

when'push'.

call subscreen sub.

its not working.please help.

4 REPLIES 4
Read only

Former Member
0 Likes
701

Hi Kavitha,

I thik you forgot to activate the screen when you click the button .

Suppose your screen is 200 write like this code in the PBO of 200 screen.

> PROCESS BEFORE OUTPUT.

> module active.

In your program.

MODULE ACTIVE.

if sy-ucomm eq 'BUTTON'.

loop at screen.

screen-active = 1.

modify screen.

endloop.

else.

loop at screen.

screen-active = 0.

modify screen.

endloop.

endif.

ENDMODULE.

Plzz reward if it is useful,

Mahi.

Read only

0 Likes
701

Hi Maheswari,

my first screen is 9001 in that flow logic pbo i wrote

CALL SUBSCREEN SUBSCREEN INCLUDING sy-repid 9002.

in pai flow logic

call subscreen subscreen.

in pbo processing logic .

WHEN OK-CODE = 'PUSH'.

i wrote loop at screen and activated screen.

but still i DONT GET...

Read only

Former Member
0 Likes
701

hi

good

check this link,hope this would help you to solve your problem.

http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm

thanks

mrutyun^

Read only

Former Member
0 Likes
701

hi

in ur pbo

CALL SUBSCREEN area INCLUDING prog dynp.

in ur pai

if ok_code = 'push'.

CALL SUBSCREEN area.

endif.

also u can refer to this link

http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbab2935c111d1829f0000e829fbfe/frameset.htm