cancel
Showing results for 
Search instead for 
Did you mean: 

Char relation exit wiping out the input data after validation fails

shilpas
Explorer
0 Kudos
254

Hi

We have implemented check method in a char relationship exit ABAP class where in we are validating 1 input field combination with the company code. While the validation is happening correctly - I have below three things which I would need some help on to resolve -

1. Though I give error message, it shows up as warning message.

2. The validation is happening for existing records as well, but I need the class to validate only the new records that are input by the user.

3. Whenever the validation fails, the entire record is wiped out and user has to enter all the columns again. For Ex: User has created a new record and filled up data in 10 columns. Validation fails only for 1 column entry - still the entire record is wiped out and user is forced to enter all the columns again.

Please provide guidance in resolving above 3 issues. We are using Embedded BPC version.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

Use BADI_UJ_VALIDATION_RULE_LOGIC

It will be triggered for each intersection before data is written to the cube.

shilpas
Explorer
0 Kudos

Is the BADI valid for Embedded BPC versions? I believe we are suggested to use the Char relationship exits and data slices now..

former_member186338
Active Contributor
0 Kudos
shilpas

Ups, sorry! For sure this badi is only for BPC standard. It's better to describe version of BPC in your question.