Quantcast
Channel: SCN : Popular Discussions - SAP Business Rules Management
Viewing all 1717 articles
Browse latest View live

BRF Plus: Loop, ABAP code and versions

$
0
0

Hi all,

 

I am looking into BRF plus and I have some questions about that:

 

- I have read the "loop" expression is only available in EHP2 (and I have SAP Netweaver EHP1 for technical reasons). Is it true? Is there any workaround to read every row of a table context in BRF Plus EHP1? Is possible to do the loop outside BRF Plus and then return the data back to BRF Plus? If it's possible, how? Has anybody any document that explains how to do that?

- Is possible to code a rule in ABAP directly in BRF Plus EHP1? I haven't found information about this question in the Internet.

- Has BRF Plus EHP1 version management of the objects like SAP GUI?

- Is it possible to call a module function of SAP (transaction SE37) from BRF Plus EHP1?

 

Thanks.


BRF+ technical training course?

$
0
0

Hi,

 

I'm very interested in attending a hands-on, technical BRF Plus training course. Does such a course exist?

 

I considered the TZBRF (BRF Framework) course but it seems more high-level / business-level / introductory.

 

If we could get enough interested people together (how many?) would one of the BRF+ team make the long flight to Australia? :-)

 

thanks

Paul Bakker

(Brisbane)

How to make editing possible of BRFplus objects in non development systems

$
0
0

I have setup an application and moved it from my dev system to quality and then to production.

 

At the time of tranpsorting the very first time, in the application properties, the versioning was on.

 

How can I edit the expressions contained in this application directly in quality or production ?

 

I get the Message no. TK430 always when i try to edit the expression in quality system or production system.

 

Also i switched off versioning and moved the transports again. But still i cannot maintain the expression.

 

Do I have to cleanup the versions and then try editing?

How to launch BRFPLUS workbench in SAP ECC6.0?

$
0
0

Hi

 

        Iam trying to access Transaction code BRFPLUS in SAP ECC6.0.

 

        But  its showing the message that " Transaction BRFPLUS does not exist".

 

         If any body knows how to resolve this issue please help me.

 

 

Regards

 

K.S.L.Neelima

Extracting Formulas and decision tables

$
0
0

Hallo,

 

lets say someone saw some of the BRFplus demos, where the BRFplus workbench is used to create formulas, decision tables and simulation data is entered using excel export/import. Now the requirement is, to implement those functionalities in a  webdynpro UI as part of a custom SAP development project, using SAP ICM in the background to do the actual calculation. Is there any way to do this, without creating functions in BRFplus? The problem is, that the functions must be easily changeable in the productive system. So we can't use new function modules for every case, but we only want to use the formulas and decision tables (possibly filled through excel export/import) that were created in BRFplus workbench.

 

Correct me where ever I am wrong, I don't really think this is why BRFplus was built for, but the easy handling of the workbench is the main focus of most of the demos that are available.

 

 

Regards,

Peter Bueermann

BRF+: What is an attribute of a catalog?

$
0
0

Hello,

 

I've been reading the book of BRFplus, and I came across Catalogs in chapter 4.5.

 

I understand what they are for, but I don't understand the "Attributes Folder" and "Attributes Link to Object" options and what are they used for. Can somebody help me in this issue?

 

Thank you.

BRFplus: Exporting Old NW701 Decision Table Data to Excel After Upgrade

$
0
0

Hi,

 

we are in the process of upgrading from NW701 to NW731, and one of the anticipated new features is the export to Excel / import from Excel facility for Decision Table data.

 

However we find that Decision Table data that existed prior to the upgrade simply exports as UUIDs of the cell's underlying expressions, which is not usable.  Presumably this relates to the new data model used since NW702.

 

Data that has been entered after the upgrade exports as it appears in the Decision Table, as expected.

 

For example, the export might look like this:

Column 1Column 2Comment
15E64AB012C8418AF9D213486B48634215E64AC365C8418AF9D213486B486342Old data entered under NW701
ABCtrueNew data entered under NW731

 

Is there a fix or workaround to allow the export of old NW701 Decision Table data to Excel ?  Or do we need to develop our own ?

 

Thanks,

Greg

BRF+ - Sharing data object across decision tables

$
0
0

I have a scenario where the value that is set to a data object as a part of the action in a decision table 1 has to be used to evaluate a condition data object in decision table 2. Precise scenario details is as follows.

Let's consider decision table 1. Assuming that row 1 gets evaluated successfully, the value "ABC" should get assigned to the data object "Element 3". With this determined value, the value of Element 4 needs to be determined invoking another decision table (Decision Table 2).

