Code: Alles auswählen.
FUNCTION ZSD_SETBANKDATAFORCREDITMEMO.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(VENUM) TYPE VENUM
*" VALUE(TRACKINGNO) TYPE EXIDV
*" EXPORTING
*" VALUE(SUCCESS) TYPE BOOLEAN
*"----------------------------------------------------------------------
UPDATE VBAK SET BANKK = BANKTONO WHERE VENUM = VENUM.
IF sy-dbcnt = 1.
SUCCESS = 'X'.
ELSE.
SUCCESS = ' '.
ENDIF.
ENDFUNCTION.