<?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: How to use the BAPI_PERSDATA_CHANGE BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013607#M1346510</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;You cannot use BAPI_PERSDATA_CHANGE from SE37 becz you need to use bapi_commit_transaction after using the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 17:24:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-12T17:24:07Z</dc:date>
    <item>
      <title>How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013606#M1346509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the BAPI_PERSDATA_CHANGE  using the se37 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use without the  BAPI_EMPLOYEE_ENQUEUE i get the error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employye/applicant is not locked yet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use the with BAPI_EMPLOYEE_ENQUEUE  ,then it gives me message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"make an entry in all required fields".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to change the "marital status" of the person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what are the required fileds i should fill for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 17:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013606#M1346509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T17:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013607#M1346510</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;You cannot use BAPI_PERSDATA_CHANGE from SE37 becz you need to use bapi_commit_transaction after using the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 17:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013607#M1346510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T17:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013608#M1346511</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;&lt;/P&gt;&lt;P&gt;  You can also use &lt;STRONG&gt;BAPI_INFOTYPE_OPERATION&lt;/STRONG&gt; for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty         = '0002'
              number        = g_pernr  "Personnel number
              validitybegin = p_dol_dt
              record        = gt_p0015   "Record should be of type p0002 and fetch and fill all the data in existing record.
              operation     = 'MOD'
            IMPORTING
              return        = gs_return.

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But anyhow both the FMs can not be used for testing in SE37 as it wont update any data.Instead u have to write a sample code in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vimal V on Aug 12, 2009 7:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 17:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013608#M1346511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T17:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013609#M1346512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the response.&lt;/P&gt;&lt;P&gt;but waht are the required fields that i need to lrovide to the BAPI  to avoid the error mkessage&lt;/P&gt;&lt;P&gt;"make entry in all required fields"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 17:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013609#M1346512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T17:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013610#M1346513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just fetch all the fields from the record you want to Modify from PA0002.&lt;/P&gt;&lt;P&gt;Pass it in the records importing parameter of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for other fields just follow the code snippet i pasted in my prvious post.Tell me if any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 17:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013610#M1346513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T17:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013611#M1346514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry but i did not get ur answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI   PERS_DATA_CHANGE&lt;/P&gt;&lt;P&gt;gives me an error asking me to fill the &lt;/P&gt;&lt;P&gt;"Make an entry in all required fields".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i coem to know which field are required.&lt;/P&gt;&lt;P&gt;Can you help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best Regards&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 12:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013611#M1346514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T12:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the BAPI_PERSDATA_CHANGE BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013612#M1346515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="calibri" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="12" __jive_macro_name="size"&gt;
In BAPI_PERSDATA_CHANGE BAPI, following fields are mandatory 

EMPLOYEENUMBER
SUBTYPE
OBJECTID
LOCKINDICATOR
VALIDITYBEGIN
VALIDITYEND
RECORDNUMBER

You should goto the import tab and check the optional column, if it is not ticked means the field is required field.

Regards,
Radhika.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 13:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-the-bapi-persdata-change-bapi/m-p/6013612#M1346515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T13:02:19Z</dc:date>
    </item>
  </channel>
</rss>

