<?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: calling a std user exit from a user defined user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275532#M494796</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;If the user exit is a Z include in a function module then you can call the function module like any other function module passing the required parameters. For example CALL CUSTOMER-FUNCTION '002' in transaction VA01 corresponds to function module EXIT_SAPMV45A_002. You can call this function module like you do any other function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'EXIT_SAPMV45A_002'
  EXPORTING
    i_tvak        =
    i_tvta        =
    i_vkgrp       =
    i_vkbur       =
* IMPORTING
*   E_KUNNR       = 
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user exit is a subroutine in an include in SAP name space (For example subroutine userexit_delete_document in include mv45afzz), then find out the main program in which the include is included (for example mv45afzz is included in program sapmv45a). Once you have done that you can using the following statement to call the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subroutine name&amp;gt; IN PROGRAM &amp;lt;program name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Examaple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM userexit_delete_document IN PROGRAM sapmv45a.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure that you use the main program name (In our example sapmv45a) and not the include name (in our example mv45afzz).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 14:43:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T14:43:05Z</dc:date>
    <item>
      <title>calling a std user exit from a user defined user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275529#M494793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I have a standard User Exit. I want to call it from a User Exit created by me something like zaaabbbb.&lt;/P&gt;&lt;P&gt;Can you please tell me the procedure how to do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275529#M494793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: calling a std user exit from a user defined user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275530#M494794</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;eg: see function module VB_NEXT_BATCH_NUMBER.&lt;/P&gt;&lt;P&gt;there you'll find CALL CUSTOMER-FUNCTION '001'. If you double click now on this  customer exit you see it is function module EXIT_SAPLV01Z_001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Z program you can call the EXIT_SAPLV01Z_001. Or for this example you create in the include ZXVBZU01 a perform routine with all importing/exporting/changing parameters and call this in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275530#M494794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: calling a std user exit from a user defined user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275531#M494795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your custom UE, use this syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM  Name_of_the_std_UE  in program SAP_PROG_NAME_HERE if found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275531#M494795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: calling a std user exit from a user defined user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275532#M494796</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;If the user exit is a Z include in a function module then you can call the function module like any other function module passing the required parameters. For example CALL CUSTOMER-FUNCTION '002' in transaction VA01 corresponds to function module EXIT_SAPMV45A_002. You can call this function module like you do any other function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'EXIT_SAPMV45A_002'
  EXPORTING
    i_tvak        =
    i_tvta        =
    i_vkgrp       =
    i_vkbur       =
* IMPORTING
*   E_KUNNR       = 
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user exit is a subroutine in an include in SAP name space (For example subroutine userexit_delete_document in include mv45afzz), then find out the main program in which the include is included (for example mv45afzz is included in program sapmv45a). Once you have done that you can using the following statement to call the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subroutine name&amp;gt; IN PROGRAM &amp;lt;program name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Examaple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM userexit_delete_document IN PROGRAM sapmv45a.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure that you use the main program name (In our example sapmv45a) and not the include name (in our example mv45afzz).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-std-user-exit-from-a-user-defined-user-exit/m-p/2275532#M494796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:43:05Z</dc:date>
    </item>
  </channel>
</rss>

