Ansicht
Dokumentation
PVSDBENG_PXARCID_GET_MULT - Lesen aller Archivierungsvormerkungen zu GUID
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Vendor Master (General Section)Diese Dokumentation steht unter dem Copyright der SAP AG.
Funktionalität
Liest alle Archivierungsvormerkungen zum im Parameter IV_GUID spezifizierten iPPE Objekt und liefert sie im Parameter ET_PXARCID zurück. Wenn es zu einem iPPE Objekt Änderungsstände gibt, werden alle Änderungsstände zu diesem iPPE Objekt gelesen, für die es Archivierungsvormerkungen auf der Datenbanktabelle PXARCID gibt.
Beispiel
method pxcnt_get.
data: lt_pxarcid type ppet_pxarcid_li_tab,
ls_pxarcid type ppet_pxarcid_li,
ls_pxarcid_bf type ppet_pxarcid,
lv_lines type i.
* read pxarcid from database for guid
CALL FUNCTION 'PVSDBENG_PXARCID_GET_MULT'
EXPORTING
IV_GUID = iv_guid
IMPORTING
ET_PXARCID = lt_pxarcid
EXCEPTIONS
OTHERS = 1.
if sy-subrc ne 0.
raise pxcnt_get_error.
endif.
* read pxarcid from buffer for guid
loop at pxarcid_tab into ls_pxarcid_bf
where guid = iv_guid.
move-corresponding ls_pxarcid_bf to ls_pxarcid.
insert ls_pxarcid into table lt_pxarcid.
endloop.
* get highest pxcnt for found pxarcid entries
if lt_pxarcid is initial.
ev_pxcnt = 1.
else.
describe table lt_pxarcid lines lv_lines.
read table lt_pxarcid into ls_pxarcid index lv_lines.
ev_pxcnt = ls_pxarcid-pxcnt + 1.
endif.
endmethod. "pxcnt_get
Hinweise
Weiterführende Informationen
Parameter
ET_PXARCIDIV_GUID
Ausnahmen
GET_ERRORFunktionsgruppe
PVSDBENGSUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up General Data in Customer Master
Diese Dokumentation steht unter dem Copyright der SAP AG.
Length: 3399 Date: 20240523 Time: 054459 sap01-206 ( 35 ms )