<?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 Standard programs to upload / update infotypes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740047#M1112041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide updates for this question:&lt;/P&gt;&lt;P&gt;What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .&lt;/P&gt;&lt;P&gt;I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs &lt;/P&gt;&lt;P&gt;before going ahead with BDC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt; Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2008 17:20:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-29T17:20:29Z</dc:date>
    <item>
      <title>Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740047#M1112041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide updates for this question:&lt;/P&gt;&lt;P&gt;What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .&lt;/P&gt;&lt;P&gt;I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs &lt;/P&gt;&lt;P&gt;before going ahead with BDC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt; Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 17:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740047#M1112041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T17:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740048#M1112042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked fm call function 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 17:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740048#M1112042</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-10-29T17:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740049#M1112043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HR_INFOTYPE_OPERATION is the FM that will is used for uploads for almost all infotypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 17:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740049#M1112043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T17:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740050#M1112044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are on ECC 5.0 and + you can use DTT. SAP Best Practices. Go to SE38 and look for /HRBP/* programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 17:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740050#M1112044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T17:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740051#M1112045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use standard programs (direct input )  before going ahead with BDC / functions .&lt;/P&gt;&lt;P&gt;Also, I could not find any program like  &lt;STRONG&gt;/HRBP/&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a program to 'transfer master data' - RPUSTD00 .&lt;/P&gt;&lt;P&gt;It works for very few infotypes . &lt;/P&gt;&lt;P&gt;Could you please tell me if there are such other programs which will update infotype ex:  0021 / 0171 / 0170&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 18:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740051#M1112045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T18:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740052#M1112046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide updates for this question:&lt;/P&gt;&lt;P&gt;What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .&lt;/P&gt;&lt;P&gt;I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs &lt;/P&gt;&lt;P&gt;before going ahead with BDC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;P&gt;Hi Rohan ,&lt;/P&gt;&lt;P&gt;     you can update you infotype using 'HR_INFOTYPE_OPERATION' function module .&lt;/P&gt;&lt;P&gt;1)   transfer all your excel data  into internal table .&lt;/P&gt;&lt;P&gt;2)   loop at internal table&lt;/P&gt;&lt;P&gt;3)  fill all the required field of that infotype .&lt;/P&gt;&lt;P&gt;4) lock table&lt;/P&gt;&lt;P&gt;5) call that functuion module .&lt;/P&gt;&lt;P&gt;6) unlock table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for this fallow the below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_p0169 TYPE STANDARD TABLE OF pa0169 WITH HEADER LINE.  (make internal table according to your requirment)&lt;/P&gt;&lt;P&gt;DATA: wa_p0169  TYPE p0169.&lt;/P&gt;&lt;P&gt;LOOP AT it_file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      v_eeamt = it_file-pct_gross.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Pre-Tax Contribution Percentage&lt;/P&gt;&lt;P&gt;      v_eepct = v_eeamt / 10.&lt;/P&gt;&lt;P&gt;      v_begda = it_file-datchngd .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Appending into header (these all are the required filed in my case )&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     it_p0169-eeamt =  v_eeamt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      it_p0169-begda =  v_begda.&lt;/P&gt;&lt;P&gt;      it_p0169-eepct =  v_eepct.&lt;/P&gt;&lt;P&gt;      it_p0169-bplan =  v_bplan .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR wa_p0169.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING it_p0169 TO wa_p0169.&lt;/P&gt;&lt;P&gt;      wa_p0169-INFTY = '0169'.    (not forget to pass infotype no in the header )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_action_ins  TYPE pspar-actio VALUE 'MOD',   (it can be also COP for Copy , DEL for Delete , DIS for Display , MOD to Change , LIS9 to  Delimit , INS to Create )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           c_infty_0169  TYPE prelp-infty VALUE '0169'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: it_return  TYPE bapireturn1. (as it is )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: it_return  TYPE bapireturn1.&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 = p_pernr&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 1.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;     RAISE enqueue_FAILED.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&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_infty_0169&lt;/P&gt;&lt;P&gt;    number                 = p_wa_0169-pernr&lt;/P&gt;&lt;P&gt;    SUBTYPE                = '401K'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OBJECTID               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LOCKINDICATOR          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    validityend            = p_wa_0169-endda&lt;/P&gt;&lt;P&gt;    validitybegin          = v_begda1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RECORDNUMBER           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    record                 = p_wa_0169&lt;/P&gt;&lt;P&gt;    operation              = c_action_ins&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TCLAS                  = 'A'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DIALOG_MODE            = '0'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NOCOMMIT               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    VIEW_IDENTIFIER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SECONDARY_RECORD       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    return                 = it_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if it_return-MESSAGE is not initial .&lt;/P&gt;&lt;P&gt;     delete it_file .&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; commit work .&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 = p_pernr&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;     RAISE DEQUEUE_FAILED.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy &lt;/P&gt;&lt;P&gt; Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 05:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740052#M1112046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T05:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Standard programs to upload / update infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740053#M1112047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using BAPI  Function HR Maintain masterdata to update infotypes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all the inputs .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 18:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-programs-to-upload-update-infotypes/m-p/4740053#M1112047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T18:50:03Z</dc:date>
    </item>
  </channel>
</rss>

