<?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: COMMIT at HR_INFOTYPE_OPERATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234381#M771694</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;Have you tried to excecute the function module&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'HR_INITIALIZE_BUFFER'.&lt;/STRONG&gt; just afert you have upadte your  group of absences ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2008 13:27:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-15T13:27:47Z</dc:date>
    <item>
      <title>COMMIT at HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234379#M771692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a little problem: I must update a group of abscences at infotype 2001 for an employee. So, what I want to do is a "none or everything" operation, I mean, if a update in one of the abscences was wrong, roolback the modifications for that employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to use the HR_INFOTYPE_OPERATION within a LOOP,  with the NOCOMMIT parameter set = 'X', and use a COMMIT WORK or a ROOLBACK outside, in my program. But I found out that it is not working like I've imagined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone have an idea? I don't want to use UPDATE command directly, because for infotypes it's not recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 12:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234379#M771692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T12:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT at HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234380#M771693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raphael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check if you have an option of VTASK with that FM, in that case pass VTASK as 'B', in case of all your records are successful then use Commit work else Rollback the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;~ Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 13:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234380#M771693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT at HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234381#M771694</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;Have you tried to excecute the function module&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'HR_INITIALIZE_BUFFER'.&lt;/STRONG&gt; just afert you have upadte your  group of absences ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 13:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234381#M771694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T13:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT at HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234382#M771695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jürgen!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was about to change the FM, but with your help I could see that the problem was I've used the FM 'HR_INITIALIZE_BUFFER' just after each call of FM 'HR_INFOTYPE OPERATION', so when the COMMIT WORK was called there was nothing to commit...hehe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now it's working fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 14:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-at-hr-infotype-operation/m-p/3234382#M771695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T14:01:51Z</dc:date>
    </item>
  </channel>
</rss>

