Skip to content

Commit

Permalink
Mass replace Issue #38
Browse files Browse the repository at this point in the history
  • Loading branch information
fidley committed Feb 27, 2017
1 parent 44996aa commit 12f972d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CODE/zcl_falv.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class zcl_falv definition
end of t_email .
types:
tt_email type table of t_email .
constants version type string value '740.1.0.13' ##NO_TEXT.
constants version type string value '740.1.0.14' ##NO_TEXT.
constants cc_name type char30 value 'CC_GRID' ##NO_TEXT.
constants c_screen_popup type sy-dynnr value '0200' ##NO_TEXT.
constants c_screen_full type sy-dynnr value '0100' ##NO_TEXT.
Expand Down
12 changes: 6 additions & 6 deletions CODE/zfalv.fugr.z_falv_mass_replace.abap
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FUNCTION Z_FALV_MASS_REPLACE.
*"--------------------------------------------------------------------
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IO_GRID) TYPE REF TO CL_GUI_ALV_GRID
*" REFERENCE(IO_GRID) TYPE REF TO CL_GUI_ALV_GRID
*" CHANGING
*" REFERENCE(CT_OUTTAB) TYPE STANDARD TABLE
*"--------------------------------------------------------------------
.

*"----------------------------------------------------------------------
data: ft_rsparams type rsparams_tt.
data: f_lines type i.
data: f_num(2) type n.
Expand All @@ -16,6 +14,7 @@ FUNCTION Z_FALV_MASS_REPLACE.
data: f_changed type flag.
data: f_tabix type i.
data: f_space like line of ft_rsparams.

field-symbols: <paramsf> like line of ft_rsparams.
field-symbols: <paramst> like line of ft_rsparams.
field-symbols: <paramsc> like line of ft_rsparams.
Expand Down Expand Up @@ -185,7 +184,8 @@ FUNCTION Z_FALV_MASS_REPLACE.
endif.
endif.

<any> = <paramst>-low.
"<any> = <paramst>-low. "direct assignment not needed and may be dangerous if some
"rules are set in the events like data_change
clear fs_delta.
fs_delta-fieldname = <fcat>-fieldname.
fs_delta-row_id = f_row.
Expand Down

0 comments on commit 12f972d

Please sign in to comment.