Ansicht
Dokumentation
BAPI_ACC_MANUAL_ALLOC_CHECK - Accounting: Check Manual Cost Allocation
RFUMSV00 - Advance Return for Tax on Sales/Purchases ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
This method checks a document with manually allocated costs.
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).
You can specify the transaction currency for either the entire document or for each document row. You
can specify the currency in SAP format in the TRANS_CURR field or in ISO code in the TRANSCUR_ISO field.
The field USERNAME is a required entry and should be that of the person entering the data.
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 | Currency amount on BAPI interfaces | |
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 Description | X |
REC_CCTR | Receiver cost center | |
RECEIV_ORD | 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 |
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. If a posting is successful, the system archives the document number in the DOC_NO parameter.
Example
Notes
Further information
Parameters
CUSTOMER_FIELDSDOC_HEADER
DOC_ITEMS
IGNORE_WARNINGS
RETURN
Exceptions
Function Group
K40CTXBHW - Original Tax Base Amount in Local Currency General Material Data
This documentation is copyright by SAP AG.
Length: 5355 Date: 20240523 Time: 084933 sap01-206 ( 60 ms )