<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic calling transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169724#M460032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can i call a transactioncode through ALV&lt;/P&gt;&lt;P&gt;Actually i have to click in output field&lt;/P&gt;&lt;P&gt;then it will take me that transaction code correspondingly&lt;/P&gt;&lt;P&gt;give me some code&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 10:21:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T10:21:20Z</dc:date>
    <item>
      <title>calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169724#M460032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can i call a transactioncode through ALV&lt;/P&gt;&lt;P&gt;Actually i have to click in output field&lt;/P&gt;&lt;P&gt;then it will take me that transaction code correspondingly&lt;/P&gt;&lt;P&gt;give me some code&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169724#M460032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169725#M460033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the follwoing code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to add user command functioality to the ALV grid you need to perform the following steps:&lt;/P&gt;&lt;P&gt;1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include 'USER_COMMAND' FORM&lt;/P&gt;&lt;P&gt;2. Create 'USER_COMMAND' FORM&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
            i_callback_program      = gd_repid
            i_callback_top_of_page   = 'TOP-OF-PAGE'  
            I_callback_user_command = 'USER_COMMAND'   "see FORM 
            is_layout               = gd_layout
            it_fieldcat             = fieldcatalog[]
            i_save                  = 'X'
       tables
            t_outtab                = it_ekko
       exceptions
            program_error           = 1
            others                  = 2.


*------------------------------------------------------------------*
*       FORM USER_COMMAND                                          *
*------------------------------------------------------------------*
*       --&amp;gt; R_UCOMM                                                *
*       --&amp;gt; RS_SELFIELD                                            *
*------------------------------------------------------------------*
FORM user_command USING r_ucomm LIKE sy-ucomm
                  rs_selfield TYPE slis_selfield.

* Check function code
  CASE r_ucomm.
    WHEN '&amp;amp;IC1'.
*   Check field clicked on within ALVgrid report
    IF rs_selfield-fieldname = 'EBELN'.
*     Read data table, using index of row user clicked on
      READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
*     Set parameter ID for transaction screen field
      SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
