2008 Jun 30 9:15 AM
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.
2008 Jun 30 9:28 AM
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.
2008 Jun 30 9:28 AM
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.
2008 Jun 30 9:51 AM
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.
2008 Jun 30 9:58 AM
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.
2008 Jun 30 10:06 AM
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?
2008 Jun 30 10:31 AM
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.