<?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: PGI in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pgi-in-background/m-p/4742218#M1112433</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;When performing a PGI the delivery exits should be invoked.  I would suggest using an exit such as USEREXIT_SAVE_DOCUMENT_PREPARE(MV50AFZ1) and checking the indicator V50AGL-WARENAUSGANG.  This will tell you if PGI is taking place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then check your conditions and issue a message to the log using the provided routines e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM message_handling(sapmv50a) USING '000000'  "indicates header or give it an item
                              &amp;lt;message_number&amp;gt;
                              &amp;lt;message_type&amp;gt;
                              &amp;lt;message_variable_1&amp;gt;
                              &amp;lt;message_variable_2&amp;gt;
                              &amp;lt;message_variable_3&amp;gt;
                              &amp;lt;message_variable_4&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;See any usage of this form in SAPMV50A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also familiarise yourself with OSS note 415716 on how the delivery UE work if not already done so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinds regards,&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2008 11:29:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-11T11:29:40Z</dc:date>
    <item>
      <title>PGI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pgi-in-background/m-p/4742217#M1112432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When doing PGI in background through transaction VL06O, it is putting current date against Actual GI Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to restrict this by giving an error message on whenever the actual GI date is less than the Document date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest on how to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 10:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pgi-in-background/m-p/4742217#M1112432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: PGI in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pgi-in-background/m-p/4742218#M1112433</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;When performing a PGI the delivery exits should be invoked.  I would suggest using an exit such as USEREXIT_SAVE_DOCUMENT_PREPARE(MV50AFZ1) and checking the indicator V50AGL-WARENAUSGANG.  This will tell you if PGI is taking place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then check your conditions and issue a message to the log using the provided routines e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM message_handling(sapmv50a) USING '000000'  "indicates header or give it an item
                              &amp;lt;message_number&amp;gt;
                              &amp;lt;message_type&amp;gt;
                              &amp;lt;message_variable_1&amp;gt;
                              &amp;lt;message_variable_2&amp;gt;
                              &amp;lt;message_variable_3&amp;gt;
                              &amp;lt;message_variable_4&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;See any usage of this form in SAPMV50A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also familiarise yourself with OSS note 415716 on how the delivery UE work if not already done so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinds regards,&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 11:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pgi-in-background/m-p/4742218#M1112433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T11:29:40Z</dc:date>
    </item>
  </channel>
</rss>

