<?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 RH_RELATION_MAINTAIN/RH_INSERT_INFTY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-relation-maintain-rh-insert-infty/m-p/5560121#M1268806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to insert a new HRP1001 Cost Center record  in a program and have been trying to use the above Function Modules.  The problem I am having is that when they encounter a CONFIG problem, like the Cost Center is not open for posting, instead of coming back with a Return-Code other than 0 they are giving me the message in real time and actually starting the Transaction (PO02) in the first case and exiting the program in the 2nd case.  Neither is an acceptable solution.  I want it to just let me know it didn't work and keep going.  Is this the way these are supposed to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2009 19:16:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-01T19:16:57Z</dc:date>
    <item>
      <title>RH_RELATION_MAINTAIN/RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-relation-maintain-rh-insert-infty/m-p/5560121#M1268806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to insert a new HRP1001 Cost Center record  in a program and have been trying to use the above Function Modules.  The problem I am having is that when they encounter a CONFIG problem, like the Cost Center is not open for posting, instead of coming back with a Return-Code other than 0 they are giving me the message in real time and actually starting the Transaction (PO02) in the first case and exiting the program in the 2nd case.  Neither is an acceptable solution.  I want it to just let me know it didn't work and keep going.  Is this the way these are supposed to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 19:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-relation-maintain-rh-insert-infty/m-p/5560121#M1268806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-01T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: RH_RELATION_MAINTAIN/RH_INSERT_INFTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rh-relation-maintain-rh-insert-infty/m-p/5560122#M1268807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are calling your FM give an extra exception parameter &lt;STRONG&gt;ERROR_MESSAGE&lt;/STRONG&gt; i.e. = 9.&lt;/P&gt;&lt;P&gt;Now when some message of type I,S, W will be raised it will automatically be skipped. Messages E, A will trigger that error so you can react accordingly outside FM. Message X will dump the systme out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can handle old function modules which don't use exceptions or simply call some message inside their body. This is a preety handful way to handle such situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for calling tcode PO02 I am not sure about that. If the processing requires that you will likely be branched to this tcode anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 21:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rh-relation-maintain-rh-insert-infty/m-p/5560122#M1268807</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-05-01T21:10:17Z</dc:date>
    </item>
  </channel>
</rss>

