<?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: Output Type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165366#M121624</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;U can make use of the Function Exit EXIT_SAPLMBMB_001 which will be fired just before saving GR. Here u can write code to save GR num into custom table. The Tables XMKPF and XMSEG contains GR data in the exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the exit u will have a include, just double click and implement the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-TCODE = 'MB01'.&lt;/P&gt;&lt;P&gt;  PERFORM ZZ_UPDATE_GR_INFO.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The perform contains the Z table data population and updation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2006 14:19:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-03T14:19:39Z</dc:date>
    <item>
      <title>Output Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165365#M121623</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 have a scenario where Delivery would be created as soon as GR is complete.  I need to save the GR number into a custom table as soon as it is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, suppose if the output type triggering is failing, or as soon as it is triggered the control goes to delivery. So, any suggestions as to how to implement/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BDC call transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 08:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165365#M121623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T08:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165366#M121624</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;U can make use of the Function Exit EXIT_SAPLMBMB_001 which will be fired just before saving GR. Here u can write code to save GR num into custom table. The Tables XMKPF and XMSEG contains GR data in the exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the exit u will have a include, just double click and implement the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-TCODE = 'MB01'.&lt;/P&gt;&lt;P&gt;  PERFORM ZZ_UPDATE_GR_INFO.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The perform contains the Z table data population and updation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 14:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165366#M121624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T14:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165367#M121625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ananda,&lt;/P&gt;&lt;P&gt;   I think you cannot have a BDC in a Program attached to an Output type. What you can do is save the GR number in a Z table and in another program you can read the Z Table and Do a BDc in the second program.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2006 14:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-type/m-p/1165367#M121625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-03T14:24:34Z</dc:date>
    </item>
  </channel>
</rss>

