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 skip initial screen when calling a parameter transaction.....

former_member185116
Active Participant
0 Likes
1,895

hello all,

how to skip initial screen when calling a parameter transaction.....

i tried with call Transaction (tcode) and skip first screen,

but its not working.....

hello all,

how to skip initial screen when calling a parameter transaction.....

i tried with call Transaction (tcode) and skip first screen,

but its not working.....

9 REPLIES 9
Read only

roberto_vacca2
Active Contributor
0 Likes
1,734

Hi.

Please put before... SET PARAMETER ID.

As example:

PARAMETERS: p_matnr TYPE mara-matnr.

SET PARAMETER ID 'MAT' FIELD p_matnr.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.


Hope to help

Bye

Read only

0 Likes
1,734

hi roberto,

i tried like this, but its not working...

my code,

READ TABLE it_prps2 INTO wa_prps2 INDEX rs_selfield-tabindex.


              lv_posid = wa_prps2-posid.


              set PARAMETER ID 'PRO' FIELD lv_posid.

              SET PARAMETER ID 'KVS' FIELD '0'.





              call TRANSACTION 'ZPS106' AND SKIP FIRST SCREEN . (here ZPS106 is my parameter transaction)...




Read only

0 Likes
1,734

Hi.

SET PARAMETER ID 'KVS' FIELD '0'   <- 0 stands for initial?

Cause 0 is a particular value and this could be a problem. Try another value.... What's your situation after calling your custom transaction ZPS106? Some errors message?



Read only

0 Likes
1,734

roberto,

my intention is to skip initial screen and directly display the output for the WBS which i have passed by using SET parameter ID...

here the possible values for SET PARAMEETER ID 'KVS' FIELD are

Read only

0 Likes
1,734

Hi.

Well '0' is OK as value PARAMETER field is a simple char parameter, with MODIF ID set inside the declaration part of the program.

There's something more to analyze on your transaction type. Did you create a transaction with selection parameters or what?

How's declared your transaction code?

Hope to help.

Read only

tharu
Contributor
0 Likes
1,734

Hi Vinay,

Can you please paste your code for the click event .

first you need to set parameter to the particular field name and then call transaction.

          SET PARAMETER ID : 'ANR' FIELD wa_data-<filedname>.

          CALL TRANSACTION 'CO03' AND SKIP FIRST SCREEN.

Read only

0 Likes
1,734

hi tharaka,

i tried in the same way,

***************************************

FORM user_command2 USING r_ucomm type sy-ucomm
                          rs_selfield type slis_selfield.

   case r_ucomm.

     when '&IC1'.

       if rs_selfield-fieldname = 'STRING'.

         clear : wa_prps2.

           READ TABLE it_prps2 INTO wa_prps2 INDEX rs_selfield-tabindex.


              lv_posid = wa_prps2-posid.


              set PARAMETER ID 'PRO' FIELD lv_posid.

              SET PARAMETER ID 'KVS' FIELD '0'.


              call TRANSACTION 'ZPS106' AND SKIP FIRST SCREEN .


********************************************************************************


but the initial screen is displayed ,its not executing directly,....



Read only

0 Likes
1,734

Hi Vinay,

I thought you are calling a standard tcode for this ? as per your explanation what is ZPS106 program?

ALV ? Module Pool ?

Read only

0 Likes
1,734

its a report designed using Report Painter