From ALV to ME23N

Hi
I have displayed data for Stock transfer order in ALV report.Now the user wants to click on PO number and go to ME23n to display that stock transfer order. Please tell how do i do that.
thanks.

Hi,
*-----Build Field catalog
  CLEAR x_fieldcat.
  cnt = cnt + 1.
  x_fieldcat-col_pos = cnt.
  x_fieldcat-fieldname = 'EBELN'.
  x_fieldcat-tabname = 'ITAB'.
<b>  x_fieldcat-hotspot = 'X'.</b>
  x_fieldcat-seltext_l = 'PO NO'.
  APPEND x_fieldcat TO fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program       =  sy-repid
      i_callback_pf_status_set = 'PF_STAT'
      i_callback_user_command  = 'USER_CMD'
      is_layout                = layout
      it_sort                      = it_sort
      it_fieldcat              = fieldcat
      is_sel_hide                  = v_sel_mode
    TABLES
      t_outtab                 = itab.
FORM user_cmd   USING ucomm1 LIKE sy-ucomm
                       selfield TYPE slis_selfield."#ec *
CASE ucomm1 .
WHEN '&IC1'.
  <b>    SET PARAMETER ID 'BES' FIELD  selfield-value</b>.
      CALL TRANSACTION 'ME23N' .
  ENDCASE.
Endform.

