<?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: Add Custom Function Module in Tcode VF01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843368#M1591139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you do that with output determination?  You don't need (and shouldn't use) a user exit for that.  You can do that with IDOC/ALE processing to a file port (even in a non-IDOC file format) or you can do that with the special processing mode...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 14:08:43 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2011-05-03T14:08:43Z</dc:date>
    <item>
      <title>Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843364#M1591135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement, I need to develop a FM XX with Inputs either SHIPMENT NUMBER or INVOICE NUMER. Using this I need to generate a FILE which needs to be sent to the other system. I have developed the FM which captures all the details of either SHIPMENT NUMBER or INVOICE NUMER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For shipment I am aware where to call the FM. i.e. 'BAPI_SHIPMENT_CREATE'  'BAPI_TRANSACTION_COMMIT'  FM 'XX'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the Invoice am unable to find user exit or BADI when billing document is saved in the standard tables. The T-Code is VF01 and VF04. We need to call the FM once the invoice is created as invoice will be input for my FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 08:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843364#M1591135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843365#M1591136</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;Check Note 301077 - User exits for the interface to accounting. For this enhancements you have the VBELN number in invoice document.&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 08:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843365#M1591136</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-05-03T08:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843366#M1591137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it would be great if you can expain it in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 09:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843366#M1591137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T09:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843367#M1591138</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;For instance, as I think that you can that it will be called once by invoice, try with EXIT_SAPLV60B_008 or EXIT_SAPLV60B_001 (if you use other related with items and the document have more than 1 item, you could call your FM more than once). For instance, in EXIT_SAPLV60B_008 you must have CVBRK-VBELN the number of invoice. I suggest to set a break-point to check the number of times that the exit is called. Other good pratice is call this type of functions with option IN UPDATE TASK, if it's possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 11:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843367#M1591138</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-05-03T11:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843368#M1591139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you do that with output determination?  You don't need (and shouldn't use) a user exit for that.  You can do that with IDOC/ALE processing to a file port (even in a non-IDOC file format) or you can do that with the special processing mode...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 14:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843368#M1591139</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-05-03T14:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843369#M1591140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if we have output type for this, we need to maintain output type record for customers that one BIG disadvantage...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 14:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843369#M1591140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T14:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add Custom Function Module in Tcode VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843370#M1591141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is that a "BIG" disadvantage?  That's exactly what output determination is there for.  It's not true that you need to maintain a record.  You don't need to maintain records at all if you're doing it for all customers OR you can maintain a single condition record that is non-customer specific.  I would opt for using a field that allows you to turn on/off the functionality easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 14:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-custom-function-module-in-tcode-vf01/m-p/7843370#M1591141</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-05-03T14:55:09Z</dc:date>
    </item>
  </channel>
</rss>

