<?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: NACE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nace/m-p/2023039#M414275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 07:37:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T07:37:20Z</dc:date>
    <item>
      <title>NACE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nace/m-p/2023038#M414274</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;I have a requirement where I need to Trigger a program (which updates a table) using output type after PGI. For this I have created a output type(Say ZI01) with transmission medium 8. I have done Necessary setting for triggering of this output type after PGI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also created a program with 2 subroutines. In processing routine I have program as ZSDI_TIER3_Z023_ENTRY and form routine ENTRY. In the general tab of output type, in change out put I have given program ZSDI_TIER3_Z023_ENTRY and form SET_CHG_FLAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my issue is wen iam PGI&amp;#146;ing this output type &amp;lt;b&amp;gt;gets triggered with success message&amp;lt;/b&amp;gt; but does not update the table(iam not able to debug in this case). But wen I go in the change mode(ie VL02N) and save it, output type triggers and the table is updated(iam able to debug and c the program its directly going to prog ZSDI_TIER3_Z023_ENTRY and form SET_CHG_FLAG ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam attaching the code so that u guys can tell me where iam going wrong.&lt;/P&gt;&lt;P&gt;Want to know whether i need to attach any further code for making my program work wen the PGI happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zsdi_tier3_z023_entry.&lt;/P&gt;&lt;P&gt;*Include for data Declaration&lt;/P&gt;&lt;P&gt;INCLUDE zsdi_tier3_z023_entry_include.&lt;/P&gt;&lt;P&gt;*PERFORM entry USING retcode xscreen.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  ENTRY&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;RETURN_CODE  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;US_SCREEN    text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM entry USING return_code us_screen.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;  CLEAR retcode.&lt;/P&gt;&lt;P&gt;  xscreen = us_screen.&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;LOGIC for updating the table goes here&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;  IF retcode NE 0.&lt;/P&gt;&lt;P&gt;    return_code = 1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    return_code = 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "ENTRY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SET_CHG_FLAG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Updating Z023 table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_chg_flag.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;  SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;LOGIC for updation goes here&lt;/P&gt;&lt;P&gt;************************************&lt;/P&gt;&lt;P&gt;ENDFORM.                    "SET_CHG_FLAG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 16:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nace/m-p/2023038#M414274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: NACE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nace/m-p/2023039#M414275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 07:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nace/m-p/2023039#M414275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T07:37:20Z</dc:date>
    </item>
  </channel>
</rss>

