Skip to Content
0

BPC script to throw error when *WHEN statement fails

May 09, 2017 at 09:46 AM

12

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers