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: 

call program a screen

Former Member
0 Kudos

hi

how can i add a program in screen ?

ı want to call program's name personel_picture.

my screen type : normal screen.

this my code:

if p_selfield-fieldname = 'PERNR'.

MOVE p_selfield-value To gv_h_pernr.

CHECK NOT gv_h_pernr IS INITIAL.

SET PARAMETER ID 'PER' FIELD gv_h_pernr.

CALL TRANSACTION 'PA30'.

CLEAR G_TBL2.

ELSEIF p_selfield-fieldname = 'ENAME'.

call SCREEN '200'.

ELSE.

MESSAGE 'Stop' TYPE 'W'.

ENDIF. . ... . . . .

1 REPLY 1

Former Member
0 Kudos

To call a program use:

SUBMIT ZREPORT.