*     Sxecute transaction ME23N, and skip initial data entry screen
      CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    ENDIF.
  ENDCASE.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169725#M460033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169726#M460034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you click to the purchasing document no in the alv display, it will take to you to the transaction 'ME23N'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169726#M460034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169727#M460035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Order_num is the field at the output grid which navigates you to the transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS lcl_event_receiver DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_receiver DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    METHODS: catch_doubleclick&lt;/P&gt;&lt;P&gt;             FOR EVENT double_click OF cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;             IMPORTING&lt;/P&gt;&lt;P&gt;                e_column&lt;/P&gt;&lt;P&gt;                es_row_no&lt;/P&gt;&lt;P&gt;                sender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "lcl_event_receiver DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;      CLASS lcl_event_receiver IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_event_receiver IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  METHOD catch_doubleclick.&lt;/P&gt;&lt;P&gt;    DATA: wa_output TYPE t_output,&lt;/P&gt;&lt;P&gt;           fname(40),&lt;/P&gt;&lt;P&gt;           fvalue(20).&lt;/P&gt;&lt;P&gt;    CLEAR :fname,&lt;/P&gt;&lt;P&gt;           fvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD 'ORDER_NUM'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   GET CURSOR FIELD fname VALUE fvalue.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IF e_column EQ 'ORDER_NUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT i_plan INTO wa_plan&lt;/P&gt;&lt;P&gt;                           WHERE order_num EQ wa_output-order_num.&lt;/P&gt;&lt;P&gt;        IF  sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'PAF' FIELD wa_output-order_num.&lt;/P&gt;&lt;P&gt;          CALL TRANSACTION 'MD13' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MODIFY i_output FROM wa_output INDEX es_row_no-row_id.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD sender-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "catch_doubleclick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CREATE OBJECT g_custom_container&lt;/P&gt;&lt;P&gt;           EXPORTING container_name = g_container.&lt;/P&gt;&lt;P&gt;  CREATE OBJECT g_grid&lt;/P&gt;&lt;P&gt;     EXPORTING i_parent = g_custom_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL METHOD g_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_layout       = gs_layout&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     is_variant      = gs_variant&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     is_print        = gs_print&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      i_save          = i_save&lt;/P&gt;&lt;P&gt;      i_default       = space&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = i_fieldcat&lt;/P&gt;&lt;P&gt;      it_outtab       = i_output[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT g_event_receiver.&lt;/P&gt;&lt;P&gt;  SET HANDLER g_event_receiver-&amp;gt;catch_doubleclick FOR g_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD g_grid-&amp;gt;set_ready_for_input&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_ready_for_input = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169727#M460035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169728#M460036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;you can use hotspot in ALV.&lt;/P&gt;&lt;P&gt;When creating fieldcatalogue,&lt;/P&gt;&lt;P&gt;u can mention&lt;/P&gt;&lt;P&gt;  line_fieldcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;Then create a form to handle events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_events_init CHANGING i_events TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: line_event TYPE slis_alv_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR line_event.&lt;/P&gt;&lt;P&gt;   line_event-name = 'USER_COMMAND'.&lt;/P&gt;&lt;P&gt;  line_event-form = 'F_USER_COMMAND'.&lt;/P&gt;&lt;P&gt;  APPEND line_event TO i_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;FORM f_user_command USING r_ucomm     LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                               rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;When user clicks hotspot it will display details&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here it calls FB03 transaction&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE r_ucomm.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'. "for double click&lt;/P&gt;&lt;P&gt;      IF rs_selfield-fieldname = 'BELNR'.&lt;/P&gt;&lt;P&gt;        READ TABLE i_output INDEX rs_selfield-tabindex.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BLN' FIELD rs_selfield-value.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BUK' FIELD i_output-bukrs.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'GJR' FIELD p_ryear.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just call the event&lt;/P&gt;&lt;P&gt;PERFORM f_events_init CHANGING i_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169728#M460036</guid>
      <dc:creator>Bema</dc:creator>
      <dc:date>2007-05-07T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169729#M460037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Skgarg,&lt;/P&gt;&lt;P&gt;               U have to use User-command event in ALV for that.&lt;/P&gt;&lt;P&gt;refer this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : L_EVENT TYPE SLIS_ALV_EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FOR GETTING ALL 17 EVENTS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_LIST_TYPE           = 0&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   ET_EVENTS             = P_I_EVENTCAT&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   LIST_TYPE_WRONG       = 1&lt;/P&gt;&lt;P&gt;   OTHERS                = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_EVENT.&lt;/P&gt;&lt;P&gt;READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_USER_COMMAND INTO L_EVENT.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;MOVE 'Z8_USER_COMMAND' TO L_EVENT-FORM.&lt;/P&gt;&lt;P&gt;APPEND L_EVENT TO P_I_EVENTCAT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form z8_user_command using p_ucomm type sy-ucomm&lt;/P&gt;&lt;P&gt;                           p_selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case p_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN '&amp;amp;IC1'.   "IC1 is fcode for double click&lt;/P&gt;&lt;P&gt;call transaction Vao3 using p_selfield-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169729#M460037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: calling transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169730#M460038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if you click on the customer number you should get the customer details and if you click on the material tou should show the material quantites text etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an interactive report..&lt;/P&gt;&lt;P&gt;Example program&lt;/P&gt;&lt;P&gt;This is your grid FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' Or grid display&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = GT_REPID&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND' " FORM NAME&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = GT_FIELDCAT&lt;/P&gt;&lt;P&gt;.....................................&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = ITAB&lt;/P&gt;&lt;P&gt;........................... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="6" type="ul"&gt;&lt;P&gt;This you should write for your double click&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM&lt;/P&gt;&lt;P&gt;RS_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE r_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;Ic1'.     "double click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CASE rs_selfield-fieldname.  "field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WHEN &amp;lt;your field name&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          IF NOT fp_selfield-value IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Setting parameter id for sales order&lt;/P&gt;&lt;P&gt;            SET PARAMETER ID c_aun FIELD fp_selfield-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*FM for Call transaction "VA03"&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'ABAP4_CALL_TRANSACTION'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                tcode       = l_c_va03                      " VA03&lt;/P&gt;&lt;P&gt;                skip_screen = c_x.      "'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          MESSAGE i078.           "Wrong Click msg&lt;/P&gt;&lt;P&gt;          LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-transaction/m-p/2169730#M460038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:30:20Z</dc:date>
    </item>
  </channel>
</rss>

