cancel
Showing results for 
Search instead for 
Did you mean: 

Designing a brf application

Former Member
0 Kudos

Hello all,

I have been design and implement certain aspects of a development project through BRF. This is my initial thoughts on the process. The client uses a z-table to manage certain checks in the system; it uses it to turn off or on certain business checks- i wanted to implement this through BRF.

I have been exploring the options and reading the documentation; Is the following possible?

If < 3-char for variable - name = mode> ne 'STG'

then

msg 'E' with 'Mode must be stagnant'.

Now this is a preset business rule but in the future they may want to add other modes to ignore - or they would want to turn the entire check off. I dont think BRF would allow an authorized user to adjust the values directly in production system?

To implement it, i did the following

1) used the wizard to create the class, the standard implementation objects and the first event

2) created a context- and assigned it a structure which has the 'Mode ' variable in it

3)Created an expression from the context field- it generated an expression=- the result type is character

4)added the expression for the variable in the event-

Now when i execute the event, it asks for values of the structure; What i do not understand is how is the system going to check if my value of STG is there or not- there is nothing which i can configure/specify anywhere.

What are the next steps? and is the scenario possible where i can set up a simple context which just sends information back that this check is to be checked?-

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the expression type, i can specify the type of expression to check- so if use some sort of decision table or setup where i can setup the value of STG = true and all other = false,

*Edit- i think the case expression would be the way to go-

So when designing it and we require special checks which cannot be done in the simple gui - we can set up a function modue to make the relevant checks;

what i am interested in now would be whether this functionality can be wrapped into another form; where the user has access to switch rules on and off?

for e.g should the system make the check for stg or not- that actual check is coded int o the application/?

Edited by: Zeeshan Shah on Feb 12, 2012 3:40 PM