<?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 Creating Infotype in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001163#M956006</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 creating an infotype using call transaction method for a file of pernrs.&lt;/P&gt;&lt;P&gt;  When I keep PA30 open for any pernr it does not create the infotype for that employee.&lt;/P&gt;&lt;P&gt;  So do I have lock and unlick each penr while creating and any function modules or BAPIs will be appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2008 13:52:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-17T13:52:44Z</dc:date>
    <item>
      <title>Creating Infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001163#M956006</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 creating an infotype using call transaction method for a file of pernrs.&lt;/P&gt;&lt;P&gt;  When I keep PA30 open for any pernr it does not create the infotype for that employee.&lt;/P&gt;&lt;P&gt;  So do I have lock and unlick each penr while creating and any function modules or BAPIs will be appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 13:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001163#M956006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T13:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001164#M956007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'ENQUEUE_EPPRELE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            pernr          = wa_hrrecord-pernr&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            foreign_lock   = 1&lt;/P&gt;&lt;P&gt;            system_failure = 2&lt;/P&gt;&lt;P&gt;            OTHERS         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;         CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              infty         = wa_hrrecord-infty&lt;/P&gt;&lt;P&gt;              number        = wa_hrrecord-pernr&lt;/P&gt;&lt;P&gt;              subtype       = wa_hrrecord-subty&lt;/P&gt;&lt;P&gt;              objectid      = wa_hrrecord-objid&lt;/P&gt;&lt;P&gt;              lockindicator = wa_hrrecord-lockind&lt;/P&gt;&lt;P&gt;              validityend   = wa_hrrecord-endda&lt;/P&gt;&lt;P&gt;              validitybegin = wa_hrrecord-begda&lt;/P&gt;&lt;P&gt;              recordnumber  = wa_hrrecord-seqnr&lt;/P&gt;&lt;P&gt;              record        = &amp;lt;fs_any&amp;gt;&lt;/P&gt;&lt;P&gt;              operation     = wa_hrrecord-operation&lt;/P&gt;&lt;P&gt;              tclas         = 'A'&lt;/P&gt;&lt;P&gt;              dialog_mode   = '0'&lt;/P&gt;&lt;P&gt;              nocommit      = v_simulate&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;              return        = wa_bapiret1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'DEQUEUE_EPPRELE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              pernr = wa_hrrecord-pernr.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 13:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001164#M956007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T13:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001165#M956008</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;Try using the function module 'HR_INFOTYPE_OPERATION' with Operation 'INS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example: If you want to Populate Infotype 0015 then take data from the file in an Internal Table having the PERNR and try to code in the following manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT ITAB_0015 into WA&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    ITAB_0015-INFTY = '0015'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        NUMBER = WA-PERNR&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        RETURN = RET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF  RET-MESSAGE IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          INFTY     = C_0015&lt;/P&gt;&lt;P&gt;          NUMBER    = WA-PERNR&lt;/P&gt;&lt;P&gt;          RECORD    = ITAB_0015&lt;/P&gt;&lt;P&gt;          OPERATION = C_INS&lt;/P&gt;&lt;P&gt;          TCLAS     = C_A&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          RETURN    = RET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          NUMBER = ITAB_0015-PERNR&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          RETURN = RET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 14:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001165#M956008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001166#M956009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have any further doubt in this then give me ur mail id , i will guide you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 14:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001166#M956009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T14:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001167#M956010</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;Go through the link given below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://saptechnical.com/Tutorials/HRABAP/PA30/Config1.htm" target="test_blank"&gt;http://saptechnical.com/Tutorials/HRABAP/PA30/Config1.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 15:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-infotype/m-p/4001167#M956010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T15:10:29Z</dc:date>
    </item>
  </channel>
</rss>

