<?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 Issue with HR_MAINTAIN_MASTERDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007954#M1345471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an problem concerning the HR_MAINTAIN_MASTERDATA MF.&lt;/P&gt;&lt;P&gt;I intend to copy one infotype 1 entry with a different begin date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested the MF in se37 and it works fine. A new IT is created with the correct dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I call this MF in my Zprogram (with the exact same parameters), nothing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a few debugs, I've found that the problem comes from the "COMMIT WORK".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I test the MF in se37, the "COMMIT WORK" runs the following line "PERFORM PUT_INFOTYP_BUFFER ON COMMIT." (which is called few lines upper in PERFORM PUT_INFOTYP_BUFFER_COMMIT). And the PUT_INFOTYP_BUFFER form is the one that write data that will be commited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Zprogram, the "COMMIT WORK" that is in HR_MAINTAIN_MASTERDATA is doing... nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody has an idea why ?&lt;/P&gt;&lt;P&gt;Is it something about global parameters ?&lt;/P&gt;&lt;P&gt;And is there any workaround ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 06:59:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T06:59:01Z</dc:date>
    <item>
      <title>Issue with HR_MAINTAIN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007954#M1345471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an problem concerning the HR_MAINTAIN_MASTERDATA MF.&lt;/P&gt;&lt;P&gt;I intend to copy one infotype 1 entry with a different begin date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested the MF in se37 and it works fine. A new IT is created with the correct dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I call this MF in my Zprogram (with the exact same parameters), nothing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a few debugs, I've found that the problem comes from the "COMMIT WORK".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I test the MF in se37, the "COMMIT WORK" runs the following line "PERFORM PUT_INFOTYP_BUFFER ON COMMIT." (which is called few lines upper in PERFORM PUT_INFOTYP_BUFFER_COMMIT). And the PUT_INFOTYP_BUFFER form is the one that write data that will be commited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Zprogram, the "COMMIT WORK" that is in HR_MAINTAIN_MASTERDATA is doing... nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody has an idea why ?&lt;/P&gt;&lt;P&gt;Is it something about global parameters ?&lt;/P&gt;&lt;P&gt;And is there any workaround ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 06:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007954#M1345471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T06:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with HR_MAINTAIN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007955#M1345472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pierre, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We face the same issue with COMMIT WORK inside FM HR_MAINTAIN_MASTERDATA used in a Zprogram : at the COMMIT WORK instruction, employee is unlocked and then, update of other infotypes fail in error. This behaviour is not the same between our development and quality system and we don't understand why, we search for a while and didn't find any solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find a solution ? If yes, could you help me please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Lionel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 17:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007955#M1345472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T17:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with HR_MAINTAIN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007956#M1345473</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;Please check note &lt;A href="https://service.sap.com/sap/support/notes/1487481"&gt;1487481&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try inserting &lt;SPAN class="L0S52"&gt;SET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;UPDATE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TASK &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LOCAL. before the COMMIT WORK AND WAIT. &lt;/SPAN&gt;Maybe there's some V2 Updates that don't commit in time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-hr-maintain-masterdata/m-p/6007956#M1345473</guid>
      <dc:creator>former_member184675</dc:creator>
      <dc:date>2012-11-06T22:30:05Z</dc:date>
    </item>
  </channel>
</rss>

