If you follow my blog, then you probably noticed that I'm not keen of SALV class, as it's not editable and you cannot handle all events that you can in cl_gui_alv_grid class. With a small trick ...
...
Once done, you should create handler for the event and notify ALV grid about it. To do so, you need to declare a method (named hotspot_click in my example) with the addition FOR EVENT HOTSPOT_CLICK ...
... then this mechanism of callback is know for you, if not, then in simply words it’s an kind of event handler. When RRI finish to fill the internal tables with selection data, it allows developer to modify ...
... perfect) class to handle the creation or update of customer master data with CMD_EI_API=>MAINTAIN_BAPI method.
The whole source code is available as current version on Github, from where you can instal ...
... possibility to show or hide the function key on the selection-screen dynamically from method call.
I knew already that whenever you handle selection-screen then program RSDBRUNT is called which ...
...
208
W
Exception handling is empty
NO_HANDLER
CL_CI_TEST_EXTENDED_CHECK
209
E
STOP statement in MODUL definition
STOP_IN_MODULE
CL_CI_TEST_EXTENDED_CHECK ...
... had to use CL_PO_HEADER_HANDLE_MM and IF_PURCHASE_ORDER_MM to fetch all data from purchase order and to move them to MDPA and MDLB structures. Once it was ready the rest was peanuts and I could get rid ...
... how to do this in backgroud. The solution was to run FM ME_COMPONENTS_MAINTAIN and ME_COMPONENTS_UPDATE_PREPARE in correct way together with message handler to not interrupt whole process. Here you can ...
... to SAP. ZCL_HTML_EDITOR class, which is attached to this post, raises an event whenever someone click on save button in the editor, so you can easily handle it and then use new HTML for your purposes. ...
... grid or GUI toolbar of FALV and it will be handled automatically. Demo can be found in ZDEMO_FALV08.
methods mass_replace.
EVT_BUTTON_CLICK_FALV, EVT_USER_COMMAND, EVT_HOTSPOT_CLICK, EVT_DATA_CHANGED, ...
...
report zdemo_falv04.
data: sflight type standard table of sflight.
class lcl_test definition inheriting from zcl_falv.
public section.
protected section.
"redefinition of event handler ...
...
report zdemo_falv03.
data: sflight type standard table of sflight.
class lcl_test definition inheriting from zcl_falv.
public section.
protected section.
"redefinition of event handler ...
... how to use FALV when you want to use event handlers by your own.
"All" events are handled so you just need to redefine proper method starting from evt_*
"! This is demo for FALV with redefinition of hotspot event handler ...
...
Fast CL_GUI_ALV_GRID creation
Replacement of REUSE_ALV_GRID_DISPLAY and REUSE_ALV_GRID_DISPLAY_LVC for a simple editable reports to omit screen creation
All events are already handled ...
... screen creation All events should be already handled and with redefinition of method I can faster use it Faster setting of layout and field catalog attributes Easy switch and copy between popup, full ...
... to do, like selection of some data from DB tables or using of FM to fetch such data. 3. Give the strict tasks to your apprentice! This one is really important. Newcomers cannot handle unclear specifications, ...
... In fact we need only PBO and PAI, in which creation of custom container and ALV object will take place and user command will be handled. PBO / PAI code belllow: module pbo_0501 output.
set pf-status 'STATUS_0501'. ...
... of Attachments article you can connect to GOS from class CL_PO_HEADER_HANDLE_MM which contains method GET_GOS_MANAGER. You can do it for example in PROCESS_ITEM method of ME_PROCESS_PO_CUST . You'll ...
...
isave = 'X'
* TABLES
* IESDUS = IESDUS
. 3. You have created your own transaction to handle standard process, like creation of purchase orders or purchase requisitions. ...
... document then your document appears on the screen (of course if in the meantime user haven't created anything new) You have created your own transaction to handle standard process, like creation of ...
When you create a report or transaction that handles a lot of data with multiple selects and functions that are doing some manipulation of the data, or you have to call in this report a function module ...
... for all entries then you have to do some little coding to handle it as you just cannot check only if key fields are same as in your checked structure. There is a way to do it and the method described can ...