<?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 Re: Call Transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465361#M1251855</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;set i_callback_user_command = 'USER_COMMAND' of FM Reuse_ALV_Grid_Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write a subroutine like the following one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING I_r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;CASE I_r_ucomm.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;IF rs_selfield-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;READ TABLE IT_final INTO WA_final INDEX rs_selfield-tabindex.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'BES' FIELD WA_final-ebeln.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME23N'.&lt;/P&gt;&lt;P&gt;CLEAR WA_final.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarbajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 07:49:03 GMT</pubDate>
    <dc:creator>sarbajitm</dc:creator>
    <dc:date>2009-04-23T07:49:03Z</dc:date>
    <item>
      <title>Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465357#M1251851</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;I used following code to open Purchase order view screen (ME23N)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set parameter id 'ZABC' field i_alv-ebeln.&lt;/P&gt;&lt;P&gt;call transaction 'ME23N' and skip first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problum is that while runing this code it opens the transaction (but no data ), even if the user user is having no authorization to wiew ME23N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it is possible to give message without opening the transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nausal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 07:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465357#M1251851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465358#M1251852</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;You need to check the ME23N authorization using AUTHORIZATIOn OBJECT S_TOCDE before calling the transaction using CALL Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'S_TCODE'
         ID 'TCD' FIELD 'ME23N'.
IF SY_SUBRC EQ 0.
set parameter id 'ZABC' field i_alv-ebeln.
call transaction 'ME23N' and skip first screen.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 07:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465358#M1251852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T07:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465359#M1251853</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;PRE&gt;&lt;CODE&gt;set parameter id 'BES' field i_alv-ebeln.    "----change  'ZABC' to 'BES'
call transaction 'ME23N' and skip first screen.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 07:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465359#M1251853</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2009-04-23T07:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465360#M1251854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Check the user has authority to post using ME23N
  AUTHORITY-CHECK OBJECT 'S_TCODE'
  ID 'TCD' FIELD 'ME23N'.
  
  IF SY-SUBRC = 0.
    set parameter id 'ZABC' field i_alv-ebeln.
    call transaction 'ME23N' and skip first screen.
  ELSE.
    "Message user has no auth. to view ME23N
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 07:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465360#M1251854</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-04-23T07:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465361#M1251855</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;set i_callback_user_command = 'USER_COMMAND' of FM Reuse_ALV_Grid_Display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write a subroutine like the following one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING I_r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;CASE I_r_ucomm.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;IF rs_selfield-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;READ TABLE IT_final INTO WA_final INDEX rs_selfield-tabindex.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'BES' FIELD WA_final-ebeln.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME23N'.&lt;/P&gt;&lt;P&gt;CLEAR WA_final.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarbajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 07:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465361#M1251855</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-04-23T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465362#M1251856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;in SE11, give the table name and enter&lt;/P&gt;&lt;P&gt;then the field on which you want to click on the alv,find the field in se11 and then click on the data element of that field.You will enter into the data element,there click on the &lt;STRONG&gt;Further Characteristics&lt;/STRONG&gt; tab to get Parameter ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarbajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465362#M1251856</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-04-23T08:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465363#M1251857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/5465363#M1251857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T08:38:11Z</dc:date>
    </item>
  </channel>
</rss>

