Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Throw Error message in CVI_CUSTOM_MAPPER BADI

buddhika_krishantha
Active Participant
0 Kudos

Hi,

Is it possible to throw an error message from CVI_CUSTOM_MAPPER BADI? I have tried to throw an error using normal way and it triggered. But when click on back button it's giving a dump.

Also please let me know the use of C_ERROR parameter?

2 REPLIES 2

joltdx
Active Contributor
0 Kudos

Hi!

Can you add an attachment with the dump you get? At least the relevant top parts describing the error and the location, if there is sensitive data in it...

buddhika_krishantha
Active Participant
0 Kudos

Hi,

Thanks for your reply. Below is the code snippet and the dump.

Dump - SYSTEM_ON_COMMIT_INTERRUPTED

if lv_ztag1 > lv_hpay_term.
   MESSAGE e001(zsd)."Payment term not allowed for the customer
endif.