Solution : https://service.sap.com/sap/support/notes/2178622 (SAP Service marketplace login required)
Key words :
call function 'fclm_bam_amd_read' exporting it_acc_id = lt_accid iv_read_activity = '02' importing et_db_amd = lt_amd et_db_amd_t = gt_amd_t et_db_amd_cur = gt_amd_cur et_db_amd_sig = gt_amd_sig et_db_amd_lim = gt_amd_lim et_db_aclink = gt_amd_aclink et_db_aclink2 = gt_amd_aclink2 et_unauthor_records = lt_unauthor_records exceptions no_record_found = 1, call function 'fclm_bam_amd_modify_multi_cd' exporting it_db_amd = lt_amd it_db_amd_t = lt_amd_t it_db_amd_cur = lt_amd_cur it_db_amd_lim = lt_amd_lim it_db_amd_sig = lt_amd_sig iv_write_with_initial = iv_write_cd = 'x' iv_commit = 'x' iv_needbuffer = iv_chgdoc_type = 'r' it_aclink2 = lt_amd_aclink2, call method gr_alv->set_table_for_first_display exporting it_toolbar_excluding = gt_exclude_button is_layout = gs_layout changing it_sort = gt_sort it_outtab = gt_alv_outtab[] it_fieldcatalog = gt_fieldcat[] exceptions, lock objects call function 'enqueue_efclm_bam_amd' exporting acc_id = <ls_amd>-acc_id langu = sy-langu exceptions foreign_lock = 1 system_failure = 2, call function 'rs_set_selscreen_status' exporting p_status = '%_00' p_program = 'rssystdb' tables p_exclude = lt_exclude, create object gr_cont_docking exporting repid = sy-repid dynnr = '1010' side = gr_cont_docking->dock_at_left extension = 1700, customer component fin-fscm-clm-bam bank account management priority correction, call function 'lvc_fieldcatalog_merge' exporting i_structure_name = 'fclm_bam_s_amd_att' changing ct_fieldcat = lt_fieldcat, &--------------------------------------------------------------------- & form build_alv_data &--------------------------------------------------------------------- text ---------------------------------------------------------------------- --> p1 text <-- p2 text ---------------------------------------------------------------------- form build_alv_data, &--------------------------------------------------------------------- & form exit_program &--------------------------------------------------------------------- text ---------------------------------------------------------------------- --> p1 text <-- p2 text ---------------------------------------------------------------------- form exit_program