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: 

exit/badi to trigger error message at CJ20n

Former Member
0 Kudos
179

hi all,

i hv tried many exit/badi to trigger the error msg, but mostly at PS side, either the standard has hardcoded to 'Information' message smod: CNEX0037 or it triggers shortdump at badi workorder_update

my requirement: at componenet level, during changing material's quantity, i need to pop up error msg based on my own calculation, pls help

1 ACCEPTED SOLUTION

Former Member
0 Kudos
72

in BAdI workorder_update at_save send the message like

.

.

.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4

RAISING error_with_message.

.

.

.

Hope it helps

Dieter

2 REPLIES 2

Former Member
0 Kudos
73

in BAdI workorder_update at_save send the message like

.

.

.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4

RAISING error_with_message.

.

.

.

Hope it helps

Dieter

0 Kudos
72

HI Dieter,

RAISING error_with_message does not exist in abap syntax