<?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: BAPI HR_INFOTYPE_OPERATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364568#M1038702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's not clear too but you have give me an idea thanks a lot &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2008 09:39:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-28T09:39:22Z</dc:date>
    <item>
      <title>BAPI HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364566#M1038700</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;I use Bapi HR_INFOTYPE_OPERATION to modify the infotype 0001.&lt;/P&gt;&lt;P&gt;for that i use this function with in import : pernr :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:  w_return  like  bapireturn1,
        w_key like  bapipakey.
data: VALIDITYEND type pa0001-endda.
data: VALIDITYBEGIN type pa0001-begda .

data:fs_pa0001 type p0001.

select single *
from pa0001
into  corresponding fields of fs_pa0001
where pernr = pernr.


VALIDITYEND = fs_pa0001-endda.
VALIDITYBEGIN = fs_pa0001-begda.

clear fs_pa0001-KOStl.

CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = fs_pa0001-pernr.


call function 'HR_INFOTYPE_OPERATION'

    exporting
      infty                  = '0001'
      number                 = pernr
*   SUBTYPE                =
*   OBJECTID               =
*   LOCKINDICATOR          =
   validityend            = VALIDITYEND
   validitybegin          = VALIDITYBEGIN
*   RECORDNUMBER           =
      record                 = fs_pa0001
      operation              = 'INSS'
   TCLAS                  = 'A'
   DIALOG_MODE            = '0'
    NOCOMMIT               = X
*   VIEW_IDENTIFIER        =
*   SECONDARY_RECORD       =
 importing
   return                 = w_return
   key                    = w_key.

CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = fs_pa0001-pernr.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function work and the pernr-KOSTL is empty but I need to refresh in PA30 the Personnel Number ( Enter to take the modification )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All that is a test because i need to use that when i am in the transaction PA40. but the personnel number must be refresh to take the modification. Can i refresh Personnel Number to take the modification in my program (my program is in an badi : HRPAD00INFTY)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's clear &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 09:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364566#M1038700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T09:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364567#M1038701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's clear &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not really. But sounds that you have the intgration active and in that case the costcenter shouldnt be updated in the PA area but in the org structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 09:29:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364567#M1038701</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-08-28T09:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364568#M1038702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's not clear too but you have give me an idea thanks a lot &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 09:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-hr-infotype-operation/m-p/4364568#M1038702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T09:39:22Z</dc:date>
    </item>
  </channel>
</rss>

