mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
fix dynpro set/get parameter (#2312)
* fix dynpro set/get parameter * Dynpro Generation - Flag SET-/GET_PARAM * Update zif_abapgit_definitions.intf.abap * Update zif_abapgit_definitions.intf.xml * add byte order mark back * rename local constant to LC_
This commit is contained in:
parent
ba9968123f
commit
3a20f2cf73
|
@ -791,6 +791,8 @@ CLASS ZCL_ABAPGIT_OBJECTS_PROGRAM IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD serialize_dynpros.
|
METHOD serialize_dynpros.
|
||||||
|
|
||||||
|
CONSTANTS lc_rpyty_force_off TYPE char01 VALUE '/' ##NO_TEXT.
|
||||||
|
|
||||||
DATA: ls_header TYPE rpy_dyhead,
|
DATA: ls_header TYPE rpy_dyhead,
|
||||||
lt_containers TYPE dycatt_tab,
|
lt_containers TYPE dycatt_tab,
|
||||||
lt_fields_to_containers TYPE dyfatc_tab,
|
lt_fields_to_containers TYPE dyfatc_tab,
|
||||||
|
@ -850,6 +852,18 @@ CLASS ZCL_ABAPGIT_OBJECTS_PROGRAM IMPLEMENTATION.
|
||||||
IF sy-subrc = 0 AND <lv_outputstyle> = ' '.
|
IF sy-subrc = 0 AND <lv_outputstyle> = ' '.
|
||||||
CLEAR <lv_outputstyle>.
|
CLEAR <lv_outputstyle>.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
* if the DDIC element has a PARAMETER_ID and the flag "from_dict" is active
|
||||||
|
* the import will enable the SET-/GET_PARAM flag. In this case force "off"
|
||||||
|
IF <ls_field>-param_id IS NOT INITIAL
|
||||||
|
AND <ls_field>-from_dict = abap_true.
|
||||||
|
IF <ls_field>-set_param IS INITIAL.
|
||||||
|
<ls_field>-set_param = lc_rpyty_force_off.
|
||||||
|
ENDIF.
|
||||||
|
IF <ls_field>-get_param IS INITIAL.
|
||||||
|
<ls_field>-get_param = lc_rpyty_force_off.
|
||||||
|
ENDIF.
|
||||||
|
ENDIF.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
||||||
LOOP AT lt_containers ASSIGNING <ls_container>.
|
LOOP AT lt_containers ASSIGNING <ls_container>.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user