<?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 Infotype 0105 Record insertion problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-0105-record-insertion-problem/m-p/8198349#M1625935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;         I am using the following code to insert a record in infotype 0105. But it is not inserting the record. anyone pls. tell me the problem in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number = wa_pernr-pernr
 IMPORTING
 RETURN = P_P_RETURN.

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty         = wa_pa0105-infty "p_p0015-infty
        number        = wa_pa0105-pernr
        subtype       = wa_pa0105-subty
        validityend   = wa_pa0105-endda
        validitybegin = wa_pa0105-begda
        record        = i_pa0105 "wa_pa0105 "p_p2002 "p_p0015
        operation     = 'INS'
        tclas         = 'A'
   "     dialog_mode   = '1'
      IMPORTING
        return        = p_p_return
        key           = l_key.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    "p_p_subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        number = wa_pernr-pernr&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt; RETURN = RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sohail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 09:56:34 GMT</pubDate>
    <dc:creator>muhammad_sohail</dc:creator>
    <dc:date>2011-09-15T09:56:34Z</dc:date>
    <item>
      <title>Infotype 0105 Record insertion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-0105-record-insertion-problem/m-p/8198349#M1625935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;         I am using the following code to insert a record in infotype 0105. But it is not inserting the record. anyone pls. tell me the problem in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number = wa_pernr-pernr
 IMPORTING
 RETURN = P_P_RETURN.

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty         = wa_pa0105-infty "p_p0015-infty
        number        = wa_pa0105-pernr
        subtype       = wa_pa0105-subty
        validityend   = wa_pa0105-endda
        validitybegin = wa_pa0105-begda
        record        = i_pa0105 "wa_pa0105 "p_p2002 "p_p0015
        operation     = 'INS'
        tclas         = 'A'
   "     dialog_mode   = '1'
      IMPORTING
        return        = p_p_return
        key           = l_key.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    "p_p_subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        number = wa_pernr-pernr&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt; RETURN = RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sohail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 09:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-0105-record-insertion-problem/m-p/8198349#M1625935</guid>
      <dc:creator>muhammad_sohail</dc:creator>
      <dc:date>2011-09-15T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Infotype 0105 Record insertion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-0105-record-insertion-problem/m-p/8198350#M1625936</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;Check the structure of i_pa0105 , it should refer to P0105.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 10:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-0105-record-insertion-problem/m-p/8198350#M1625936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T10:51:56Z</dc:date>
    </item>
  </channel>
</rss>

