BRF plus expression type

Is there an expression in BRF+ that allows us to maintain values in a table?
Ex. I want to maintain document type values:
ZDOCTYPE1
ZDOCTYPE2
ZDOCTYPE3
ZDOCTYPE4
And then I want to return all these values to my calling program.
I checked all Function Expression Types, however i didn't find one or maybe I didn't found it?

Hi,
You can do this using decision tables.
Remember for decision tables you need to specify the condition columns(if condition columns matches with the input) this would then return the results column.
you can get output as a element, struture or table from decision tables.
Thanks

Similar Messages

  • Transport BRF expressions of expression type SAP Formula Interpreter

    Hi Experts,
    How can i copy BRF expressions of expression type SAP Formula Interpreter to one request for transport to another client?
    When we copy using tcode FKKBRFTRANS, the formula appear empty on the new client.
    Best regards,
    Renato Tasso

    Hi Renato,
    So I'm guessing that's really BRF then and not BRF+ ? Most of the forum participants in this space are BRF+ or BRM users, and most of us keep very clear of BRF itself...
    You might need to search on that Tcode and see if there's a functional forum that's aware of it or else report it via SAP Message.
    Rgds,
    Jocelyn

  • Loop in BRF Plus

    Hi Experts,
    I am using loop in BRF plus to loop at an internal table. Within the loop, I want to access the value one field of the table and do some processing on it via formula expression. The return value after processing is being captured in another data object of type element. Can this only be done via rule in loop to process the formula expression? If rule is the only way, then how can we further use the intermediate data element ( holding the processed value) in further rules inside this loop?
    Thanks
    Mamta Saboo

    Hi Mamta,
    Within Loop Expression, you can create multiple rules.
    The variable which hold the processed value evaluated from first rule can be access in next rule within same Loop expression and without any data loss.
    Just try to access to assign/use variable in next rule..it will work.
    regards, Tiwari

  • How to use BRF plus application in abap programs (Report or Module pool)

    Hi All,
    I have created an BRF plus application through FDT_WORKBENCH to calculate bonus of the employee with the help of SDN tutorial.
    Now my concern is that how can i use this application in my report.
    I have also read in the tutorial that we can create BRF plus application through ABAP coding but my question is, if i created an application through FDT_WORKBENCH then how can i use it in my ABAP report.
    Thanks a lot in advance.
    Regards,
    Sheelesh

    Hi,
    CALLING BRF+ FROM ABAP REPORT PROGRAM :
    I think the program may be helpful for you guys.
    *CALLING THE BRF+ FROM ABAP REPORT PROGRAM :
    REPORT Z_BRFPLUS_REPORT_01.
    PARAMETERS : P_SEL TYPE STRING .
    TYPES : BEGIN OF TYPE_PRICE ,
            NUMBER TYPE DECFLOAT16 ,
            CURRENCY TYPE STRING ,
            END OF TYPE_PRICE .
    DATA : LO_FUNCTION      TYPE REF TO     IF_FDT_FUNCTION ,
           LO_CONTEXT       TYPE REF TO     IF_FDT_CONTEXT ,
           LO_RESULT        TYPE REF TO     IF_FDT_RESULT .
    DATA : LO_MESSAGE TYPE REF TO CX_FDT .
    FIELD-SYMBOLS : <FS_PRODUCT> TYPE IF_FDT_TYPES=>S_MESSAGE .
    DATA : PRODUCT TYPE STRING ,
           LS_PRICE TYPE TYPE_PRICE .
    CLEAR LS_PRICE .
    PRODUCT = P_SEL .
    TRY .
    * GET THE BRF PLUS FUNCTION .
      LO_FUNCTION ?= CL_FDT_FACTORY=>IF_FDT_FACTORY~GET_INSTANCE( )->GET_FUNCTION('0050569E629D1ED39DD2090294D9A5BD' ) .
    * SET THE BRFPLUS FUNCTION CONTEXT .
      LO_CONTEXT = LO_FUNCTION->GET_PROCESS_CONTEXT( ) .
      LO_CONTEXT->SET_VALUE( IV_NAME = 'PRODUCT' IA_VALUE = PRODUCT ) .
    * PROCESS THE BRF PLUS FUNCTION .
      LO_FUNCTION->PROCESS(
                   EXPORTING
                     IO_CONTEXT = LO_CONTEXT
                   IMPORTING
                     EO_RESULT = LO_RESULT   ) .
    * RETRIEVE THE BRF PLUS FUNCTION RESULT .
      LO_RESULT->GET_VALUE(
                    IMPORTING
                      EA_VALUE = LS_PRICE ) .
    WRITE : LS_PRICE-NUMBER ,
            / LS_PRICE-CURRENCY .
    CATCH CX_FDT INTO LO_MESSAGE .
    ENDTRY .
    Thanks & Regards,
    Joyjit Biswas

  • How to pass table data to brf plus application through abap program

    Dear All,
    i have a question related to BRF Plus management through abap program.
    In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
                                           Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
    in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
    And my question is
    1) How to pass fields to BRF Plus application from abap program.
    2)How to pass Table data to BRF Plus application from abap program.
    3)How to pass Structure data to BRF Plus application from abap program.
    4)How to get the result data from BRF Plus application to my abap program.
    And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
    How do i get the code automatically when calling the function in brf plus application.
    Regards
    venkata.

    Hi Prabhu,
    Since it is a Custom Fm i cant see it in my system.
    Look if u want to bring data in internal table then there could be two ways::
    1) your FM should contain itab in CHANGING option , so that u can have internal table of same type and pass through FM,
    2) read values one by one and append to internal table.
    Thanks
    Rohit G

  • Can I have unique decision table name in the BRF Plus System?

    Hi All,
    In BRF Plus , we can create more than one decision table with the same name in the same application or across different applications.
    We have a requirement were in we have to setup a framework so that we don't have duplicate decision name or any expression name across system. We need to maintain unique name.
    One way is to control this by having particular naming conventions but still there will be room for errors.
    Is there are way to activate the unique name for decision table name across or within application?
    Thanks.

    Hi Sainath
    Carsten is of course always correct.  That said I can understand the desire - if only to avoid confusion for business users.  Sounds like a good use case for the new DSM deployment approval workflow perhaps? But in the short term either application exits or custom programs are the most likely solutions
    Hope that helps
    Jocelyn

  • BRF Plus Integration

    Hello
                 i have made an Application for calulating tax in BRF Plus WorkBench ,and simulate the function as well, can anybody tell me how to integrate it with other Applications.

    Hi Monika,
    Go to the transaction, se80, and chose package to view. there you can type in and look for the SFDT package and its sub contents.
    BTW if you have any knowledge about BAPI's etc. then you need to create a factory object and access you BRFplus function through some simple lines of code. If you want to consume these rules in a custom application you can add this code where you want to process your parameters else for consuming this in standard SAP application you need to look for enhancement points or user exits.
    Praitk

  • Difference between BRF and BRF plus

    Hi
    Is there any difference between BRF and BRF plus. Please give me any documents.
    Regards
    Venkatesh

    Hi
    Steve.
           Thankyou for your information.
                        Can you give me any documents on BRFplus how to use the all expressions and Ruleset.
    Thankyou
    Venkat

  • Regarding BRF plus

    Hi,
    We are trying to implement the BRF Plus in our company.And generate the webservice.
    We are able to create POC's and created webservices.
    But rule set can be achieved by BRF plus only with the person who is familiar with programming and not by end-user.It might be bit difficult for them.
    Is there any way end-user can use BRF-Plus to write their own rules(if not with BRF plus with other SAP technologies)???
    Cheers - Anna.

    Hi Carsten,
    Thanks for the reply.
    Our system is in the package EHP4 FOR SAP ERP 6.0 / NW7.01.Whether this is ok to start our developments for BRF+?
    And with the current package,I am trying to find the difference between two dates and trying to store in the temporary variable(same type of source),I get an error 'Required calculation is not possible with these operands (Details) Display Longtext'.
    Since we need to execute for large customer volume,so all our select we are using in the program,and calling the BRF+ in the runtime.Whether it is possible to pass the values  from the program to BRF + using the component ID?
    If we are using the component ID in development,if transportng to production then the ID will change,whether we can change the ID dynamically in program?
    Sorry to bother you with so many queries.
    Thanks in Advance.
    Annamalai.

  • Lock table overflow - BRF Plus - can it work with many entries in tables ?

    hi,
    when I'm trying to open expression table in BRFplus with 500 entries in web
    I get an error: Lock table overflow and I see more then 2000 entries in sm12 for fdt_ tables
    and the system cannot create any more locks (so other applications are not working)
    why is that ? can BRF plus work with more then 100 entries in table expressions at all ?
    can anyone tell from experience as this is a huge issue I believe
    thank you,
    Regards,
    Michal Krawczyk

    Hi Michal,
    You are running a NW 701 system. This was the first version of BRFplus and the DB schema was not good for high volumne.
    I have created some notes recommending to use decision table for up to 100 rows (of course other factors like # of columns are also important).
    In NW 702 the DB schema has been changed and decision tables with 10.000 rows are possible and performance better by a factor of 100 and more.
    In your specific case you may consider to increase the number of logs that are possible. But this is rather a workaround than a solution.
    BR,
    Carsten

  • Set Default User settings in BRF Plus

    Hi All,
    We want to set some default setting for a set of the users for BRFPlus gui.
    For Example:
    1. We want to display row no in the decision table as the first column for all users.
    2. In the decision table, we want some columns ( from result section)which are actually in the end  on the right of the screen should be visible as first column.
    I know these can be achieved using user settings. But we want to default this for all the BRF Plus users. 
    Can we create one setup and assign it or default it for all BRF Plus users? Like we do in SAP R3 defaulting menus for SAP users.
    Thanks In Advance.

    Hi Carsten,
    Thanks for the hint.
    We have already used the blog to hide some features from users view in custom catalog. After your reply I revisited the our code and added few more lines of codes to display row number. But the Row Number was not displayed. Guessing if anything is missing.
    Is it not possible to do at user profile level for mass users. Like we do it for SAP R3 Users?
    Code Snippet:
    METHOD if_fdt_wd_ui_mode~get_configuration.
    *Get the default configuration.
      CALL METHOD super-
    >if_fdt_wd_ui_mode~get_configuration
        RECEIVING
          ro_configuration = ro_configuration.
    * Remove repository view.
      ro_configuration->set_parameter( iv_name  =
    if_fdt_wd_user_configuration=>gc_parameter_repositor
    y_view
           iv_value = abap_false ).
      ro_configuration->set_parameter( iv_name  =
    if_fdt_wd_user_configuration=>gc_parameter_favorites
    _view
           iv_value = abap_false ).
      ro_configuration->set_parameter( iv_name  =
    if_fdt_wd_user_configuration=>gc_parameter_history_v
    iew
           iv_value = abap_false ).
    * Display row number
      ro_configuration->set_parameter( iv_name  =
    if_fdt_wd_user_configuration=>gc_parameter_disp_dt_r
    ow_num
          iv_value = abap_true ).

  • How to Pass table-structure-fields data to BRF PLUS Application

    Dear Eperts,
    i have a question related to BRF Plus management through abap program.
    In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
                                           Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
    in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
    And my question is
    1) How to pass fields to BRF Plus application from abap program.
    2)How to pass Table data to BRF Plus application from abap program.
    3)How to pass Structure data to BRF Plus application from abap program.
    4)How to get the result data from BRF Plus application to my abap program.
    And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
    How do i get the code automatically when calling the function in brf plus application.
    Regards
    venkata.

    Hi Venkat,
            As said by Jocelyn Dart, you need to go through BRF+ tutorials.
    -->You can see a on of the tutorial from the below link
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/50879cee-f9b5-2e10-039e-b2d6c4b10e6b

  • BRFplus: How to create an instance of User-Defined Expression Type?

    Hi,
      I've created an expression type in a System Application and marked its Access Level as Global. I've created a Class & Interface and assigned it to my Expression Type, and activated it successfully.
    Now how do use this Expression Type to create expression in my Customizing Applications?
    Do I have to make any more code changes like extending any more classes or implementing additional interfaces? (I've already created a dummy Query Class and UI class)
    Any documentation or example of how to create a user-defined Expression Type and how to use them will be very helpful for me.
    Thank you & Best Regards

    Well I was going through the PDF documents available on SDN. I came across a document which referred to a document on creating user-defined expression.
    Document Name: [BRFplus XML Export and Import|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20462066-a086-2d10-a999-c9075767ce48?quicklink=index&overridelayout=true].
    The code sample for creating user-defined expression types is available in the How to Create Custom Expression Types document
    Pg. 24
    I had a hard time looking for that document. Couldn't find it though.
    Thank you Mr. Ziegler, now I know that currently there isn't any documentation on User-Defined Expression Types. I'll be awaiting for your  document on this
    Any overview about the steps to be followed in creating a custom expression type, with a few simple steps on how to do it over here would be greatly appreciated. Especially on how to get it seen in the Create Expression Sub-Menu. Also do I have to code a web dynpro for the UI?
    Thank you & Best Regards.

  • BRF Plus for CRM

    Hi! Can I find out whether the full functionality of BRF Plus is available for CRM 7.0 EnhP1?
    I have looked around SDN and search on other sites but could not find specific information relating to CRM. I can find lots of information about BRF+ itself though.
    Appreciate any clarification on the above.
    Cheers!
    SF

    One of my holy grails for BRF+ was to prewire the one order framework with BRF+ rules that would handle common requests.
    It really wouldn't be that hard except writing it generically.  Perhaps I will get around to that once I'm finished with EHP3 and other stuff.
    Oh BTW: if you look hard enough in CRM there are some BTE events that SAP developed that invoke BRF+ rules. I can't remember the function modules, but they do exist.
    Take care,
    Stephen

  • BRF Plus - features

    Dear All - Our customer is considering the use of BRF Plus for their rules management and need information on the following:
    1. Performance for large large rule sets - multiple instances of the engine for large, global and centralized installation
    2. Details on the rules API and clear separation of the rule base from UI.
    3. Understanding of how the engine handles chained rules. Do we have a choice on the strategy
    (forward/backward chaining) for rule processing.
    4. How does the engine handle conflict resolution? This occurs when there are conflicting rules.
    5. Maintenance of the rules and the ability to monitor the rule engine
    Appreciate any information so we provide correct fedback to the customer.
    Thanks.

    Hi Michael,
    Thanks for helping us out.
    When we do application clean up we get short dump with the following error 'A column name from a dynamically specified clause is ambiguous.'.
    Not sure what this error means. We have implemented the oss note you mentioned and also do transport analysis. There we encounter lots of unnamed and unused guids, we have to manually delete these guids individually before the status turns green and be ready for release purpose. We thought we could do this using application clean up but somethings not working there.
    Yes we are on NW7.01
    Cheers,
    Lohith

Maybe you are looking for