Professional Documents
Culture Documents
SAP ABAP Code For DR Report
SAP ABAP Code For DR Report
SAP ABAP Code For DR Report
cument
"Based on remaining bank documents, get list of these document with line i
tems
SELECT * FROM zds_vdoc_glbnk
APPENDING TABLE @it_vdoc
FOR ALL ENTRIES IN @it_tmp_bankdoc
WHERE belnr = @it_tmp_bankdoc-paydoc
AND gjahr = @it_tmp_bankdoc-payyer
AND rbukrs = @p_bukrs.
DELETE ADJACENT DUPLICATES FROM it_vdoc COMPARING rbukrs belnr buzei gjahr a
gbl auggj.
IF sy-subrc EQ 0.
lv_val = wa_final-paydoc.
ENDIF.
ENDIF.
ENDLOOP.
BREAK fico-hallar.
CLEAR: it_bankdoc[],it_bankdoc,it_vdoc[],it_vdoc,it_tmp_bankdoc[],
it_tmp_bankdoc,wa,it_vdoc_tmp[],it_vdoc_tmp
* it_alldata[],it_alldata