<?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: Error while processing inbound Idoc (HRMDA_07) with FM IDOC_INPUT_HRMD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997280#M1494694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to share with you my solution for the above mentioned problem. In our system IT0302 is created when it0000 is created / changed. The solution that works for me is: &lt;STRONG&gt;don't process infotype 0302&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maarten.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 05:23:51 GMT</pubDate>
    <dc:creator>maarten_duits2</dc:creator>
    <dc:date>2010-06-22T05:23:51Z</dc:date>
    <item>
      <title>Error while processing inbound Idoc (HRMDA_07) with FM IDOC_INPUT_HRMD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997277#M1494691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a inbound Idoc of type HRMD_A (basistype  HRMD_A07) which is processed by Function module (FM)  IDOC_INPUT_HRMD with  proofing. After processing an Idoc the status Monitor for ALE messages (BD87) tell me that my Idoc has status 53, which should be the result i would like to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately when i go to transaction PA20 and check the infotypes, i see that infotype 0302 isn't created. When analyzing this problem i see that during the processing the Infotypes are posted with HR_MAINTAIN_MASTERDATA (dialog mode is 0 and luw_mode = 0 from include LRHA2F02 FORM save_pa_pb_infty)  When this is done for infotype 0302 &lt;EM&gt;sy-subrc &amp;lt;&amp;gt; 0&lt;/EM&gt; the message is &lt;EM&gt;A complex application error has occured&lt;/EM&gt;. This error message is placed in Export parameters &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Return and Return1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; of HR_MAINTAIN_MASTERDATA. When the program returns to the calling Form it checks if there is message of type &lt;EM&gt;E&lt;/EM&gt; in &lt;EM&gt;HR_RETURN&lt;/EM&gt; (see below) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
          EXPORTING
            pernr                          = ins_objects-objid       "#EC DOM_EQUAL
            actio                           = 'INS'
            tclas                           = tclas
            dialog_mode               = dial_mode
            luw_mode                  = '0'
            no_existence_check = $cross
            no_enqueue              = $cross
          IMPORTING
            return1                       = return
            hr_return                    = hr_return
          TABLES
            proposed_values    = proposed_values.
        REFRESH proposed_values.
     IF hr_return-msgty = 'E'.                           "note 984409
      CLEAR protocol_error.
      protocol_error-msgty  = hr_return-msgty.
      protocol_error-msgid  = hr_return-msgid.
      protocol_error-msgno  = hr_return-msgno.
      protocol_error-msgv1  = hr_return-msgv1.
      protocol_error-msgv2  = hr_return-msgv2.
      protocol_error-msgv3  = hr_return-msgv3.
      protocol_error-msgv4  = hr_return-msgv4.
      READ TABLE t_hrobjinfty WITH KEY objid = hr_return-pernr
                                       infty = hr_return-infty
                                       subty = hr_return-subty.
      protocol_error-segnum = t_hrobjinfty-segnum.
      protocol_error-routid = 'create_prf_pa_pb_object'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; As mentioned above, the error message is only placed in the parameters Return and Return1  and not in HR_RETURN.please read the first reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 05:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997277#M1494691</guid>
      <dc:creator>maarten_duits2</dc:creator>
      <dc:date>2010-06-02T05:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing inbound Idoc (HRMDA_07) with FM IDOC_INPUT_HRMD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997278#M1494692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but i have trouble to post this message correcty with the markup. So i have to do it in 2 post. I think it is an error, because it is not displayed in BD87. I hope someone can tell me if it should be possible to save Infotype 0302 records with FM IDOC_INPUT_HRMD.&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;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maarten.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 06:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997278#M1494692</guid>
      <dc:creator>maarten_duits2</dc:creator>
      <dc:date>2010-06-02T06:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing inbound Idoc (HRMDA_07) with FM IDOC_INPUT_HRMD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997279#M1494693</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;I think you have preety much done from your end itself .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me what you got in this parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;protocol_error-msgty  = hr_return-msgty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgid  = hr_return-msgid.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgno  = hr_return-msgno.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgv1  = hr_return-msgv1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgv2  = hr_return-msgv2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgv3  = hr_return-msgv3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;protocol_error-msgv4  = hr_return-msgv4.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may help us to track down the issue in more better way .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 15:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997279#M1494693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T15:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error while processing inbound Idoc (HRMDA_07) with FM IDOC_INPUT_HRMD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997280#M1494694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to share with you my solution for the above mentioned problem. In our system IT0302 is created when it0000 is created / changed. The solution that works for me is: &lt;STRONG&gt;don't process infotype 0302&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maarten.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 05:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-processing-inbound-idoc-hrmda-07-with-fm-idoc-input-hrmd/m-p/6997280#M1494694</guid>
      <dc:creator>maarten_duits2</dc:creator>
      <dc:date>2010-06-22T05:23:51Z</dc:date>
    </item>
  </channel>
</rss>

