SAP ABAP IMG Activity /AIN/VC_ELEMSET (Maintain Element Sets and Attributes)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/PROFILE (Package) AII Profile and element sets
IMG Activity
ID /AIN/VC_ELEMSET Maintain Element Sets and Attributes  
Transaction Code /AIN/38000017   (empty) 
Created on 20040921    
Customizing Attributes /AIN/VC_ELEMSET   Element Set maintenance 
Customizing Activity /AIN/VC_ELEMSET   Element Set Maintenance 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /AIN/VC_ELEMSET    

Use

In this IMG activity, you maintain element sets and their component elements. Element sets are used in various applications. For example, they determine which fields print on RFID labels, and what data a user can enter when creating a document.

Elements and element sets must conform to the following rules:

  • New element names must be in the customer namespace (that is, they must start with "Y" or "Z")
  • New element names must be added to the element set SAP_ALL_Fields
  • An element set must contain elements belonging to its associated parent element set

Requirements

Standard settings

SAP delivers the following element sets:

  • SAP_ALL_FIELDS is delivered with a set of standard field names
    • All other element sets are subsets (children) of SAP_ ALL_FIELDS.
    • You can add additional fields to SAP_ALL_FIELDS.
    • You cannot remove delivered elements from SAP_ALL_FIELDS.
    • Because SAP_ALL_FIELDS is parent to all other element sets, if you remove an element from it, the element is also removed from all other element sets
  • SAP_PRINT_FIELD_LIST is a sample list of fields that could be sent to an RFID printer for label printing
  • SAP_DOCUMENT_CONTEXT_SET_AUTO could be used to maintain list of field prompts in Document Assignment
  • SAP_DOCUMENT_CONTEXT_SET_NOT_AUTO could be used to maintain a list of field prompts in the execution transactions
  • SAP_DOCUMENT_CONTEXT_SET_BW could be used to maintain additional fields for uploading to SAP NetWeaver Business Intelligence

Activities

Create Element Set

  1. Choose New Entries.
  2. Provide an element set name that begins with Y or Z.
  3. Provide the description for element set.
  4. Select a parent element set by choosing F4 or by manually entering the name.
  5. Save.

Assign Elements to Element Set:

  1. Select the newly created element set.
  2. Select the Element node in the Dialog Structure.
  3. Choose New Entries.
  4. Use F4 to select the elements that you want to include in your new element set. The selection list contains the elements that are assigned to the selected set's parent (element set).
    • If the corresponding element in the parent element set had any attributes assigned to it, a dialog box appears asking if you want to copy the attributes from the element in the parent element set.
    • If you choose Yes, the parent element attribute is copied to the child element.
    • If you choose No or Cancel, the parent element attributes are not copied to the child element.
    • The element description (if maintained) is entered automatically.
  5. Choose Save.

Create New Element

  1. In the Element Set node of the Dialog Structure, select the element set SAP_ALL _FIELDS.
  2. Choose the Element node of the Dialog Structure,
  3. Choose New Entries and use F4 to select a new element that you wish to add. The element name must begin with Y or Z.
  4. Enter the element sequence.
    • The sequence is useful if this element set is used in a user interface (UI) as the fields of the element set appear in UI in the same sequence as specified here.
  5. Choose Save.

    Once you have added new elements, they can be used in other user-created element sets. You may add all the elements that are defined for the parent element sets (for element sets other than SAP_ALL_FIELDS).

Maintain Element Attributes

  1. In the Element Set node of the Dialog Structure, select an element set.
  2. Select the Element node of the Dialog Structure and select an element.
  3. Select the Element Attributes node in the Dialog Structure.
  4. Select New Entries.
  5. Use F4 to select an attribute and choose Enter.
  6. Use F4 to select a value for the attribute.
  7. Save.

    NOTE

    The Allowed Attributes node is where you maintain all the attributes that could be possibly be assigned to an element. When you use F4 in the fifth step above, the attributes that display are the ones that have been maintained here.

Copy Element Set

  1. In the Element Set node of the Dialog Structure, select an element set.
  2. Choose Copy As.
  3. Enter a new name.
    • If there were elements assigned to the original element set, the system will ask whether or not the child objects should be copied.
  4. Save your entry.

Example

To add batch and sales order number fields to an element set:

  1. Add elements Z_BATCH and Z_SALES_ORDER_NO to the SAP_ALL_FIELDS element set.
  2. Add Z_BATCH and Z_SALES_ORDER to other field element sets.

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   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/VC_ELEMSET 0 /AIN/R1D0000002 Infrastructure 
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/VC_ESETFLD C - View cluster SM34  
History
Last changed by/on SAP  20060810 
SAP Release Created in 210