SAP ABAP IMG Activity OCHA_BIC_BH_OBJ (Define Batch-Related Object Types and Parameters)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-BM (Application Component) Batches
     VB0C (Package) Customizing R/3 batch determination
IMG Activity
ID OCHA_BIC_BH_OBJ Define Batch-Related Object Types and Parameters  
Transaction Code S_E4A_94000100   (empty) 
Created on 20080416    
Customizing Attributes OCHA_BIC_BH_OBJ   Define Batch-Related Object Types and Parameters 
Customizing Activity OCHA_BIC_BH_OBJ   Define Batch-Related Object Types and Parameters 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OCHA_BADI_BIC_BHOBJ    

Use

Batch-Related Object (BRO) types are business objects like production order, purchase order, and so on. There are three types:

  1. SAP defined BRO type
  2. Customer defined BRO type (in SAP system)
  3. Customer defined BRO type (External Object type)

In this IMG activity, you do the following for SAP BRO type:

  • Define Batch-Related Object (BRO) types
  • Assign user groups to BRO types
  • Assign events and attributes to BRO type/Event combination

Requirements

The administrator must assign and activate a user-group to the selection tab Batch History. For more details, refer Define User-Group-Specific Selection.

Standard settings

Activities

SAP Defined BRO Type

To define the BRO type events and attributes, do the following:

  1. Go to Logistics # General->Batch Management->Batch Information Cockpit->Batch History->Define Batch Related Object types and Parameters.
  2. Choose Execute.

A Batch Related Object Types screen appears.

  1. Choose New Entries.
  2. Enter the required BRO type in the table.
  3. Enter the relevant data in the columns Table Name and Field Name.

The BRO type is defined and activated. The following table includes the table and field names for all BRO types. This table is maintained in the customizing by the administrator.

BRO Type    Text    Table Name    Field name    Field name    Field name

BAHMAS    Batch Master    MCHA    MATNR    WERKS    CHARG

DELVRY    DELIVERY    LIPS    VBELN    POSNR

INRSLT    Inspection Result    QALS    PRUEFLOS

INSLOT    Inspection Lot    QALS    PRUEFLOS

MATDOC    Material Document    MSEG    MBLNR    MJAHR    ZEILE

ORDITM    Order Item    AFPO    AUFNR    POSNR

POITEM    Purchase Order Item    EKPO    EBELN    EBELP

QUALNF    Quality Notification    QMEL    QMNUM

QUANTS    Quants    LQUA    LGNUM    LQNUM

RESVAN    Reservation    RESB    RSNUM    RSPOS    RSART

SALORD    Sales Order    VBAP    VBELN    POSNR

SAPEBR    Electronic Batch Resord    MCHP    MATNR    CHARG    EBRID

TRNORD    Transfer Order    LTAP    LGNUM    TANUM    TAPOS

USGDEC    Usage Decision    QALS    PRUEFLOS

  1. Check the Active indicator.

On implementing the report program, RVBOBJTABUPD, the relevant information is stored in the index table TOBJ_D_INDEX. The report program RVBOBJTABUPD creates a dynamic query based on the information in customizing settings maintained for each BRO types.

Note: The table name for Batch Master BRO type depends on the batch level. At Plant level, enter MCHA and at Material/Client level, enter MCH1.

  1. Choose the BRO type.
  2. Goto the user group from the Dialog Structure.

You will be assigned a user group by the administrator in order to retrieve the batch history data. The user group contains the accessible BRO types.

  1. Choose Events from the Dialog Structure for the same BRO type.
  2. Enter one of the events, CRTD (Created) or CHGD (Changed) from the Events tab page.
  3. Choose Attributes from the Dialog Structure.

Note: The Changed event is applicable for those BRO types wherein Changed Event Date is maintained as a field in the table for the respective BRO type.

Mandatory and arbitrary attributes are defined per event/BRO type combination. Material, Batch, Plant and Event Date are mandatory attributes. You can define a maximum of 10 arbitrary attributes.

  1. Select the corresponding table name and the field name for the attributes.

Further Notes

Customer Defined BRO Type (SAP System)

In case, you have created a business object in the SAP system as Z object containing a batch, then you have to follow the standard steps mentioned similar to SAP Defined BRO Type. All the customizing entries are defined for standard BRO type. Hence, no implementation is necessary as the standard functions updates and retrieves from the index table.

Customer Defined BRO Type (External Object Type)

In some cases, you have other external systems other than objects defined in SAP system wherein you have maintained the batch data. These objects in external systems are referred to as External BRO types. Then, you must use the external system for execution and store the production relevant information in the external system.

To define external BRO types, do the following:

  1. Follow steps as in SAP Defined BRO Types.
  2. Check the External indicator.
  3. You can define the external batch related object types in the Customizing activity Define External Batch-Related Object Types.

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OCHA_BADI_BIC_BHOBJ 0 AL00000026 Batch Information Cockpit 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
TOBJ_VC_TYPES C - View cluster OBICOBJ  
History
Last changed by/on SAP  20080701 
SAP Release Created in 604