Similar Messages

  • Taking download into excel from ALV Grid - header is printing in two lines

    Hi All,
    I have a scenario where I am taking the download from ALV grid to an excel sheet. Now the header of the ALV (column names) is appearing in two lines in the downloaded excel sheet while items (records of the ALV table) are getting displayed in a single line.
    This download is taken from the standard download to local file (spreadsheet) button provided by SAP for ALVs.
    I am using function module "Reuse_alv_grid_display" for the purpose.
    Can somebody provide an idea how I can avoid the header printing in two lines and keep the length as it is.
    Thanks in Advance,
    Chandan

    Hi..
    1. Pass header name in internal table appned first line.
    2. after that pass u r data .
    3. Use  FM. WS_DOWNLOAD 
    Salil ......
    Edited by: salil chavan on Nov 26, 2008 11:07 AM

  • Downloading records in in excel sheet from ALV.

    Hi,
    I am downloading Records from ALV GRID DIsplay to Excel sheet but i am unable to get all records that are displayed in ALV report.
    I am getting only 73 records if i have only 180
    Any inputs please for correctine the error
    Regards
    Rasheed.

    hi
    you can follow these stapes and get ur work done
    go to List > select Export  > Spreadsheet or just click the excel icon from the tool bar.This would download the data to excel.
    hope this helps
    regards
    Aakash Banga

  • Downloads from ALV GRID-Text conversion to dates in EXCEL

    When downloading table displays of data from ALV-GRID for excel spreadsheet, we end of with files that have a header and various line ifnromation.  IF we manually clear up the display, then we can have the individicual column headers used and force them to text but if we just call the file up as an EXCEL spreadsheet, some part numbers such 12-3465 appear in Excel as Dec-65.
    The following is an example of the record (but it is word wrapped within this display limit).  In actuality, the verbage enclosed with the <b> represent the start of the  lines that have actual display data running out about 90 characters.
    Suggestions on how to make the download immediately correct in Excel direct from SAP ALV-GRID without cleaning out the heading lines and manually forcing the affected columns to TEXT format?
    thanks
    <b>03/02/2007</b>                                                                    Dynamic List Display                                                                                1
    <b>Materials-Inforecord Details Report</b>
    <b>Purchasing Org: ILMO</b>
                        <b>Report Run Date:03/02/2007</b>                    <b>Report Time:14:31:16</b>
         <b>Plnt     Mat Grp     Vendor     Name 1     Material     Material</b> description     Vendor Cat     Mfr     MPN     PC     Item Chg.     OUn      Eq to     BUn     Net price     Per     OPUn     Inforecord     PGr     Mv Avg        per     ValCl
         <b>0042     04     106070     BURROWS COMPANY</b>     184110     Glv Exam Ltx Non Ster     02-5001     TILLOTSON     02-5001               CA     2,000     EA        93.40      1     CA     5300006999     999     93.40     2,000     6438

    there are different options to export to excel which all behave differently, if you go for the menu ->export it differs from the export button from the alv buttonbar.
    try the different export to excel options perhaps there is one that behaves the way you want
    kind regards
    arthur de smidt

  • Excel fiel from ALV report

    Hi Gurus,
        is der any way to download data from ALV report to excel sheet depending on  layout set dyanmically.
      I mean to say that if I choose a layout then data has to transfer to excel sheet according to layout fields automaticaly.

    I think this can be done by oops ALV , are u using reusealv F.M to call output in ALV ?
    Try the below kind of ALV
    IN PBO -
    >
    SET PF-STATUS 'PROJREP'.
    SET TITLEBAR text-046.
    DATA: g_container TYPE scrfname VALUE 'ALV',
          g_grid1  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container.
    IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
               EXPORTING container_name = g_container.  (Name of the container )
    CREATE OBJECT g_grid1
               EXPORTING i_parent = g_custom_container.
    PERFORM create_field_catalog_ce
    CALL METHOD g_grid1->set_frontend_fieldcatalog
          EXPORTING
            it_fieldcatalog = t_fcat_ce.
    ALL METHOD g_grid1->set_table_for_first_display
          EXPORTING
            i_structure_name = 'ST_DISPLAY'
          CHANGING
            it_outtab        = t_display_io
            it_fieldcatalog  = t_fcat_ce.
    ->Create Object to receive events and link them to handler methods.
    When the ALV Control raises the event for the specified instance
    the corresponding method is automatically called.
        CREATE OBJECT g_event_receiver.
        SET HANDLER g_event_receiver->handle_double_click FOR g_grid1.
      ENDIF.
      CALL METHOD cl_gui_control=>set_focus
        EXPORTING
          control = g_grid1.
    IN PAI -->
    CALL METHOD cl_gui_cfw=>dispatch.

  • Get Selections From ALV on Multiple Selection Mode

    Hi,
    How can i get values of selected rows from ALV that has selection '0..n' (multiple selection) ?
    Can somebody help me pls?
    Thanks.

    Hi Nurullah,
    Steps to make multiple rows selectable in ALV:
    1) Create the selection property of the node that you are binding to the DATA node as o..n
    2) Un-check the, "Initialization Lead Selection" checkbox for the node which you are using to bind to the DATA node
    3) In the WDDOINIT method specify the ALV's selection mode as MULTI_NO_LEAD. It is important that you set the selection mode to MULTI_NO_LEAD or else in the end you would be capturing 1 row lesser than the total number of rows the user has selected. This is because 1 of the rows would have the LeadSelection property & our logic wouldnt be reading the data for that row. Check the example code fragment as shown below:
    DATA lo_value TYPE REF TO cl_salv_wd_config_table.
      lo_value = lo_interfacecontroller->get_model( ).
      CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
        EXPORTING
          value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
    Steps to get the multiple rows selected by the user
    In order to get the multiple rows which were selected by the user you will just have to call the get_selected_elements method of if_wd_context_node. So as you can see its no different from how you would get the multiple rows selected by the user in a table ui element. First get the reference of the node which you have used to bind to the ALV & then call this method on it. Check the example code fragment below:
    METHOD get_selected_rows .
      DATA: temp TYPE string.
      DATA: lr_node TYPE REF TO if_wd_context_node,
                wa_temp  TYPE REF TO if_wd_context_element,
                ls_node1 TYPE wd_this->element_node_flighttab,
                lt_node1 TYPE wd_this->elements_node_flighttab.
      lr_node = wd_context->get_child_node( name = 'NODE_FLIGHTTAB' ).
    " This would now contain the references of all the selected rows
      lt_temp = lr_node->get_selected_elements( ).
        LOOP AT lt_temp INTO wa_temp.
    " Use the references to get the exact row data
          CALL METHOD wa_temp->get_static_attributes
            IMPORTING
              static_attributes = ls_node1.
          APPEND ls_node1 TO lt_node1.
          CLEAR ls_node1.
        ENDLOOP.
    ENDMETHOD.
    Hope this helps resolve your problem.
    Regards,
    Uday

  • Capturing data from ALV grid

    Dear experts.
    Can anyone help me to capture data from ALV grid to pass to a BAPI FM.
    My ALV grid has the check box as first column and I want to capture only the rows in the grid with these checkboxes checked. I would prefer to do it without OO.
    Regards
    Sathar

    Loop at the table used for ALV data where <checkbox-field> = 'X'.
    Best,
    Jim

  • Saving Data from ALV.

    hi all.
    I have an issue regarding saving data from alv to data base table.
    The problem is like this. I have an internal table consist of 10 column from three diferent tables.one primary key is there.
    now i have displayed it in alv grid. there is a column of quantity. i made some changes in quantity of some rows. now i want to save it into the database table from which that quantity field fetched.
    i used first check_changed_data method. if the flag is set it means data is changed.
    wat shud i do to save that quantity column into data base.
    Thanks In advance.
    varu

    Hi,
    <b>To modify database or ztable from the ALV grid,you need to do the following:</b>
    ---You have to modify the field Catalog fields (fields that you want to make editable).Set the field <b>EDIT as 'X'</b>.For example if you want to make the field below editable:
    ls_fcat-fieldname = 'CARRID'.
    ls_fcat-edit = 'X'.
    APPEND ls_fcat TO pt_fieldcat.
    ---Call the method below before you call the set_table_for_first_display.
    CALL METHOD ALV_GRID_INSTANCE-><b>set_ready_for_input</b>
    EXPORTING
    i_ready_for_input = 0. ( For Display ) and ('1' for Edit )
    After this put the set_table_for_first_display.
    <b>Now if the ALV data has changed,and you want to change the database or ztable,then in your pf status give a function code for SAVE button in the GUI.
    In the PAI of the screen,in user command module write the following:</b>
    WHEN 'SAVE'.
    <b>call method gr_alvgrid->check_changed_data</b>
    importing e_valid = l_valid.
    if l_valid = 'X'.
    <b>MODIFY spfli FROM TABLE itab_spfli.</b>
    endif.
    <b>(l_valid is a flag.</b>
    DATA:l_valid type c.
    If you want to check if the user has entered any value on the grid, use the Method : CALL METHOD gr_alvgrid->check_changed_data.
    This method returns a flag l_valid which can be checked to see if the data on the ALV grid has been changed or not.)
    Regards,
    Beejal
    **Reward if this helps

  • Exclude buttons from ALV

    Hi All,
      I want to exclude pushbuttons from ALV. Can any body suggest me how to do this. I am using classes to display ALV.
    Regards,
    Venkat.

    in the pbo of your screen, before displaying your alv grid write in the following way:-
    data: g_alv_grid          type ref to cl_gui_alv_grid,
             g_exclude          type ui_func,
             g_t_tlbr_excl       type ui_functions.
    *PBO if used container or screen ,
    start of selection - if working with selection screen but before displaying alv.
    Exclude ICONS
        perform form_exculde_icons.
        call method g_alv_grid->set_table_for_first_display
          EXPORTING
            is_variant           = VARIANT
            is_layout            = LAYOUT
            is_print             =  PRINT
            it_toolbar_excluding = g_t_tlbr_excl
          CHANGING
            it_outtab            = ITAB
            it_fieldcatalog      = FIELDCATALOG[]
        if sy-subrc <> 0.
          write: 'Method call ''Set_table_for_first_display'' failed.'.
          exit.
        endif.
    form form_exculde_icons .
    Exclude alv sum button
      g_exclude = cl_gui_alv_grid=>mc_fc_sum.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv count button
      g_exclude = cl_gui_alv_grid=>mc_fc_count.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv average button
      g_exclude = cl_gui_alv_grid=>mc_fc_average.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv maximum button
      g_exclude = cl_gui_alv_grid=>mc_fc_maximum.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv manimum button
      g_exclude = cl_gui_alv_grid=>mc_fc_minimum.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv subtotal button
      g_exclude = cl_gui_alv_grid=>mc_fc_subtot.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv auf button
      g_exclude = cl_gui_alv_grid=>mc_fc_auf.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv locpaste button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_paste.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv new_row button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_paste_new_row.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv mb_view button
      g_exclude = cl_gui_alv_grid=>mc_mb_view.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv fc_view button
      g_exclude = cl_gui_alv_grid=>mc_fc_views.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv print_prev button
      g_exclude = cl_gui_alv_grid=>mc_fc_print_prev.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv viewgrid button
      g_exclude = cl_gui_alv_grid=>mc_fc_view_grid.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv view_excel button
      g_exclude = cl_gui_alv_grid=>mc_fc_view_excel.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv view_crystal button
      g_exclude = cl_gui_alv_grid=>mc_fc_view_crystal.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv view_lotus button
      g_exclude = cl_gui_alv_grid=>mc_fc_view_lotus.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv send button
      g_exclude = cl_gui_alv_grid=>mc_fc_send.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_abc button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_abc.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_xint button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_xint.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv fc_expcrdesig button
      g_exclude = cl_gui_alv_grid=>mc_fc_expcrdesig.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv fc_expcrtempl button
      g_exclude = cl_gui_alv_grid=>mc_fc_expcrtempl.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv mb_paste button
      g_exclude = cl_gui_alv_grid=>mc_mb_paste.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv load_variant button
      g_exclude = cl_gui_alv_grid=>mc_fc_load_variant.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv current_variant button
      g_exclude = cl_gui_alv_grid=>mc_fc_current_variant.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv maintain_variant button
      g_exclude = cl_gui_alv_grid=>mc_fc_maintain_variant.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv save_variant button
      g_exclude = cl_gui_alv_grid=>mc_fc_save_variant.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv select_all button
      g_exclude = cl_gui_alv_grid=>mc_fc_select_all.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv deselect_all button
      g_exclude = cl_gui_alv_grid=>mc_fc_deselect_all.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv graph button
      g_exclude = cl_gui_alv_grid=>mc_fc_graph.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv info button
      g_exclude = cl_gui_alv_grid=>mc_fc_info.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv f4 button
      g_exclude = cl_gui_alv_grid=>mc_fc_f4.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_report button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_report.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv fc_check button
      g_exclude = cl_gui_alv_grid=>mc_fc_check.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv fc_refresh button
      g_exclude = cl_gui_alv_grid=>mc_fc_refresh.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv loc_cut button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_cut.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv loc_copy button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_copy.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv loc_undo button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_undo.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv append_row button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_append_row.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv insert_row button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv delete_row button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv copy_row button
      g_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv reprep button
      g_exclude = cl_gui_alv_grid=>mc_fc_reprep.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_chain button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_chain.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_more button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_more.
      append g_exclude to g_t_tlbr_excl.
    Exclude alv call_master_data button
      g_exclude = cl_gui_alv_grid=>mc_fc_call_master_data.
      append g_exclude to g_t_tlbr_excl.
    endform.

  • Exporting data from ALV Report...

    Dear All,
    While I am exporting data from ALV report to any other Format (Excel, Txt, HTML) it only export the data of last column, but the heading is comming properly and also the column heading is displaying properly.
    So how to rectify it. (the report is Object Oriented).
    Regards,
    Dahrmesh

    Hi Davabap,
    Refer this sample program "BCALV_GRID_VERIFY" . I hope it is problem with structure mismatching.
    Otherwise can you paste your code ?
    Regards,
    Vicky
    PS: Award points if helpful

  • Call transaction from alv

    i am calling a transaction from alv i want to select the check boxes on th called transaction and go to the next screen how do i do that

    Hello Chandan
    You have to handle the DOUBLE_CLICK event either in your callback form routine (FM-based ALV) or event handler method for event USER_COMMAND (ABAP-OO based ALV).
    If you call the transaction directly you will not have the authority check for this transaction. If you need this, you can use function module <b>ABAP4_CALL_TRANSACTION</b> instead.
    If you want to open the transaction in a new window you can use the static method <b>CL_RECA_GUI_SERVICES=>CALL_TRANSACTION</b> (no authority check!).
    Regards
    Uwe

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • Jump from alv report to qa03 screen based on PRUEFLOS field

    Hi experts,
    I developed one alv report ,in that one field name is PRUEFLOS (inspection lot number).I want to jump from alv report
    to QA03 screen based on PRUEFLOS field.I wrote in this way but i didn't get.
    FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
      CASE SELFIELD-FIELDNAME.
        WHEN 'PRUEFLOS'.
          READ TABLE T_FINAL INDEX SELFIELD-TABINDEX.
          SET PARAMETER ID  'QLS' FIELD T_FINAL-PRUEFLOS.
          CALL TRANSACTION 'QA03'   AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.
    what is the problem ?pls help me in this.

    Hi Ram,
    Recheck:
    1) You have passed 'FORM USER_COMMAND' in 'I_CALLBACK_USER_COMMAND' while calling f.m. for ALV displa, and
    2) You have checked the value of user command, i.e.
    FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
    CASE SY-UCOMM.
    WHEN '&IC1'.
    CASE SELFIELD-FIELDNAME.
    WHEN 'PRUEFLOS'.
    READ TABLE T_FINAL INDEX SELFIELD-TABINDEX.
    SET PARAMETER ID 'QLS' FIELD T_FINAL-PRUEFLOS.
    CALL TRANSACTION 'QA03' AND SKIP FIRST SCREEN.
    ENDCASE.
    ENDCASE.
    ENDFORM.
    Regards,
    Birendra

  • Extract from ALV List

    Hello All,
    Please suggest me is there any way to extract the data from ALV LIST.
    For example:
    SUBMIT  XXX WITH SELECTION-TABLE rspar_tab AND RETURN.
    This XXX  program gives the result in alv list.Once it returns back to original program i want to fetch the results.
    Thanks and Best Regards,
    Vinoth

    Hi Vinoth...
    SUBMIT XXX WITH SELECTION-TABLE rspar_tab AND RETURN.
    Whether ur submit program (XXX) is standard or Zreport?
    1, If it is standard means u need to copy the program  in to ZXXX..
        And now change the ZXXX.
        Fetch where the final Internal table is populating for output display..
    There u need to Export that internal table ..
    eg:
    export g_t_belege1 to memory id 'ZSARA'.
    export bestand1 to memory id 'ZSARA1'.
    1,g_t_belege1
    2,bestand1
    these are internal tables in the Submit program (ZXXX)..
    Now u may come to ur original program..
    and import this..
      import g_t_belege1 from memory id 'ZSARA'.
      import bestand1 from memory id 'ZSARA1'.
    g_t_belege1,bestand1 these internal table structures sholud be same as Submit program structures..
    Else.. it may give Dump ..
    Now u may process the internal tables  g_t_belege1,bestand1 by ur wish..
    2,
    If it Zreport means no need to copy ..
    Just export into one id and import in ur original program.
    Hope it will helps..
    Reward if it is useful means.
    Regards
    Bala..
    Message was edited by:
            S Balasubramanian

  • Jump from alv report to cor2 screen

    Hi experts,
    I develop one alv report ..i want to jump from alv report to COR2 screen when click on order number(field name is AUFNR).
    i wrote code in this way.
    FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD
      CASE SELFIELD-FIELDNAME.
        WHEN 'AUFNR'.
          READ TABLE T_FINAL INDEX SELFIELD-TABINDEX.
          SET PARAMETER ID  'AUF' FIELD T_FINAL-AUFNR.
          CALL TRANSACTION 'COR2'   AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.
    but it is not working properly,when u click on any order number it is going only the same order number(in cor2 screen).
    what is the problem? set par id (AUF) EXIST IN TPARA table compulsalory or it is created automatically?
    pls help me in this . If possible pls send the code.

    Hi,
    I have already mentioned both ways, but ok, once again.
    A. how I found parameter ID ANR:
    1.) run transaction COR2
    2.) set cursor to field "Process order"
    3.) press F1 button
    4.) performance assistant displays
    5.) press "Technical Information"
    6.) technical information displays
    7.) in field "Parameter ID" you can see parameter ID assigned to a screen field
    B. how I found parameter ID BR1:
    1.) switch on debugger
    2.) run transaction COR2
    3.) put a breakpoint on "GET PARAMETER" statement
    4.) debugger stops on every GET PARAMETER statement in PBO of COR2
    5.) there you can see that BR1 is used for field AUFNR
    Basically first mentioned way is sufficient, because system gets parameter value from parameter ID assigned to a screen element automatically. But in this case a value is overwritten by coding in PBO of COR2.
    Hope it helps.
    Regrds,
    Adrian

