<?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: RH_INSERT_INFTY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109008#M440469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 17:23:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T17:23:23Z</dc:date>
    <item>
      <title>RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109002#M440463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to insert infotype 1008 by using the following piece of code but it does not work. Can anyone please tell me if I am doing anything wrong in here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_p1008 TYPE STANDARD TABLE OF P1008,&lt;/P&gt;&lt;P&gt;      lwt_1008 like line of l_p1008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwt_1008-objid = wa_objid.&lt;/P&gt;&lt;P&gt;lwt_1008-begda = sy-datum.&lt;/P&gt;&lt;P&gt;lwt_1008-endda = sy-datum.&lt;/P&gt;&lt;P&gt;lwt_1008-bukrs = p1008-bukrs.&lt;/P&gt;&lt;P&gt;lwt_1008-gsber = p1008-gsber.&lt;/P&gt;&lt;P&gt;lwt_1008-infty  = '1008'.&lt;/P&gt;&lt;P&gt;lwt_1008-istat = '1'.&lt;/P&gt;&lt;P&gt;lwt_1008-plvar = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND lwt_1008 to l_p1008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'RH_INSERT_INFTY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      fcode               = 'INSE'&lt;/P&gt;&lt;P&gt;      vtask               = 'B'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      innnn               = l_p1008&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_authorization    = 1&lt;/P&gt;&lt;P&gt;      error_during_insert = 2&lt;/P&gt;&lt;P&gt;      repid_form_initial  = 3&lt;/P&gt;&lt;P&gt;      corr_exit           = 4&lt;/P&gt;&lt;P&gt;      begda_greater_endda = 5&lt;/P&gt;&lt;P&gt;      others              = 6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 23:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109002#M440463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T23:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109003#M440464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not getting an exception, have you tried putting a commit work statement after the function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 00:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109003#M440464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T00:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109004#M440465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;You have to the follow-up RH_INSERT_INFTY  with another function call ie 'RH_UPDATE_DATABASE'. Depending on the type of update you need, one of the following values can be passed to this function..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	S	Synchronous update in the update task&lt;/P&gt;&lt;P&gt;	V	Asynchronous update in the update task&lt;/P&gt;&lt;P&gt;	D	Update in dialog&lt;/P&gt;&lt;P&gt;	B	Update in internal buffer&lt;/P&gt;&lt;P&gt;		No update via personnel planning update task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have observed that even an explicit COMMIT WORK is not enough in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 01:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109004#M440465</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-18T01:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109005#M440466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Suresh. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give it a try now. Could you please explain what is the difference between all these update types as I am not sure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 16:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109005#M440466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109006#M440467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use S for immediate Update &amp;amp; V for an Update with a slight delay..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 16:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109006#M440467</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-18T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109007#M440468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Suresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working fine now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question now if you dont mind me asking. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I use this function to upload HRP1018 (Cost distribution). There are fields that I want to upload which reside in another table RHCD_TAB but is connected to HRP1018. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 16:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109007#M440468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T16:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109008#M440469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 17:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109008#M440469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109009#M440470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 17:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109009#M440470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T17:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109010#M440471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RHCD_TAB values are actually stored in HRT1018 with the field TABNR as the link to HRP1018. So I am not sure if you will be able maintain 1018 with a single call to RH_INSERT_INFTY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 18:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-insert-infty/m-p/2109010#M440471</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-18T18:02:59Z</dc:date>
    </item>
  </channel>
</rss>

