cancel
Showing results for 
Search instead for 
Did you mean: 

BRF+ data Validation

sarvesh_ranjan
Discoverer
0 Kudos

Hi Experts,

I have BRF+ table where i created decision table with three columns plant, profit center and indicator.

I have a condition for a PLANT and ACTIVE X indicator combination if the value already exists in decision table it should throw an error when user tries to create the same entry.

Input Fields = PLANT, INDICATOR

Output Fields = PROFIT CENTER

1)Plantprofit centreIndicator 
 Plant 11X 
 Plant 12XError - profit centre already active for this plant
     
     
     
2)Plantprofit centreIndicator 
 Plant 11X 
 Plant 21XPossible

I tried using Rule Set and Custom Exit but unable to validate existing entries using loop.

I am new to BRF+ Concept so any help would be appreciated.

Thanks.

View Entire Topic
snedden_almeida
Explorer
0 Kudos

Hi,

Have you tried maintaining the primary key fields as mandatory? Also in the table settings under the decision table, you need to select the option of unique fields only for the particular column. Hope this should work.

Snedden