SUBMIT - selection screen

Hi all
I want to call a REPORT using SUBMIT and at the same time this REPORT has a selection screen with two parameters P_FIELD1 and P_FIELD2. I want to also pass two values to this two parameters when I call the REPORT.
Someone please help me.
Waiting............

Hi,
Please take a look at the example below:
SUBMIT zdealer_contacts_add_edit AND RETURN
                                     WITH p_kunnr = v_kunnr
                                     WITH p_name1 = p_name1  "AVH
                                     WITH p_cdseq = space
                                     WITH p_flag = 'A'
                                     WITH p_addr = it_zts0001-zaddress
                                     WITH p_pers = it_zts0001-zcperson
                                     WITH p_numb = it_zts0001-zcnumber
                                     VIA SELECTION-SCREEN.
Hope this helps...
P.S. Please award points for useful answers.

Similar Messages

  • Submit selection screen options of one report to another report

    hi ,
      My requirement is as follows . i have a report with a selection screen .The report fetches data from a ztable according to multiple parameters and select options in the selection screen. The mandatory parameters are two diffrent dates according to which the data is fetched. If one of the dates is the CURRENT date then the data  to be fetched is not present in the Ztable as the data is updated daily at midnight. What is required if the user enters the current date in one of the dates then my report should save the selection screen parameters present in therest of the select options and submit these parameters to the second report which updates the data into the table so that my report can fetch it accordingly. If i am getting a bit confusing i am sorry . This is the best i could explain .If any clarififcations are required please ask. Please could u help me with this problem and guide me how to do this . Thanks in advances and helpful answers will be rewarded.

    Hi,
    When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself. When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    Ex.
    The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
    REPORT REP1.
    DATA NUMBER TYPE I.
    PARAMETERS PARAMET(14).
    SELECT-OPTIONS SELECTO FOR NUMBER.
    The program REP1 is called by the following program using various parameters:
    REPORT REP2 NO STANDARD PAGE HEADING.
    DATA: INT TYPE I,
    RSPAR LIKE RSPARAMS OCCURS 10 WITH HEADER LINE.
    RANGES SELTAB FOR INT.
    WRITE: 'Select a Selection!',
    SKIP.
    FORMAT HOTSPOT COLOR 5 INVERSE ON.
    WRITE: 'Selection 1',
    / 'Selection 2'.
    AT LINE-SELECTION.
    CASE SY-LILLI.
    WHEN 4.
    SELTAB-SIGN = 'I'. SELTAB-OPTION = 'BT'.
    SELTAB-LOW = 1. SELTAB-HIGH = 5.
    APPEND SELTAB.
    SUBMIT REP1 VIA SELECTION-SCREEN
    WITH PARAMET EQ 'Selection 1'
    WITH SELECTO IN SELTAB
    WITH SELECTO NE 3
    AND RETURN.
    WHEN 5.
    RSPAR-SELNAME = 'SELECTO'. RSPAR-KIND = 'S'.
    RSPAR-SIGN = 'E'. RSPAR-OPTION = 'BT'.
    RSPAR-LOW = 14. RSPAR-HIGH = 17.
    APPEND RSPAR.
    RSPAR-SELNAME = 'PARAMET'. RSPAR-KIND = 'P'.
    RSPAR-LOW = 'Selection 2'.
    APPEND RSPAR.
    RSPAR-SELNAME = 'SELECTO'. RSPAR-KIND = 'S'.
    RSPAR-SIGN = 'I'. RSPAR-OPTION = 'GT'.
    RSPAR-LOW = 10.
    APPEND RSPAR.
    SUBMIT REP1 VIA SELECTION-SCREEN
    WITH SELECTION-TABLE RSPAR
    AND RETURN.
    ENDCASE.
    Regards,
    Bhaskar

  • SUBMIT Zxx VIA SELECTION-SCREEN AND RETURN

    SUBMIT Zxx VIA SELECTION-SCREEN AND RETURN
    and it's dont make f8 why

    wa_rspar-selname = 'P_DEALNO'.
    wa_rspar-kind = 'S'.
    wa_rspar-sign = 'I'.
    wa_rspar-option = 'EQ'.
    wa_rspar-low  = T_FORDER-DEAL_No.
       APPEND wa_rspar TO rspar.
    Submit ZSDR_SALESORDER_DISPLAY
         using Selection-screen '1000'
               WITH SELECTION-TABLE rspar.
    orelse
    *submit RSEIDOC2 with docnum-low = docnum with
                       credat-low = credat
                               and return.

  • SUBMIT via selection screen and return gives dump

    Hi Guys,
    When i have used SUBMIT via SELECTION SCREEN and RETURN, it gave me the selection screen and subsequent report is executed properly without an error and when i pressed back button, it went to selection screen without any issues but the problem is when i press back from the selection screen it gives me a dump. Could you guys think of what would be the probelm.
    Thanks in Advance.
    Santosh.

    Hi Santhosh,
    What is the dump u r getting? I tried like this and is working file.
    Report1
    REPORT  Z75694TEST1.
    PARAMETERS po_1 TYPE c.
    WRITE po_1.
    SUBMIT Z75694_TEST VIA SELECTION-SCREEN AND RETURN.
    Report2
    REPORT Z75694_TEST .
    PARAMETERS: po_2 TYPE c.
    WRITE po_2.
    Thanks,
    Vinod.

  • Allowing user to  submit unix file on selection screen.

    how to allow the user to  submit  the unix file on selection screen.
    based on that file data ,the selection screen shd be populated automatically.

    Refer Sample Code:
    constants: c_split TYPE c
    VALUE cl_abap_char_utilities=>horizontal_tab,
    c_path TYPE char100
    VALUE '/local/data/interface/A28/DM/OUT'.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : rb_pc RADIOBUTTON GROUP r1 DEFAULT 'X'
    USER-COMMAND ucomm, "For Presentation
    p_f1 LIKE rlgrap-filename
    MODIF ID rb1, "Input File
    rb_srv RADIOBUTTON GROUP r1, "For Application
    p_f2 LIKE rlgrap-filename
    MODIF ID rb2, "Input File
    p_direct TYPE char128 MODIF ID abc DEFAULT c_path.
    "File directory
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f1.
    *-- Browse Presentation Server
    PERFORM f1000_browse_presentation_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f2.
    *-- Browse Application Server
    <b>PERFORM f1001_browse_appl_file.</b>
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF rb_pc = 'X' AND screen-group1 = 'RB2'.
    screen-input = '0'.
    MODIFY SCREEN.
    ELSEIF rb_srv = 'X' AND screen-group1 = 'RB1'.
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    IF screen-group1 = 'ABC'.
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    *& Form f1000_browse_presentation_file
    Pick up the filepath for the file in the presentation server
    FORM f1000_browse_presentation_file .
    CONSTANTS: lcl_path TYPE char20 VALUE 'C:'.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_path = lcl_path
    mask = c_mask "',.,..'
    mode = c_mode
    title = text-006
    IMPORTING
    filename = p_f1
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    flg_pre = c_x.
    ENDIF.
    ENDFORM. " f1000_browse_presentation_file
    *& Form f1001_browse_appl_file
    Pick up the file path for the file in the application server
    FORM f1001_browse_appl_file .
    DATA: lcl_directory TYPE char128.
    lcl_directory = p_direct.
    CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    EXPORTING
    directory = lcl_directory
    filemask = c_mask
    IMPORTING
    serverfile = p_f2
    EXCEPTIONS
    canceled_by_user = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE e000(zmm) WITH text-039.
    flg_app = 'X'.
    ENDIF.
    ENDFORM. " f1001_browse_appl_file
    *& Form f1003_pre_file
    Upload the file from the presentation server
    FORM f1003_pre_file .
    DATA: lcl_filename TYPE string.
    lcl_filename = p_f1.
    IF p_f1 IS NOT INITIAL.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = lcl_filename
    filetype = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = i_input
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    IF sy-subrc <> 0.
    MESSAGE s000 WITH text-031.
    EXIT.
    ENDIF.
    ELSE.
    PERFORM populate_error_log USING space
    text-023.
    ENDIF.
    ENDFORM. " f1003_pre_file
    *& Form f1004_app_file
    upload the file from the application server
    FORM f1004_app_file .
    REFRESH: i_input.
    OPEN DATASET p_f2 IN TEXT MODE ENCODING DEFAULT FOR INPUT.
    IF sy-subrc EQ 0.
    DO.
    READ DATASET p_f2 INTO wa_input_rec.
    IF sy-subrc EQ 0.
    *-- Split The CSV record into Work Area
    PERFORM f0025_record_split.
    *-- Populate internal table.
    APPEND wa_input TO i_input.
    CLEAR wa_input.
    IF sy-subrc <> 0.
    MESSAGE s000 WITH text-030.
    EXIT.
    ENDIF.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    ENDIF.
    ENDFORM. " f1004_app_file
    Move the assembly layer file into the work area
    FORM f0025_record_split .
    CLEAR wa_input.
    SPLIT wa_input_rec AT c_split INTO
    wa_input-legacykey
    wa_input-bu_partner
    wa_input-anlage.
    ENDFORM. " f0025_record_split
    Thanks
    Seshu

  • Submit program B and return to program A selection screen

    Dear all,
    I have program A with selection screen and this program display listing.
    In program A, when user choose the option to display another report listing in selection screen, then in program A, will have submit program B with ... and return
    May I know how can make the program B after showing the listing go back to program A selection screen and not continue to display program A report listing?
    Thanks
    Rgds

    Like this
    REPORT  z_a.
    PARAMETERS: pa_a(10) TYPE c,
                pa_callb AS CHECKBOX.
    IF pa_callb = 'X'.
      SUBMIT z_b WITH pa_b = pa_a
            AND RETURN.
      EXIT.
    ENDIF.
    WRITE: / 'Here is program A, the parameter value is: ',pa_a .
    REPORT  Z_B.
    PARAMETERS pa_b(10) type c.
    write: / 'Here is program B, the parameter value passed from A is: ',pa_b .
    Regards
    Marcin

  • Problem in Submit via selection screen statement

    Dear Experts,
    I have designed selection screen and a dialog screen 100. I am passing the selection screen values to dialog screen using Selection screen via selection screen statement. When i tried to change the values in dialog screen, it is not allowing me to do so and the values are not refreshed.
    I have searched the SDN Forum, but not able to find the suitable thread.
    Regards,
    Ramesh Manoharan
    Edited by: ramesh.manoharan on Mar 17, 2010 1:03 PM

    Hi,
    I have used the below statement to pass values the values from selection screen to dialog screen (Created as an Executable program)
    Submit <pgm> via selection screen
      with ...... .
    Dialog screen is created as an executable program where i have created two subscreen area and populating the Selection Screen as subscreen by using the below statement:
    selection-screen begin of screen <subscreen no.> as subscreen.
    selection-screen end of screen <subscreen no.>.
    The problem i am facing is that the values of selection screen are getting populated in the dialog screen. But when i tried to change the input values in the dialog selection screen. I am unable to do that and it is not showing the new entered values. Only the previous values are shown (got from selection screen from Submit via selection screen statement).
    Kindly let me know where i am going wrong ? Kindly help me to overcome the problem .
    Regards,
    Ramesh Manoharan

  • Prob in Submit Report via Selection screen.

    Hi,
    I have to submit a report via selection screen.
    The report name is detemined at run time.
    This i am able to handle easily as we can use SUBMIT (V_PROG)...
                                   WHERE V_PROG contains the name of the report that i get at runtime...
    Now the issue :::::::
    I have to also populate a select-options on the called report on submit.
    usually this is done by :
                                                SUBMIT (V_PROG)
                                                name of select-option in itab...
    However in my case the name of the <name of select-option> is also detemined at runtime say PNPPERNR.
    Now if i use any variable / field symbol for the name of the select - option (like for the called program), it does not work (the called report does not have the values i populate in ITAB for the particular select-option)
    I have also tried Macro but cant find solution...
    ANY IDEAS ??

    Hi Anuj,
    When you are getting the report name in runtime, you can also get the report selection screen information during runtime.
    Now how are you going to decide which values you will move to which selection screen variables of which report? If you have a way to determine this, then here is a program that works on that assumption.
    REPORT ztest1 .
    DATA: i_seltab          TYPE TABLE OF rsparams WITH HEADER LINE,
          i_selections_info TYPE TABLE OF selinfo WITH HEADER LINE.
    DATA: v_report LIKE sy-repid,
          v_matnr  LIKE mara-matnr.
    PARAMETERS: p_rep1 RADIOBUTTON GROUP rad DEFAULT 'X',
                p_rep2 RADIOBUTTON GROUP rad.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    START-OF-SELECTION.
      IF p_rep1 = 'X'.
    *-- some criteria to determine the name of the report
        v_report = 'ZTEST2'.
      ELSE.
        v_report = 'ZTEST4'.
      ENDIF.
    *-- get the parameters for the report
      CALL FUNCTION 'RS_SELECTIONS_DESCRIPTION'
           EXPORTING
                report              = v_report
           TABLES
                selections_info     = i_selections_info
           EXCEPTIONS
                no_selections       = 1
                report_not_existent = 2
                subroutine_pool     = 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.
      LOOP AT i_selections_info WHERE name = 'S_MATNR'.
    *-- some criteria based on which, move the values from this program
    *   to the called program
        CLEAR i_seltab.
        i_seltab-selname = i_selections_info-name.
        i_seltab-kind    = i_selections_info-kind.
        i_seltab-sign    = 'I'.
        i_seltab-option  = 'EQ'.
        i_seltab-low     = s_matnr-low.
        i_seltab-high    = s_matnr-high.
        APPEND i_seltab.
      ENDLOOP.
      IF NOT i_seltab[] IS INITIAL.
        SUBMIT (v_report) VIA SELECTION-SCREEN
                WITH SELECTION-TABLE i_seltab .
      ENDIF.
    If this works for you, please reward and close the post.
    Regards,
    Srinivas

  • Submit program with selection screen parameters - getting blank values

    Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN  )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN  ) but the value is blank in selection screen. I'm using the below code for this.
    SUBMIT RMCPAMRP WITH MATNR_GL EQ I_MATNR   SIGN 'I'
                      WITH WERKS_GL EQ I_WERKS   SIGN 'I'
                      WITH PLSCN    EQ I_TPLSCN  SIGN 'I'
        via selection-screen        AND RETURN.
    Could anyone please help me how to display value '000' rather than blanks.
    thanks in advance.

    If I_MATNR, I_TPLSCN and I_WERKS are variable then try with
    SUBMIT rmcpamrp
      WITH matnr_gl = i_matnr
      WITH plscn    = i_tplscn
      WITH werks_gl = i_werks
      via selection-screen       
       AND RETURN .
    If I_MATNR, I_TPLSCN and I_WERKS are of type range then try  with
    SUBMIT rmcpamrp
      WITH matnr_gl IN i_matnr
      WITH plscn    IN i_tplscn
      WITH werks_gl IN i_werks
    via selection-screen       
       AND RETURN
    Edited by: Pawan Kesari on Dec 24, 2009 3:33 PM

  • Submit statement without executing AT SELECTION SCREEN event

    hi,
      In my report since the input data is very large iam spliiting the input data batch by batch. Iam executing the report for the first batch input data and retriving the results for it.
       Then to find the result for the enxt batch input data , iam using submit statement to execute the report again. While executing the report now it should directly start from the start-of-selection event only. It should not go for At selection screen or initialization events.
    Can anyone help me how to execute the report for second time from start-of-selection event.
    Regards,
    Phyrose.

    Is code written directly under START-OF-SELECTION or you are calling subroutine in START-OF-SELECTION?
    I would suggest you to call the subroutines written under START-OF-SELECTION.
    PERFORM form IN PROGRAM prog.

  • Submir Report "RSNAST00" and passing parametrs to the selection screen

    Hello ABAP,
    I have to code a Report/TA which gathers some info and then calls RSNAST00.
    The info gathering part is done.
    The info gathered shall be transferred to the report RSNAST00 or to it´s selection screen, tho the selection screen should not be visible. And then RSNAST00 shall do it´s normal job.
    Any hints how i can pass those parameters and make that selection screen not appear?

    Hi florian,
    1. We have to use the comand SUBMIT with the program name and some extensions.
       (please see F1 help on it)
    2. This will call the required program.
    3. We can also pass the required values using WITH Var1 = Val1
    4. we can use the extension AND RETURN so that the selection screen of RSNAST00 does not appear on screen.
    regards,
    amit m.

  • Selection screen for submit in BSP

    Hi Experts,
    I have gone throught the link to submit the program in BSP using varients, but i even want to see the selection screen for tht so tht user can post his own values over there.
    I tryed SUBMIT with different options but i am not able to see the selection screen for it,pls help me its urgent.
    thanks in advance.
    Saurabh.

    hi,
    the submit i have made it the way u told me..before itself..so thts fine..
    but value which i get in first.htm of these dates is not getting transfered to the next.htm
    thought i am able to get the value through the navigation->set_parameter...
    really i feel this issue is bit getting longer....
    i guess i used my ful day on it...
    thanks for ur great help..but pls let me know is there any proble here in my event handler in first .htm
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
    See if upload is triggered from button
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event ?= CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event->name = 'button' AND event->event_type = 'click'.
        DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
        button_event ?= event.
      ENDIF.
      CASE event->id.
        WHEN 'ok'.
          DATA: date1 TYPE REF TO CL_HTMLB_INPUTFIELD.
          DATA: date2 TYPE REF TO CL_HTMLB_INPUTFIELD.
         date1 ?= CL_HTMLB_MANAGER=>GET_DATA(
                              request = runtime->server->request
                              name    = 'inputField'
                              id      = 'fromdate'
          IF date1 IS NOT INITIAL.
            CALL FUNCTION 'CONVERSION_EXIT_PDATE_INPUT'
              EXPORTING
                INPUT         = date1->value
             IMPORTING
               OUTPUT        = p_date.
          ENDIF.
          date2 ?= CL_HTMLB_MANAGER=>GET_DATA(
                              request = runtime->server->request
                              name    = 'inputField'
                              id      = 'todate'
          IF date2 IS NOT INITIAL.
            CALL FUNCTION 'CONVERSION_EXIT_PDATE_INPUT'
              EXPORTING
                INPUT         = date2->value
             IMPORTING
               OUTPUT        = p1_date.
          ENDIF.
          navigation->set_parameter( 'p_date' ).
          navigation->set_parameter( 'p1_date' ).
          navigation->next_page( 'NEXT' ).
      ENDCASE.
    ENDIF.
    pls help me out expert.
    thanks,
    Saurabh

  • Submit a report program with same selection screen with some values exclude

    Dear All,
    I have to  submit a stndard report program from a copied zprogram with same slection screen values ,
    and in some slect-options some values will be excluded depending upon the zprogram.
    How to make it.
    I mean when i submit , same selction screen values should go along with , depending upon some condions i have to exclude some values .
    for ex: selection screen from a to b
    posting date should go same
    but may be along with it i have to pass movem,ent type <> 202 to the submit screen ,.
    how to do this?

    Hi Rajendra
    >What if i have to pass the movement type also 200 to 250 , with 202 and 203 exluded .
    Use BT ( between ) operator for 200 to 250 :
    lr_move_type-sign = 'I'.
    lr_move_type-option = 'BT'.
    lr_move_type-low = '200'.
    lr_move_type-high = '250'.
    COLLECT lr_move_type.
    And use NE ( not equal )  operator to exclude 202 and 203 :
    lr_move_type-sign = 'I'.
    lr_move_type-option = 'NE'.
    lr_move_type-low = '202'.
    COLLECT lr_move_type.
    lr_move_type-low = '203'.
    COLLECT lr_move_type.
    It works just this way.
    > Secondly,
    >
    > If i have the selction sreen same in both the screen , is it possible to pass the same values as it is with out writing one by one selct-option and parameter?
    No I don't think there is way to do it without writing one by one
    but you may not specify for empty select-options.
    Edited by: Bulent Balci on Aug 21, 2010 11:46 AM

  • SUBMIT a report without showing the selection-screen

    hey guys,
      i want to submit a report(rep2) from my report.(rep1)
    rep2 has selection-screen.(it also has ldb associated).
    i am apssing all the data for selection-screen(of rep2) using an itab.
    but now i dont want selection-screen of rep2 to be displayed when rep1 is executed.
    how to go about?

    Dear Kumar,
    you can use the below specified variants
    SUBMIT <REPORT NAME>
    1. ... USING SELECTION-SET vari
    2. ... WITH p op f SIGN s
    3. ... WITH p BETWEEN f1 AND f2 SIGN s
    4. ... WITH p NOT BETWEEN f1 AND f2 SIGN s
    5. ... WITH p IN sel
    6. ... WITH SELECTION-TABLE seltab
    7. ... WITH FREE SELECTIONS texpr
    Eg.,
    CLEAR paramtrs.
        REFRESH paramtrs.
        PERFORM append_selection_table USING :
                      'SO_NUM' 'P' 'EQ' 123456
                      'ITEM'   'P' 'EQ'  abcdef,
                      'POS'    'P' 'EQ'  10.
        SUBMIT <abc>  WITH SELECTION-TABLE paramtrs AND RETURN.
    FORM append_selection_table USING fname ftype fopre fvalue.
      MOVE : fname  TO paramtrs-selname,
             ftype  TO paramtrs-kind,
             fopre  TO paramtrs-option,
             fvalue TO paramtrs-low.
      APPEND paramtrs.
    ENDFORM.
    where SO_NUM, ITEM AND POS  are the report abc's input selection screen.

  • Problem with the selection screen in submit program

    Hi Friends,
    i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
    I have implemented the code same as below.
    submit ztest with tknum =p_tknum and  return.
    Can you pleaes help me how to avoid the submit program selection screen.
    Thanks,
    Charan

    Hi Charan,
    You have to give the selection screen values when you submit a job.
    Press F1 on submit and you will see more details.
    Here is an example from ABAP Documentation.
    Program accessed
    REPORT report1.
    DATA text(10) TYPE c.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
         DATA: text(10)   TYPE c,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards,
    Jovito.

Maybe you are looking for

  • I am getting an error message when trying to update to iOS 7

    I am trying to update to iOS 7 on my iphone 5 and every time I click to install it, I am getting an error message that iOS 7 cannot be installed. I have restarted my phone about 5 times..

  • Duet Configuration - MySAP ERP with Outlook

    Hi, I am working on Duet Add-on application in my company. The Installation has been completed successfully with the latest patches. I started with the configuration of MySAP ERP with Outlook. Firstly, did the Leave management with the instructions a

  • Ods invalid characters

    bwpals, i am in support, my issue is data loaded to ods but not available for reporting , error its showing invalid character in record .again i changed in psa level but for next load from r3 same error is coming again.so how to change it from r3 sid

  • PS 6,Yosemite issues

    I recently updated to OS10.10.1 and Photoshop is not behaving very well, the brushes are lagging badly and sometimes missing strokes completely, That is the worst of the problems so if I can get this fixed I can live with the rest of the issues. than

  • Blu ray data drives

    I am considering switching over from PC to MAC in the next year or so.  In the meantime, I am looking to purchase a blu ray burner  to back up my photos and videos as a secondary backup to an external hard drive.  1) I had heard that Macs don't like