Application Development and Automation 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: 
Read only

Display error mesage but program should not terminate.

jayesh_mudaliar
Explorer
0 Likes
2,129

Hello everyone,

I have a requirement in which i have to restrict an entry by an error msg (in BADI) but the user can resume editing afterwards. It should not terminate the transaction.

Regards Jay.

Hello everyone,

I have a requirement in which i have to restrict an entry by an error msg (in BADI) but the user can resume editing afterwards. It should not terminate the transaction.

Regards Jay.

4 REPLIES 4
Read only

ashok_mohan
Participant
0 Likes
1,677

Tr displaying the message with type 'E'. You can edit the field afterwards.

MESSAGE 'Custom Message' TYPE 'E'.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,677

Look for a BAdI executed during PAI, before commit start, preferably a 'check' method with allow to return an error message or an exception. Your question is very general?

Regards,
Raymond

Read only

Former Member
0 Likes
1,677

If you are using MESSAGE to display error try using display like 'E'.

For e.g. MESSAGE 'Test' TYPE 'S' DISPLAY LIKE 'E'.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,677

Which BAdI definition are you using? The logic to code is BAdI-dependent.