Skip to Content
avatar image
Former Member

BPC script to throw error when *WHEN statement fails

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers