Entering content frame

Object documentation BDoc

Definition

A Business Document (BDoc) can be defined as a set of transaction statements, which represent a logical object. It is an envelop of all business data that is necessary to run a business process (Example: A sales document).

Use

Every Business Object, which transacts with the Application database to request or write data, needs a BDoc. Every business object has its dedicated BDoc.

Structure

A BDoc contains different sets of data partitioned in terms of segment. Segments are mapped to a table where the mapping defines the relation between abstraction and physical database.

A table consists of columns (data values of the same type) and rows (data records) where one or several fields uniquely identify each record.

A BDoc can have different states:

State of BDoc

It signifies …

Sync BDoc

BDoc data is same as that present on the Middleware server.

Out of Sync BDoc

BDoc data is not updated with the latest data that is on the R/3 server.

Dirty BDoc

Modifications are made to a BDoc but are not saved.

Active BDoc

Copy of BDoc that is used by Transaction Layer at run time. This Bdoc is non-editable.

Edit BDoc

A copy of BDoc is opened as edit copy to make modifications.

Leaving content frame