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

How to implement a custom UI control

Former Member
0 Likes
432

I need to display interactive maps on the Windows SAP GUI. The maps

are dynamically generated and fetched from an external map server using ABAP.

The interactive map should be scrollable and allow the user to select a single or multiple POIs (Point Of Interest) using the mouse and drag and drop them into

a table and/or tree. There should be an visual indication on the map

for selected POIs and a tooltip displaying additional information should

pop up if the cursor is placed above a POI. I've implemented all this using

SWT / Java already which was pretty straight forward.

I looked at the CL_GUI_PICTURE control but it seems that I would need more

events (such as OnMouseMove, OnLeft/RightButtonDown, OnLeft/RightButtonUp,

OnDrag) in order to implement this. I think that the CL_GUI_PICTURE has

just a few events in order to minimize client/server interactions.

What are my options to implement such an interactive map on SAP GUI?

I found this blog where a custom control is implemented using ActiveX:

/people/thomas.jung3/blog/2004/09/01/using-net-windows-controls-in-the-abap-control-framework

Is this the way to go? Is there an official developers guide for custom

UI controls from SAP?

2 REPLIES 2
Read only

Former Member
0 Likes
391

Hi Dominik,

Sorry but I don't have an answer - I have been trying to solve the same problem for a while now. I even contacted Thomas Jung directly, but was not able to solve the event sink\handler problem. Although I did manage to re-create his example and display a .NET VB Textbox within the SAP GUI...

If you do manage to get any further - please let me know how you managed to get the event handling to work...

Tx,

N

Read only

Former Member
0 Likes
391

I am also quite new to the custom UI controls. I am deeply attracted by this topic and wonder did you get this problem solved or not. Can you refer me any practical UI control tutorial?