Sometimes you need to find out a transaction code for an IMG activity in SPRO. Continue reading
Tag Archives: ABAP
ABAP – Get max value of variable type as PACKED number
In this short code snippet I try to get maximum number of a variable typed as packed number and compare it against given amount.
This code can be used to detect possible overflow and let program react accordingly.
ABAP – Load user-specific selection screen variant during program initialization
When user starts a program/report in SAPGUI, he want’s to have some speicific fields to be pre-filled with fixed values. This is true especially on more complex selection screens. So he must either create a transaction which executes the report with selected variant, or he can start the program directly and choose the variant on the selection screen manually.
But there’s also another option – load the variant dynamically by ABAP coding, during the INITIALIZATION event… Continue reading
ABAP – ALV with custom F4 field
Here you can find a code snippet about how to enable specific fields of your ALV to be F4 responsive with a custom programmed search help. Continue reading
ABAP – Very simple ALV
It’s quite common request to show lines of an internal table in form of ALV popup – e.g. some custom log messages after a program execution. Continue reading
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 – Number ranges usage
I wanted to have a tool for monitoring usage of internal number ranges in a system (such tool should be used also as a backround job) which can alert a system administrator in case a number range is reaching end of its interval. Continue reading
ABAP – Get Workflow tasks assigned to a user
Sometimes you need to find out whom a particulat workflow task belongs to or other way, which workflow tasks belong to a specific user. Continue reading
ABAP – Parsing VAKEY in SD pricing conditions
It is possible to parse VAKEY (100 chars) field to separated key fields manually, knowing the structure of each condition table (A004, A055, …). Continue reading
ABAP – SET PARAMETER ID and ME33L
I need to display a scheduling agreement after click on hotspot (containing SAG document number) in ALV.