Functionality This method checks a document with sender activities. 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 ---------------------------------------------------------------- SEND_CCTR Sending cost center ACTVTYTYPE Activity type SENBUSPROC Sending business process ACTVTY_QTY Activity quantity ACT_UNIT Activity unit X ACT_UNIT_ISO Activity unit in ISO code X PRICE Price for the activity X POS_OUTQTY Posted output quantity X POSTOUTUN Posted output unit X POSTOUTUN_ISO Posted output unit in ISO Code X PERS_NO Personnel number X SEG_TEXT Segment text X You must specify at least one sender object. Alternatively, you canenter the units of measure or currency in ISO code in the *_ISO fields. 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 structure contains the header data of the document to be posted. Description This parameter enables you to control whether warnings that occur in thedocument checks are 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 for the document to be posted, suchas account assignment objects, quantities to be posted or units ofmeasure. Description INCLUDE BAPI_TABLE Value range Type: S ID: BK Number: 003 Message: Document is posted using number &. |