<?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: HR_MAINTAIN_MASTERDATA error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650260#M879164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How the system knows which action you are performing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you  pass the Action type 'INS', then system propose pernr automatically or else it will be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It won't understand what action it is Doing. if you give the Action as INS then it will not go to that check at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 13:55:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T13:55:13Z</dc:date>
    <item>
      <title>HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650257#M879161</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 using HR_MAINTAIN_MASTERDATA function module to hire a person but I'm having troubles&lt;/P&gt;&lt;P&gt;at infotype 0001 getting the next error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG 220 Start date before initial entry date (00.00.0000) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the code found where error is raised and CHA_PERNR is empty so not finding any entry&lt;/P&gt;&lt;P&gt;at internal table PS, because there is personnel there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personnel number is assigned internal, I'm not passing it to function as external one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
              IF CHA_INFTY EQ '0001' AND PSPAR-TCLAS = 'A'.    "XFYP30K143284  
                LOOP AT PS WHERE PERNR EQ CHA_PERNR            "XFYP30K143284  
                           AND   INFTY EQ INFTY_MEAS           "XFYP30K143284  
                           AND   BEGDA LE CHA_BEGDA            "XFYP30K143284  
                           AND   ENDDA GE CHA_BEGDA            "XFYP30K143284  
                           AND   OPERA NE OPERA-DELETE.        "XFYP30K143284  
                 ENDLOOP.                                      "XFYP30K143284  
                 IF SY-SUBRC NE 0.    "IT0000 nicht vorhanden  "XFYP30K143284  
                   MESSAGE E220 WITH EMPLOYMENT-EINDA.         "XFYP30K143284  
                 ENDIF.                                        "XFYP30K143284  
               ENDIF.                                          "XFYP30K143284&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about the error? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 11:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650257#M879161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T11:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650258#M879162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you passing the Action = 'INS'. for creation of new record.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
       EXPORTING
            PERNR           = NUMBER
            ACTIO           = OPERATION  "This Operation should be 'INS'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 11:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650258#M879162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650259#M879163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm passing it. I have been trying with personnel action and it works but passing infotypes without action doesn't. I'm passing all required infotypes as in action are except 0021 and 0015 which are no relevant. I need to do on this way without action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
   EXPORTING
*     pernr                    =
*     massn                    =
*     actio                    = 'INS'
*     tclas                    = 'A'
     begda                    = '20080501'
     endda                    = '99991231'
*     objps                    =
*     seqnr                    =
*     sprps                    =
*     subty                    =
     werks                    = p0001-werks
     persg                    = p0001-persg
     persk                    = p0001-persk
     plans                    = p0001-plans
     dialog_mode              = '2'
*     luw_mode                 = '1'
     no_existence_check       = 'X'
     no_enqueue               = ' '
   IMPORTING
     return                   = ls_return
     return1                  = ls_return1
*     hr_return                =
   tables
     proposed_values          = lt_pprop
     modified_keys            = lt_pskey.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 13:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650259#M879163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650260#M879164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How the system knows which action you are performing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you  pass the Action type 'INS', then system propose pernr automatically or else it will be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It won't understand what action it is Doing. if you give the Action as INS then it will not go to that check at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 13:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650260#M879164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650261#M879165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I confused you. When i said action i meant to personnel action, parameter MASSN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation is hardcoded to 'INS'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650261#M879165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: HR_MAINTAIN_MASTERDATA error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650262#M879166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was there an answer to this problem???&lt;/P&gt;&lt;P&gt;I'm facing the same problem now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 06:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-maintain-masterdata-error/m-p/3650262#M879166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T06:26:04Z</dc:date>
    </item>
  </channel>
</rss>

