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

How to check the Version value of BRF Plus Decision Table.

$
0
0

Hi All,

 

We need to track the changes(old value and new value) for all the context values for a given decision table. I can see the version details in Decision table. I tried to check BRF Plus class to check if any class / method can be utilized to retrieve the old and new version of context value. but no luck so far. Checked through the SCN but didn't figure out anything specific to retrieving old and new value.

 

We need this for a Report which would be executed from ECC scenario for a given period and we need to display the old and new value of the data object with the data object name. If there is any standard report to achieve this please so let me know.

 

Thank You.


web service generation with BRFplus

$
0
0

Hallo Experts,

 

i am trying to generate the web service using the inbuilt functionality but unfortunately it is not working and there is no information on the error as well.

see below the screenshot.

01-17-2014 12-14-54 PM.jpg

FYI: using the SAP NetWeaver 7.40, just got installed.

 

In the old version of SAP NetWeaver 7.3, the functionality used to work.

 

Do I need to do some special settings before i start using the Web service generator?

 

But after this error message, when I check in SE80, the Function module and the web service is created which is not yet functioning properly.

 

Regards

How to read BRF+ decision table into an internal table in ABAP

$
0
0

Hello.

 

I need to get the complete content of a BRF+ decision table in an internal table in ABAP.

Is that possible?

Can someone show me some example code?

 

kind regards,

Jasper Blok

BRF Plus Single vale table column is not referring multiple values

$
0
0

Hi,

 

I have a column Company Code(Type: Element text) in single vale table  and by BADI is returning multiple company code if CR is maintained more than one company code.

 

But at the time of execution of single vale table at company code column it is considering only one company code (if more than one in CR), Which is last one only..

 

How to get all company codes in company code column  , which are maintained in CR.

 

Please help me..

 

 

Regards,

Sri

Search for a String in a BRF+ Application

$
0
0

For analysis/support, I would find it useful to have a search for a string in a BRFplus application: It should return all expressions containing the given search string (or pattern) as a direct value (wherever in the application a string can be entered directly).

 

I started such a search function on the generated class: It looks for literals in the generated code. From there, it could scan backwards to the comment line containing the GUID and ID of the BRF+ expression which uses it.

 

But instead, it would be more straightforward - and better defined - to propagate the tree of expressions from the entry points (which are the application's functions), and to look in each expression for the occurence of a string. Doing it this way, one knows the structure of each expression and the places where strings can be entered directly according to their syntax.

 

My question: Is there already an implementation of string search in BRF+ applications? If not, what would be the idea to implement it using the BRF+ API?

How to create a Dynamic Expression ?

$
0
0

Hi All ,

 

As i'm new to brfplus, can any one please explain me dynamic expression with some use cases.

 

Thanks in Advance,

swathi

How to create a BOPF expression in BRF+ ?

$
0
0

Hello,

 

 

we use Self-Service Procurement business function from ECC6 EhP6.

We are creating business rules to trigger Shopping Cart workflow. Amoung SC data mandatory to trigger or not our workflow, we need to get the SC total amount.

Nevertheless, when SC item (free-text or material items) are added to SC, data are not yet stored to data base.

Besides, SC total amount is determined in standard using an instancied class. So, it is not possible to use an expression call (class which is used must be a static one).

 

Among possible expression, one is dedicated to Business Object Processing Framework.

My question is how to create such an expression: i do not understand what data must be used/populated when such an expression is created.

 

Does anybody have an idea? Is there any documentation explaining this king of expression?

 

Regards.

 

 

Laurent.

BRF Plus Single vale table column is not referring multiple values

$
0
0

Hi,

 

I have a column Company Code(Type: Element text) in single vale table  and by BADI is returning multiple company code if CR is maintained more than one company code.

 

But at the time of execution of single vale table at company code column it is considering only one company code (if more than one in CR), Which is last one only..

 

How to get all company codes in company code column  , which are maintained in CR.

 

Please help me..

 

 

Regards,

Sri


Different data back with a running trace - brf+ calling function

$
0
0

Hi,

 

I have a problemcallinga functionofBRF+from my Abap code.
The functionreturns a table.
WhenI callthe
function
with thedata totrace-the table
contains
correctdatabut whenI takethem
(to save timerunning)
returnsa table withinvaliddata (lo_result)

 

Correctly:


      lo_function
->process( EXPORTING io_context     = lo_context

                                      trace_mode
= if_fdt_constants=>gc_trace_mode_lean

                           
IMPORTING eo_result = lo_result

                                      eo_trace
lo_trace ).

 

.....

 

  Incorrect:

 

 

       lo_function->process( EXPORTING io_context     = lo_context

                    IMPORTING eo_result = lo_result  ).

 

Thanks in advance.
Regards,

Ronit

BRFPlus beginner query

$
0
0

Hello Friends,

 

I recently started working on BRFPlus concepts using the "hotel room rate" application available on the internet.

 

This may be very very basic question.

 

Situation :

 

Rule set created.

  First rule created..and at this step, i need to compare two data objects of type dates : if checkout date is greater than check in date..

 

I created the first part of condition ..... IF Check out date > .... here i dont have the option for selecting the check in date parameter for comparision.

What i see is  only a date field(F4 with calendar selection) , but no option to select the check-in date parameter.

 

Am i missing something here.

 

Could you pls let me know the steps to achieve this?

 

TIA.

 

Regards

Vinay.

BRFPlus Transports - Ability to maintain Decision table entries in PRD

$
0
0

Hi BRFPlus gurus,

 

We are using BRFplus rules in place of customizing tables to maintain some of our business rules.

 

The way I want to see this working is.

 

1) Define Application, Function, Expression (decision table), Data objects in Dev - maintain some test entries in decision table in dev to test.

