<?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 Problem while using 'HR_MAINTAIN_MASTERDATA' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-hr-maintain-masterdata/m-p/3474029#M835072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create mutliple entries for a  cutom infotype which has time constraint as '3'. I need to have multiple records with same pernr, begda and endda and hence using FM HR_MAINTAIN_MASTERDATA with action = COP for all the entries together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is that it creates a record for the first time and then for all other records it treats as 'MOD'. Hence at the end of the update I am left with the last record. Wherein I needed to insert all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever had this problem before. Can you please help me from where do I start looking at the matter. Its really urgent for me now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would reward for the satisfying answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code snippet is as follows:&lt;/P&gt;&lt;P&gt; Loop at lt_p9905 into ls_9905.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fill proposed_values for field P9905-begda with l_hirdate.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fill proposed_values for field P9905-endda with '99991231'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill proposed_value for field 'PSYST-PSYST-IOPER' with value 'INS'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill proposed_value for other fields in infty 9905.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            pernr              = i_pernr&lt;/P&gt;&lt;P&gt;            massn           = i_massn&lt;/P&gt;&lt;P&gt;            actio              = 'COP'&lt;/P&gt;&lt;P&gt;            begda              = i_begda&lt;/P&gt;&lt;P&gt;            endda              = i_endda&lt;/P&gt;&lt;P&gt;            subty              = i_subty&lt;/P&gt;&lt;P&gt;            objps              = i_objps&lt;/P&gt;&lt;P&gt;            sprps              = i_sprps&lt;/P&gt;&lt;P&gt;            seqnr              = i_seqnr&lt;/P&gt;&lt;P&gt;            werks              = i_werks&lt;/P&gt;&lt;P&gt;            plans              = i_plans&lt;/P&gt;&lt;P&gt;            persg              = i_persg&lt;/P&gt;&lt;P&gt;            persk              = i_persk&lt;/P&gt;&lt;P&gt;            dialog_mode        = i_dialog_mode&lt;/P&gt;&lt;P&gt;            luw_mode           = '0'&lt;/P&gt;&lt;P&gt;            no_existence_check = i_noexist&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            return1            = e_return&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            proposed_values    = it_prop&lt;/P&gt;&lt;P&gt;            modified_keys      = et_key[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2008 04:59:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-28T04:59:30Z</dc:date>
    <item>
      <title>Problem while using 'HR_MAINTAIN_MASTERDATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-hr-maintain-masterdata/m-p/3474029#M835072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create mutliple entries for a  cutom infotype which has time constraint as '3'. I need to have multiple records with same pernr, begda and endda and hence using FM HR_MAINTAIN_MASTERDATA with action = COP for all the entries together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is that it creates a record for the first time and then for all other records it treats as 'MOD'. Hence at the end of the update I am left with the last record. Wherein I needed to insert all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever had this problem before. Can you please help me from where do I start looking at the matter. Its really urgent for me now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would reward for the satisfying answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code snippet is as follows:&lt;/P&gt;&lt;P&gt; Loop at lt_p9905 into ls_9905.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fill proposed_values for field P9905-begda with l_hirdate.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fill proposed_values for field P9905-endda with '99991231'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill proposed_value for field 'PSYST-PSYST-IOPER' with value 'INS'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill proposed_value for other fields in infty 9905.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            pernr              = i_pernr&lt;/P&gt;&lt;P&gt;            massn           = i_massn&lt;/P&gt;&lt;P&gt;            actio              = 'COP'&lt;/P&gt;&lt;P&gt;            begda              = i_begda&lt;/P&gt;&lt;P&gt;            endda              = i_endda&lt;/P&gt;&lt;P&gt;            subty              = i_subty&lt;/P&gt;&lt;P&gt;            objps              = i_objps&lt;/P&gt;&lt;P&gt;            sprps              = i_sprps&lt;/P&gt;&lt;P&gt;            seqnr              = i_seqnr&lt;/P&gt;&lt;P&gt;            werks              = i_werks&lt;/P&gt;&lt;P&gt;            plans              = i_plans&lt;/P&gt;&lt;P&gt;            persg              = i_persg&lt;/P&gt;&lt;P&gt;            persk              = i_persk&lt;/P&gt;&lt;P&gt;            dialog_mode        = i_dialog_mode&lt;/P&gt;&lt;P&gt;            luw_mode           = '0'&lt;/P&gt;&lt;P&gt;            no_existence_check = i_noexist&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            return1            = e_return&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            proposed_values    = it_prop&lt;/P&gt;&lt;P&gt;            modified_keys      = et_key[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 04:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-hr-maintain-masterdata/m-p/3474029#M835072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using 'HR_MAINTAIN_MASTERDATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-hr-maintain-masterdata/m-p/3474030#M835073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the Action as 'INSS'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 05:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-hr-maintain-masterdata/m-p/3474030#M835073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T05:49:13Z</dc:date>
    </item>
  </channel>
</rss>

