ABAP – Select ALV layout on the selection screen

If you want to offer your users to have a parameter on the selection screen where they can select layout of the ALV to be displayed, you can use the following code snippet Continue reading

ABAP – Dynamically show and hide ALV (as sidebar)

SAPQuite frequently I’m getting requests to create an ALV report where only the “header data” is displayed…but after clicking on a hotspot area in that ALV, another grid (ALV) is to be displayed with detailed information (displayed as a sidebar on the screen, not as a new, modal screen). And of course, this sidebar should be possible to be closed/hidden. Continue reading

ABAP – transport text from SO10

SAPDefault SAP configuration does not include standard texts into transports automatically. So if you create a standard text in TCode SO10 you might face an issue how to transport this text to quality check / production systems.

The approach described in this article can also be applied when you need to transport standard texts translations. Continue reading

ABAP – How to create/modify Source lists

In this code snippet I’ll demonstrate how to create or modify a source list (TCode ME01). I did’t find a suitable “standard way” how to do it, but after digging in the function module which processes inboud IDOC for source list (IDOC_INPUT_SRCLST) I managed to replicate the functionality in my own code.

Continue reading