Decision Table 1:

Conditions

Action

Element 1

Element 2

Element 3

Element 4

Element 5

X

Y

ABC

Expression (Call decision table 2)

GHJ

 

Decision Table 2:

Conditions

Action

Element 3

Element 6

Element 7

ABC

XYZ

TYI

DEF

WER

Call procedure

 

Inputs given through Simulation workbench:

Element 1 = X

Element 2 = Y

Expected Outcome:

The row 1 in decision table has to get executed and Element 6 and 7 should be assigned with the right values XYZ and TYI respectively.

Outcome obtained:

BRF+ says that the evaluation of row 1 didn’t succeed. Message is Element 3 (ELEMENT_3) value “” is not equal to ABC. Cell condition of column 1 in row 1 is not met. Skip row.

How to solve this? Any pointers would be really appreciated.

Thanks.


How we can get data object description from brfplus

$
0
0

How we can get data object description from brfplus, or any other object type description created at brfplus only. 

 

Thanks.

Failure Assigning Application Exit Class

$
0
0

I am having an issue where I have a simple application, with an input table, some rules looping over a decision table, & an output table.

This is functioning as I expect. Yay

 

However, in order to use the decision table in non customizing clients, we have implemented an Application Exit Class as per this document for  "GET_CHANGEABILITY" for the ID of the decision table.

 

It all seems straightforward but when attempting to save the  exit, the application gives no feedback that it is saved. When navigating away from the application properties tab, the application is detected as changed & prompts a save.

 

The exit is never saved.

 

Any ideas?

 

Regards

Daniel

Run time Lean trace in BRF Plus

$
0
0

Hi,

 

Could anyone help me on how to get lean trace (Not simulation trace) during run time. I have tried lean trace option as explained in the material "BRF Plus - Performance and Sizing" but no luck.

 

Here is the sample code:

 

DATA: lo_trace TYPE REF TO if_fdt_trace.

 

cl_fdt_function_process=>process( EXPORTING iv_function_id = gv_function_id

                                                                        iv_timestamp = gv_timestamp

                                                                       iv_trace_mode = if_fdt_constants=>gc_trace_mode_lean

IMPORTING ea_result = gv_final_price_in_eur

                   eo_trace = lo_trace

 

CHANGING ct_name_value = lt_name_value ).

 

How to read the trace using the trace class object (lo_trace) is not clear.

 

Could someone kindly help me on how to read the trace from the trace class object 'lo_trace'.

 

Thanks and Regards,

Arunkumar .S

 


Help invoking decision table using Business Rules Engine API in 7.31

$
0
0

Hi Experts,

 

Im trying to invoke a decision table in a re-usable rule set using the BRM API in NW 731 Process orchestration, but Im not getting the desired result and havent been able to pin point what is wrong:

 

I have a re-usable rule set , with a decision table. The decision table takes a string value and returns two relevant string values. The Strings have been defined as common definitions in the project resources.

 

In my code I first get an instance of the rule engine, and then a RuleSetContext. Then i set the entity type of the context to Decision Table passing in the name of the table i want to invoke. I then add input to the context and invoke the engine. I get the returned context and from that i get the returned facts. I do all that as follows:

 

 

 

 

 String jndiName = "com.sap.brms.RuleEngine";   Object obj = context.lookup(jndiName);  RuleEngineHome home = (RuleEngineHome)PortableRemoteObject.narrow(obj, RuleEngineHome.class);  RuleEngine engine = home.create();  RulesetContext ctxt = engine.createRulesetContext("demo.nl~rules","ReusableRuleSet");  ctxt.setEntity(EntityType.DECISION_TABLE, "DecisionTable1");  String input = "1000";   ctxt.add(input);  RulesetContext returnedContext = engine.invokeRuleEntity(ctxt);  List returnedFacts = returnedContext.getReturnedFacts();

 

I expected that the list of returned facts would contain the output of the decision table, but when I print it to system out I see only the values which I passed in.

 

Can anyone provide any pointers? I would like to avoind calling the decision table as a service.

 

Kind Regards

Adam

Can BRF+ applications transported in BC Sets?

$
0
0

Hi,

 

I expect the answer to be "no" but I would like to have a confirmation. From my experience BRFplus (customizing) applications won't be able to be delivered as BC Sets because of the following reasons:

  • there are no maintenance views
  • a export/before method does permit is (due to message S_CUS_IMG_ACTIVITY 145)

 

This could be fixed but the following but message S_CUS_IMG_ACTIVITY 151 says thats the customizing tables have STRING components (f.e. documentation) and those can't be included into BC Sets.

 

