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: 

How to display image in error pop up

Former Member
0 Kudos

Hi Gurus,

We have a requirement where user wants to display Image in pop up screen for any error or warning in ECC. Will highly appreciate any help.

Thanks,

Satyam

7 REPLIES 7

Former Member
0 Kudos

How is the pop up for error message created?

If the pop up is based on a custom dynpro such as a modal window, you can use control framework to display the required image.

The approach is the same as using a ALV in a container but instead of the ALV class you would use the class CL_GUI_PICTURE to insert the picture into a container.

You can refer to the example program SAP_PICTURE_DEMO .

Thanks,

Vikram.M

raymond_giuseppi
Active Contributor
0 Kudos

Use SAP GUI options: Interaction Design, Notifications - check boxes for warning an error messages in a dialog box.

Ref: Setting the Type of Message Notification in SAP GUI for Windows.

Ask admin they have options during installation and update of SAG GUI, also look for Server Configuration File.

Regards,

Raymond

matt
Active Contributor
0 Kudos

What image? Why? All messages including SAP standard ones?

But mostly: Why?

SimoneMilesi
Active Contributor
0 Kudos

This request reminds me the Workshop Manager who asked me to make the Workshop alarm to ring when an error occurred in SAP

Former Member
0 Kudos

Thats right Simone. I share the same feeling.

Former Member
0 Kudos

The users have provided some images like "Danger Sign" in case of error popup in a Z program in ECC. They have the notion that SAP standard ones are boring .

0 Kudos

If you want to stick to standard and still have flexibility, use function module POPUP_TO_CONFIRM and for the icons let them choose from transaction ICON. There is plenty to choose from there including several sizes of warnings.