Maybe you are looking for

  • Anybody out there have one itunes id with 2 separate passswords?

    My problem: I have one e-mail account (which automatically becomes the iTunes ID) but I have two passowrds - not intentional...thought I was using the same one for both the  iPod and the iPad. The outcome is that my iTunes account seems to track my p

  • How can I possibly get a hold with an actual person on the phone??? It's emergency!!!!!!

    Hello, I have been trying to talk to someone at the customer service for the last 3 months but no one never ever picked up my phone!!! How can this even possible? I've been using verizon for the last 4 years!!! I just moved out from the State and nee

  • ORA-06512:

    Hi All, I am using Oracle 10g on windows 2003 server... In my alter log file i am getting this error msg.. ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba) ORA-06512: at "SYS.DBMS_SNAPSHOT", line

  • ALV list problem

    Hi all, I am facing a strange problem in ALV. i have two internal tables one is for alv header and another is alv line items. i have a proper data in in both internal tables. when i pass the data of these two internal tables to the function REUSE_ALV

  • Oracle Forms 11g SSO with OID and IAM

    What versions of OID and Access Manager are required to get an Oracle Forms and Reports 11.1.1.2 application on Weblogic 10.3.2 configured for Oracle SSO using OID authentication? We want the OID to store and authenticate Users for username and passw