<?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/4285170#M1022242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.

DATA: po TYPE ebeln VALUE '4500000666'.

START-OF-SELECTION.
  WRITE po.
  HIDE po.

AT LINE-SELECTION.
  SET PARAMETER ID 'BES' FIELD po.
  CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 02:09:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-11T02:09:15Z</dc:date>
    <item>
      <title>Call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285169#M1022241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the user click on a PO number on a report output, the t/code ME22N should be invoked. I know the stmt is CALL TRANSACTION. But i want dat ME22N should be invoked with the corresponding PO data on which the user has doubled on the report ouput. How to do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mathew Parera on Aug 11, 2008 2:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 00:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285169#M1022241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T00:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285170#M1022242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.

DATA: po TYPE ebeln VALUE '4500000666'.

START-OF-SELECTION.
  WRITE po.
  HIDE po.

AT LINE-SELECTION.
  SET PARAMETER ID 'BES' FIELD po.
  CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 02:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285170#M1022242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T02:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285171#M1022243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;First set the Parameter ID for the Purchase Order Through  the Statement SET PARAMETER ID '&amp;lt;PID&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call the TRansaction through the statement CALL TRANSACTION &amp;lt;TCODE&amp;gt;  AND SKIP FIRST SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 02:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285171#M1022243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T02:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285172#M1022244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to set the parmeter-id for the PO number in ME22N and use call transaction with skip first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT LINE-SELECTION.

  SET PARAMETER ID 'BES' FIELD w_po.
  CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 03:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285172#M1022244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T03:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285173#M1022245</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;Try this...&lt;/P&gt;&lt;P&gt;Data : M1 TYPE STRING,&lt;/P&gt;&lt;P&gt;          M2 TYPE EKPO-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD M1 VALUE M2.&lt;/P&gt;&lt;P&gt;  IF M2 IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    SET PARAMETER ID 'BES' FIELD M2.&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'ME23N'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE E000(0) WITH 'no purchase order for the given material..'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLEAR M2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 05:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4285173#M1022245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T05:02:40Z</dc:date>
    </item>
  </channel>
</rss>

