Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to save the changes made in ALV report? (NOT OBJECT ORIENTED!!!)

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member

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.

matt
Active Contributor
0 Kudos

Of course the correct solution is to use the classes not the function modules, and not use FORMs as they're obsolete etc. etc.

0 Kudos

why are the FORMs absolote?

matt
Active Contributor
0 Kudos

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.

0 Kudos

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.