Skip to Content
0
Jul 30, 2020 at 09:32 AM

ADDR1_DATA-REMARK

115 Views

Hello,

As part of the code adaptation for S4H migration we changed the ALL TRANSACTION call 'XK02' to the class CALL METHOD cl_md_bp_maintain=>maintain
EXPORTING
i_data = gt_data
IMPORTING
e_return = lt_return.
but , the field ADDR1_DATA-REMARK is not updated.

Do you have any ideas?

code:
DATA:
gt_data TYPE cvis_ei_extern_t,
gs_data TYPE cvis_ei_external,
gs_company TYPE vmds_ei_company,
gs_address TYPE cvis_ei_address1 ,
gs_address_remark TYPE cvis_ei_rem.

CLEAR gs_address.
CLEAR gs_address_remark.

gs_address-task = 'U'.

gs_address_remark-task = 'U'.
gs_address_remark-data-langu = sy-langu.
gs_address_remark-datax-langu = 'X'.

gs_address_remark-data-adr_notes = lv_teltx.
gs_address_remark-datax-adr_notes = 'X'.
gs_address-remark-current_state = 'X'.

APPEND gs_address_remark TO gs_address-remark-remarks.
MOVE gs_address TO gs_data-vendor-central_data-address.

APPEND gs_data TO gt_data

Best regards