Application Development 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: 

parameters after "skip first screen"

Former Member
0 Kudos

i use comand call transaction 'XXX' and skip first screen

and i want to pass data to the new screen after the skip made, how i can do it???

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use like this as below:

FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
  CASE ucomm.
    WHEN 'NEXT'.
      MESSAGE 'Working well' TYPE 'I'.
    WHEN '&IC1'.

  READ TABLE i_pernr INDEX selfield-tabindex.
  IF sy-subrc = 0.
    SET PARAMETER ID 'PER' FIELD i_pernr-pernr.
    CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
  ENDIF.

  ENDCASE.
ENDFORM.

As already sugested, when ever you are using call any t-code with this statemnt, you shud pass SET PARAMETER ID..

You can find it in that transaction, Like for FB03 , if you are want to display that transaction with your document number, you need to pass PARAMETRE ID as BLN ... To get you just need to press F1 on that docment number field , then go to Technical details ...

Edited by: Lokesh Tarey on Jul 21, 2010 5:52 AM

5 REPLIES 5

Former Member
0 Kudos

Hi,

You must know the parameter ID of fields (by pressing F1 and choose technical information) on screen of transaction 'XXX'. Then pass value to those fields by


SET PARAMETER ID pid FIELD dobj. 
"pid: parameter of screen on field For a SPA/GPA parameter specified
" in pid to match a name in the database table TPARA, it must be entered in upper case. 
"dobj is value of field on screen

regards,

Thien

0 Kudos

Sorry i did not explain myself well

after doing this

SET PARAMETER ID 'PER' FIELD i_pernr-pernr.

CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.

i want to put parameters in the screen i get after SKIP FIRST SCREEN.

Former Member
0 Kudos

... AND SKIP FIRST SCREEN

Effect

Skips the first screen in the transaction (provided all the required fields have been assigned values by the SPA/GPA mechanism).

Former Member
0 Kudos

Use like this as below:

FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
  CASE ucomm.
    WHEN 'NEXT'.
      MESSAGE 'Working well' TYPE 'I'.
    WHEN '&IC1'.

  READ TABLE i_pernr INDEX selfield-tabindex.
  IF sy-subrc = 0.
    SET PARAMETER ID 'PER' FIELD i_pernr-pernr.
    CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
  ENDIF.

  ENDCASE.
ENDFORM.

As already sugested, when ever you are using call any t-code with this statemnt, you shud pass SET PARAMETER ID..

You can find it in that transaction, Like for FB03 , if you are want to display that transaction with your document number, you need to pass PARAMETRE ID as BLN ... To get you just need to press F1 on that docment number field , then go to Technical details ...

Edited by: Lokesh Tarey on Jul 21, 2010 5:52 AM

vishal_sharda2
Participant
0 Kudos

Hi,

I assume that you are aware of the solution that Lokesh has provided.

Does this solve your issue?

BR,

Vishal.