Document Builder: Rule load process

58 阅读1分钟

Created by Jerry Wang on Jul 09, 2014

For example check how is the following rule loaded in the runtime:

 

clipboard1

 

 

When we change the value of one variable and click refresh to trigger roundtrip to backend:

 

clipboard2

 

 

the rule detail information is fetched from database table and buffered in the internal table:

 

clipboard3

 

 

in customizing we could see there are totally 3 rules maintained for the content ZCR_KT:

 

clipboard4

 

 

and in the memory, the three rules look like below:

 

clipboard5

 

 

let's focus on the second row for rule CR_RULE_TEST:

 

clipboard6

 

 

 

clipboard7

 

 

rule detail stored here:

 

clipboard8

 

 

double click ARGUMENTS to see its content:

 

clipboard9

 

 

double click on the first line: ->{O:8247*\CLASS-POOL=/IPRO/CL_EVALUATION\CLASS=LCL_AND_OR}

 

clipboard10

 

 

 

clipboard11

 

 

double click one of them, and we get the following result:

 

clipboard12

 

 

->{O:7749*\CLASS-POOL=/IPRO/CL_EVALUATION\CLASS=LCL_FIELD}:

 

clipboard13

 

 

 

->{O:7748*\CLASS-POOL=/IPRO/CL_EVALUATION\CLASS=LCL_CONST}:

 

 

entry for constant value 'X':

clipboard14

 

 

 

clipboard15

 

 

 

clipboard16

 

 

 

clipboard17

 

 

And which operations should be applied on element ZCR_RULE_TEST could be found here:

 

clipboard18