Add input parameters to ik07 selection screen..enhancement spots

hello experts,
Help required..
Please tell me how to enhance the tcode ik07 for putting the input parameters on the selection screen I think there are no badi and exits we have to use enhancement spot.
How can i... Please reply...screenshot for reference

Since i am adding a select option of type ekko-ebeln, i have to add a statement TABLE ekko.

Similar Messages

  • Screen enhancement to add input parameters to standard selection screen IE05

    Hello Experts,
    How can i enhance the IE05 selection screen to add some input parameters in the screen.
    Please refer the following screen to be done and please guide me for the same.

    Since i am adding a select option of type ekko-ebeln, i have to add a statement TABLE ekko.

  • Add Parameters in FBL3N Selection Screen

    Hi Experts,
    Would it be possible to add parameters in FBL3N selection screen?
    We would like to add Purchase Order, Delivery Order and Year/Month.
    Thanks in advance!

    Hi
    BET 1650 will add fields in the Output screen.. it wont help you to add Selection Parameters
    I have not come across any standard way of enhancing the FBL reports.. You can copy the program and make a Z of the same... I did it for FBL1N and FBL5N to get the Profit center in the vendor/customer line item
    Br, Ajay M

  • Add Expand/Collapse button in selection screen

    hi,
    i have to add expand button in the selection screen, afterwich, the expand button will be replaced by collapse button,
    any idea?!
    thanks

    Check this code..............
    DATA: wf_ucomm TYPE sy-ucomm.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECTION-SCREEN PUSHBUTTON  /01(30) but1 USER-COMMAND but1.
    SELECTION-SCREEN PUSHBUTTON  /01(30) but2 USER-COMMAND but2.
    PARAMETERS:  p_test TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = 'ICON_EXPAND'
        IMPORTING
          RESULT = but1
        EXCEPTIONS
          OTHERS = 0.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = 'ICON_COLLAPSE'
        IMPORTING
          RESULT = but2
        EXCEPTIONS
          OTHERS = 0.
    AT SELECTION-SCREEN.
      IF sy-ucomm EQ 'BUT1'.
        wf_ucomm = 'BUT1'.
      ELSEIF sy-ucomm EQ 'BUT2'.
        wf_ucomm = 'BUT2'.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      IF wf_ucomm IS INITIAL.
        LOOP AT SCREEN.
          IF screen-name CS 'P_TEST'OR
             screen-name EQ 'BUT2'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF wf_ucomm EQ 'BUT1'.
        LOOP AT SCREEN.
          IF screen-name CS 'P_TEST' OR
             screen-name EQ 'BUT2'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name EQ 'BUT1'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF wf_ucomm EQ 'BUT2' .
        LOOP AT SCREEN.
          IF screen-name CS 'P_TEST' OR
             screen-name EQ 'BUT2'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name EQ 'BUT1'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Need to add push botton in my selection screen

    Hi
    I am doing a report program . I need to add PUSH BUTTON in my selection screen can u give me any code or suggestions for this.
    IF i press this push button i should get the basic list.
    Regards
    Rasheed.

    Hi Here is a another example.
    U can place a Push button on selection screen by using the satatement..
    SELECTION-SCREEN PUSHBUTTON 2(10) butt USER-COMMAND cli3.
    The push button will start from second character position on Selection screen and of length 10 characters !!
    check this program...
    TABLES sscrfields.
    DATA flag(1) TYPE c.
    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.
    MESSAGE i888(sabapdocu) WITH text-001 sscrfields-ucomm.
    CASE sscrfields-ucomm.
    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.
    Reward me if its helpful.
    Regards
    Ravi

  • Too many Parameters in the Selection Screen

    Hi all,
          I have a requirement to include too many parameters in the selection screen. Let me explain the scenario.
      1.  There is an option for Output File name previously. But now i need to provide fields for 5 to 8 file names in the same  Selection Screen.
      2.  There will be 8 more check boxes coming to the selection screen. Could you please provide me the best & Optimal way to incorporate them in the same selection screen.
    Already the screen is overcrowded with many fields & What need is that 'Is there any option to utilise the Screen at most without using Tab Strip?'
    Pleas Help me in this crucial regard.
    Thanks & Best Regards,
    Vishnu

    Hi,
    Use the below logic.
    selection-screen: begin of block blk1 with frame.
    selection-screen: begin of line.
    parameters: p_chk1 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm1.
    selection-screen position 10.
    parameters: p_file1 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk2 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm2.
    selection-screen position 10.
    parameters: p_file2 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk3 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm3.
    selection-screen position 10.
    parameters: p_file3 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk4 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm4.
    selection-screen position 10.
    parameters: p_file4 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk5 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm5.
    selection-screen position 10.
    parameters: p_file5 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk6 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm6.
    selection-screen position 10.
    parameters: p_file6 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk7 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm7.
    selection-screen position 10.
    parameters: p_file7 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_chk8 as checkbox.
    SELECTION-SCREEN COMMENT 4(5) comm8.
    selection-screen position 10.
    parameters: p_file8 like rlgrap-filename.
    selection-screen: end of line.
    selection-screen: end of block blk1.
    initialization.
    comm1 = 'File1'.
    comm2 = 'File2'.
    comm3 = 'File3'.
    comm4 = 'File4'.
    comm5 = 'File5'.
    comm6 = 'File6'.
    comm7 = 'File7'.
    comm8 = 'File8'.

  • How to add profit center in fbl5n selection screen

    how to add profit center in fbl5n selection screen
    and
    it is save to copy  ddf from sap to cus
    wll it affect anything else

    When you are on selection screen of FBL5N, press (Shift + F4) DYNAMIC SELECTIONS, there you will see a Dynamic selection screen along with your normal FBL5N selection screen, you will find Profit Centre ther, if you don't find Profit Centre in Dynamic Selection Screen you can add the same from the list on the left, search for profit centre, place your cursor on Profit centre and press the Arrow Button(Copy Selected) on top of the list. Now you will find Prfit Centre in Dynamic selection screen, fill the field with values and press save, that's it.....
    Reward points if useful, get back in case of query...
    Cheers!!!

  • How to remove the underline in the parameters in the selection screen?

    how to remove the underline from the parameters in the selection screen?
    i came through the comment statements in the forum is there any other ways like setting some fields in the declarattion of the parameter itself?
    like
    parameter:p1 type string .......?

    I dont think there is an alternative to removing the underlines other than to go for COMMENT. In the selection texts (of text elements) we can just give the parameter name or take the standard text from dictionary, but theres no option to remove the underlines.
    SELECTION-SCREEN BEGIN OF BLOCK rbg WITH FRAME TITLE tit.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) text-001 MODIF ID sc1.
    PARAMETERS:
      p_param TYPE vbak-vbeln.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS:
      p_posnr TYPE vbap-posnr.
    SELECTION-SCREEN END OF BLOCK rbg.

  • REPORT PAINTER - Add a field to a selection screen - custom report

    Hi,
    I'm trying to add a field to a selection screen to a CUSTOM REPORT that has been made in REPORT PAINTER (Y_DVL_xxxxxxx). How should I proceed to do so?
    Thanks a lot,
    Julien

    Hi Julien Girard ,
        Could you please check the below link :
    http://help.sap.com/saphelp_erp2005/helpdata/en/56/32e339b62b3011e10000000a11402f/frameset.htm
    Regards,
    S.Manu.

  • REPORT PAINTER - Add a field to a selection screen to a CUSTOM REPORT

    Hi,
    I'm trying to add a field to a selection screen to a CUSTOM REPORT that has been made in REPORT PAINTER (Y_DVL_xxxxxxx). How should I proceed to do so?
    Thanks a lot,
    Julien

    Hi Julien Girard ,
        Could you please check the below link :
    http://help.sap.com/saphelp_erp2005/helpdata/en/56/32e339b62b3011e10000000a11402f/frameset.htm
    Regards,
    S.Manu.

  • Add field in listing/exclusion selection screen

    Hi, expert, i have create a condition table for my listing type Z001. there is a field name ZZABCD in the condition table. In VB03, I can see the conditon table in 'Key combination'. Now i want to add the field into the selection screen when i click the button 'Condition info' in VB03. Please advice. Thanks.

    Dear Rick,
    go to OV06, there select the table in which you want to add field. And then select the Add Field and search and add your required field.
    Also,
    while assinging accesses to access seq., select the table you want to add against the access seq. and in that table, add the newly created field. And finally save.
    There is no need to change other setting as you want to add only the field.
    Now try the field should be displayed
    regards,
    Sagar

  • How to add program documentation icon on selection screen

    Hi All,
    Please let me know how to add  program documentation icon on selection screen.
    Thanks
    Jog

    THis is pretty straight forward, in se38, enter program name, click change.  Now click Go To, Documentation.  Enter the documentation on this screen, save and activate, now run the program,  the icon will be there.
    REgards,
    Rich Heilman

  • How can I add a new field in selection screen for this report

    *& Report  ZGS_BARKODLA_HIZLI_GIRIS
    report  zgs_barkodla_hizli_giris.
    tables: mara,
            mseg,
            mch1,
            *mch1,
            mkpf,
            mchb ,
            makt.
    type-pools: esp1.
    data: i_message_tab  type esp1_message_tab_type,
          wa_message_tab type esp1_message_wa_type ,
          sc_count type i.
    ALV
    type-pools: slis, kkblo.
    data: gs_layout   type slis_layout_alv                     ,
          gt_fldcat   type slis_t_fieldcat_alv with header line,
          gt_header   type slis_t_listheader   with header line,
          gt_sortin   type slis_t_sortinfo_alv with header line,
          g_repid     like sy-repid                            .
    define add-fieldcat.
      gt_fldcat-fieldname     = &1.
      gt_fldcat-ref_tabname   = &2.
      gt_fldcat-seltext_s     = &3.
      gt_fldcat-seltext_m     = &3.
      gt_fldcat-seltext_l     = &3.
      gt_fldcat-reptext_ddic  = &3.
      gt_fldcat-ddictxt       = 'M'.
      append gt_fldcat.
      clear  gt_fldcat.
    end-of-definition.
    types: begin of titab,
            sel   type xfeld,
            matnr type matnr,
            maktx type maktx,
            charg type charg_d,
            menge type menge_d,
            erfmg type erfmg,
           end of titab.
    data : witab type titab.
    data : itab type table of titab.
    data : ok_code type sy-ucomm.
    controls: tc_itab type tableview using screen 0100.
    data: gv_header like bapi2017_gm_head_01,
          gv_code   like bapi2017_gm_code.
    BAPI export parameters
    data: gv_headret type bapi2017_gm_head_ret,
          gv_matdoc  type bapi2017_gm_head_ret-mat_doc,
          gv_matyear type bapi2017_gm_head_ret-doc_year.
    data : lv_objek like inob-objek .
    data : ls_inob  like inob .
    data : imseg type ty_t_mseg.
    data : wmseg type mseg.
    data : answer.
    data : count type i.
    data : v_atinn type atinn.
    BAPI movement details
    data: i_goodsmvt_items type bapi2017_gm_item_create occurs 0
          with header line.
    data: i_return type bapiret2 occurs 0 with header line.
    start-of-selection.
    call function 'CONVERSION_EXIT_ATINN_INPUT'
       exporting
         input  = 'Z_ORAN'
       importing
         output = v_atinn.
      call screen 100.
    *&      Module  status_0100  OUTPUT
    module status_0100 output.
      set pf-status '100'.
      set titlebar '100'.
      mseg-werks = 1000.
      mseg-umwrk = 1000.
    **added
      sc_count = sc_count + 1.
      if sc_count eq 1.
        mseg-bwart = 313.
      endif.
      mkpf-budat = sy-datum.
    **added
      describe table itab lines tc_itab-lines.
    endmodule.                 " status_0100  OUTPUT
    *&      Module  user_command_0100  INPUT
    module user_command_0100 input.
      data field(20).
      data: line_t like sy-index.
      data: lines  like sy-index.
      data line_count like sy-loopc.
      data: begin of cols,
             screen      like screen,
             index       type i,
             selected(1) type c,
             vislength   like icon-oleng,
             invisible(1) type c,
           end   of cols.
      case ok_code.
        when 'DELE'.
          delete itab where sel eq 'X'.
        when 'ENTE'.
          check *mch1-charg is not initial.
          read table itab into witab with key charg = *mch1-charg.
          if not sy-subrc is initial.
            witab-charg = *mch1-charg.
            select single matnr from mch1 into witab-matnr
                               where charg eq witab-charg.
            if not syst-subrc is initial.
              set cursor field '*MCH1-CHARG'.
              message e115(12) with *mch1-charg.
            endif.
            select single maktx from makt into witab-maktx
                               where matnr eq witab-matnr
                                 and spras eq syst-langu.
            witab-erfmg = 1.
            concatenate witab-matnr witab-charg into lv_objek .
            clear ls_inob .
            select single * into ls_inob
                            from inob
                            where objek = lv_objek and
                                  klart = '023'    and
                                  obtab = 'MCH1' .
            select single atflv from ausp into witab-menge
                     where objek = ls_inob-cuobj and
                           klart = '023' .
            append witab to itab.
    **added
            clear *mch1-charg.
    **added
          endif.
        when 'SAVE'.
          if mkpf-budat is initial.
            set cursor field 'MKPF-BUDAT'.
            message e055(00).
          endif.
          if mseg-lgort is initial.
            set cursor field 'MSEG-LGORT'.
            message e055(00).
          endif.
          if mseg-umlgo is initial.
            set cursor field 'MSEG-UMLGO'.
            message e055(00).
          endif.
          if mseg-bwart is initial.
            set cursor field 'MSEG-BWART'.
            message e055(00).
          endif.
          refresh imseg.
          loop at itab into witab.
            move-corresponding witab to wmseg.
            append wmseg to imseg.
          endloop.
          call function 'ZMM_POPUP_WITH_DATA'
            exporting
              imseg  = imseg
            importing
              answer = answer.
          if answer eq 'Y'.
            perform create_goods_movement.
          endif.
        when 'P--'.
          clear ok_code.
          perform paging using 'P--'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P-'.
          clear ok_code.
          perform paging using 'P-'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P+'.
          clear ok_code.
          clear lines.
          perform paging using 'P+'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P++'.
          clear ok_code.
          perform paging using 'P++'.
          set cursor field 'MARA-MATNR' line 1.
        when 'SORA'.
          read table tc_itab-cols into cols with key selected = 'X'.
          if sy-subrc is initial.
            field = cols-screen.
            field = field+5(10).
            sort itab ascending by (field).
          endif.
        when 'SORZ'.
          read table tc_itab-cols into cols with key selected = 'X'.
          if sy-subrc is initial.
            field = cols-screen.
            field = field+5(10).
            sort itab descending by (field).
          endif.
        when 'PRNT'.
          perform write_alv.
      endcase.
    endmodule.                 " user_command_0100  INPUT
    *&      Module  read_table  OUTPUT
    module read_table output.
      mara-matnr = witab-matnr.
      makt-maktx = witab-maktx.
      mch1-charg = witab-charg.
      mseg-menge = witab-menge.
      mseg-erfmg = witab-erfmg.
      line_count = sy-loopc.
    endmodule.                 " read_table  OUTPUT
    *&      Module  write_table  INPUT
    module write_table input.
      witab-matnr = mara-matnr.
      witab-maktx = makt-maktx.
      witab-charg = mch1-charg.
      witab-menge = mseg-menge.
      witab-erfmg = mseg-erfmg.
      modify itab from witab index tc_itab-current_line.
    endmodule.                 " write_table  INPUT
    *&      Module  exit  INPUT
    module exit input.
      leave to screen 0 .
    endmodule.                 " exit  INPUT
    *&      Form  create_goods_movement
    form create_goods_movement .
      clear : gv_header, i_return[], i_goodsmvt_items[].
      gv_header-doc_date = gv_header-pstng_date = mkpf-budat.
      gv_header-pr_uname = sy-uname.
    GM with reference to reservation
      loop at itab into witab.
        i_goodsmvt_items-material   = witab-matnr.
        i_goodsmvt_items-entry_qnt  = witab-erfmg.
        i_goodsmvt_items-entry_uom  = 'ST'.
        i_goodsmvt_items-move_type  = mseg-bwart.
        i_goodsmvt_items-plant      = mseg-werks.
        i_goodsmvt_items-stge_loc   = mseg-lgort.
        i_goodsmvt_items-move_plant = mseg-umwrk.
        i_goodsmvt_items-move_stloc = mseg-umlgo.
        i_goodsmvt_items-batch      = witab-charg.
        append i_goodsmvt_items.
      endloop.
    find BAPI processing transaction
      if gv_code is initial.
        perform determine_bapi_code using mseg-bwart
                                 changing gv_code.
      endif.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = gv_header
          goodsmvt_code    = gv_code
        importing
          goodsmvt_headret = gv_headret
          materialdocument = gv_matdoc
          matdocumentyear  = gv_matyear
        tables
          goodsmvt_item    = i_goodsmvt_items
          return           = i_return[].
    cancel blocking process
      loop at i_return where type eq 'E' or type eq 'A' or type eq 'X'.
        exit.
      endloop.
      if sy-subrc ne 0.
        refresh i_message_tab.
        call function 'BAPI_TRANSACTION_COMMIT'
          exporting
            wait = 'X'.
        wa_message_tab-msgid = 'M7'..
        wa_message_tab-msgty = 'S'.
        wa_message_tab-msgno = '060'.
        wa_message_tab-msgv1 = gv_matdoc.
        wa_message_tab-msgv2 = ''.
        wa_message_tab-msgv3 = ''.
        wa_message_tab-msgv4 = ''.
        append wa_message_tab to i_message_tab.
      else.
        refresh i_message_tab.
        call function 'BAPI_TRANSACTION_ROLLBACK'.
    write a message as there is an unexpected error.
        loop at i_return.
          wa_message_tab-msgid = i_return-id.
          wa_message_tab-msgty = i_return-type.
          wa_message_tab-msgno = i_return-number.
          wa_message_tab-msgv1 = i_return-message_v1.
          wa_message_tab-msgv2 = i_return-message_v2.
          wa_message_tab-msgv3 = i_return-message_v3.
          wa_message_tab-msgv4 = i_return-message_v4.
          append wa_message_tab to i_message_tab.
        endloop.
      endif.
      call function 'C14Z_MESSAGES_SHOW_AS_POPUP'
        tables
          i_message_tab = i_message_tab.
    endform.                    " create_goods_movement
    *&      Form  determine_bapi_code
    form determine_bapi_code using p_bwart type bwart
    changing p_code type bapi2017_gm_code.
      data: lt_t158b type table of t158b with header line.
      clear p_code.
      select tcode from t158b into corresponding fields of table lt_t158b
      where bwart eq p_bwart.
      loop at lt_t158b.
        select single gmcode from t158g into p_code
        where tcode eq lt_t158b-tcode.
        if sy-subrc is initial.
          exit.
        endif.
      endloop.
    endform. " determine_bapi_code
    *&      Form  paging
    form paging using code.
      data: i type i,
            j type i.
      case code.
        when 'P--'. tc_itab-top_line = 1.
        when 'P-'.
          tc_itab-top_line = tc_itab-top_line - line_count.
          if tc_itab-top_line le 0.
            tc_itab-top_line = 1.
          endif.
        when 'P+'.
          i = tc_itab-top_line +  line_count.
          j = tc_itab-lines -  line_count + 1.
          if j le 0.
            j = 1.
          endif.
          if i le j.
            tc_itab-top_line = i.
          else.
            tc_itab-top_line = j.
          endif.
        when 'P++'.
          tc_itab-top_line = tc_itab-lines - line_count + 1.
          if tc_itab-top_line le 0.
            tc_itab-top_line = 1.
          endif.
      endcase.
    endform.                    " paging
    *&      Form  write_alv
    form write_alv .
      perform find_list_header.
      perform fill_field_cat.
      perform fill_sortinfo.
      g_repid = sy-repid.
      gs_layout-colwidth_optimize = 'X'.
      gs_layout-zebra             = 'X'.
      answer = 'Y'.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_buffer_active        = ''
          i_callback_program     = g_repid
          i_save                 = 'A'
        i_callback_top_of_page = 'TOP_OF_PAGE'
          is_layout              = gs_layout
          it_fieldcat            = gt_fldcat[]
         it_sort                = gt_sortin[]
        tables
          t_outtab               = itab[].
    endform.                    " write_alv
         Form  find_list_header
    form find_list_header.
      data : v_datum(10),
             v_datlo(10),
             v_dathi(10),
             v_uzeit(8).
      clear: gt_header, gt_header[].
      gt_header-typ  = 'H'.
      gt_header-info = sy-title.
      append gt_header.
      clear gt_header.
      gt_header-typ  = 'S'.
      gt_header-key  = 'Çalıştırma Zamanı : '.
      write syst-datum to v_datum.
      write syst-uzeit to v_uzeit.
      concatenate v_datum '/' v_uzeit into gt_header-info.
      append gt_header.
    endform.                    " find_list_header
         Form  fill_field_cat
    form fill_field_cat.
      refresh gt_fldcat.
      clear   gt_fldcat.
      gt_fldcat-key = 'X'.
      add-fieldcat 'MATNR'  'MARA' ''.
      add-fieldcat 'MAKTX'  'MAKT' ''.
      add-fieldcat 'CHARG'  'MSEG' ''.
      gt_fldcat-do_sum = 'X'.
      add-fieldcat 'MEINS'  'MARA' 'Olcu Birimi '.
      gt_fldcat-do_sum = 'X'.
      add-fieldcat 'ERFMG'  'MSEG' 'Adet'.
    endform.                    " fill_field_cat
         Form  fill_sortinfo
    form fill_sortinfo.
      gt_sortin-up            = 'X'.
      gt_sortin-fieldname     = 'MATNR'.  append gt_sortin.
    endform.                    " fill_sortinfo
         Form  top_of_page                                              *
    form top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          i_logo             = 'ZKUTAS'
          it_list_commentary = gt_header[].
    endform.                    " top_of_page

    HI,
    if it is a normal report program then you can directly create a Selection screen field.
    After the Type-pool you can use Parameters or Select-options to create the selection screen field..
    If it is a Modulpool program then you can create a selection scren field like
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
    PARAMETERS: p1(10) TYPE c.
    SELECTION-SCREEN END OF SCREEN 1100.
    defines a selection screens – 1100 – as subscreens.
    The next screen number of screen 100 is 100 (statically-defined).
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN area INCLUDING sy-repid number.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      CALL SUBSCREEN area.
      MODULE user_command_0100.
    look at the below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    Regards
    Sudheer

  • Add a button in report selection screen

    Hi Experts,
         I want to add a userdefined button in report selection screen....so far i have written code like this,...
    TABLES : sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
    PARAMETERS: P_ID LIKE ZBAPITABLE-ID,
                P_NM LIKE ZBAPITABLE-NAME.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (11) TEXT-001 FOR FIELD R1.
    PARAMETERS: R1 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD R1.
    PARAMETERS: R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD R1.
    PARAMETERS: R3 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-004 FOR FIELD R1.
    PARAMETERS: R4 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN: FUNCTION KEY 1.
    MOVE 'SAVE' TO sscrfields-functxt_01.
    If i use code like this button was added in application tool bar
    but in my selection screen i have  two blocks ....in first block i have input fields, and in second there is set of radio buttons...Just below that i want to put one button ....how it is possible...
    can anyone plz help me?
    Regards,
    veena.

    Here's th docu link:
    [Pushbuttons on the Selection Screen|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]
    Regards,
    Clemens

  • Add a New field in Selection Screen of Transaction CNS0

    All,
    I need to create a new field in the selection screen of CNS0. Its a transaction (dialog) not a report.
    Please find the image (will give more info on where to add)
    http://img18.imageshack.us/img18/5319/cns0.gif
    What are the options Any exits of Badi's ? any other options

    hi
    look at this scenario:
    1.  RCNSHSEL modifications:
    ENHANCEMENT-POINT RCNSHSEL_G7 SPOTS ES_RCNSHSEL.
    *$*$-Start: RCNSHSEL_G7-------------------------------------------------------------------------$*$*
    ENHANCEMENT 4  MGV_GENERATED_RCNSHSEL.    "active version
      LOOP AT mgv_matnr_selopt_tab.
        CONCATENATE mgv_matnr_selopt_tab-name'[]' INTO
        mgv_matnr_selopt_tab-name.
        ASSIGN (mgv_matnr_selopt_tab-name) TO <mgv_matnr_selopt_conv>.
        IF sy-subrc IS INITIAL.
          CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL'
               EXPORTING
                    SELOPT_NAME = mgv_matnr_selopt_tab-name
               TABLES
                    RANGE       = <mgv_matnr_selopt_conv>.
        ENDIF.
      ENDLOOP.
    ENDENHANCEMENT.
    ENHANCEMENT 6  ZNEWENH1.    "active version
    *>> ds
    if sy-tcode = 'CNS0'.
    submit z_report_with_selscr and return.
    endif.
    *<< ds
    ENDENHANCEMENT.
    *$*$-End:   RCNSHSEL_G7-------------------------------------------------------------------------$*$*
      TABLES: ACT01,
              AFFL,
              AFKO,
              AUFK,
              PROJ,
              PRPS_R,
              RESB01,
    2. new program: z_report_with_selscr
    REPORT  Z_REPORT_WITH_SELSCR.
    parameters: lgort like vbap-lgort obligatory.
    start-of-selection.
    export lgort to memory id 'ZZLGORT_IN_MEMORY'.
    3. code in BADI: DLP_COMPONENT_FILTER
    import lgort from memory id 'ZZLGORT_IN_MEMORY'.
    regards,darek

