Parameters after "skip first screen"

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???

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

Similar Messages

  • Call transaction and skip first screen

    Hi,
    I have a little but I think difficult problem
    I have a selection screen and after that I call my dnypro. In this dynpro I can open a dynpro which looks like a popup where I have the possibility to call the same transaction with other input paramters.
    the problem is when I make call transaction and want to go back I see the pop up dynpro which calls the transaction. so how can I close this popup dynpro by calling again transaction?

    I think I can't eyplain it.
    Following. I have:
    call transaction trans: selection screen calls dynpro 100, in dynpro 100 button with dynpro 200  with starting parameters.
    dynpro 200 calls again transaction trans with skip first screen.
    now I have displayed again dynpro 100 with new values. When I now want to go back I can see dynpro 200 which called the transaction. So how can I achieve this that dynpro 200 isn't shown when I go back ?

  • Call Transaction - both Skip first screen and USING in one

    Hi Experts,
    I have to call a Tcode which is for a report painter report and I have to fill the selection screen parameters for that report. Nothing is mandatory but it will be filled in select option field.
    My issue is I can only call this Tcode with all the parameters when I use USIING with BDC. but I also want to skip the selection screen so that only the final output gets displayed.
    I tried SET PARAMETER ID but I am filling the select-options range from a custom table so don't know how to achieve that.
    Any suggestions !!!

    See here: [sdn wiki - Batch input FAQ - Is it possible to simulate AND SKIP FIRST SCREEN using BDC?|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-IsitpossibletosimulateANDSKIPFIRSTSCREENusingBDC%3F]

  • Submit "and skip first screen"

    hello!
    is there an option for submit-command like "and skip first screen" for call transaction?
    i would like to start a programm without displaying the selection screen (parameters are provided by submit with ...).
    the parameters of the new programm aren't set/get parameters (sap-standard-pgm) therefore call transaction won't work.
    thanks
    matthias

    Hi,
    In ur question itself u have given a solution
    1. Combination of variant and WITH
    DATA: RANGE_LANGU    TYPE RANGE OF SY-LANGU,
          RANGE_LANGU_WA LIKE lINE OF RANGE_LANGU.
    PARAMETERS: MSG_FR LIKE T100-MSGNR,
                MSG_TO LIKE T100-MSGNR.
    MOVE: 'I'  TO RANGE_LANGU_WA-SIGN,
          'BT' TO RANGE_LANGU_WA-OPTION,
          'D'  TO RANGE_LANGU_WA-LOW,
          'I'  TO RANGE_LANGU_WA-HIGH.
    APPEND RANGE_LANGU_WA TO RANGE_LANGU.
    MOVE: 'EQ'  TO RANGE_LANGU_WA-OPTION,
          'E'   TO RANGE_LANGU_WA-LOW.
    APPEND RANGE_LANGU_WA TO RANGE_LANGU.
    <b>SUBMIT REPORT00
           USING SELECTION-SET 'VARIANT1'
           WITH  MSG   BETWEEN MSG_FR AND MSG_TO
           WITH  LANGU IN RANGE_LANGU.</b>
    In REPORT00, all parameters and SELECT-OPTIONS take their values from the variant VARIANT1.Only MSG and LANGU take the values that are explicitly passed.
    Examples
    2. Combination of variant, WITH SELECTION-TABLE, and explicit WITH clauses.
    DATA: SELTAB     TYPE TABLE OF RSPARAMS,
          SELTAB_WA  LIKE LINE OF SELTAB.
    MOVE: 'LANGU'  TO SELTAB_WA-SELNAME,
          'S'      TO SELTAB_WA-KIND,      " SELECT-OPTION
          'I'      TO SELTAB_WA-SIGN,
          'BT'     TO SELTAB_WA-OPTION,
          'D'      TO SELTAB_WA-LOW,
          'I'      TO SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    MOVE: 'E'      TO SELTAB_WA-SIGN,
          'EQ'     TO SELTAB_WA-OPTION,
          'F'      TO SELTAB_WA-LOW,
          SPACE    TO SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    CLEAR SELTAB_WA.
    MOVE: 'ARBGB' TO SELTAB_WA-SELNAME,
          'P'     TO SELTAB_WA-KIND,      " PARAMETER
          'XX'    TO SELTAB_WA-LOW.
    APPEND SELTAB_WA TO SELTAB.
    <b>SUBMIT REPORT00
           USING SELECTION-SET 'VARIANT1'
           WITH  ARBGB CP 'A*'
           WITH  SELECTION-TABLE SELTAB
           AND RETURN.</b>
    In REPORT00, all parameters and SELECT-OPTIONS take their contents from the variant VARIANT1except LANGU, which takes its contents from SELTAB, and ARBGB, which takes the value that was explicitly passed.
    I got this from ABAP help.
    Hope this helps.
    Thanks & Regards,
    Judith.

  • Call transaction using bdc tab and also skip first screen??

    Hi,
    Please help.
    I want to call transaction PA30 fill it with values which are determined only at runtime and then skip first screen.
    The screen doesn't have parameter fields so i cannot use 'set parameter id'.
    I also cannot create a transaction with parameters as I only have these at runtime.
    Anyone done anything like this???

    hi,
      you might be populateing the itab bdc_tab with the corresponding values fronm the recording.
    while doing the recording go until to the screen wher u want to finsih.
    and populate the bdc_tab wit the ok code,screen number and the value.
    this will do.
    for eg see the code below.
    METHOD analyze_log.
      DATA : wrk_extid TYPE balhdr-extnumber.
      DATA : wrk_date(10) TYPE c.
      DATA : it_rspar TYPE TABLE OF rsparams .
      DATA : wa_rspar TYPE rsparams.
      DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata,
          wa_bdcdata TYPE bdcdata.
      DATA: params TYPE ctu_params.
      CONSTANTS : object TYPE balhdr-object VALUE 'ZKIV_LOG'.
      IF wa_kopf-vertr_nr IS NOT INITIAL.
        CONCATENATE wa_kopf-vertr_nr '/' wa_kopf-nachtr_nr  INTO wrk_extid.
        wrk_date = '01.09.2006'.
        SET PARAMETER ID 'BALOBJ' FIELD object .
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
        wa_rspar-selname = 'ALDATE'.
        wa_rspar-sign = 'I'.
        wa_rspar-kind = 'P'.
        wa_rspar-option = 'EQ'.
        wa_rspar-low = wrk_date.
        APPEND wa_rspar TO it_rspar.
      ELSE.
        CLEAR wrk_extid.
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
      ENDIF.
    Update BDC tab
    --Call SLG1 using BDC--&
      params-dismode = 'E'. "Show errors only
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_CURSOR'.
      wa_bdcdata-fval = 'BALHDR-ALDATE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BALHDR-ALDATE'.
      wa_bdcdata-fval = wrk_date.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=SELE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=&F03'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_SUBSCR'.
      wa_bdcdata-fval = 'SAPLSBAL_DISPLAY                        0101SUBSCREEN'.
      APPEND wa_bdcdata TO it_bdcdata.
      CALL TRANSACTION 'SLG1' USING it_bdcdata OPTIONS FROM params.
    --End of BDC--&
    ENDMETHOD.
    here wat i m doing is that i dont want the subscreen 101 to be displayed..
    Message was edited by:
            Sandeep S

  • Call transaction CJIC using bdcdata and skip first screen

    I want to call transaction CJIC and skip first screen. I have set parameters for fields for which I need to pass data. But one field namely display variant has no parameter id. How can I pass value to it and also skip first screen?
    I have tried passing its value in bdcdata and also passing ONLI. But it does not run in mode "N". What can be the solution?

    Hi frnd,
    fortunately transaction CJIC is selection-screen of an executable program RKPEP012.......so u don hav to use call transaction and instead u can use SUBMIT statement................
    submit RKPEP012 WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    SELNAME (length 8),
    KIND (length 1),
    SIGN (length 1),
    OPTION (length 2),
    LOW (length 45),
    HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Revert back for queries.
    Cheers,
    Will.

  • CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN?

    Hi, Gurus:
    In my program, after I call 'CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.'    in the va02, user maybe do some change and save
    then I want to get those change as the dollowing:
        select single uvall into c_complete_flag from vbuk
         where vbeln = lv_vbeln.
    why I can't get the latest change.
    Thanks,

    VA02 usese the asynchronus update mehtod so, it gives you the message like "Order 1111 was saved" but the database update is still going on.
    So, you need to wait for some time before facthing the data from the database.
    You can use like:
    WAIT UP TO 10 SECONDS.
    But this statement will force you to wait for atleast 10 seconds before doing any thing.
    Regards,
    Naimesh Patel

  • Skip first screen

    hi all,
    i have a 'ztcode' with obligatory fields. i want to call 'ztcode' from another program using the following:
    call transaction 'ztcode' and skip first screen.
    is there a way to avoid error since obligatory fields will not be filled up if above code is executed?
    thanks,
    sid

    hi all,
    thanks 4 d reply. submit is ok. right now im trying to learn the set parameters statement. can u tell me exactly how it works by example. i can't seem follow the sap help documents. in my report program 'ZTCODE' i put this:
    parameters p_maktx like makt-maktx memory id pmakt
                      obligatory.
    and then at another program, 'ZCALLER', i called 'ZTCODE' which points to my program, as follows:
    set parameter id 'pmaktx' field 'REM'.
          call transaction 'ZTCODE'
            and skip first screen.
    i ran the 'ZCALLER' and as soon as it called 'ZTCODE' the program stops with the message 'make an entry in all required fields'. can u tell me what i missed?
    thanks,
    sid

  • Call tranasaction with skip first screen in ecc6

    Hi,
    We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING".  ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
    Could anybody provide me the pointers to rectify this error.
    Regards,
    Ramesh

    Hi
    Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
    Regards
    Pavan

  • Skip first screen of BD87 using call transaction with BDC_DATA option

    hello all,
    i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
    regards.

    Hi
    Build a BDCDATA with following code..
                                                          T     BD87                                                                               
    RBDMON00     1100     X                                                                               
    BDC_CURSOR     SX_DOCNU-LOW
                                                                BDC_OKCODE     =CRET
                                                                SX_DOCNU-LOW                                                                               
    SX_CRETI-LOW     00:00:00
                                                                SX_CRETI-HIGH     00:00:00
                                                                SX_UPDDA-LOW     05.02.2010
                                                                SX_UPDDA-HIGH     05.02.2010
                                                                SX_UPDTI-LOW     00:00:00
                                                                SX_UPDTI-HIGH     00:00:00
    RBDMON00     0100     X                                                                               
    BDC_OKCODE     =BACK
    RBDMON00     1100     X                                                                               
    BDC_OKCODE     /ECBAC
                                                                BDC_CURSOR     SX_DOCNU-LOW

  • While Pressing the button i want to skip first screen in standard screen.

    Hello All,
    I need to create a z Program and call a screen variant of a standard transaction in it.
    I am calling a screen variant of transaction PA70 to hide some of the fields of the screen.
    Also the first screen is supressed.
    My requirement is while pressing back button it should not come on the first screen.
    while if i am doing the same thing with Transaction PA20 it is not coming back to first screen.
    How can i supress this first screen while coming back?
    Regards.

    Hi,
    Use:
    "set al the field values on the initial screen of the transaction and then use
    CALL TRANSACTION '<t-code>' AND SKIP FIRST SCREEN.
    Now you will be navigated to second screen of the transaction, when you click, you will be navigated to your program selection screen.
    Hope this helps you.
    Regards,
    Tarun

  • Is possible to skip first screen in BDC Session

    Hi all,
    Is it possible like  in call transaction method to skip first screen in Batch input session?
    Syntax----
    call transaction MM01 and skip first screen.
    I want same result By using Batch input session.
    Suggess..........
    Thanks
    Sanket sethi

    Actually i am open transaction SE38 and execute an Standard Report.In the selectiion screen I am changing something in layout.
    I recorded it by BDC.
    And use batch input session.
    Now i want to skip the se38 window i want to drop user on the execution of the report.
    I also do it by submit report but i want to know that is there any possibilities to use with BDC session.
    Thanks
    Sanket

  • Problems with SKIP FIRST Screen when calling a transaction variant

    Hi,
    I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
    In my program I have coded the following :-
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
    I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
    I don't think I need VPO setting but when I code
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
    VA02's second screen is displayed
    Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
    Thanks
    Rous

    Yes you are right Reg thanks for that.
    But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 .

  • Call tcode and skip first screen

    hi all,
    before i think of posing a question i have searched SDN for 2days but dint get the desired results.
    so i am posting a question.
    in my prog am calling a TCODE and in that TCODE i have a mandatory field so when i say skip first screen it does not skip as their is a mandatory field.
    so i used my code like this and checked twice and i found i have value in L_PERNO and id is: EHS00PERSONID.
    i have a value in L_PERNO.
    parameter id of the tcode field is : EHS00PERSONID
    set parameter id 'EHS00PERSONID' field L_PERNO.
    CALL TRANSACTION 'ZEDIT' AND SKIP FIRST SCREEN .
    but it does not set the value... what am i missing still to get it done can i have some input pls.
    thanks a lot in advance,
    pasala.

    Hi Pasala,
    You have done everything right and your program will work with simple addition.
    Just add the statement below in your transaction 'ZEDIT' in PBO of screen on which mandatory field exist.
    get parameter id 'EHS00PERSONID' field 'XXX.'
    where XXX is the name of mandatory field on the screen.
    Amit Singla

  • Call Transaction and skip first screen on workflow task

    Hello, I'm developing  a workflow with a user decison step, where the user should fill some data in transaction FD02.
    When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.
    I'm using SET PARAMETER ID: 'KUN' FIELD customer.  to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.
    But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?
    Thanks a lot.

    Hi,
    try below code
    data: fcode type FCODE value 'ANTRAGAEN',
           customer type kunner,
           bukrs type bukrs.
    SET PARAMETER ID  'KUN' FIELD customer. "  to fill the customer field
    SET PARAMETER ID  'BUK' FIELD companycoder. " to fill the company code
    SET PARAMETER ID  'TTC' FIELD fcoder.       " to fill Function code for enter " it may be other than TTC please check.
    CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.

