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

Problem with Error Message in Enhancement point...

Former Member
0 Likes
2,076

Hi ,

Requirement is i have to raise a error message if my ( IF condition ) is not successful...Problem is error message is coming a like a cancel window with EXIT , if i click on EXIT it is ending the complete transaction code me22n which should not happen .

i tried using message statement as Warning is fine but allowing to go further tabs in item level which should not do as per the requirement.

finally it should work like a error message or any other message type but should not allow the user to go any other Tabs.if the condition fails.

Let me know your suggestions.

Thanks In Advance.

Nicole.

Hi ,

Requirement is i have to raise a error message if my ( IF condition ) is not successful...Problem is error message is coming a like a cancel window with EXIT , if i click on EXIT it is ending the complete transaction code me22n which should not happen .

i tried using message statement as Warning is fine but allowing to go further tabs in item level which should not do as per the requirement.

finally it should work like a error message or any other message type but should not allow the user to go any other Tabs.if the condition fails.

Let me know your suggestions.

Thanks In Advance.

Nicole.

4 REPLIES 4
Read only

Former Member
0 Likes
1,186

Nicole,

Which enhancement are you using. If it's BADI or exit, Read the documentation, it can explain you which type of messages you can trigger from that exit/badi.

--

Reddy

Read only

former_member208517
Participant
0 Likes
1,186

hi Nicole,

Firstly, read the document of the exit. if it mentioned how to raise error message, you are lucky.

if not, my suggestion is to trigger a standard error message which has the style you need .

then located the error message raising codes, use the same way to give the message.

if still not work, look at the programs after the user exit and you may find the error message raising way.

Good Luck!

Kangbo.

Read only

0 Likes
1,186

Hi,

Thanks for replies.....

i'm writing the code in Implicit enhancement point in the standard include .

Thanks,

Nicole.

Read only

0 Likes
1,186

Hi Nicole,

Cann't you use the same message type 'E' with display like addition..

If it is not possible, Please try to display the message with message type 'S' but immediately use Leave to screen addition pointing to the desired screen of ME22n.

Hope this works with your implicit Enhancement.

Regards,

Naresh.