If you ever need to get a super class or all (global) sub-classes of a given ABAP (global) class, you can use the following approach Continue reading
Sometimes you need to find out a transaction code for an IMG activity in SPRO. Continue reading
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.
In case you need to find out if a BAPI is used by a BOR, or if you need to find out a list of all BAPIs used by a BOR, you can use the following.
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
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
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
If you need to display dynamic text in an e.g. confirmation dialog, in which you need to place several variables (different for each popup) you can use function module POPUP_TO_CONFIRM and the parameter table. Continue reading
Some IMG customizing activities are protected against modification in all but customizing system/client. But there might be activities that consultants need to perform directly in the production system without transporting the change though all the systems. Continue reading
There’s a user exit EXIT_SAPMM06E_012 (include ZXM06U43) you can use to perform various user checks before an RFQ is saved in Tx ME41/ME42. But what if you need to modify the line item data? Continue reading