Académique Documents
Professionnel Documents
Culture Documents
FM:
POSTING_INTERFACE_START, POSTING_INTERFACE_DOCUMENT,
POSTING_INTERFACE_END.
You should transfer all document header and document item data which is needed for this document to table
T_FTPOST.
The data is marked with a record type (header, code = K; item, code = P) and counter.
The data is transferred with the field name and field value.
o Document item 1 ( P 1)
The field names are the same as those used on the entry screen (e.g. 'BKPF-WAERS', 'BSEG-
WRBTR', 'COBL-GSBER'...).
If processing takes place with 'Call Transaction .. Using', the initiator can see whether processing was
successful by looking at the export parameter'SUBRC'.
SUBRC = 0 means that the document was posted. The document number is stored in table T_BLNTAB. For
intercompany documents, several document numbers are stored here.
SUBRC <> 0 means that the document could not be posted. Information concerning the error which has arisen
is returned via the message fields MSGID, MSGNO, etc.
If you want to access transaction FBB1, you should note the following:
In this transaction you should enter the local currency amount in field BSEG-WRBTR for each
document item.
Parameters
I_TCODE
I_SGFUNCT
I_NO_AUTH
I_XSIMU
E_MSGID
E_MSGNO
E_MSGTY
E_MSGV1
E_MSGV2
E_MSGV3
E_MSGV4
E_SUBRC
T_BLNTAB
T_FTPOST
T_FTTAX
Exceptions
ACCOUNT_MISSING
COMPANY_CODE_MISSING
POSTING_KEY_INVALID
POSTING_KEY_MISSING
RECORD_TYPE_INVALID
TRANSACTION_CODE_INVALID
AMOUNT_FORMAT_ERROR
TOO_MANY_LINE_ITEMS
COMPANY_CODE_INVALID
SCREEN_NOT_FOUND
NO_AUTHORIZATION
Function Group
FIPI