Functionality This method posts 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 want to post. Foran external number range, the DOC_NO field is intended for the documentnumber. The filling of the DOCDATE (document date) and POSTGDATE(posting date) fields is optional. For empty fields, the current dateis added. The OBJ_KEY field allows you to enter the number andorganization of a reference document (10 characters). The OBJ_TYPE field is for the object type of the sending system. Youshould only fill the LOGSYSTEM field if this document belongs to anon-SAP system. You can enter a document header text in the DOC_HDR_TXfield. If you know a suitable screen variant, you can store it in theVARIANT field. Filling the VERSION field is only advisable if you areposting on a business process, because if Activity-Based Costing isactive as a parallel accounting system, you must enter a 0 deltaversion. Otherwise you can post only in version 0, which you can 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 of measure X ACT_UNIT_ISO Unit of measure in ISO code X PRICE Activity price for the activity X POS_OUTQTY Posted output quantity X POSTOUTUN Posted output unit of measure X POSTOUTUN_ISO Posted output UofM in ISO code X PERS_NO Personnel number X SEG_TEXT Segment text X You must enter at least one sender object. Alternatively, you can enterthe unit of measure or currency in ISO code in the *_ISO fields. The collected messages are contained in the MESSAGES structure. Whenthe posting has been successfully completed, the document number isstored in the 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 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 item data of the document to be posted, likeaccount assignment objects, amounts to be posted, units of measure, andso on. Description INCLUDE BAPI_TABLE Value range Type ID Number Message S BK 003 Document posted with number <(>&<)> |