<?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: how to implement a note by code note:753708 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-implement-a-note-by-code-note-753708/m-p/1854796#M361566</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;You can use the split-screen editor to adjust the corrections from the SAP Note to your modifications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this link for more information.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1d/3abf3a7d37b04ee10000000a11402f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1d/3abf3a7d37b04ee10000000a11402f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2007 19:12:43 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-01-18T19:12:43Z</dc:date>
    <item>
      <title>how to implement a note by code note:753708</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-implement-a-note-by-code-note-753708/m-p/1854795#M361565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!!!&lt;/P&gt;&lt;P&gt;I need to implement a note but i need do it by code because the transaction SNOTE  does not work.&lt;/P&gt;&lt;P&gt;does anybody know what do i need to do? this note refrence to HLACTRM0 program.&lt;/P&gt;&lt;P&gt;the note has this code below but i dont know that part to delete or to insert because i didn't find the code below&lt;/P&gt;&lt;P&gt;Please help me  i'll reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR : wa_p0416, wa_p2006, wa_cmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Preliminar :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete Block  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get number of days per year :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'HR_MX_DAYS_PER_YEAR'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;             I_DATE             = date&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;             E_DAYS_PER_YEAR    = days_in_period&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;             NO_ENTRY_IN_T511K  = 1&lt;/P&gt;&lt;P&gt;             OTHERS             = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get currency :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert Block  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get currency :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta 002Context Block  &lt;/P&gt;&lt;P&gt;            wa_p0416-numbr = days_to_liq.&lt;/P&gt;&lt;P&gt;            APPEND wa_p0416 TO p0416_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ELSEIF date GE wa_p2006-begda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete Block  &lt;/P&gt;&lt;P&gt;            days_worked    = date - wa_p2006-begda + 1.&lt;/P&gt;&lt;P&gt;665633&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert Block  &lt;/P&gt;&lt;P&gt;        days_in_period = wa_p2006-endda - wa_p2006-begda + 1.&lt;/P&gt;&lt;P&gt;        days_worked    = date           - wa_p2006-begda + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta 003Context Block  &lt;/P&gt;&lt;P&gt;        IF do_simulation EQ 'X'.&lt;/P&gt;&lt;P&gt;          IF days_to_liq EQ 0. days_to_liq = 0. ENDIF.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          IF days_to_liq LT 0. days_to_liq = 0. ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete Block  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;store register with days to pay :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            wa_p0416-numbr = days_to_liq.&lt;/P&gt;&lt;P&gt;            APPEND wa_p0416 TO p0416_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;store register with days not paid :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       store register with days to pay :&lt;/P&gt;&lt;P&gt;        wa_p0416-numbr = days_to_liq.&lt;/P&gt;&lt;P&gt;        APPEND wa_p0416 TO p0416_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      store register with days not paid :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 19:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-implement-a-note-by-code-note-753708/m-p/1854795#M361565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a note by code note:753708</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-implement-a-note-by-code-note-753708/m-p/1854796#M361566</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;You can use the split-screen editor to adjust the corrections from the SAP Note to your modifications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this link for more information.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1d/3abf3a7d37b04ee10000000a11402f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1d/3abf3a7d37b04ee10000000a11402f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 19:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-implement-a-note-by-code-note-753708/m-p/1854796#M361566</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-01-18T19:12:43Z</dc:date>
    </item>
  </channel>
</rss>

