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

How to pass parameter when calling a screen?

guanqing_long
Explorer
0 Likes
946

Hi,

How to pass parameter when calling a screen? I don't want to define the parameters as global.

Thanks in advance.

Hi,

How to pass parameter when calling a screen? I don't want to define the parameters as global.

Thanks in advance.

3 REPLIES 3
Read only

nikhil_chitre
Active Participant
0 Likes
816

Hi,

Try to code refering to below format

SUBMIT report1 USING SELECTION-SCREEN '1100'

WITH SELECTION-TABLE rspar_tab

WITH selcrit2 BETWEEN 'H' AND 'K'

WITH selcrit2 IN range_tab

AND RETURN.

Regards,

Nikhil

Read only

0 Likes
816

Hi Nikhil,

Here I mean dialog screen, NOT selection-screen.:-)

Regards,

Guanqing

Read only

Former Member
0 Likes
816

maybe you can used, SET Parameter & GET Parameter.

Syntax

SET PARAMETER ID pid FIELD dobj.

Syntax

GET PARAMETER ID pid FIELD dobj.

[Abap Tips & Notes|http://abap4beginner.blogspot.com]