Functionality This method posts a document with statistical key figures. The DOC_HEADER structure contains the document header data. The CO_AREAfield must contain the controlling area in which you are to post. Foran external number range, the DOC_NO field is specified for thedocument number. The fields DOCDATE (document date) and POSTGDATE (posting date) areoptional. For empty fields, the system enters the current date. TheOBJ_KEY enables you to specify the number and organization of areference document (each with 10 characters ). The OBJ_TYPE type fieldis defined for the object type of the reference document of the sendingsystem. You should only fill the LOGSYSTEM field if this document belongs to anexternal system. You can enter a document header text in the DOC_HDR_TXfield. If a suitable screen variant exists, you can archive it in theVARIANT field. It only makes sense to fill the VERSION field if you areposting to a business process. This is because if Activity-BasedCosting is active as a parallel accounting system, you must specify adelta version. Otherwise you may only post in version 0, which is alsoset as the default. The USERNAME field is a required field. The document item data is transferred to the DOC_ITEMS table. Thisconsists of: Field name Description Optional ---------------------------------------------------------------- STATKEYFIG Statistical key figure STAT_QTY Statistical quantity PERS_NO Personnel number X SEG_TEXT Segment text X REC_CCTR Receiver cost center ACTVTYTYPE Activity type RECEIV_ORD Receiver order REC_WBS_EL Work breakdown structure element (WBS element) RECSALEORD Receiver sales order RECITEM Item number in the receiver sales order RECCOSTOBJ Receiver cost object RECBUSPROC Receiver business process REC_NETWRK Receiver network RECOPERATN Receiver network activity RRE_COMP_CODE Company code of the receiving real estate object RRE_BUS_ENT Receiver business entity - Real Estate RRE_PROPERTY Receiver property - Real Estate RRE_BUILDING Receiver building - Real Estate RRE_RENT_UNIT Receiver rental unit - Real Estate RRE_LEAS Receiver lease - Real Estate RRE_MGMT_CON Receiver management contract RRE_INC_EXP Receiver service charge key - Real Estate RRE_SETT_UNIT Receiver settlement unit - Real Estate RRE_REF_DATE Receiver reference date for settlement - Real Estate RRE_CON_NO Receiver contract - Real Estate REC_FUND Receiver fund REC_FUNCTION Receiver functional area REC_GRANT Receiver grant The SRE_* fields are for sender real estate objects are obsolete andare not used. The system displays the collected messages in the MESSAGES structure.With a successful posting, the system archives the document number inthe DOC_NO parameter. Description This field contains the document number of the posted document. Description This structure contains the header data of the document to be posted. Description You can use this parameter to control whether warnings that occurduring the document checks are to be ignored. Description You can use this table to transfer the customer fields (customerinclude CI_COBL) that you added to the account assignment block (COBLstructure) to the BAPI. In addition to the customer fields, you need totransfer a reference to the document row used in the ITEMNO_ACC field.The table must, therefore, have the BAPICOBL_CI structure. Description This table contains the item data of the document to be posted, likeaccount assignment objects, key figures to be posted, and so on. Description INCLUDE BAPI_TABLE Value range Type ID Number Message S BK 003 Document posted with number <(>&<)> |