Maybe you are looking for

  • FM for deleting customer contact detail

    Hi, is there any function module to delete the customer contact details. If so, please tell me . thanks chandra

  • ECC6 Installation

    Dear Sir or Madam, We are about to explore new ECC6 system. I have some questions regarding the installations. 1) Will ECC6 come together with some modules such as FI-CO,SD,MM,etc? 2) During installation, will I be able to select which module I want

  • How do you set the primary key

    I have a simple table with a numeric primary key: CREATE TABLE MYPROJECT ( ProjectKey NUMBER NOT NULL, RpcCode VARCHAR2(128) NOT NULL, Project_ID VARCHAR2(128) NOT NULL, SSR_Name VARCHAR2(128) NOT NULL, GARMS_COMPLIANT VARCHAR2(5) DEFAULT 'false' NOT

  • Process does not perform an update.

    I have this PL/SQL process in my page: UPDATE tag_order SET order_date = SYSDATE WHERE order_number = :P16_Order_Number; COMMIT; Unfortunately, it does not perform the update. What could be wrong? FYI: In order to get to the page where this process i

  • How to pass values from one form to another.

    Dear all, i have a table A i want to double a text item and open another form B. then setting values or adding values in it. i want to close the form and open the form A. the values selected in form B. i want to send to the form A. please help me. Mu