Submit Program without Selection-Screen

Hi,
    I am submitting the SAP Standard program, which contains selections screen.
    i am passing values to standard program using via-selection screen.
    Is there any way to suppress / skip the selection-screen what is appearing after submit
Thanks
Uma

Hi,
use like this...
call transacton 'Tcode' and skip first screen.
Regards
kiran

Similar Messages

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

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

  • Run alv report without selection screen in background

    Hello Every body,
    i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
    Any help?
    Thank u.
    Ouail.

    Hi Steve,
    Can you tell me where i have to put your code?
    this is my abap code:
    START-OF-SELECTION.
       p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
       PERFORM copy_from_xml_to_itab TABLES it_ref_file
                                     ref_xml_data
                                     USING p_filref.
    **Begin Extraction File
       SUBMIT ZZ_FI_IVAT_EXTRACTOR
       WITH p_bukrs EQ '1000'
       WITH p_gjahr EQ '1998'
       WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
       WITH cldata eq space
       AND RETURN.
       DATA: FILE_TABLE  TYPE TABLE OF SDOKPATH,
       DIR_TABLE  TYPE TABLE OF SDOKPATH.
       CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
         EXPORTING
           DIRECTORY  = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
           FILTER     = '*.*'
         TABLES
           FILE_TABLE = FILE_TABLE
           DIR_TABLE  = DIR_TABLE
         EXCEPTIONS
           CNTL_ERROR = 1
           OTHERS     = 2.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       "get file name
       LOOP AT FILE_TABLE INTO p_filref.
       ENDLOOP.
       CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
       PERFORM copy_from_xml_to_itab TABLES t_ext_file
                                     ext_xml_data
                                     USING path.
       PERFORM fill_xml_tab_in .
       perform build_fieldcatalog.
       PERFORM compare_data_ref_ext.
       PERFORM send_email.
       perform display_alv_report.
       PERFORM delete_extraction_file.
    in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
       CREATE OBJECT gcl_xml.
    *Upload XML File
       CALL METHOD gcl_xml->import_from_file
         EXPORTING
           filename = p_filref
         RECEIVING
           retcode  = gv_subrc.
       IF gv_subrc = 0.
         CALL METHOD gcl_xml->render_2_xstring
           IMPORTING
             retcode = gv_subrc
             stream  = gv_xml_string
             size    = gv_size.
         IF gv_subrc = 0.
           REFRESH gt_xml_data[].
    * Convert XML to internal table
           CALL FUNCTION 'SMUM_XML_PARSE'
             EXPORTING
               xml_input = gv_xml_string
             TABLES
               xml_table = gt_xml_data
               return    = gt_return.
         ENDIF.
       ENDIF.

  • 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

  • How to pass Selection screen values to another program's selection screen

    Hello,
    I have a requriement where in which i need to pass the selection screen values (say list of pernrs) and few others of one program to selection screen of another. 
    One option that i came across is using Submit. But am unware how to pass only the selection screen values (there wont be any data processing or filtering).  Just the values of one prgm's selection screen are to be sent to another.
    Thanks
    RK

    prog1.
    data:lt_params type table of RSPARAMS.
    data:wa like line of lt_params.
    parameters:pa1 type sy-datum.
    select-options:so1 type sy-dtaum.
    wa-SELNAME = 'PA2'.               "Seletion screen field name
    wa-KIND     = 'P'.                    "P-Parameter,S-Select-options
    wa-SIGN     = 'I'.                    "I-in
    wa-OPTION     = 'EQ'.               "EQ,BT,CP
    wa-LOW     = pa1.                    "Selection Option Low,Parameter value
    append wa to lt_params.
    loop at so1.
    wa-SELNAME = 'SO2'.               "Seletion screen field name
    wa-KIND     = 'S'.                    "P-Parameter,S-Select-options
    wa-SIGN     = 'I'.                    "I-in
    wa-OPTION     = 'EQ'.               "EQ,BT,CP
    wa-LOW     = so1-low.               "Selection Option Low,Parameter value
    wa-HIGH     = so1-high.               "Selection Option Low,Parameter value
    append wa to lt_params.
    endloop.
    CALL FUNCTION 'SUBMIT_REPORT'
      EXPORTING
        report                 = 'ZPROG2.'   "report name of ur tocde
        RET_VIA_LEAVE          = ''            "IF 'X' returns to the called program after execution
        SKIP_SELSCREEN         = 'X'       "If 'X' selection screen of called program is not displayed
    TABLES
       SELECTION_TABLE        = lt_params       "Contains values to the selection screen
    EXCEPTIONS
      JUST_VIA_VARIANT       = 1
      NO_SUBMIT_AUTH         = 2
      OTHERS                 = 3
    Prog2.
    parameters:pa2 type sy-datum.
    select-options:so2 type sy-dtaum.
    write pa2.
    skip 1.
    loop at so2.
    write:so2-low,so2-high.
    skip 1.
    endloop.
    Edited by: Keshu Thekkillam on Aug 20, 2009 3:22 PM

  • How can i do submit to 2 selection screen  ?

    i try to do submit for program RKAEP000 ,
    this program have few selection screen  ,
    how can i send parameters to prarameters in
    more than one selection screen ,
    i add exmple for what i need :
    SUBMIT RKAEP000
        USING SELECTION-SCREEN '100'
        VIA SELECTION-SCREEN
            WITH P_TCODE = 'KOB1'
            WITH  AUFNR IN SO_AUFNR
            WITH KSTAR IN SO_KSTAR
            WITH  R_BUDAT IN SO_BUDAT
            WITH BUKRS IN SO_BUKRS
          USING SELECTION-SCREEN '110'
            WITH  P_DISVAR   EQ 'DBW' sign 'I'

    Please check the following code
    TABLES : aufk,
             rkpln,
             cskb,
             cobk,
             t001.
    DATA: wa_rsparams TYPE rsparams,
           i_rsparams TYPE STANDARD TABLE OF rsparams.
    DATA: wa_cskb TYPE cskb,
           i_cskb TYPE STANDARD TABLE OF cskb.
    DATA: wa_cobk TYPE cobk,
           i_cobk TYPE STANDARD TABLE OF cobk.
    DATA: wa_t001 TYPE t001,
           i_t001 TYPE STANDARD TABLE OF t001.
    DATA: wa_aufk TYPE aufk,
           i_aufk TYPE STANDARD TABLE OF aufk.
    PARAMETERS : p_code   TYPE sytcode,
                 p_disvar TYPE slis_vari.
    SELECT-OPTIONS: s_aufnr FOR rkpln-aufnr,
                    s_kstar FOR cskb-kstar,
                    r_budat FOR cobk-budat,
                    s_bukrs   FOR t001-bukrs.
    wa_rsparams-selname  = 'P_TCODE'.
    wa_rsparams-kind     = 'P'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'EQ'.
    wa_rsparams-low      =  p_code.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    wa_rsparams-selname  = 'P_DISVAR'.
    wa_rsparams-kind     = 'P'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'EQ'.
    wa_rsparams-low      =  p_disvar.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    wa_rsparams-selname  = 'AUFNR'.
    wa_rsparams-kind     = 'S'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'BT'.
    wa_rsparams-low      =  s_aufnr-low.
    wa_rsparams-high      =  s_aufnr-high.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    wa_rsparams-selname  = 'KSTAR'.
    wa_rsparams-kind     = 'S'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'BT'.
    wa_rsparams-low      =  s_kstar-low.
    wa_rsparams-high     =  s_kstar-high.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    wa_rsparams-selname  = 'R_BUDAT'.
    wa_rsparams-kind     = 'S'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'BT'.
    wa_rsparams-low      =  r_budat-low.
    wa_rsparams-high     =  r_budat-high.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    wa_rsparams-selname  = 'BUKRS'.
    wa_rsparams-kind     = 'S'.
    wa_rsparams-sign     = 'I'.
    wa_rsparams-option   = 'BT'.
    wa_rsparams-low      =  s_bukrs-low.
    wa_rsparams-high     =  s_bukrs-high.
    APPEND wa_rsparams TO i_rsparams.
    CLEAR  wa_rsparams.
    SUBMIT rkaep000 WITH SELECTION-TABLE i_rsparams AND RETURN.

  • SUBMIT  RPCDTCU0_CE VIA SELECTION-SCREEN just wont work

    Hi all,
    I use SUBMIT  RPCDTCU0_CE VIA SELECTION-SCREEN
    with PNPTIMED = '1'
    with PNPXABKR = 'US'
    with PNPPABRP = '8'
    with PNPPABRJ = '2009'
    with PNPPERNR-LOW = '73265'
    with PNPABKRS-LOW = 'US'
    with ZLSCH-LOW = 'C'
    with TEST = 'X'
    with UPD_PCL2 = 'X'
    with SW_ADV1 = 'X'
    with NEWLOG_D = 'X'.
    The moment I run the progrm, it receive "program terminated message"
    Any other idea on how I should run the program and get to pass the value into the program?

    Hi,
    Try using extension of selection table instead of wtih parameters..
       [WITH SELECTION-TABLE rspar]
    Nag

  • 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.

  • Without selection screen how can we featch the file.

    Hi all,
         without selection screen(parameter,select-options iam not using these both.) how can we featch the flat file what ever it may be (file format is xls.textor any thing) how ot do...plz it's urgent for me.
    Regards,
    Krishna,

    Hi varun,
      this is my sample code.here we are geting selection screen.without selection screen hoe to get file from out internal table.
    plz gothrough this code and replay to me varun.
    tables:pa0002.
    type-pools:truxs.
    *data:W_TRUXS_T_TEXT_DATA TYPE TRUXS_T_TEXT_DATA ,
         it_p0001 type standard table of pa0001.
    TYPES: BEGIN OF it_p0002,
            pernr like pa0002-pernr,
            nachn like pa0002-nachn,
            vorna like pa0002-vorna,
           end of it_p0002.
    DATA: t_p0002 type standard table of it_p0002,
          wa_p0002 type It_p0002.
    DATA: it_raw TYPE truxs_t_text_data.
    SELECTION-SCREEN BEGIN OF BLOCK S_BLK WITH FRAME TITLE TEXT-000.
    parameters: P_EXCEL   TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN end OF BLOCK S_BLK.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_EXCEL.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = 'P_EXCEL'
    IMPORTING
       FILE_NAME           = P_EXCEL .
    START-OF-SELECTION.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
       I_LINE_HEADER              = 'X'
        I_TAB_RAW_DATA             = it_raw
        I_FILENAME                 = p_excel
      TABLES
        I_TAB_CONVERTED_DATA       = t_p0002[]
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    end-of-selection.
        loop at t_p0002 into wa_p0002.
           write:/ wa_p0002-pernr,
                   wa_p0002-nachn,
                   wa_p0002-vorna.
        endloop.

  • How to create tcode for modulepool program with selection screen?

    hi,
       How to create tcode for modulepool program with selection screen?
    thanks,
    sagar

    Hi,
    We need to goto SE80.
    In our program we right click on object name and goto create
    -> transaction. Enter the module pool program and screen number and save and activate.
    Or by SE93 also we can create a transaction code for our program.
    Hope ths helps.
    plz reward if useful.
    thanks,
    dhanashri..
    Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM

  • Working with LDB without selection screen

    can' we take input through file without any selection screen when we are working with LDB?
    Please focus on this.
    Regards
    vamsi.

    Hi,
    yes, u can make use of :
    SET PARAMETER ID command.
    SET PARAMETER ID pid FIELD dobj.
    Effect:
    This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format.
    If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten.
    In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist.

  • Execute transction without selection screen

    Hi,
    I've created a transaction in SE93 and i use it with a variant for the selection screen. When i run the transaction, the selection screen is displayed and the values of my variant are setted into the fields.
    I don't want to display the selection screen, I want to skip it and display directly the first dynpro of my program.
    Does someone know how to do it ?
    Thanks

    Hi,
    Instead of creating 2 transactions and creating a program to call the original transaction. I would suggest you create a program write a *SUBMIT USING SELECTION-SET vari *
    So create just one original transaction which will call the program created above which will intrun submit the original program.
    Program A is original with all the selection screen.
    Create a variant for this program
    Program B
    Submit 'A' using selection-set vari.
    Create T-code ZABC for program B.
    regards,
    Advait
    Edited by: Advait Gode on Feb 2, 2009 3:02 PM

  • ABAP Program using Selection Screen in Process Chain

    Hi,
    I have included an ABAP Program in the Process Chain.
    The ABAP Program takes a selection screen value from user before execution.
    I have created a variant for both the ABAP Process (YPV_ABC) and a variant for the Selection Screen (YPV_XYZ).
    The ABAP Program executes perfectly well in SE 38.
    I get the following message when I execute the Process Chain.
    "Status Change of Process ABAP YPV_ABC.
    Save Status and Trigger Events if Appropriate "
    When I click Yes, the ABAP Process becomes red.
    These are error messages in the log
    516 -  Job started     
    550 -  Step 001 started (program RSPROCESS, variant &0000000012961, user ID ALEREMOTE)
    25 -    Could not ascertain code page     
    546 -  Job cancelled after system exception ERROR_MESSAGE     
    My questions are:
    1) Is it possible to use an  ABAP Program which has a user input screen in Process Chain?
    2) Could you please help  with the above error?

    1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
    ABAP programs, with variants established for selection screens, are possible. We use them quite extensively for setting triggers to allow Process Chain to continue after an Interrupt Process has been hit.
    2) Could you please help with the above error?
    I'm not quite sure what could be causing this. When you tested this program in SE38, did you test it with the same variant for the selection screen and did you execute it in background?

Maybe you are looking for