Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
I_NO_AUTH | 0 | SPACE | X | |||
I_SGFUNCT | RFIPI-SGFUNCT | C | 1 | SPACE | X | Different FUNCT function |
I_TCODE | SYST-TCODE | C | 20 | Transaction code |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
E_MSGID | SYST-MSGID | C | 20 | Message ID (only for Call Trans. ..Using) |
E_MSGNO | SYST-MSGNO | N | 3 | Message number (only for Call Trans. ..Using) |
E_MSGTY | SYST-MSGTY | C | 1 | Message category (only for Call Trans. ..Using) |
E_MSGV1 | SYST-MSGV1 | C | 50 | Message variable 1 (only for Call Trans. ..Using) |
E_MSGV2 | SYST-MSGV2 | C | 50 | Message variable 2 (only for Call Trans. ..Using) |
E_MSGV3 | SYST-MSGV3 | C | 50 | Message variable 3 (only for Call Trans. ..Using) |
E_MSGV4 | SYST-MSGV4 | C | 50 | Message variable 4 (only for Call Trans. ..Using) |
E_SUBRC | SYST-SUBRC | I | 4 | Return code (only for Call Trans. ..Using) |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
T_BLNTAB | BLNTAB | 19 | Table of the document numbers (only for Call Trans...) | |
T_FTPOST | FTPOST | 268 | Document header and item data | |
T_FTTAX | FTTAX | 117 | Taxes |
Exception | Text |
---|---|
ACCOUNT_MISSING | Account number for footer not transferred |
AMOUNT_FORMAT_ERROR | Format error in the specified amount |
COMPANY_CODE_INVALID | |
COMPANY_CODE_MISSING | Company code for footer not transferred |
NO_AUTHORIZATION | |
POSTING_KEY_INVALID | Posting key not defined in TBSL |
POSTING_KEY_MISSING | Posting key for footer not transferred |
RECORD_TYPE_INVALID | invalid record type (FTPOST-STYPE) transferred |
SCREEN_NOT_FOUND | |
TOO_MANY_LINE_ITEMS | |
TRANSACTION_CODE_INVALID | Transferred transaction code not supported |
Function module 'POSTING_INTERFACE_DOCUMENT' creates a batch inputtransaction ( or Call Transaction ... Using ...) for a document to beposted with FB01 or FBB1. You should transfer all document header and document item data which isneeded for this document to table T_FTPOST. Note the following rules:
Document header data ( K 1) Document item 1 ( P 1) Document item 2 ( P 2) etc. Posting key: RF05A-NEWBS or BSEG-BSCHL Account number: RF05A-NEWKO or BSEG-KONTO or BSEG-KUNNR (for customer accounts) or BSEG-LIFNR (for vendor accounts) or BSEG-HKONT (for G/L accounts) Special G/L indicator: RF05A-NEWUM or BSEG-UMSKZ Company code (for intercompany posting): RF05A-NEWBK or BSEG-BUKRS. The field names are analyzed by the function module so that the datacan be assigned to the right screens. Field names for one-time data ordata for an alternative payer must start with 'BSEC-', for example (seescreen SAPLFCPD 0100). Processing with 'Call Transaction ... Using ' If processing takes place with 'Call Transaction .. Using', theinitiator can see whether processing was successful by looking at theexport parameter'SUBRC'. SUBRC = 0 means that the document was posted. The document number isstored in table T_BLNTAB. For intercompany documents, several documentnumbers are stored here. SUBRC <> 0 means that the document could not be posted. Informationconcerning the error which has arisen is returned via the messagefields MSGID, MSGNO, etc. Support of transaction 'FBB1' If you want to access transaction FBB1, you should note the following: |