on 2019 May 08 2:03 PM
Dear community,
We have had the request to make document attachments visible in the payment proposal phase of F110. The same attachments should be visible as in FB03. Now, if we open the relevant items in FB03 to view the attachment, it also works fine in F110. But, if we haven't reviewed the posting in FB03, no attachments are shown in F110.
Once the posting is opened in FB03, the attachements are also shown in F110!
The coding is below. Thanks for your support!
MODULE ZZ_ALIST OUTPUT.
data: go_myobject type ref to cl_gos_manager,
ls_object type borident.
data: wa_xregue_alv like xregue_alv.
CLEAR g_alv_row_id_0112.
CALL METHOD gc_grid_0112->get_current_cell
IMPORTING
e_row = g_alv_line_0112
es_row_id = g_alv_row_id_0112
es_col_id = g_alv_col_id_0112
.
crs_field = g_alv_field_0112.
IF g_alv_row_id_0112-rowtype EQ space.
crs_line = g_alv_row_id_0112-index.
ELSE.
crs_line = 0.
ENDIF.
if not crs_line is initial.
read table xregue_alv with key index = crs_line
into wa_xregue_alv.
if sy-subrc is initial.
concatenate wa_xregue_alv-bukrs
wa_xregue_alv-belnr
wa_xregue_alv-gjahr
into ls_object-OBJKEY.
ls_object-OBJTYPE = 'BKPF'.
ls_object-logsys = 'ITAIS3'.
create object go_myobject
exporting is_object = ls_object
ip_no_commit = ' '
exceptions others = 1.
data: lo_container type ref to cl_gui_custom_container.
endif.
endif.
Request clarification before answering.
User | Count |
---|---|
84 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.