07-04-2018 8:09 AM
i have an alv report. not oo. i have editable cells.
when i make changes, i need to update the database.
can u pls help with sample codes?
not with urls pls.
i just need a perform to save the data.
regards.
07-04-2018 9:11 AM
hi to everybody. i found the solution. hope it is also useful for you.
FORM save_manuel .
DATA: lc_grid TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = lc_grid.
CALL METHOD lc_grid->check_changed_data.
ENDFORM.
regards.
07-04-2018 11:38 AM
Of course the correct solution is to use the classes not the function modules, and not use FORMs as they're obsolete etc. etc.
07-04-2018 3:16 PM
07-04-2018 4:02 PM
They've been made obsolete by SAP. Parameters are not strongly typed and are positional is one reason why they're not really best practice.
Don't use them. Learn to use classes and methods. You can read in the ABAP help that FORM and PERFORM are obsolete.
07-05-2018 8:08 AM
ok. that sounds fine.
then please can you offer me any document that tells the best way to use classes and methods
in object oriented abap programming and also in not object oriented abap programming?
i am new in abap programming so i would appreciate if you do so.
i am really bored of urls and answers to questions that never answer the questions asked.
with my best regards...
mustafa.