Ansicht
Dokumentation
BAPI_ACC_MANUAL_ALLOC_POST - Accounting: Post Manual Cost Allocation
rdisp/max_wprun_time - Maximum work process run time CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
This method posts a document with primary or secondary cost elements (except direct activity allocation).
The structure DOC_HEADER contains the document header data. The CO_AREA field must contain the controlling area in which you are to post. For an external number range, the DOC_NO field is specified for the document number. The fields DOCDATE (document date) and POSTGDATE (posting date) are optional. For empty fields, the system enters the current date. The OBJ_KEY field enables you to specify the number and organization of a reference document (each with 10 characters). The OBJ_TYPE type field is defined for the object type of the sending system. The LOGSYSTEM field is only to be filled if the document is from an external system. The DOC_HDR_TX field can contain a document header text. If a suitable screen variant exists, you can archive it in the VARIANT field. Filling the VERSION field is not useful here. It can only be posted in version 0 (the default).
The transaction currency for the entire document must be specified. You can specify the currency in SAP format in the TRANS_CURR field or in ISO code in the TRANSCUR_ISO field.
USERNAME is a required field and is to indicate the creator.
The document item data is transferred in the DOC_ITEMS table. The data consists of:
Field Name | Short Description Optional | |
---|---|---|
SEND_CCTR | Sender cost center | |
SENDER_ORD | Sender order | |
SEN_WBS_EL | Sender work breakdown structure element | |
SEN_NETWRK | Sender network | |
SENOPERATN | Sender network activity | |
SENSALEORD | Sender sales order | |
SENITEM | Item number in sender sales order | |
SENCOSTOBJ | Sender cost object | |
COST_ELEM | Cost element | |
VALUE_TCUR | Amount in transaction currency | |
QUANTITY | Total quantity entered | X |
POSTQUUN | Posted unit of measure | X |
POSTQUUN_ISO | Posted unit of measure in ISO code | X |
PERSON_NO | Personnel number | X |
SEG_TEXT | Segment description | X |
REC_CCTR | Receiver cost center | |
REC_ORDER | Receiver order | |
REC_WBS_EL | Receiver work breakdown structure element | |
REC_NETWRK | Receiver network | |
RECOPERATN | Receiver network activity | |
RECSALEORD | Receiver sales order | |
RECITEM | Item number in receiver sales order | |
RECCOSTOBJ | Receiver cost object | |
RECACTTYPE | Receiver activity type | |
SEN_CALC_MOTIVE | Sender accounting indicator | |
REC_CALC_MOTIVE | Receiver accounting indicator | |
SENACTTYPE | Sending activity type |
You must enter at least one sender and one receiver object. Alternatively, you can enter the unit of measure or currency in ISO code in the *_ISO fields.
The RETURN structure returns the collected messages. The parameter DOC_NO contains the document number for the posting.
Example
Notes
Further information
Parameters
CUSTOMER_FIELDSDOC_HEADER
DOC_ITEMS
DOC_NO
IGNORE_WARNINGS
RETURN
Exceptions
Function Group
K40CABAP Short Reference Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 5852 Date: 20240523 Time: 091351 sap01-206 ( 59 ms )