<?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>Question Re: BRF string lookup possible? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaa-p/12750464#M4785787</link>
    <description>&lt;P&gt;Hi Ragavan Mudi,&lt;/P&gt;&lt;P&gt;to perform the rise of the error you need things:&lt;/P&gt;&lt;P&gt;Trigger&lt;/P&gt;&lt;P&gt;BRF+ function&lt;/P&gt;&lt;P&gt;Perform the rise &lt;/P&gt;&lt;P&gt;When you run the process, you need to enhance the process to call your BRF+ function (An ABAP will code a Function CALL for your BRF+ function). &lt;/P&gt;&lt;P&gt;The BRF+ function will execute the ruleset and validate the parameter you send it and will return a result.&lt;/P&gt;&lt;P&gt;The Function Call in ABAP will recieve the result from BRF+ and then IF the conditions are met, you will rise the error with ABAP. &lt;/P&gt;&lt;P&gt;***Something important to remember, BRF+ works like SE37. It is a function. When you try execute a rise of message, that activity belongs to programs. The only thing you can provide from BRF+ it is the triger to call that raise of message. &lt;/P&gt;&lt;P&gt;I hope this solve you requeriment. Please dont forget to point.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Idiaquez.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 18:35:05 GMT</pubDate>
    <dc:creator>Carlos_Idiaquez</dc:creator>
    <dc:date>2023-11-13T18:35:05Z</dc:date>
    <item>
      <title>BRF string lookup possible?</title>
      <link>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaq-p/12750463</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;P&gt;We want to build a validation rule based on string lookup.&lt;/P&gt;
  &lt;P&gt;So we have an exception table where we bild a decision tables which has one column "EXCEPTION" with a value test maintained.&lt;/P&gt;
  &lt;P&gt;Now we would like to call from a rule in BRF+ where we have a value "BRF test" in our context this decision table and we would like to raise an error whenever the value contains any of the values that we have in the decision table.&lt;/P&gt;
  &lt;P&gt;So in above scenario we would raise an error message since the substring "test" which is maintained in the decision table is part of the value in the validation rule.&lt;/P&gt;
  &lt;P&gt;Is this possible to do in BRF+ and if so how?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 11:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaq-p/12750463</guid>
      <dc:creator>ragavmudi</dc:creator>
      <dc:date>2023-09-11T11:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: BRF string lookup possible?</title>
      <link>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaa-p/12750464#M4785787</link>
      <description>&lt;P&gt;Hi Ragavan Mudi,&lt;/P&gt;&lt;P&gt;to perform the rise of the error you need things:&lt;/P&gt;&lt;P&gt;Trigger&lt;/P&gt;&lt;P&gt;BRF+ function&lt;/P&gt;&lt;P&gt;Perform the rise &lt;/P&gt;&lt;P&gt;When you run the process, you need to enhance the process to call your BRF+ function (An ABAP will code a Function CALL for your BRF+ function). &lt;/P&gt;&lt;P&gt;The BRF+ function will execute the ruleset and validate the parameter you send it and will return a result.&lt;/P&gt;&lt;P&gt;The Function Call in ABAP will recieve the result from BRF+ and then IF the conditions are met, you will rise the error with ABAP. &lt;/P&gt;&lt;P&gt;***Something important to remember, BRF+ works like SE37. It is a function. When you try execute a rise of message, that activity belongs to programs. The only thing you can provide from BRF+ it is the triger to call that raise of message. &lt;/P&gt;&lt;P&gt;I hope this solve you requeriment. Please dont forget to point.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Idiaquez.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 18:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaa-p/12750464#M4785787</guid>
      <dc:creator>Carlos_Idiaquez</dc:creator>
      <dc:date>2023-11-13T18:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: BRF string lookup possible?</title>
      <link>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaa-p/12750465#M4785788</link>
      <description>&lt;P&gt;Hi Ragvan,&lt;/P&gt;&lt;P&gt;my assumption is, you are triggering BRF+ from "Z development" and after you get back from BRF+ you are able to do some extra programming.&lt;/P&gt;&lt;P&gt;If I understand you correctly, you have BRF+ function, where you are calling decision table. In the rule, where you get the result(s) from decision table, you have to prepare internal table for messages, using BAPIRETTAB or similar for message structure. You define this internal table as returning parameter (result data object) in context and in ABAP you process the message table.&lt;/P&gt;&lt;P&gt;Other option is, you make procedure call (expression) / call procedure (action) after you get result(s) from decision table and you can trigger message directly in ABAP via function module, you use in procedure call /call procedure.&lt;/P&gt;&lt;P&gt;The last option is using action "Log Message", but this is for BALLOG (SLG2).&lt;/P&gt;&lt;P&gt;So you see, there are some possibilities and all depends on your architecture.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Nana&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 12:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/brf-string-lookup-possible/qaa-p/12750465#M4785788</guid>
      <dc:creator>Nana</dc:creator>
      <dc:date>2023-11-15T12:40:26Z</dc:date>
    </item>
  </channel>
</rss>

