<?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: Modifying Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160420#M1370045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No suitable answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 07:07:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-07T07:07:41Z</dc:date>
    <item>
      <title>Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160414#M1370039</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 am working with function module FIAA_CHECK_REPORTING_DATE for creating asset histpry sheet report.&lt;/P&gt;&lt;P&gt;My requirement is to bring the report according to the input date, but the report is generating with the last date&lt;/P&gt;&lt;P&gt;of tht fiscal year. I have made ANLA0-xnocheck into not initial as shown in bold. What are all the changes that&lt;/P&gt;&lt;P&gt;i have to so that my report will be generated according to the input date range.&lt;/P&gt;&lt;P&gt;I have debugged the code and found that cursor is jumping to endform from line CHECK *NOT &lt;STRONG&gt;ANLA0-XNOCHECK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;""code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CHECK_BERDATUM USING VALUE(V_BUKRS)  LIKE T093C-BUKRS&lt;/P&gt;&lt;P&gt;                          VALUE(V_AFABER) LIKE T093-AFABER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Prüfung wird nur durchgeführt, wenn das Kennzeichen gesetzt ist.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CHECK *NOT &lt;STRONG&gt;ANLA0-XNOCHECK&lt;/STRONG&gt; IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CHECK NOT V_BUKRS  IS INITIAL AND&lt;/P&gt;&lt;P&gt;         NOT BERDATUM IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF V_AFABER IS INITIAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'FIAA_CHECK_REPORTING_DATE'&lt;/P&gt;&lt;P&gt;           EXPORTING   I_DATE           = BERDATUM&lt;/P&gt;&lt;P&gt;                       I_XGBAF          = *ANLA0-XGBAF&lt;/P&gt;&lt;P&gt;                       I_BUKRS          = V_BUKRS.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'FIAA_CHECK_REPORTING_DATE'&lt;/P&gt;&lt;P&gt;           EXPORTING   I_DATE           = BERDATUM&lt;/P&gt;&lt;P&gt;                       I_XGBAF          = *ANLA0-XGBAF&lt;/P&gt;&lt;P&gt;                       I_BUKRS          = V_BUKRS&lt;/P&gt;&lt;P&gt;                       I_AFABER         = V_AFABER.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 06:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160414#M1370039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160415#M1370040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While debugging if the code is jumping to the endform at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CHECK *NOT ANLA0-XNOCHECK IS INITIAL.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means that *ANLA0-XNOCHECK is initial and that the condition is failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 06:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160415#M1370040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T06:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160416#M1370041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In spite of my answer is not connected with your problem, but.. why don't you use J_3R_ASSET_HIST_VALUE function module?&lt;/P&gt;&lt;P&gt;It has an import parameter named Date of report and returns an internal table with history of certain assets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 07:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160416#M1370041</guid>
      <dc:creator>Petr_Plenkov</dc:creator>
      <dc:date>2009-10-05T07:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160417#M1370042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply i have tested with *CHECK &lt;STRONG&gt;ANLA0-XNOCHECK IS INITIAL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here my cursor is moving to next line but when i am trying to execute the report&lt;/P&gt;&lt;P&gt;then a error message is coming saying &lt;STRONG&gt;Report date 02/208/2009 is invalid for this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;report.&lt;/STRONG&gt;  While my debugging it is taking into function module "FIAA_CHECK_REPORTING_DATE"&lt;/P&gt;&lt;P&gt;which is there after else part. So wht are all the chnages tht is have to do in function module &lt;/P&gt;&lt;P&gt;FIAA_CHECK_REPORTING_DATE by which i can extract the report with the given date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ii have changed the bold code to CHECK NOT *ANLA0-XNOCHECK IS INITIAL by which&lt;/P&gt;&lt;P&gt;the report is work but the data which is fetching is not correct data according to the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;VENk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 07:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160417#M1370042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T07:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160418#M1370043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the standard LDB (ADA). I have copied ADA into ZADA and i have tried to change&lt;/P&gt;&lt;P&gt;INCLUDE DBADAPAI by copying into ZDBADAPAI. In that include program you can see my posted code.&lt;/P&gt;&lt;P&gt;If possible please suggest me according from my struck up position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;VENk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 07:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160418#M1370043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T07:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160419#M1370044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any more answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 09:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160419#M1370044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160420#M1370045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No suitable answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-function-module/m-p/6160420#M1370045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T07:07:41Z</dc:date>
    </item>
  </channel>
</rss>