Best Regards,

Tobias

 

 

Pop-up Window in BRFplus

$
0
0

Hello Experts,

I am developing an application where the user needs the Pop-up functionality for Export to Excel i.e whenever he wants to download the decision table data and clicks on Export to Excel menu, he needs a pop-up for confirmation.

If any of you have implemented something similar to it or have any idea on how to implement it kindly help.

 

Thanks,

Pradeep

message class as result data object

$
0
0

hello brf+ users,

is it possible to use as Result data object in a Case expression a message from a custom message class?

 

thanks

danilo


Using BRFplus for Dunning by Collection Strategy

$
0
0

Hi

 

We are in ECC 6.0 EHP5 system. Hence we are exploring the option of using BRFplus for the Dunning by Collection Strategy. I have referred to SAP Note 1466868. But I would like to know how to get the context data elements into formula expressions.

 

For example, in old BRF (transaction BRF) we can create expressions of type "Access Context Information" (expression type 0FICADR001) that will fetch data from either standard contexts ($FKKMAGRP, $FKKMAVS) or custom contexts.

 

Similarly in BRFplus, how to get hold of values from the standard contexts (which I think may be I_FKKMAGRP as per SAP Note 1466868)? Do we have any such standard contexts available in BRFplus for collection strategy?

 

Has anyone currently using BRFplus for their dunning by collection strategy instead of BRF? Or is it ideal to use the old BRF for collection strategy?

 

In old BRF, at least SAP has given a sample application class COLLECTIONS_U for reference. Do we have something similar in BRFplus? And where can we get any help/documentation on using BRFplus for collection strategy.

 

Appreciate your comments as we have to decide whether to use BRFplus or not for our IS-U project.

 

Thanks,

Sakthi.

BRF+ - NW 7.01 - questions about a decision table

$
0
0

In my testcase I have set up a decision table with multiple columns. As long as the number of rows is low it is easy to maintain. But we are looking at the possibility to use this kind of business rules in our current project, and then it would end up in at least 1000 or more rows.

 

Is there an easy, user friendly way to let the business users maintain such a decision table ?

Do you need to activate this decision table every time something is changed ?Is it possible to make this decision table local and the rest of the parts (application, data objects, function) transportable ? How can you deal with such a situation in the best way ?

Is there a query / filter functionality to query a decision table ?

 

Best regards,

Elly van de Wouw

IT - IFF

web service generation with BRFplus

$
0
0

Hallo Experts,

 

I have created the TechEd example and wished to create web service for this BRFplus function.

Took the guidelines from the paper of Carsten Ziegler

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0435b86-ef8c-2d10-079f-8fd46272a62a?QuickLink=index&overridelayout=true&48752174326371

 

1. created the BRFplus function

11-21-2013 2-54-04 PM.jpg

2. ran the simulation of the BRFplus Function.

  11-21-2013 2-54-57 PM.jpg

3. Generated the webservice

11-21-2013 2-55-14 PM.jpg

4. Tested the generated FM

11-21-2013 2-55-55 PM.jpg   11-21-2013 2-56-38 PM.jpg

5. T-code SOAMANAGER, found the generated webservice

11-21-2013 3-08-55 PM.jpg

6. opened the WSDL document and found the url

11-21-2013 3-10-10 PM.jpg

when I open the url mentioned in the WSDL document, nothing is shown in the browser.

How do I test this generated webservice? Is there any other steps to be followed?

I need to consume this generated webservice in one of my Dashboards.

 

Can anyone throw light on this?

 

Thanks.

BRFplus - Call Procedure

$
0
0

Hi there. In BRFplus I am using the expression CALL Procedure and calling Function Module - CLAF_CLASSIFICATION_OF_OBJECTS. Here I would return answers into a table/structure but the Call doesn't support it. Any idea?

 

BR.

Per Zanchetta

BRFplus versioning and change history

$
0
0

A BRFplus function based on a decision table is the perfect solution for condition evaluation for one of my current requirements. However the customer also has a requirement to see an audit log of changes to the decision table (similar to the log data changes feature for a transparent table). Switching on the versioning does not show much information about what has actually changed. All that is shown in the 'Processing Relevant Changes' is very minimal as below.

 

Table data was changed due to row movement or cell value changes

 

1 rows were added

 

Is there someplace where I can find which line/cell changed or which line is new? The compare only places the two versions side by side but does not provide any tools to navigate to a difference. Manual comparision by line and cell is not an option.

 

TIA.

Ramki.

Viewing all 1717 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>