Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AcctngRepstPrimCosts



Index

AcctngRepstPrimCosts

AcctngRepstPrimCosts


The business object Accounting Repost Primary Costs is an object
that is responsible for the consistent transfer posting of primary costs.



Integration



Among other things, this object determines the components in Accounting
in which primary costs are to be updated. It gives you the opportunity
to initiate consistency checks as well as a corresponding posting in the respective components (delegation).


11-Dec-2005


Methods

Available Methods


  • Check : FI/CO: Check primary cost document [ BAPI_ACC_PRIMARY_COSTS_CHECK ]
  • Post : FI/CO: Post primary costs [ BAPI_ACC_PRIMARY_COSTS_POST ]

11-Dec-2005


Check

Check


Method checking a document with primary costs.

Structure DOC_HEADER holds the document header data. Field CO_AREAholds controlling area used for posting. For external number ranges,field DOC_ holds the document number. Fields DOCDATE (document date)
and POSTGDATE (posting date) are optional; the R/3 System uses thecurrent date for empty fields. Field OBJ_KEY holds the number and organization of a reference document (10 characters each). FieldOBJ_TYPE holds the object type of the sender system reference document.
Field LOGSYSTEM is for documents from external systems only. FieldDOC_HDR_TX can hold a document header text. Field VARIANT can hold avalid screen variant if one is known. Field VERSION is not useful here;you can post only in version 000 which is set as the default.


You must specify the transaction currency for the entire document. Youcan either specify the currency in SAP format in the TRANS_CURR field or in ISO code in the TRANSCUR_ISO field.
The USERNAME field is a required field.

Table DOC_ITEMS adopts the document item data. The data consists of:


Field Name Short Text Optional

----------------------------------------------------------------

SEND_CCTR Sender Cost Center

SENDER_ORD Sender Order

SEN_WBS_EL Sender WBS 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 Transaction Currency Ammount


QUANTITY Total Quantity Entered X

POSTQUUN Posted Quantity Unit X

POSTQUUN_ISO Posted Quantity Unit 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

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. Fields with*_ISO can also hold quantity units or currencies in ISO code.


Structure MESSAGES returns all messages. Parameter DOC_NO holds the document number for successful postings.


11-Dec-2005


Post

Post


Method for posting a document with primary costs.

Structure DOC_HEADER holds the document header data. Field CO_AREAholds controlling area used for posting. For external number ranges,field DOC_ holds the document number. Fields DOCDATE (document date)
and POSTGDATE (posting date) are optional; the R/3 System uses thecurrent date for empty fields. Field OBJ_KEY holds the number and organization of a reference document (10 characters each). FieldOBJ_TYPE holds the object type of the sender system reference document.
Field LOGSYSTEM is for documents from external systems only. FieldDOC_HDR_TX can hold a document header text. Field VARIANT can hold avalid screen variant if one is known. Field VERSION is not useful here;you can post only in version 000 which is set as the default.


You must specify the transaction currency for the entire document. Youcan either specify the currency in SAP format in the TRANS_CURR field or in ISO code in the TRANSCUR_ISO field.
The USERNAME field is a required field.

Table DOC_ITEMS adopts the document item data. The data consists of:


Field Name Short Text Optional

----------------------------------------------------------------

SEND_CCTR Sender Cost Center

SENDER_ORD Sender Order

SEN_WBS_EL Sender WBS 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 Transaction Currency Ammount


QUANTITY Total Quantity Entered X

POSTQUUN Posted Quantity Unit X

POSTQUUN_ISO Posted Quantity Unit in ISO Code X

PERSON_NO Personnel Number X


SEG_TEXT Segment Text X

REC_CCTR Receiver Cost Center

REC_ORD Receiver Order

REC_WBS_EL Receiver WBS 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 Sender Activity Type

You must enter at least one sender and one receiver object. Fields with*_ISO can also hold quantity units or currencies in ISO code.

Structure MESSAGES returns all messages. Parameter DOC_NO holds the document number for successful postings.


11-Dec-2005