<?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: How to customize production version error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939580#M1600524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check for the Production version before passing it to BAPI, Instead of creating a Z for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 18:30:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-17T18:30:51Z</dc:date>
    <item>
      <title>How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939578#M1600522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the BAPI_REPMANCONF1_CREATE_MTS into Z FM and when I test the Z FM, I wantedly entered the wrong production version say ABCD instead of 1234. The message field of my return bapi BAPIRET2 is populated with an error message saying that "Production version not found". Till here it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to modify my code in such a way that if I enter the wrong production version, my bapi should error me in such a way that "ABCD Production version not found" in the message field of BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please sugesst me ideas for solving this.&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, 17 Jun 2011 16:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939578#M1600522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T16:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939579#M1600523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This text is contained in message class RM and message number 149.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your return contains the above combination modify your message to include 'PRODUCTION VERSION'. However this is the best way to achieve it...&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>Fri, 17 Jun 2011 17:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939579#M1600523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T17:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939580#M1600524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check for the Production version before passing it to BAPI, Instead of creating a Z for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939580#M1600524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T18:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939581#M1600525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gvsastry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;Can you brief me how to do achieve this? This is a SAP automated message and I don't have acess to modify it. Is there any way that I can assign my Z message class to this return bapi instead of RM 149?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939581#M1600525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939582#M1600526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suman:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;Can you please brief me how to achieve this functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939582#M1600526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T18:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939583#M1600527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow approach suggested by Suman. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you have to do is validate production version ( of that material/product?) against DB Tables before calling you ZFM or Std BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would like to go by my approach.. you will have to do something like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;option1:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF RETURN-TYPE = 'E' AND RETURN-ID EQ 'RM' AND RETURN-MESSAGE = '149'.
CONCATENAT  'XXXX' RETURN-MESSAGE INTO RETURN-MESSAGE.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option2: Create a Z class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF RETURN-TYPE = 'E' AND RETURN-ID EQ 'RM' AND RETURN-MESSAGE = '149'.
RETURN-ID = 'ZID'.
RETURN-NUMBER = 'XXX' -&amp;gt; Number in Z class.
RETURN-MESSAGE = 'your message'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 19:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939583#M1600527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T19:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize production version error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939584#M1600528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sastry. I got that one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 20:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-customize-production-version-error-message/m-p/7939584#M1600528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T20:07:34Z</dc:date>
    </item>
  </channel>
</rss>