Maybe you are looking for

  • Displaying photos from an XML file

    Here's my next little challenge: have to build an app that shows a bunch of photos (listed in an XML file) based upon certain criteria in the XML data. First view will show ALL the photos, and then the user will whittle down the choices/photos based

  • Is it possible to add a logo layer to an H264 video

    I just found out the following Adobe FAQ : quote: Q: Does the H.264 implementation in Flash Player support alpha channel? A: No. Our first implementation does not support alpha channels using H.264... Would that means that it is not possible to add a

  • VERY URGENT Help with istalling developer 9i

    i downloaded all the files from the web site and they are *.brk after i ran the *.bat file i created a *.exe file i tryed to run it and this an error that the file isn't vaild on win 32 application it's very urgent if you have any idea how to install

  • Recovery plan for Solstice disk suite 4.2 on Solaris 8

    need to know have more details regarding recovery of applications which are running on a server with Solstice disk suite. I know we run metadb �d option for replacing bad disks when there is disk failure and metareplace for Sub Mirrors out of sync an

  • IMac wakes on its own after putting it to sleep

    Just got my iMac back from the shop with a new hard drive put in. After setting it up, it seems to wake from sleep on its own after a few minutes. Only change since before sending it in to be fixed (when i had no issues with sleep) is that I now have