Skip Selection screen

Hi Friends,
I need to run a report and before the report is generated i need to run a Extract program. So the screen sequence is goe like this.
1. The initial selection screen is the selection criteria for the report.
2. Once the criteria is given and executed it calls up another selection screen which forms the selection criteria for the extraction program.
3. Then the report is displayed.
My requirement is to suppress the selection screen for the extraction program ie the extraction program should run in the background with pre-defined selection criteria. How to go about it?
If i use SUBMIT .. VIA SELECTION SCREEN.. it still comes up with the selection screen with the pre-defined values.
Thanks in advance.

Submit your program like this......
SUBMIT program
        with p_field1 = a_parameter
        with p_field2 = b_parameter
        with s_field3 in c_select_Option
               and return.
Here you are passing values from varialble to the selection-screen fields, lets say they are P_FIELD1 and P_FIELD2.  Using the WITH statement allows you to pass parameters as well as select-options.  It will skip the selection screen and continue processing with the passed selection-screen values.
Regards,
Rich Heilman

Similar Messages

  • Can I skip selection screen when using PNP & HR Report Cat?

    I am using log. database PNP for my report that we are then accessing through ITS - ESS.  I do not want the ESS user to see the selection screen (It populates all values in initialization).  I have created an HR Report category with nothing selected, but I still get pernr as a selection.
    Is there a way to skip the selection screen?  (Sorry, this might be very simple and i'm missing something!)
    Thanks so much!!!!

    Well,  I'm thinking that you would have to have a short "driver" program.
    report zdriver.
    submit <zreport> and return.
    Regards,
    Rich Heilman

  • How to skip selection screen? Please help!

    Hi Experts,
           I have a report program that has a default selection screen (1000) and ALV output. First selection screen is displayed and on execution ALV is shown.
    My requirement is, if the user is not authorized to run this report then selection screen should be skipped and instead display a error page. This error page is nothing but some write statements in ABAP displaying error icon and error info.
    Currently I have written the authorization check in the INITIALIZATION event. Here I am setting a flag if the user is not authorized followed by "write" statements showing error info.
    But when I run the report, error info is not displayed and instead selection screen loads even though the user is not authorized. I have written the selection screen code in the TOP include.
    So what shall I do? How to skip the selection screen?
    Are there any other better ways to handle my case?
    Thanks
    Gopal

    Got it.
    CODE:
    REPORT  zzsorttry                               .
    SELECTION-SCREEN BEGIN OF SCREEN 1001.
    PARAMETERS : p_vbeln TYPE vbak-vbeln.
    SELECTION-SCREEN END OF SCREEN 1001.
    DATA : flag.
    INITIALIZATION.
    *C-- Put your authorization check here.
      IF 1 = 1.
        flag = 1.
        LEAVE TO LIST-PROCESSING .
      ELSE.
        CALL selection-screen 1001.
      ENDIF.
    START-OF-SELECTION.
      IF flag IS NOT INITIAL.
        CLEAR flag.
        WRITE: 'User', sy-uname , 'not authorized to use this report'.
      ENDIF.

  • Skipping Selection Screen for a report program

    Hi guys,
    I have a report program that works in 2 modes - Create and modify ( There is a toggle button in the ALV report). Its an editable ALV grid. There are 2 tcodes - zcreate and zmodify to access the same report in 2 above modes. For zmodify, i have a selection screen. How do i skip the selection screen for zcreate ?
    Here is my report program
    REPORT ZSWR_RCKDVOLS .
    INCLUDE ZSWR_RCKDVOLS_TOP.
    INCLUDE ZSWR_RCKDVOLS_CLDEF.
    INCLUDE ZSWR_RCKDVOLS_CLIMP.
    INCLUDE ZSWR_RCKDVOLS_SELSCR. " Selection Options are written in this.
    INCLUDE ZSWR_RCKDVOLS_PBO.
    INCLUDE ZSWR_RCKDVOLS_PAI.
    INCLUDE ZSWR_RCKDVOLS_FORM.
      INITIALIZATION
    initialization.
      perform layout_build.
      AT SELECTION-SCREEN
    at selection-screen on s_locid.
      clear lv_plnt.
      select single werk from oijrra
                          into lv_plnt
                          where locid in s_locid and rpart = gc_rpart.
      perform memory_id_build.
      START-OF-SELECTION
    start-of-selection .
      perform fieldcatalog.
      perform fill_internal_table.
      perform build_outtab.
    END-OF-SELECTION.
      CHECK: NOT gi_zswt_rckdvols[] IS INITIAL.
      set SCREEN 100.        "Main Screen
    A sample code will be greatly helpful.
    Thanks,
    SHK

    So if we were to implement this in your program.....
    report zswr_rckdvols .
      include zswr_rckdvols_top.
      include zswr_rckdvols_cldef.
      include zswr_rckdvols_climp.
    <b>  include zswr_rckdvols_selscr. " Selection Options are written in this ".
    * Add this line into your selection screen include.
      parameters: p_switch type c no-display.</b>
      include zswr_rckdvols_pbo.
      include zswr_rckdvols_pai.
      include zswr_rckdvols_form.
    * INITIALIZATION
    initialization.
      perform layout_build.
    * AT SELECTION-SCREEN
    <b>at selection-screen output.
      if sy-tcode = 'ZCREATE'
        and p_switch = space.
        submit zswr_rckdvols
               with p_switch = 'X'
                     and return.
        leave program.
      endif.</b>
    at selection-screen on s_locid.
      clear lv_plnt.
      select single werk from oijrra
      into lv_plnt
      where locid in s_locid and rpart = gc_rpart.
      perform memory_id_build.
    * START-OF-SELECTION
    start-of-selection .
      perform fieldcatalog.
      perform fill_internal_table.
      perform build_outtab.
    end-of-selection.
      check: not gi_zswt_rckdvols[] is initial.
      set screen 100. "Main Screen
    Regards,
    Rich Heilman

  • Skipping Selection Screen

    Dear All,
                My report looks like this,(ex.,).
    kpi                       month
    headcount              34
    When i click on 34 it will calls standard transaction which is done by bdc program in zprogram.,
    In my main program i called that zprogram by 'submit zprogram and return'.
    When i click on 34 it straightly goes to that standard report in this report when i say back it must call my report but it is going to selection screen for standard report.,
    So, for skipping that selection screen what can i do can someone help me.,
    Thanks,
    ThiruKumaran. R.

    Hi,
    This is my zbdc program
    CALL FUNCTION 'OIL_LAST_DAY_OF_PREVIOUS_MONTH'
      EXPORTING
        i_date_old = sy-datum
      IMPORTING
        e_date_new = datep.
    datel = datep.
    datel+6(2) = '01'.
    data : LV_EIAP type D,
           LV_EIAP1 type D.
           CALL FUNCTION 'CONVERT_DATE_FORMAT'
            EXPORTING
              I_DATE            = dateL
            IMPORTING
              E_CALC_DATE       = LV_EIAP.
    CALL FUNCTION 'CONVERT_DATE_FORMAT'
    EXPORTING
       I_DATE            = dateP
    IMPORTING
       E_CALC_DATE       = LV_EIAP1.
    perform bdc_dynpro      using 'RPAPL002' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PAPMASSN-LOW'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ONLI'.
    perform bdc_field       using 'PAPBEGDA'
                                 LV_EIAP.
    perform bdc_field       using 'PAPENDDA'
                                  LV_EIAP1.
    perform bdc_field       using 'PAPAPSTA-LOW'
    perform bdc_field       using 'PAPMASSN-LOW'
                                  '41'.
    perform bdc_field       using 'REFE1'
                                 'X'.
    perform bdc_field       using 'ALV'
                                  'X'.
    perform bdc_dynpro      using 'RPAPL002' '2000'.
                CALL TRANSACTION 'S_AHR_61015512' USING BDCDATA MODE 'E'.
    Thanks,
    ThiruKumaran. R

  • Reg:Skipping Selection screen

    Hi Experts,
                       My requirement is that i have a executable program with selection screen and the output will be of ALV display.
                       For some users i need to take them directly to the  ALV display without displaying selection parameters .
    Regards,
    Vikram sukumar

    Hi,
    try this logic it works.
    declare a selection screen with number
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    parameter p_matnr type matnr.
    SELECTION-SCREEN END OF SCREEN 100.
    if sy-uname ne 'CHACX074'.
    call the selection screen only if the particular user needs screen.
    call screen 100.
    else.
    p_matnr = '100'.
    endif.
    write : p_matnr.
    When you are creating TCODE dont specify the Selection screen . as its determine by the program.
    by this you can use single TCODE.
    Regards,
    Shanmugavel Chandrasekaran
    Edited by: shanmugavel chandrasekaran on Mar 10, 2010 6:37 AM

  • ITS Mobile - how to prefill and skip selection screen

    Hi there,
    I am struggling with requirement for ITS mobile service:
    I need to fill the input fields on selection screen with values from url and automaticaly jump to the second screen.
    I know this is possible with ITS as described [here|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375].
    Can I use similar approach for ITS mobile? How could I parse url parameters into input fields?
    If this is not possible, what are my other options?
    Thanks,
    Igor

    Hi Rajashiva,
    that is not an option - the ITS mobile service will be called from an external system providing some parameters in URL.
    Thanks anyway,
    Igor

  • How to skip selection screen ?

    hi,
    i have a problem:
    i an abap i have an selection screen with lets say 10 fields.
    how can i avoid that this selection screen is displayed ? i want to do the 'execute' (F8) autmaticly with prefilled values.
    But not for every user, only for a special variant of the report .
    how can i handle this ?
    reg, Martin

    Hi,
    You can do this thing in 2 steps
    1. Create a transaction for your report program
    2. Write a new program in which you will check for the user names
    if the user executing the program comes in the category where you need to directly go without selection screen then you can use the SUBMIT statement, if the user is not in that category then call the transaction which you have created and it will show you the selection screen.
    Regards,
    Pramod

  • Skip selection screen output device

    Hi Guys,
    Question. Is there anyway that i could skip the output device screen selection and straight go to 'print preview'? at the same i wish to set the printer to 'LOCL'. Thanks in advance
    Regards

    hi ,
    In your sap script you would be having open form,write form and close form you have to declare before open form...
    i have pasted a sample code here you can check it.....
    REPORT  ZV_DELIVERY_SLIP_PRINT                  .
    Tables:
    tables: likp,vbak,adrc,vbpa,kna1,sadr,ITCPO,LIPS.
    parameters: p_vbeln like likp-vbeln obligatory,
                p_proj(50) type C,
                p_node(50) type c,
                p_pal(50) type c default 'PALLET 1 of 2',
                p_ldest like nast-ldest default 'LOCL',
                p_imme type c default 'X'.
    Start-of-selection.
      perform 100_collect_db_recs.
      perform 200_collect_adrc_details.
    *&      Form  100_collect_db_recs
          text
    -->  p1        text
    <--  p2        text
    FORM 100_collect_db_recs .
      select single * from LIPS where vbeln = p_vbeln.
      if sy-subrc ne 0.
        write:/02 'Delivery does not exist!'.
        stop.
      else.
        select single * from vbak where vbeln = lips-vgbel.
        if sy-subrc ne 0.
          write:/02 'Sales Order does not exist!'.
        endif.
      endif.
    ENDFORM.                    " 100_collect_db_recs
    *&      Form  200_collect_adrc_details
          text
    -->  p1        text
    <--  p2        text
    FORM 200_collect_adrc_details .
      SELECT SINGLE *
      FROM VBAK
      WHERE VBELN EQ vbak-kunnr.
      SELECT SINGLE *
      FROM KNA1
      WHERE KUNNR EQ vbak-kunnr.
      SELECT SINGLE ADRNR
        INTO vbpa-adrnr
        FROM VBPA
       WHERE VBELN EQ vbak-vbeln
         AND PARVW EQ 'WE'.              " Sold to party.
      SELECT SINGLE NAME1
        INTO sadr-name1
        FROM SADR
       WHERE ADRNR EQ vbpa-ADRNR.
      SELECT NAME1 NAME2 NAME3 NAME4 STREET CITY1 CITY2 PO_BOX
                                 STR_SUPPL1 POST_CODE1 FROM
        ADRC INTO (ADRC-NAME1, ADRC-NAME2,ADRC-NAME3,ADRC-NAME4,
                    ADRC-STREET,ADRC-CITY1,ADRC-CITY2,ADRC-PO_BOX,
                    ADRC-STR_SUPPL1,ADRC-POST_CODE1)
                    WHERE ADDRNUMBER = vbpa-ADRNR.
        EXIT.
      ENDSELECT.
      if sy-subrc = 0.
        perform open_form.
        perform start_form.
        perform write_form.
        perform end_form.
        perform close_form.
        Write:/02 'Delivery Label Printed!'.
      else.
        write:/02 'Error Collecting Address Details!'.
      endif.
    ENDFORM.                    " 200_collect_adrc_details
    *&      Form  open_form
          text
    -->  p1        text
    <--  p2        text
    FORM open_form .
      itcpo-tdnewid = 'X'.
      itcpo-tdimmed = p_imme.
      itcpo-tddest  = 'LOCL'.
      itcpo-tddataset = 'DELB'.
      itcpo-tdsuffix1 = p_ldest.
      itcpo-tdsuffix2 = lips-vbeln.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          application                 = 'TX'
         archive_index               = space
         archive_params              = space
          device                      = 'PRINTER'
          dialog                      = ' '
          form                        = 'ZV_DEL_LABEL'
          language                    = sy-langu
          options                     = itcpo
        EXCEPTIONS
          canceled                    = 1
          device                      = 2
          form                        = 3
          options                     = 4
          unclosed                    = 5
          mail_options                = 6
          archive_error               = 7
          invalid_fax_number          = 8
          more_params_needed_in_batch = 9
          OTHERS                      = 10.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " open_form
    *&      Form  start_form
          text
    -->  p1        text
    <--  p2        text
    FORM start_form .
      CALL FUNCTION 'START_FORM'
        EXPORTING
          startpage = 'FIRST'
        EXCEPTIONS
          form      = 1
          format    = 2
          unended   = 3
          unopened  = 4
          unused    = 5
          OTHERS    = 6.
      IF sy-subrc <> 0.
      ENDIF.
    ENDFORM.                    " start_form
    *&      Form  write_form
          text
    -->  p1        text
    <--  p2        text
    FORM write_form .
      CALL FUNCTION 'WRITE_FORM'
            EXPORTING
                 element                  = 'TEXT'
                 function                 = 'SET'
                 type                     = 'BODY'
                 window                   = 'MAIN'
       IMPORTING
            PENDING_LINES            =
            EXCEPTIONS
                 element                  = 1
                 function                 = 2
                 type                     = 3
                 unopened                 = 4
                 unstarted                = 5
                 window                   = 6
                 bad_pageformat_for_print = 7
                 OTHERS                   = 8
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " write_form
    *&      Form  end_form
          text
    -->  p1        text
    <--  p2        text
    FORM end_form .
      CALL FUNCTION 'END_FORM'
        EXCEPTIONS
          unopened                 = 1
          bad_pageformat_for_print = 2
          OTHERS                   = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " end_form
    *&      Form  close_form
          text
    -->  p1        text
    <--  p2        text
    FORM close_form .
      CALL FUNCTION 'CLOSE_FORM'
        EXCEPTIONS
          unopened                 = 1
          bad_pageformat_for_print = 2
          send_error               = 3
          OTHERS                   = 4.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " close_form
    regards,
    karthik.

  • Push buttons are not triggering on the selection screen

    selection-screen begin of block a with frame title text-001.
    selection-screen skip.
    parameters:z like vbap-vbeln.
    selection-screen skip.
    selection-screen begin of block b with frame title text-002.
    selection-screen skip.
    parameters:sales radiobutton  group g default 'X',
               trans radiobutton  group g.
    selection-screen end of block b.
    selection-screen skip.
    selection-screen pushbutton 10(12) pu_text  user-command CANC.
    selection-screen pushbutton 30(12) qu_text  user-command STAT.
    selection-screen end of block a.
    Initialization.
    pu_text = 'Cancel Order'.
      qu_text = 'Status'.
    TABLES SSCRFIELDS.
    AT SELECTION-SCREEN.
    CASE SSCRFIELDS.
    WHEN 'CANC'.
    WRITE 'CANCEL'.
    WHEN 'STAT'.
    WRITE 'STATUS'.
    ENDCASE.

    hi,
    in your program declare SSCRFIELDS table before defining selection-screen with push-buttons.
    To create a pushbutton on the selection screen, you use:
    <b>SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
                                USER-COMMAND <ucom> [MODIF ID <key>].</b>
    The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
    <b>follow this sample program.</b>
    REPORT DEMO.
    TABLES SSCRFIELDS.
    DATA FLAG.
    SELECTION-SCREEN:
      BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
        BEGIN OF LINE,
          PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
          PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
        END OF LINE,
        BEGIN OF LINE,
          PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
          PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
        END OF LINE,
      END OF SCREEN 500.
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS.
        WHEN 'CLI1'.
          FLAG = '1'.
        WHEN 'CLI2'.
          FLAG = '2'.
        WHEN 'CLI3'.
          FLAG = '3'.
        WHEN 'CLI4'.
          FLAG = '4'.
      ENDCASE.
    START-OF-SELECTION.
      TIT  = 'Four Buttons'.
      BUT1 = 'Button 1'.
      BUT3 = 'Button 3'.
      CALL SELECTION-SCREEN 500 STARTING AT 10 10.
      CASE FLAG.
        WHEN '1'.
          WRITE / 'Button 1 was clicked'.
        WHEN '2'.
          WRITE / 'Button 2 was clicked'.
        WHEN '3'.
          WRITE / 'Button 3 was clicked'.
        WHEN '4'.
          WRITE / 'Button 4 was clicked'.
        WHEN OTHERS.
          WRITE / 'No Button was clicked'.
      ENDCASE.
    regards,
    Ashok Reddy

  • Coding ma selection screen of report

    suppose i hav
    field (all visible)
    a
    b
    c
    and den a check box
    d
    again a field (non visible)
    e
    f
    intial my  chck box d should be blank
    when i tick my d check box
    my field  my invisible field shld be visible
    in my selection screen
    plz help me with the code
    Title was edited by:
            Alvaro Tejada Galindo

    Do something like this .........
    selection-screen begin of block sel2 with frame title z02.
    parameters: p_bos radiobutton group rad1 user-command mode,
                p_rohs radiobutton group rad1 default 'X',
                p_bapi radiobutton group rad1,
                p_wlist radiobutton group rad1.
    parameters: p_alvvar type slis_vari no-display.           
    selection-screen end of block sel2.
    selection-screen skip.
    selection-screen begin of block sel1 with frame title z01.
    select-options: s_matnr for estmj-matnr modif id sub,
                    s_spec for estrh-subid modif id sub.
    parameters: p_skip1 as checkbox default 'X' modif id skp,
                p_force as checkbox modif id trc,
                p_sim as checkbox default ' ' modif id rol,
                p_trace as checkbox modif id trc.
    selection-screen end of block sel1.
    parameters: s_subid type string no-display.
    at selection-screen.
      if sy-ucomm = 'MODE'.
        perform f_adjust_fields.
      else.
        if s_matnr[] is initial and s_spec[] is initial
          and ( p_bos = 'X' or p_rohs = 'X' ).
          message e000(38) with 'Please specify blah blah'
          'or a specification number' '' ''.
        endif.
      endif.
    at selection-screen output.
      perform f_adjust_fields.
    form f_adjust_fields .
      loop at screen.
        if screen-group1 = 'SUB'.
          if p_wlist = 'X'.
            "Hide
            screen-active    = '0'.
            screen-request   = '1'.
            screen-invisible = '1'.
          else.
            "Show
            screen-active    = '1'.
            screen-request   = '1'.
            screen-invisible = '0'.
          endif.
          modify screen.
        elseif screen-group1 = 'SKP' or screen-group1 = 'TRC'.
          if p_bos = 'X' or p_rohs = 'X' .
            "Hide
            screen-active    = '0'.
            screen-request   = '1'.
            screen-invisible = '1'.
          else.
            "Show
            screen-active    = '1'.
            screen-request   = '1'.
            screen-invisible = '0'.
          endif.
          modify screen.
        elseif screen-group1 = 'ROL'.
          if p_rohs = ' ' .
            "Hide
            screen-active    = '0'.
            screen-request   = '1'.
            screen-invisible = '1'.
          else.
            "Show
            screen-active    = '1'.
            screen-request   = '1'.
            screen-invisible = '0'.
          endif.
          modify screen.
        endif.
      endloop.
    endform.                    " f_adjust_fields
    Best!

  • Place two selection screen BLOCKS  beside each other

    I want to place 2 selectio-screen blocks side by side instead of 1 below other.
    How to do that .?
    Please help.

    Just copy and paste and give the text elements with some texts.
    selection-screen begin of line.
      parameters session radiobutton group ctu.  "create session
      selection-screen comment 3(20) text-s07 for field session.
      selection-screen position 45.
      parameters ctu radiobutton group  ctu.     "call transaction
      selection-screen comment 48(20) text-s08 for field ctu.
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s01 for field group.
      selection-screen position 25.
      parameters group(12).                      "group name of session
      selection-screen comment 48(20) text-s05 for field ctumode.
      selection-screen position 70.
      parameters ctumode like ctu_params-dismode default 'N'.
                                          "A: show all dynpros
                                          "E: show dynpro on error only
                                          "N: do not display dynpro
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s02 for field user.
      selection-screen position 25.
      parameters: user(12) default sy-uname.     "user for session in batch
      selection-screen comment 48(20) text-s06 for field cupdate.
      selection-screen position 70.
      parameters cupdate like ctu_params-updmode default 'L'.
                                          "S: synchronously
                                          "A: asynchronously
                                          "L: local
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s03 for field keep.
      selection-screen position 25.
      parameters: keep as checkbox.       "' ' = delete session if finished
                                          "'X' = keep   session if finished
      selection-screen comment 48(20) text-s09 for field e_group.
      selection-screen position 70.
      parameters e_group(12).             "group name of error-session
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 3(20) text-s04 for field holddate.
      selection-screen position 25.
      parameters: holddate like sy-datum.
      selection-screen comment 51(17) text-s02 for field e_user.
      selection-screen position 70.
      parameters: e_user(12) default sy-uname.    "user for error-session
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 51(17) text-s03 for field e_keep.
      selection-screen position 70.
      parameters: e_keep as checkbox.     "' ' = delete session if finished
                                          "'X' = keep   session if finished
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 51(17) text-s04 for field e_hdate.
      selection-screen position 70.
      parameters: e_hdate like sy-datum.
    selection-screen end of line.
    selection-screen skip.
    selection-screen begin of line.
      selection-screen comment 1(33) text-s10 for field nodata.
      parameters: nodata default '/' lower case.          "nodata
    selection-screen end of line.
    selection-screen begin of line.
      selection-screen comment 1(33) for field smalllog.
      parameters: smalllog as checkbox.  "' ' = log all transactions
                                         "'X' = no transaction logging
    selection-screen end of line.
    Regards
    Gopi

  • Need to skip the variable selection screen when using dropdown

    Hello Friends,
    I have created a web template having a dropdown, a table and a text element. Basically I am trying to follow the guide "How to Use a Dropdown Box to Set Variable Values". It shows how to select values for a variable using dropdown.
    NOTE: The guide can be found here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2642ab90-0201-0010-9193-d59de66cbab4
    What is happening is when I select a value for the variable in the dropdown, the correct url is getting formed but instead of displaying the report using the selected value, the variable selection screen appears. Given below is the url that gets formed:
    http://abcdev.wdf.sap-ag.de:8000/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=3&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=TSTPEROD&VAR_VALUE_EXT_1=04.2007
    Please assist me to get rid of the variable selection screen. Thanks!
    Regards,
    Prem.

    Hello Ray,
    Thanks for your reply. This has partially resovled the issue. I have awarded you points for that. Now I am able to skip the variable screen.
    However, the query results are not getting refreshed. I wanted to restirct the values based on the value given in the variable selection (In my case the dropdown box). Somehow I am not able to link the dropdown with the variable or the "SAPBWOpenURL(url);" function is having some issues.
    Please assist. Thanks!
    Regards,
    Prem.

  • Selection Screen skipped in RSRT/BEX

    We have upgraded our systems to BI7. In the upgrade checkouts - we are facing this issue -
    While running a query through RSRT or BEX, the selection screen is skipped and the results in an error saying.. 'Variables contain invalid..' However it runs fine through Web.
    Am I missing something? Your inputs will be highly appreciated.
    Thanks.

    Hi,
    Same Problem was faced by me. It was faced after i installed Internet Explorer 7.0
    And as soon i uninstalled it and reverted back to old version of IE it started working fine. Selection screen started appearing
    I dont know if its the same case with u guys.
    Regards,
    Sampat

  • Skipping the selection screen

    Moved to correct forum by moderator.  Please take care to post in the right forum
    Hi  Gurus,
    I have a situation. I have created a zprogram and want to use it in a std txn LI04, and want to run it as individually as well.
    But when it is calling from the std txn it should skip the selection screen and get the values of teh parameters
    as teh same in LI04.
    Please Advice.
    Thanks
    Guarav Kapse.
    Edited by: Matt on Feb 3, 2009 9:54 AM

    Hi,
    Do you have any exit from which u'll call your Z prorgram. If yes, you can use the following statements
    set parameter id ' id '  field <field name>.
    submit <your Z program> and return.
    In your zprogram write:
    get parameter id ' id '  field <field name>.
    It will work.
    cheers
    gaurav

Maybe you are looking for