Processing BDoc Types

Procedure

To perform an operation on a BDoc type, you need to first select it. Then, use the follow-on menu path to perform the required operation, as explained in the following table:

Function

Follow-On Menu Path

What You Should Know

Activating a BDoc type

Right-click BDoc type and choose Activate

When you activate a BDoc type, the inactive copy of the selected BDoc type becomes the active copy and the previously active copy is archived. In addition, the BDoc type is available to other applications after saving modifications.

Copying a BDoc type

Right-click BDoc type and choose Copy BDoc

When you copy a BDoc type, the properties of the source BDoc type are automatically assigned to the target BDoc type.

Displaying a BDoc type

Right-click BDoc type and choose Display

N/A

Deleting the Inactive BDoc type

Right-click BDoc type and choose Delete Inactive Version

This deletes the inactive version of the BDoc type.

Generating Stored Procedures

Right-click BDoc type and choose Generate Stored Procedures

Stored Procedures contain program flow, logic, and queries against the database to display information about that database and its users. They accept and generate parameters, return single or multiple result sets, and return values. The BDoc Modeler generates stored procedures that are used by the BDoc Layer for retrieving data.

Generating Bulk Stored Procedures

Choose Start of the navigation pathUtilities Next navigation step Generate Bulk SPsEnd of the navigation path

This generates stored procedures for all the BDoc types (except mBDoc types) displayed in the tree. You can select BDoc types for which you want to generate stored procedures by using the BDoc type filter.

To generate stored procedures for BDoc types starting with A, enter A* in the Name field in the BDoc type filter. This displays all the BDoc types starting with A in the tree. Choose Start of the navigation pathUtilities Next navigation step Generate Bulk SPsEnd of the navigation path.

Generating ERP Services

Choose

Generate

ERP Services are function modules that are used by the flow control of the CRM server during runtime. Therefore, for a BDoc type to be processed by the flow, it is necessary that ERP services are generated.

Deleting a BDoc type

Right-click BDoc type and choose Delete

This deletes the BDoc type irrespective of whether it is an active or inactive version.

Releasing a BDoc type

Choose Enter

After you model and activate a BDoc type, you must release the BDoc type to ensure it is upgraded to the target system without any conflicts.

Transporting a BDoc type

Choose Transport

This creates a transport request for the BDoc type. If a transport request already exists, the BDoc type is added to the existing transport request.

Toggling between the active and inactive versions of a BDoc type

Choose Display mode active/not active

When you modify an active BDoc type, a new inactive version of the BDoc type is created. You use this to toggle between the two versions of the BDoc type.

Object directory entry

Right-click BDoc type and choose Start of the navigation pathMore Functions Next navigation step Object directory entryEnd of the navigation path

This allows you to view the object directory entry for a BDoc type. In addition, you can use this to assign a locally saved BDoc type to a transportable package. To do this, choose Display or Change and in the Package field, enter the name of the transportable package.

Write Transport Entry

Right-click BDoc type and choose Start of the navigation pathMore Functions Next navigation step Object directory entry Next navigation step Write Transport EntryEnd of the navigation path

This allows you to change the transport request for a BDoc type even if the BDoc type is locked in another transport request. When you choose this option, you are prompted to specify the transport request in which you want to place the BDoc type.