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
FORM get_x_last_chars USING iv_string
iv_num_last_chars TYPE i
IF strlen( iv_string ) < iv_num_last_chars.
cv_result = iv_string.
cv_result = substring( val = iv_string
off = strlen( iv_string ) - iv_num_last_chars
len = iv_num_last_chars ).
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
If you need to create your own parameter id which can be bound to a data element or which you can use in your abap commands SET/GET PARAMETER ID, you can follow the steps described below. Continue reading
In this article I’m going to show how to replace the current business partner assigned to a partner function on a CRM order. 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