SAP FI模組-記賬憑證FB01的BAPI
阿新 • • 發佈:2019-01-03
FI模組記賬憑證FB01的BAPI - POSTING_INTERFACE_DOCUMENT
部分程式碼如下:
CALL FUNCTION 'POSTING_INTERFACE_START'
EXPORTING
i_function = 'C'.
*-----------------------------------------------------
CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT'
EXPORTING
i_tcode = 'FB01'
IMPORTING
e_subrc = subrc
e_msgid = msgid
e_msgty = msgty
e_msgno = msgno
e_msgv1 = msgv1
e_msgv2 = msgv2
e_msgv3 = msgv3
e_msgv4 = msgv4
TABLES
t_ftpost = gi_ftpost
t_fttax = gi_fttax
t_blntab = gi_xblntab.
*-------------------------------------
CALL FUNCTION 'POSTING_INTERFACE_END'.