Sapass

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



Index

ControllingDocument

ControllingDocument


The business object Controlling document is a record of value
and quantity changes within a controlling area due to a business transaction.


It holds one or more line items detailing the changes.


11-Dec-2005


Methods

Available Methods


  • FindDetails : Read CO Documents: Manual Actual Postings [ BAPI_CO_DOC_GET_ACT_POSTINGS ]
  • GetDetail : Use Find Details: Do Not Use This Method Any Longer [ BAPI_CO_DOC_GET_ACT_POSTINGS ] (Obsolete in 45A)

11-Dec-2005


FindDetails

FindDetails


This method reads the document for a manual actual posting in Controlling.
You should fill the fields DOC_NO (document number and CO_AREA(controlling area) of structure DOC_NO (numbers of the controlling area document).
Alternatively, you can specify the external document number together
with the logical system. You should only specify the logical system ifit differs from the system where the read is taking place. The numberconsists of the fields OBJ_KEY (reference key = 10 character documentnumber + 10 character organizational unit) and OBJ_TYPE (object type of the sender system).

The document items are displayed in the specific tables of the business transaction LINE_ITEM and/or LINE_ITEM_ACTIVTIY orLINE_ITEM_STAT_KEY_FIG. The document header is displayed in the DOC_HEADER structure.
If required, the system displays a message in the RETURN structure.


11-Dec-2005


GetDetail

GetDetail


This method reads the document for a manual actual posting in Controlling.
You should fill the fields DOC_NO (document number and CO_AREA(controlling area) of structure DOC_NO (numbers of the controlling area document).
Alternatively, you can specify the external document number together
with the logical system. You should only specify the logical system ifit differs from the system where the read is taking place. The numberconsists of the fields OBJ_KEY (reference key = 10 character documentnumber + 10 character organizational unit) and OBJ_TYPE (object type of the sender system).

The document items are displayed in the specific tables of the business transaction LINE_ITEM and/or LINE_ITEM_ACTIVTIY orLINE_ITEM_STAT_KEY_FIG. The document header is displayed in the DOC_HEADER structure.
If required, the system displays a message in the RETURN structure.


11-Dec-2005