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

RSNAST00 selection screen

Former Member
0 Likes
1,123

Hi,

I am calling RSNAST00 thru SUBMT statement from my report and providing values for output app and obj key. By default the cursor goes to output app field on selection screen of RSNAST00 when it is displayed.

Is it possible to set the cursor to output type field?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
981

Hi,

When you are using a submit command from your program, why are you worried about the cursor being set in the Output application or in other field.

What ever field values you pass those only will be taken as input by the RSNAST00 program, don't worry about the cursor position.

Thanks,

Mahesh.

5 REPLIES 5
Read only

Former Member
0 Likes
982

Hi,

When you are using a submit command from your program, why are you worried about the cursor being set in the Output application or in other field.

What ever field values you pass those only will be taken as input by the RSNAST00 program, don't worry about the cursor position.

Thanks,

Mahesh.

Read only

0 Likes
981

I have passed values for two fields, but the value for the third field has to be provided at the time of execution, that is where I want the cursor to be placed.

Read only

0 Likes
981

Hi Sim,

Write the submit command like the below then you will not have any problems:-

SUBMIT rsnast00

WITH s_kappl IN range_tab_kappl -> Output Application

WITH s_objky IN range_tab_objky -> Object Key

WITH s_kschl IN so_kschl -> Output Type

AND RETURN.

Thanks,

Mahesh.

Read only

0 Likes
981

My current code is like:

SUBMIT RSNAST00 VIA SELECTION-SCREEN

WITH S_KAPPL EQ value1

WITH S_OBJKY EQ parameterval.

where value1 is hardcoded and parameterval is the value of the parameter. I need the user to enter output type during execution so I want the cursor there.

And can you please explain the declaration for so_kschl in ur code?

Read only

0 Likes
981

Hi Sim,

When you are using the submit command you can allow the user to enter it that time, you create a field in the selection screen for the user to enter the output type there and you can use that value while calling the RSNAST00 program through submit command.

Thanks,

Mahesh.