<?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: using HR_INFOTYPE_OPERATIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873159#M367419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mittal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks for the suggestion. i will look into it. presently i am working on the "basicpay-pa0008". in my project i have to load data in wage type table control .I have to insert 10 wage type and their respective amount..how can i load the data in the table control for 10 wage types using bapi- " BAPI_BASICPAY_CREATE".&lt;/P&gt;&lt;P&gt;because in the function module there is only one field "WAGETYPES" under tables. &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;&lt;/P&gt;&lt;P&gt;aeroshil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jan 2007 06:55:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-24T06:55:43Z</dc:date>
    <item>
      <title>using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873153#M367413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing some problems while using the fm HR_INFOTYPE_OPERATION. I have uploaded the data for a particular infotype (say 0009) from the flat file. Now, I am looping through this internal table and calling this function module inside the loop after assigning the required values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first iteration of the loop the function works fine and updates 1st records, but it doesnt update rest of the records. Also, I tried using dialog_mode = '2' which is used to show the screens while it updates the infotypes using pa30, but this also works only for the first record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While looking for the same problem on SDN, the suggested solutions are "Wait upto 10 seconds"  as there may be some time constraint before uploading the second record, but I dont think so. Someone else suggested the use of some buffer of PA30... here is the link &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="134238"&gt;&lt;/A&gt; Also tell me the significance of return as the importing parameter of this fm. I am also attaching the source code with this mail for you reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 11:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873153#M367413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T11:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873154#M367414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of using this FM..&lt;/P&gt;&lt;P&gt;use BAPI - BAPI_BANKDETAIL_CREATE&lt;/P&gt;&lt;P&gt;1) do a loop at ur internal table.&lt;/P&gt;&lt;P&gt;2) lock personnel number via FM BAPI_EMPLOYEE_ENQUEUE&lt;/P&gt;&lt;P&gt;3) call BAPI   BAPI_BANKDETAIL_CREATE   "u can also call Fm Commit_bapi after this.&lt;/P&gt;&lt;P&gt;4) unlock Employee number -&lt;/P&gt;&lt;P&gt;BAPI_EMPLOYEET_DEQUEUE&lt;/P&gt;&lt;P&gt;5) endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 11:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873154#M367414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873155#M367415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aeroshil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. tell me the significance of return as the importing parameter of this fm.&lt;/P&gt;&lt;P&gt;  RETURN&lt;/P&gt;&lt;P&gt;  If there are any errors while posting data to infotype,&lt;/P&gt;&lt;P&gt;  this RETURN structure will contain the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. While looping, we can put many records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Make sure u are putting correct values in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Also make sure, &lt;/P&gt;&lt;P&gt;   u are ENQUEING the employee , before using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Sample code - Just copy paste&lt;/P&gt;&lt;P&gt;5. U can change the pernr and amount values as per requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt; Data&lt;/P&gt;&lt;P&gt;DATA : P0015 LIKE P0015.&lt;/P&gt;&lt;P&gt;DATA : RETURN LIKE BAPIRETURN1.&lt;/P&gt;&lt;P&gt;DATA : KEY LIKE BAPIPAKEY.&lt;/P&gt;&lt;P&gt;DATA : RETURNE LIKE BAPIRETURN1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; Values (Change as per Requirement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P0015-PERNR = '1'.&lt;/P&gt;&lt;P&gt;P0015-BEGDA = '2061101'.&lt;/P&gt;&lt;P&gt;P0015-ENDDA = '2061101'.&lt;/P&gt;&lt;P&gt;P0015-LGART = '3075'.&lt;/P&gt;&lt;P&gt;P0015-PREAS = '01'.&lt;/P&gt;&lt;P&gt;P0015-WAERS = 'INR'.&lt;/P&gt;&lt;P&gt;P0015-BETRG = '2500'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----- First Enqu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;NUMBER = p0015-pernr&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURNE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; Update&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 = '0015'&lt;/P&gt;&lt;P&gt;NUMBER = P0015-PERNR&lt;/P&gt;&lt;P&gt;SUBTYPE = P0015-SUBTY&lt;/P&gt;&lt;P&gt;OBJECTID = P0015-OBJPS&lt;/P&gt;&lt;P&gt;LOCKINDICATOR = P0015-SPRPS&lt;/P&gt;&lt;P&gt;VALIDITYEND = P0015-ENDDA&lt;/P&gt;&lt;P&gt;VALIDITYBEGIN = P0015-BEGDA&lt;/P&gt;&lt;P&gt;RECORDNUMBER = P0015-SEQNR&lt;/P&gt;&lt;P&gt;RECORD = P0015&lt;/P&gt;&lt;P&gt;OPERATION = 'INS'&lt;/P&gt;&lt;P&gt;TCLAS = 'A'&lt;/P&gt;&lt;P&gt;DIALOG_MODE = '0'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;KEY = KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF RETURN IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'Error Occurred'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt; Dequeue&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 = P0015-PERNR&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>Tue, 23 Jan 2007 11:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873155#M367415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T11:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873156#M367416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;it worked out. now i have to pupulate data in infotypes &lt;/P&gt;&lt;P&gt;   1) pa0008- basic pay&lt;/P&gt;&lt;P&gt;   2) pa0007- planned working type&lt;/P&gt;&lt;P&gt;   3) pa0014-recurring payment deduction&lt;/P&gt;&lt;P&gt;  4)  pa0015- additional payments &lt;/P&gt;&lt;P&gt;  5) pa0045-company loans &lt;/P&gt;&lt;P&gt;  6) pa0185- personal id &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;i fould out a function module for basic pay - " BAPI_BASICPAY_CREATE".&lt;/P&gt;&lt;P&gt;so in this case also do i have to run the enque and deque pernr inside the loop before and after this function module "bapi_basicpay_create".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about the other infotype ? i want to know about the above mentioned infotypes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aeroshil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 05:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873156#M367416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T05:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873157#M367417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;the updatation of infotype pa0008- basicpay requires the filling of table control wage type and amount.how do i upload the data for wage type and amount..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aeroshil nameirakpam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 06:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873157#M367417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T06:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873158#M367418</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;1. pa0008- basic pay&lt;/P&gt;&lt;P&gt;2) pa0007- planned working type&lt;/P&gt;&lt;P&gt;3) pa0014-recurring payment deduction&lt;/P&gt;&lt;P&gt;4) pa0015- additional payments &lt;/P&gt;&lt;P&gt;5) pa0045-company loans &lt;/P&gt;&lt;P&gt;6) pa0185- personal &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all these infotypes, u can use the same FM HR_INFOTYPE_OPERATIONS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(0008 will also work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. But normally, its easier for 0008 to use BAPI_BASICPAY_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In all cases, &lt;/P&gt;&lt;P&gt;    before using any of the FM, for any pern,&lt;/P&gt;&lt;P&gt;   its necessary to ENQUEU the pernr,&lt;/P&gt;&lt;P&gt;  otherwise it will not work.&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>Wed, 24 Jan 2007 06:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873158#M367418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T06:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873159#M367419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mittal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks for the suggestion. i will look into it. presently i am working on the "basicpay-pa0008". in my project i have to load data in wage type table control .I have to insert 10 wage type and their respective amount..how can i load the data in the table control for 10 wage types using bapi- " BAPI_BASICPAY_CREATE".&lt;/P&gt;&lt;P&gt;because in the function module there is only one field "WAGETYPES" under tables. &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;&lt;/P&gt;&lt;P&gt;aeroshil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 06:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873159#M367419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T06:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873160#M367420</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;1. In the FM, there is on TABLES parameter,&lt;/P&gt;&lt;P&gt;  WAGETYPES	LIKE	BAPIP0008P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In that,&lt;/P&gt;&lt;P&gt;  populate 10 records for 10 wage types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. This internal table is nothing but &lt;/P&gt;&lt;P&gt;    mirror representation of the &lt;/P&gt;&lt;P&gt;   table control in infotype 0008 screen.&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>Wed, 24 Jan 2007 07:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873160#M367420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T07:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: using HR_INFOTYPE_OPERATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873161#M367421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know any special function module is used for "planned working time"&lt;/P&gt;&lt;P&gt;or can i use the same "HR_INFOTYPE_OPERATIONS" with enque and deque pernr operation.  &lt;/P&gt;&lt;P&gt;another thing can i modify the data already uploaded using any of the function module just giving "MOD"  in "operation" of  HR_INFOTYPE_OPERATIONS.&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;&lt;/P&gt;&lt;P&gt;aeroshil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 05:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hr-infotype-operations/m-p/1873161#M367421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-25T05:49:35Z</dc:date>
    </item>
  </channel>
</rss>

