<?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_READ_INFOTYPE problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160401#M994671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i have faced a similar problem.This happens because the program checks the buffer so  &lt;STRONG&gt;mark 'X' in the importing parameter 'BYPASS BUFFER while calling  function module 'HR_READ_INFOTYPE'&lt;/STRONG&gt; &amp;amp; also before calling the function module refresh your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2008 08:50:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-18T08:50:18Z</dc:date>
    <item>
      <title>HR_READ_INFOTYPE problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160400#M994670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I try to do some by pushing a button..&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REFRESH: T0298. CLEAR: T0298.
            CALL FUNCTION 'HR_READ_INFOTYPE'
              EXPORTING
                PERNR           = p0298-pernr
                INFTY           = '0298'
                BEGDA           = p0298-begda
                ENDDA           = p0298-endda
              TABLES
                INFTY_TAB       = T0298
              EXCEPTIONS
                INFTY_NOT_FOUND = 1
                OTHERS          = 2.
            IF sy-subrc eq 0.
              LOOP AT T0298.
                IF T0298-IDENTD ne ''.
                  p0298-IDENTD = T0298-IDENTD.
                  p0298-ZZIDGROUP = T0298-ZZIDGROUP.
                  m_objid = T0298-IDENTD.
                  EXIT.
                ELSE.
                  p0298-IDENTD = m_objid.
                  p0298-ZZIDGROUP = ln_number.
                  EXIT.
                ENDIF.
              ENDLOOP.
            ENDIF.

            p0298-status = 'smth'.

            CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
              EXPORTING
                NUMBER = p0298-pernr.
            CALL FUNCTION 'HR_INFOTYPE_OPERATION'
              EXPORTING
                INFTY         = '0298'
                NUMBER        = p0298-pernr
                LOCKINDICATOR = ''
                VALIDITYEND   = p0298-endda
                VALIDITYBEGIN = p0298-begda
                RECORD        = p0298
                OPERATION     = 'MOD' "or MOD or DEL
                NOCOMMIT      = ''
                tclas         = 'A'
              IMPORTING
                RETURN        = RETURN
              EXCEPTIONS
                OTHERS        = 0.
            IF return-type = 'E'.
              MESSAGE ID return-ID TYPE 'E' NUMBER RETURN-NUMBER.
            ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first time&lt;/STRONG&gt; i've pushed the button i see the value IDENTD in pa0298 is not empty. 'HR_INFOTYPE_OPERATION' work fine.&lt;/P&gt;&lt;P&gt;but &lt;STRONG&gt;second time&lt;/STRONG&gt; i've pushed the button i suppose to get the value  IDENTD in structure T0298.&lt;/P&gt;&lt;P&gt;'HR_READ_INFOTYPE' sy-subrc = 0. but  IDENTD and &lt;/P&gt;&lt;P&gt;ZZIDGROUP is clear!!! though it's in the database it has values.&lt;/P&gt;&lt;P&gt;and when i push the button the &lt;STRONG&gt;third time&lt;/STRONG&gt; - 'HR_READ_INFOTYPE' works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thankful for any ideas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 08:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160400#M994670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T08:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: HR_READ_INFOTYPE problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160401#M994671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i have faced a similar problem.This happens because the program checks the buffer so  &lt;STRONG&gt;mark 'X' in the importing parameter 'BYPASS BUFFER while calling  function module 'HR_READ_INFOTYPE'&lt;/STRONG&gt; &amp;amp; also before calling the function module refresh your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 08:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160401#M994671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T08:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: HR_READ_INFOTYPE problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160402#M994672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 09:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-read-infotype-problem/m-p/4160402#M994672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T09:05:29Z</dc:date>
    </item>
  </channel>
</rss>

