SAP ABAP IMG Activity /AIN/DM_DOC_TYP (Define Document Types)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/DM (Package) Auto-ID Data Management
IMG Activity
ID /AIN/DM_DOC_TYP Define Document Types  
Transaction Code /AIN/79000012   (empty) 
Created on 20060817    
Customizing Attributes /AIN/DM_DOC_TYP   Define Document Types 
Customizing Activity /AIN/DM_DOC_TYP   Define Document Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /AIN/DM_DOC_TYP    

Use

You use this IMG activity to define new document types in SAP Auto-ID Infrastructure (SAP AII). For each document type that you define, you can maintain a Document Item Context table that contains valid entries. SAP AII uses these entries to store additional information for document items.

SAP AII uses document types to define business documents, and we deliver a standard set of types. If you need a type that does not exist (a customer order, for example) you can use this IMG activity to create it. Optionally, you can use the ABAP Dictionary transaction SE11 to create an associated Document Item Context table.

Requirements

The Document Item Context table must follow these rules:

  • The first field in the table must:
    • Be named 'CLIENT'
    • Be defined as a KEY field
    • Use the domain 'MANDT'
  • The second field in the table must :
    • Be named 'DOC_GUID'
    • Be defined as a KEY field
    • Use a domain that has a data type 'RAW' with length '16'.
  • The third field in the table must:
    • Be named 'DOC_ITEM_GUID'
    • Be defined as a KEY field
    • Use a domain that has a data type 'RAW' with length '16'.
  • The names of all other non-key fields in the table must:
    • Start with the letter Z or Y
    • Be defined as 'Elements' in the Element Set 'SAP_ALL_FIELDS'

STANDARD_SETUP&

SAP delivers the following document types as standard :

Document Type    Document Type description

01    Outbound Delivery

02    Inbound Delivery

03    Stock Counting

50    Inbound Ext. Doc.

51    Outbound Ext. Doc.

Activities

After you create the document item context table, perform the following steps to add a new document type:

  1. Choose New Entries.
  2. Enter a two-character user-defined document type.
  3. Enter a description for your document type.
  4. Enter the name of the document item context table that you want to correspond to this document type.
  5. Choose Save.

Example

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 1   Mandatory 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 /AIN/DM_DOC_TYP 0 /AIN/R4D0000002 Application 
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
/AIN/DM_DOC_TYP S - Table (with text table) SM30  
History
Last changed by/on SAP  20070221 
SAP Release Created in 600