cancel
Showing results for 
Search instead for 
Did you mean: 

BPC script to throw error when *WHEN statement fails

0 Kudos

Hi All,

Hope everyone is fine.

I am trying to create a validation logic to check before uploading data.

If the Validation fails then I want to force the logic to throw error in DM.

Like the logic below

*WHEN GET(Account = "Validation")

*IS 0

<Forced error> Not sure how can I forced the logic to exit make the DM as error.

*IS <> 0

Statements

*ENDWHEN

*COMMIT

any input will be highly appreciated.

We are in BPC 10 M Sp17

Regards

Raman

Accepted Solutions (0)

Answers (0)