Code: Alles auswählen.
DATA: BEGIN OF bdcdata OCCURS 100.
INCLUDE STRUCTURE bdcdata.
DATA: END OF bdcdata.
DATA: BEGIN OF messtab OCCURS 10.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.
bdcdata-program = 'RVPKMASS'.
bdcdata-dynpro = '1000'.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
CLEAR bdcdata.
bdcdata-fnam = 'SO_VBELN-LOW'.
bdcdata-fval = gv_beleg.
APPEND bdcdata.
bdcdata-fnam = 'P_RRBFLT'.
bdcdata-fval = 'X'.
APPEND bdcdata.
bdcdata-fnam = 'P_SBELN'.
bdcdata-fval = 'X'.
APPEND bdcdata.
bdcdata-fnam = 'P_TEST'.
bdcdata-fval = ' '.
APPEND bdcdata.
CALL TRANSACTION 'DP95' USING bdcdata MODE 'N' UPDATE 'S'
MESSAGES INTO messtab.
Code: Alles auswählen.
bdcdata-fnam = 'BDC_OKCODE'.
bdcdata-fval = '/00'.
APPEND bdcdata.