<?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 BAPI Call tracking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-call-tracking/m-p/2982398#M704122</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;In the sales order user exit I want to introduce  CALL_BAPI = X .&lt;/P&gt;&lt;P&gt;How should I know in the exit the call to this process is from BAPI.&lt;/P&gt;&lt;P&gt;In online transaction I get sy-tcode = VA02 , VA42 .&lt;/P&gt;&lt;P&gt;But when it is BAPI call , how should I track this, is there any system field? .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 23:28:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T23:28:52Z</dc:date>
    <item>
      <title>BAPI Call tracking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-call-tracking/m-p/2982398#M704122</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;In the sales order user exit I want to introduce  CALL_BAPI = X .&lt;/P&gt;&lt;P&gt;How should I know in the exit the call to this process is from BAPI.&lt;/P&gt;&lt;P&gt;In online transaction I get sy-tcode = VA02 , VA42 .&lt;/P&gt;&lt;P&gt;But when it is BAPI call , how should I track this, is there any system field? .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 23:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-call-tracking/m-p/2982398#M704122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T23:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Call tracking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-call-tracking/m-p/2982399#M704123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any idea about the system field but you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the BAPI set some memory in ABAP memory.&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: l_flag.
L_FLAG = 'X'.
EXPORT L_FLAG to memory id 'ZBAPI'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your user exit import this data from memory.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: l_flag.
IMPORT L_FLAG from memory id 'ZBAPI'.
if l_flag = 'X'.
** called from BAPI.
endif.
free memory id 'ZBAPI'.&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;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 23:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-call-tracking/m-p/2982399#M704123</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-12T23:36:22Z</dc:date>
    </item>
  </channel>
</rss>

