Skip to content

Commit

Permalink
Modifiable task transport info for HANA
Browse files Browse the repository at this point in the history
  • Loading branch information
bizhuka committed Oct 8, 2021
1 parent 23f7e5a commit 08af38b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/zaqo_editor_old_fld_value_alv.prog.abap
Expand Up @@ -21,7 +21,7 @@ CLASS lcl_fld_value_alv IMPLEMENTATION.
" Prepare layout
DATA ls_layout TYPE lvc_s_layo.
" Just few fileds are edtiable ---> ls_layout-edit = abap_false
IF sy-dbsys cs '*HDB*'.
IF sy-dbsys cp '*HDB*'.
ls_layout-smalltitle = abap_true.
zcl_aqo_helper=>get_se10_history( EXPORTING iv_package_id = p_pack
iv_option_id = p_opt_id
Expand Down
14 changes: 10 additions & 4 deletions src/zcl_aqo_option.clas.abap
Expand Up @@ -616,11 +616,17 @@ METHOD _check_abap_declaration.
lv_is_stat = abap_undefined.
LOOP AT lo_class->attributes REFERENCE INTO ls_attr
WHERE visibility = cl_abap_objectdescr=>public
AND is_read_only = abap_true
AND is_inherited = abap_false
AND is_read_only = abap_true " <--- Mark as READ-ONLY attributes
AND is_constant = abap_false
" AND is_class = abap_false Also initialize class data
AND is_virtual = abap_false.
AND is_virtual = abap_false

" initialize CLASS-DATA or DATA (but not both!)
" AND is_class = abap_false

" super class & child class can have different options! (in that case use only STATIC attributes)
" Example 1 - IO_DATA = NEW ZCL_SUPER( ), 2 - IO_DATA = NEW ZCL_CHILD( )
" Or use IR_DATA = ... instead of IO_DATA
AND is_inherited = abap_false.

" Check instance or static
IF lv_is_stat <> abap_undefined AND lv_is_stat <> ls_attr->is_class.
Expand Down

0 comments on commit 08af38b

Please sign in to comment.