Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

call program a screen

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. . ... . . . .

Tags:
Not what you were looking for? View more on this topic or Ask a question