There are several ways how to get the fixed values of a domain. In this post I present several way including an Object Oriented approachContinue reading
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
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
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
If you need to read a text out of an invoice, you use standard function module READ_TEXT. But it might be a challenge to identify the correct input parameters for this FM as invoice can contain quite a lot of texts. Continue reading
In this code snippet I’ll show how you can get info about all the handling units in a shipment delivery. Continue reading
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