zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Document Builder: how is rule detail loaded from DB to memory

to is from How DB memory Document Builder
2023-09-14 09:03:03 时间

Created by Jerry Wang, last modified on Jul 09, 2014

this wiki gives a more detailed explanation regarding rule loading process as a complement for wiki "rule load process".

In our example we have ZCR_KT which has three different rules: ZCR_NAME, ZCR_RULE_TEST and ZCR_SWIM.

clipboard1

 

When the three rules are loaded into memory from database table, it looks like below:

clipboard2

 

 

 

And in the previous wiki "Rule load process", the column "EVALUATOR" is already filled as below. In wiki "rule evaluation process" we know that this column is the starting point of rule evaluation process. 

clipboard3

 

clipboard4

 

 

How is it filled in the runtime?

  

it is filled by the static method /IPRO/CL_EVALUATION~load below:

clipboard5

 

one importing parameter is rule guid: 005056B23ADB1ED2B7F41E8C6D7CEB49

Through this guid we could get the rule header information from DB table /IPRO/TRULES:

clipboard6

 

Then read rule detail information from table SFOBUEV001 and pass the query result into constructor in line 27:

clipboard7

 

the content of lt_sfobuev001 looks like below in SE16:

clipboard8

 

clipboard9

 

 

all the build in function logic are also hard coded in this method:

clipboard10


 

 

clipboard11