<?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: HR ABAP issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476867#M223527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am checking both the solutions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution provided by amit. &lt;/P&gt;&lt;P&gt;The sy-subrc value is 0, but, not data is coming in mytext. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution provided by suresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the structures for p_pernr, p0019, p_date , p_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rp-read-infotype p_pernr 0019 p0019 p_date p_date.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers. &lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2006 12:08:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-11T12:08:11Z</dc:date>
    <item>
      <title>HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476864#M223524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find the way to read text for particular person number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the scenario, &lt;/P&gt;&lt;P&gt;1. goto t-code pa30. &lt;/P&gt;&lt;P&gt;2. insert 0019 in "infotype" field. &lt;/P&gt;&lt;P&gt;3. use search help to find "subtypes". &lt;/P&gt;&lt;P&gt;4. use any subtypes in your system. &lt;/P&gt;&lt;P&gt;5. press the display button. &lt;/P&gt;&lt;P&gt;6. you will be taken to "Display monitoring of tasks" screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to read the text data of "Comment" field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any table, where it is stored. &lt;/P&gt;&lt;P&gt;Do we have any funtion modules to do so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers. &lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 11:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476864#M223524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T11:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476865#M223525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we have to read such long text using&lt;/P&gt;&lt;P&gt;   class method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_HRPA_TEXT_CLUSTER=&amp;gt;READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This will return an internal table,&lt;/P&gt;&lt;P&gt;   with the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In your case, u will have to &lt;/P&gt;&lt;P&gt;   read record 1, 2, 3&lt;/P&gt;&lt;P&gt;   (for those 3 lines, which appear in that infotype )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. sample code&lt;/P&gt;&lt;P&gt;   just copy paste&lt;/P&gt;&lt;P&gt;  (just change the data as per your requirement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : pskey type pskey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : mytext type HRPAD_TEXT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-pernr = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-infty = '0102'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-subty = '4'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-objps = '00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-endda = '99991231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pskey-begda = '20060601'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_HRPA_TEXT_CLUSTER=&amp;gt;READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCLAS = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSKEY = pskey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NO_AUTH_CHECK = ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HISTO =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;UNAME =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;AEDTM =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PGMID =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT_TAB = mytext&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;CATCH CX_HRPA_MISSING_AUTHORIZATION .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CATCH CX_HRPA_VIOLATED_ASSERTION .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&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;&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>Fri, 11 Aug 2006 11:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476865#M223525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T11:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476866#M223526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they are stored in the PCL1 cluster.. you will have to read it form there..try the following..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables:
 pernr.
infotypes:
 0019.
data:  key like pskey.
data: begin of ptext occurs 200.
data:   line(78).
data: end of ptext.

rp-read-infotype p_pernr 0019 p0019 p_date p_date.
loop at p0019 where itxex eq 'X'.
  refresh ptext.
  move-corresponding p0019 to key.

  import ptext from database pcl1(tx) id key.

  loop at ptext.
    write :/ p_pernr,ptext-line.
  endloop.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 11:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476866#M223526</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-08-11T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476867#M223527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am checking both the solutions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution provided by amit. &lt;/P&gt;&lt;P&gt;The sy-subrc value is 0, but, not data is coming in mytext. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution provided by suresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the structures for p_pernr, p0019, p_date , p_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rp-read-infotype p_pernr 0019 p0019 p_date p_date.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers. &lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476867#M223527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476868#M223528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to declare p0019 structure as the infotypes statement takes care of it.. here are the other two..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters:
               p_pernr like pernr-pernr,
               p_date like sy-datum.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476868#M223528</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-08-11T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476869#M223529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;pskey-pernr = '1'.&lt;/P&gt;&lt;P&gt;pskey-infty = '0102'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;pskey-subty = '4'.&lt;/P&gt;&lt;P&gt;pskey-objps = '00'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;pskey-endda = '99991231'.&lt;/P&gt;&lt;P&gt;pskey-begda = '20060601'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For the fields, which are marked in bold,&lt;/P&gt;&lt;P&gt;  make sure the data goes AS IT IS&lt;/P&gt;&lt;P&gt;  which is there in the table pa0019,&lt;/P&gt;&lt;P&gt;  for that particular record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Most important is the OBJPS value&lt;/P&gt;&lt;P&gt;  (it can be blank, 00, etc&lt;/P&gt;&lt;P&gt;   just have a look in to the record of the table pa0019)&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>Fri, 11 Aug 2006 12:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476869#M223529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: HR ABAP issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476870#M223530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks suresh &amp;amp; amit, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh code extracted the required text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for both of you. &lt;/P&gt;&lt;P&gt;Have awarded the poitns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers. &lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-issue/m-p/1476870#M223530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:21:57Z</dc:date>
    </item>
  </channel>
</rss>

