Memory: COOMFunctionality This method checks a document with revenues. The structure DOC_HEADER contains the document header data. The fieldCO_AREA contains the controlling area being posted to. For externalnumber ranges, the field DOC_NO contains the document number. The fieldsDOCDATE (document date) and POSTGDATE (posting date) are optional. Ifthese fields are empty, the current date is used. The field OBJ_KEYcontains the number and organization of a reference document (10characters each). The field OBJ_TYPE contains the object type of thesender system reference document. The field LOGSYSTEM should only befilled if the document is from an external system. The field DOC_HDR_TXcan contain a document header text. The field VARIANT can contain avalid screen variant if one is known. The field VERSION is not usefulhere. It can only be posted in version 0 (the default). The transaction currency for the entire document must be specified. Youcan specify the currency in SAP format in the TRANS_CURR field or in ISOcode in the TRANSCUR_ISO field. USERNAME is a required field. The DOC_ITEMS table receives the document item data. The data consistsof: Field Name Description Optional ---------------------------------------------------------------- SEND_CCTR Sender cost center SENDER_ORD Sender order SEN_WBS_EL Sender WBS element SENSALEORD Sender sales order SENITEM Item number in sender sales order COST_ELEM Cost element VALUE_TCUR Amount QUANTITY Total quantity entered X POSTQUUN Posted unit of measure X POSTQUUN_ISO Posted unit of measure in ISO code X PERS_NO Personnel number X SEG_TEXT Segment text X REC_CCTR Receiver cost center RECEIV_ORD Receiver order REC_WBS_EL Receiver WBS element RECSALEORD Receiver sales order RECITEM Item number in receiver sales order You must enter at least one sender and one receiver object. Fields with*_ISO can also hold quantity units or currencies in ISO code. The structure MESSAGES returns all messages. The parameter DOC_NOcontains the document number for the posting. 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 and units ofmeasure. Description You use this table to transfer the characteristics of a profitabilitysegment to the BAPI that is used as a new revenue receiver. The tablemust have the structure BAPIACKECR. The name of the characteristic mustbe entered in the FIELDNAME field, and the value must be entered in theCHARACTER field. To assign the characteristics to a document item, theITEMNO_ACC field must be filled as well. The value of this field mustmatch the value of the field of the same name in the corresponding lineof the DOC_ITEMS table. Description INCLUDE BAPI_TABLE Value range Type: S ID: BK Number: 003 Message: Document is posted using number &. Description You use this table to transfer the characteristics of a profitabilitysegment to the BAPI that is used as the old receiver (or sender ofrevenues). The table must have the structure BAPIACKECR. The name of thecharacteristic must be entered in the FIELDNAME field, and the valuemust be entered in the CHARACTER field. To assign the characteristics toa document item, the ITEMNO_ACC field must be filled as well. The valueof this field must match the value of the field of the same name in thecorresponding line of the DOC_ITEMS table. |