cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fraud 1.2 SP04 Detection Strategy Creation Error

hozer
Discoverer
0 Kudos

Hello friends,
When I try to create a detection strategy and save it, I get the following error.
I'll be happy if you can help me.

Method: POST
The following request has been sent:
{"description":"Detection Method 27NisanV1","ruleTemplate":"system-local.sap.fra.hrf::detectionMethod","ruleBody":{"type
":"decisionTable","content":{"headers":[{"colID":"id-1490603622132-41","expression":"CLAIM of the ZCA_CLAIM_DET_OBJ","al
ias":"Claim","type":"condition"},{"type":"condition","expression":"MARKA of the ZCA_CLAIM_DET_OBJ","alias":"Marka","colI
D":"id-1490603632191-53"},{"type":"condition","expression":"MODEL_YIL of the ZCA_CLAIM_DET_OBJ","alias":"Model","colID":
"id-1490603655988-57"},{"colID":"id-1490603622133-43","expression":"","name":"detectionResult","type":"output","business
DataType":"Number","isCollection":false},{"colID":"id-1490603622133-44","expression":"","name":"riskValue","type":"outpu
t","businessDataType":"Number","isCollection":false},{"colID":"id-1490603622133-45","expression":"","name":"riskValueCur
rency","type":"output","businessDataType":"String","isCollection":false},{"colID":"id-1490603622133-46","expression":"",
"name":"additionalInformation","type":"output","businessDataType":"String","isCollection":false}],"rows":[{"rowID":"id-1
490603622132-42","row":[{"colID":"id-1490603632191-53","content":"= 'AUDI'","span":1},{"colID":"id-1490603622133-43","co
ntent":"30","span":1},{"colID":"id-1490603622133-44","content":"HASAR_TUTARI of the ZCA_CLAIM_DET_OBJ","span":1},{"colID
":"id-1490603622133-45","content":null,"span":1},{"colID":"id-1490603622133-46","content":null,"span":1}]}]},"hitPolicy"
:"firstMatch"},"status":"Draft","vocabulary":"EPICODE_FRA_DEMO_PROJECT::EPICODE_FRA_DEMO_VOCABULARY","output":"riskInfoD
T","embeddedServices":[{"name":"Mass","readOnly":true,"allowCalibration":false,"executionContext":{"dataObject":{"name":
"ZCA_CLAIM_DET_OBJ","keys":["CLAIM"]},"filter":"ZCA_CLAIM_DET_OBJ.HASAR_TARIHI >= :date_from AND ZCA_CLAIM_DET_OBJ.HASAR
_TARIHI <= :date_to","parameters":{"definition":[{"name":"date_from","dataType":"DATE"},{"name":"date_to","dataType":"DA
TE"}]}}},{"name":"Calibration","readOnly":true,"allowCalibration":false,"executionContext":{"dataObject":{"name":"ZCA_CL
AIM_DET_OBJ","keys":["CLAIM"]},"filter":"first :batchSize ZCA_CLAIM_DET_OBJ where ZCA_CLAIM_DET_OBJ.HASAR_TARIHI >= :dat
e_from AND ZCA_CLAIM_DET_OBJ.HASAR_TARIHI <= :date_to","parameters":{"definition":[{"name":"batchSize","dataType":"INTEG
ER"},{"name":"date_from","dataType":"DATE"},{"name":"date_to","dataType":"DATE"}]}}}]}
The following response has been received:
{"code":"2001","message":"Resource CRUD failure","output":{},"details":[{"subject":"requestHandler.xsjs","messages":[{"c
ode":"26","severity":"error","description":"Technical erroroccurred - HrfException: Could not create the object in the
repository. Make sure the path is correct and that you havethe necessary package privileges to perform this action: sys
tem-local.sap.fra.hrf.strat::100D_STRA_NV_27NISAN_V1_1_1_D_METH_NV_27NISAN_V1.hprrule\nError: HRF Plugin: 1101 Error in
expression; enter string instead of ':date_from'\nHRF Plugin: 2700 Error in rule service filter\n"}]}]}

former_member28818
Contributor
0 Kudos

Please only use alert moderator for reasons as described here: www.sap.com/community/about/rules-of-engagement.html

Accepted Solutions (0)

Answers (2)

Answers (2)

enderbiyikliogl
Newcomer
0 Kudos

Thanks Jon,

we have solved the problem. The solution is ; Vocabulary date types and Domain Date types must be same type.

JonGooding
Advisor
Advisor
0 Kudos

Do you have other HRF components working? Looks like the installs needs to be completed.

Also - could be realted to type record types. Date vs varchar etc.

HRF has required input and output formats....