<?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: read/write hr infotype 2003 note in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130641#M111586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Text will be stored in PCL1 cluster.Please see one&lt;/P&gt;&lt;P&gt;  way of reading data from Cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Include for PCL1
INCLUDE RPC1TX00.



 CLEAR gs_p0219.
  CLEAR gt_p0219_text.
  REFRESH gt_p0219_text.

  SELECT * INTO CORRESPONDING FIELDS OF gs_p0219
   FROM pa0219
   WHERE pernr = gd_pernr
     AND subty = '5'
     AND endda = '99991231'.
  ENDSELECT.

  IF gs_p0219-itxex = 'X'.
    gs_p0219-infty = '0219'.
* Get IT0219 comments from cluster table PCL1
    CLEAR tx-key.
    MOVE-CORRESPONDING gs_p0219 TO tx-key.
    MOVE '0219' TO tx-key-infty.

    IMPORT  text-version
            ptext
            FROM DATABASE pcl1(tx)
            ID tx-key.
    IF sy-subrc = 0.
* Write out text
      LOOP AT ptext.
        WRITE ptext-line TO gt_p0219_text-text_line.
        APPEND gt_p0219_text.
        CLEAR  gt_p0219_text.
      ENDLOOP.
    ENDIF.
  ENDIF.

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the same way you can write using EXPORT statement to the PCL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regrads,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2006 15:36:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-25T15:36:34Z</dc:date>
    <item>
      <title>read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130639#M111584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anybody know how to read or write a note (accessible through F9) from ABAP? I cannot seem to get the usual object/name values to access through READ_TEXT.&lt;/P&gt;&lt;P&gt;I have tried through macros without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 15:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130639#M111584</guid>
      <dc:creator>Phillip_Morgan</dc:creator>
      <dc:date>2006-01-25T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130640#M111585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I could only manage to find&lt;/P&gt;&lt;P&gt;   where the information is stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I m still finding&lt;/P&gt;&lt;P&gt;    how to retrive it exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Its stored in cluster table PCL1&lt;/P&gt;&lt;P&gt;   The key will be combined&lt;/P&gt;&lt;P&gt;   of personnel number (2102 in this case)&lt;/P&gt;&lt;P&gt;   , the BEGDA, ENDDA&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;0000210200080      9999123120050801000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. the RELID is TX (for texts)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 15:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130640#M111585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-25T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130641#M111586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Text will be stored in PCL1 cluster.Please see one&lt;/P&gt;&lt;P&gt;  way of reading data from Cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Include for PCL1
INCLUDE RPC1TX00.



 CLEAR gs_p0219.
  CLEAR gt_p0219_text.
  REFRESH gt_p0219_text.

  SELECT * INTO CORRESPONDING FIELDS OF gs_p0219
   FROM pa0219
   WHERE pernr = gd_pernr
     AND subty = '5'
     AND endda = '99991231'.
  ENDSELECT.

  IF gs_p0219-itxex = 'X'.
    gs_p0219-infty = '0219'.
* Get IT0219 comments from cluster table PCL1
    CLEAR tx-key.
    MOVE-CORRESPONDING gs_p0219 TO tx-key.
    MOVE '0219' TO tx-key-infty.

    IMPORT  text-version
            ptext
            FROM DATABASE pcl1(tx)
            ID tx-key.
    IF sy-subrc = 0.
* Write out text
      LOOP AT ptext.
        WRITE ptext-line TO gt_p0219_text-text_line.
        APPEND gt_p0219_text.
        CLEAR  gt_p0219_text.
      ENDLOOP.
    ENDIF.
  ENDIF.

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the same way you can write using EXPORT statement to the PCL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regrads,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 15:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130641#M111586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-25T15:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130642#M111587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to both. I actually got there just before reading the posts.&lt;/P&gt;&lt;P&gt;Here is a cleaned up example with minimum necessary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zpm_hr_texte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;     pcl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Need this include&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INCLUDE:&lt;/P&gt;&lt;P&gt;    rpc1tx00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill tx-key&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tx-key-pernr = 39.&lt;/P&gt;&lt;P&gt;  tx-key-infty = 2002.&lt;/P&gt;&lt;P&gt;  tx-key-subty = '0800'.&lt;/P&gt;&lt;P&gt;  tx-key-endda = '20060124'.&lt;/P&gt;&lt;P&gt;  tx-key-begda = '20060124'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Did not need these&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*TX-KEY-OBJPS =&lt;/P&gt;&lt;P&gt;*TX-KEY-SPRPS =&lt;/P&gt;&lt;P&gt;*TX-KEY-SEQNR =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;import from cluster&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORT ptext FROM DATABASE pcl1(tx) ID tx-key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Loop to view/handle&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    LOOP AT ptext.&lt;/P&gt;&lt;P&gt;      WRITE : / ptext-line.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 16:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130642#M111587</guid>
      <dc:creator>Phillip_Morgan</dc:creator>
      <dc:date>2006-01-25T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130643#M111588</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 HR_ECM_READ_TEXT_INFOTYPE to read the notes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2006 16:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130643#M111588</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-01-25T16:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: read/write hr infotype 2003 note</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130644#M111589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read the text of infotype 0015.&lt;/P&gt;&lt;P&gt;Can I use a macro and which one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I see the texts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hennie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-write-hr-infotype-2003-note/m-p/1130644#M111589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:16:28Z</dc:date>
    </item>
  </channel>
</rss>

