ABAP – Problems with combo box in ALV

SAPIn this article I’ll show you how to implement a “combo box” with key-value structure as one of ALV columns. Continue reading

ABAP – ComboBox on Selection-Screen

SAPIn this article I’ll show you how to create a combo box as one of selection-screen parameters Continue reading

SAP Authorizations Basic Overview

SAPThis article contains the very basic info about implementing security in SAP / ABAP using Authorizations Continue reading

ABAP – Check transport request

SAPIf you want to restrict creation of transports (and their release to further systems) based on rules applied on a transport description, you can use method described in this example. Continue reading

WebDynpro 4 ABAP – Open Excel sheet from DMS

SAPIn this article I’ll show you how to retrieve an Excel sheet from SAP DMS (Document management System) where it is stored as “original” in a Document container. Continue reading

ABAP – NO-BREAK space (U+00A0)

SAPThis is just a note that you should be aware of using different kind of space character.
The classical space – you can type it by pressing spacebar – has unicode number U+0020.
The NO-BREAK space character is different – you can type it by pressing ALT+255 – this character will look the same like normal space but in unicode it will have number U+00A0. Continue reading

ABAP – List of all colors available in WebDynpro

SAPThis is a demo webdynpro application to show you a list of all available colors you can use in your WebDynpros.

Continue reading

ABAP – Using dynamic variables in program selection screen variants

SAPI believe you once had to solve a requirement (if not, you’ll definitely receive one in future) where you had to design a SELECTION-SCREEN parameters which value has to be dynamically updated according to results of the program – eg. last processed IDOC number, Purchase/Sales Order number or just the last date when the report was executed. Continue reading

ABAP – CALL TRANSFORMATION to and from Excel using XLST

SAPThis article is here to show you how to export data from ABAP internal table to XML accepted by MS Excel using XSLT transformation. In second part I’ll show the backwards transformation – Excel to ABAP internal table.

Continue reading

Design Patterns in ABAP – Observer

SAPObserver design pattern can be easily demonstrated on a chat service where you have a server and several clients (observers). Once a client sends a message, server receives it and RAISES an EVENT (eg NEW_MESSAGE_RECEIVED) which is OBSERVED by all connected clients (observers) and such message is subsequently displayed in message dialog on all clients. Continue reading