2) Transport all the objects created in step 1 except decision table entries to QA and evntually to PRD.

 

The problem that I am facing is.

 

1) When I create an application I get to choose Storage Type: System, Customizing or Master Data.

I choose Customizing and that way the application and all the underneath objects get included in the customizing transport and is transportable. What I am not sure is how to exclude decision table entries from the customizing transport.

 

2) In Target systems (QA/PRD) we are not able to maintain any object, including decision table entries. We want users to be able to maintain decision table entris in target systems.

 

How can this be achieved? Is this even possible?

 

Also I will appreciate if someone can help me understand storage types (System, Customizing or Master Data) with examples. I see that if 'Master Data' type is used objects cann't be transported. If 'System' type is used, BRFPlus GUI screen exits while trying to enter transport number and Save. Customizing type is the only type I was able to use for my scneario, but I was not able to exclude decision table entries from the customizing request.

 

I will appreciate any ideas.

 

Thanks,

Saurabh

Email Notification with a link to CR

$
0
0

Hi All,

we are using brf plus for workflow configuration for SAP MDG, can someone help me out with the configuration on email notification with a link to the change request.

I tried searching documents relating to same, but in vain.

 

Help will be much appreciated.

 

Thanks

Sharma.

How to Apply brf+ decision table to all lines of context table ?

$
0
0

For each line of a context table I would like to have a match with a decision table and I wonder whether I need to apply a loop to achieve this. So assuming the decision table has column A as input and column B as result and my context table also has these two columns I wonder how to best achieve kind of a join on column A where the value of column B is copied from the decision table to the context table ? All the examples I found only deal with scalar values.

Code Generation Fails. Is there a Limit?

$
0
0

Hi All,

 

We have a requirement where we have around thousands of rules.

So we have come up with around few thousands of Decision Tables which will accomodate these rules.

I am plannind to have One function module call these few thousand decision tables.

We have one main decision table which will carry all these few thousand decision table as nested decision table.

 

I have created this setup to test the same. I have few thousand decision tables with 3 condition column and 1 result column in each decision table and 10 rules per decision table. I simulate the Function in generation mode and found for 1000 decision tables, code is generated. for 2000 decision table i found the code was generated on some instance and some instance i got error. at 2500 decision table i always got the error.

 

Below is the error i got.

 

'

 

ERROR: No PXA storage space available at the moment. (termination: RABAX_STATE)

'

 

 

So I  would request your expert comment on what is the factor that would effect Code Generation for an FM.

 

Thanks.  

Custom Decision Tables

$
0
0


Hi All,

 

I want to create custome decision tables in BRF+ . I tried searching but coudint get any helpful links.

My requirement is to create custome decision table which will have conditions and these conditions needs to be validated in NWBC screen.

do I need to create these condition tables in USMD_RULE or USMD_SSW_RULE?

 

If i Create Functions and rulesets with rules to validate data. Do I need to Restart Webdynpro Application?

 

Regards,

Sharma


Simulating data is blank while simulating a BRF+ function

$
0
0

Hi Experts,

 

I have created a Function with context data and result data within a BRF+ application.

Function is in Event Mode.

there are 6 Assigned Ruleset to the function.

Each Ruleset contains 2 - 3 Rules.

 

All my objects are Activated without any Warnings or Errors.

 

Thanking in Anticipation,

Harsh

BRF Plus Single vale table column is not referring multiple values

$
0
0

Hi,

 

I have a column Company Code(Type: Element text) in single vale table  and by BADI is returning multiple company code if CR is maintained more than one company code.

 

But at the time of execution of single vale table at company code column it is considering only one company code (if more than one in CR), Which is last one only..

 

How to get all company codes in company code column  , which are maintained in CR.

 

Please help me..

 

 

Regards,

Sri

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.

Replacing FMDERIVE/GMDERIVE with BRFPlus

$
0
0

I currently see a great deal of stress and anguish around managing derivation rules etc for FMDERIVE and GMDERIVE.

 

I understand it is possible to call a function module from FMDERIVE - so it should be [technically] possible to link FMDERIVE to BRFPlus.

 

Does anyone have any experience with this?

 

My particular pain points are:

  • managing WIP
    • i.e. changes from different streams - that have to go live independently
  • testing and regression testing
    • are there any tools for this?
    • I would prefer to maintain a test dataset and re-run tests after changes
  • transporting FMDERIVE/GMDERIVE rules as a delta -
    • it seems this is not possible. It's all or nothing
    • delta has to be applied to target system manually

 

Any direction you might provide would be appreciated.

 

Thanks,

Derek

TABLE output of BRF+ , with multiple entries, not coming in ABAP internal table

$
0
0

Hi,

 

I am having BRF function which gives table as output.

my table output contains multiple entries.

 

TABLE_OUT

 

STATM

 

B

C

K

L

 

and in ABAP i am able to get this data into an objetc w_t which is declare as below

 

TYPES : BEGIN OF y_statm,

                statm(1) TYPE c

              END OF y_statm.

 

DATA: w_t         TYPE REF TO data.

 

FIELD_SYMBOLS:  <d_ref>  TYPE ANY TABLE.

 

*" Getting result

   CREATE DATA w_t TYPE STANDARD TABLE OF y_statm.

 

   ASSIGN w_t->* TO <d_ref_view>.

 

   lo_result->get_value( IMPORTING er_value = w_t ).

 

   lo_result->get_value( IMPORTING ea_value = <d_ref> ).

 

 

----------------------------------------------

now i am getting values in object w_t as

STATM

 

B

C

K

L

 

 

but in <d_ref>

all rows are coming empty although its showing no of rows as 4 , kindly help.

 

Regards,

Khushbu

Viewing all 1717 articles
Browse latest View live


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