<?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 Regarding CALL TRANSACTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750385#M1303088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear forumers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to call different transactions by using the same data field in an ALV report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my spec, it is written to call transactions "&lt;STRONG&gt;IW33 or CN23&lt;/STRONG&gt;" in the ALV drill-down functionality on the data field &lt;STRONG&gt;AUFNR&lt;/STRONG&gt;. Does anyone know how to get this done? I'm not sure what conditions to check for calling the two different transactions here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is how my codes look like (I'm only calling the transaction IW33 alone for this):-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_handle_events IMPLEMENTATION.
  METHOD on_double_click.
    CASE column.

      WHEN 'VBELN'.
        READ TABLE i_assets INTO w_assets INDEX row.
        SET PARAMETER ID 'AUN' FIELD w_assets-vbeln.
        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

      WHEN 'AUFNR'.
        READ TABLE i_assets INTO w_assets INDEX row.
        SET PARAMETER ID 'ANR' FIELD w_assets-aufnr.
        CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.

    ENDCASE.
  ENDMETHOD.                    "on_double_click
ENDCLASS.                    "lcl_handle_events IMPLEMENTATION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do let me know if any of you need any further information regarding my spec too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2009 03:28:58 GMT</pubDate>
    <dc:creator>former_member367551</dc:creator>
    <dc:date>2009-06-05T03:28:58Z</dc:date>
    <item>
      <title>Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750385#M1303088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear forumers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to call different transactions by using the same data field in an ALV report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my spec, it is written to call transactions "&lt;STRONG&gt;IW33 or CN23&lt;/STRONG&gt;" in the ALV drill-down functionality on the data field &lt;STRONG&gt;AUFNR&lt;/STRONG&gt;. Does anyone know how to get this done? I'm not sure what conditions to check for calling the two different transactions here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is how my codes look like (I'm only calling the transaction IW33 alone for this):-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS lcl_handle_events IMPLEMENTATION.
  METHOD on_double_click.
    CASE column.

      WHEN 'VBELN'.
        READ TABLE i_assets INTO w_assets INDEX row.
        SET PARAMETER ID 'AUN' FIELD w_assets-vbeln.
        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

      WHEN 'AUFNR'.
        READ TABLE i_assets INTO w_assets INDEX row.
        SET PARAMETER ID 'ANR' FIELD w_assets-aufnr.
        CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.

    ENDCASE.
  ENDMETHOD.                    "on_double_click
ENDCLASS.                    "lcl_handle_events IMPLEMENTATION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do let me know if any of you need any further information regarding my spec too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 03:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750385#M1303088</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-06-05T03:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750386#M1303089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;Please check the below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : w_out TYPE acin_out.&lt;/P&gt;&lt;P&gt;  DATA : fs(20) , fname(20).&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS : &amp;lt;fv&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;If a single cell is selected.&lt;/P&gt;&lt;P&gt;  REFRESH g_t_cell.&lt;/P&gt;&lt;P&gt;  CALL METHOD g_r_grid-&amp;gt;get_selected_cells&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      et_cell = g_t_cell.&lt;/P&gt;&lt;P&gt;*&amp;amp;If a single cell is selected.&lt;/P&gt;&lt;P&gt;  IF NOT g_t_cell[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    READ TABLE g_t_cell INTO g_r_cell INDEX 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      fname =  g_r_cell-col_id-fieldname.&lt;/P&gt;&lt;P&gt;      READ TABLE t_out INTO w_out INDEX g_r_cell-row_id-index.&lt;/P&gt;&lt;P&gt;      CONCATENATE 'W_OUT' '-' fname INTO   fs.&lt;/P&gt;&lt;P&gt;      ASSIGN (fs) TO &amp;lt;fv&amp;gt;.&lt;/P&gt;&lt;P&gt;      IF fname = 'AUFNR'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'ANR' FIELD &amp;lt;fv&amp;gt;.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ELSEIF fname = 'KDAUF'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'AUN' FIELD &amp;lt;fv&amp;gt;.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ELSEIF fname = 'KOSTL'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'KOS' FIELD &amp;lt;fv&amp;gt;.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'KS03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&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;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;Hope it will help u .....please let me know If you have any issues ..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 03:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750386#M1303089</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-06-05T03:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750387#M1303090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deborah Tan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I see the way You have done is correct, what is problem you are facing now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 03:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750387#M1303090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T03:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750388#M1303091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shishu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing the sample codes here.. But my question still remains: Is there a way to call two different transactions (in my case, either IW33 or CN23) based on one data field (in my case, AUFNR)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is this:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...
WHEN 'AUFNR'.
  if &amp;lt;condition is true&amp;gt;.
    ... " the necessary codes here
    CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.
  else.
    ... " the necessary codes here
    CALL TRANSACTION 'CN33' AND SKIP FIRST SCREEN.
  endif.
....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I am not able to do this because I do not know how to even determine the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suneel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my codes, I'm only calling one transaction, which is IW33 from the data field AUFNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my spec, I need to call &lt;STRONG&gt;either IW33 or CN23&lt;/STRONG&gt; from the &lt;STRONG&gt;same&lt;/STRONG&gt; data field, AUFNR. Any ideas on how to check for the conditions here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 03:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750388#M1303091</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-06-05T03:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750389#M1303092</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;First you need to determine what you are going to use for conditions, without that you cannot proceed further. So consult with the corresponding Functional Consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And calling different tcodes based on conditions is very much possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 04:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750389#M1303092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T04:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750390#M1303093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Karthik. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 07:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5750390#M1303093</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-06-05T07:49:17Z</dc:date>
    </item>
  </channel>
</rss>

