Creating a code

To create a code:

  1. Select Master Data > Codes.
  2. Click the Drill down button of a code line.
  3. Click Edit.
  4. Click the Create button of the Code List Properties list.
    The dialog box Manage Code Properties opens.
  5. Specify this information in the Header Data field set:
    Name
    Specify the name of the code. The name of a code can only be defined once for a specific time period and hierarchy. You can define codes that have the same name for different time periods and hierarchies. For example, specify a customer ID. A Java class that is used in the underlying code list retrieves the valid codes. You can select a valid code from the drop-down list. For example, in the code list TimeZones the Java class fetcher for time zones provides the valid time zones that you can select here. The individual Java classes that are used to validate and to retrieve codes are defined in the code lists CodeListValidatorsForCodes, CodeListValidatorsForProperties, and CodeListFetcher.
    Short Description
    Review or specify a short description of the code. The short description can consist of a maximum of 512 characters.
    Description
    Specify a description of the code.
    Effective from Date

    This field defines the start date of the code.

    Note: For future changes of the specified data, you can define a follow-up code for the subsequent time period and the same hierarchy.
    Effective to Date
    This field defines the end date of the code.
  6. Specify the hierarchy under which the code is stored and accessed in the Hierarchy Data field set. Which hierarchy fields are shown here depends on the search hierarchy structure that is inherited from the code list.
    Accounting Entity
    Select the accounting entity of the customer from the drop-down list.
    Location
    Select the location of the customer from the drop-down list.
    Customer
    Specify the customer ID.
    Ship To Accounting Entity
    Select the accounting entity of the customer's ship to ID from the drop-down list.
    Ship To
    Specify the ship to ID of the customer.
    Trading Partner
    Select the trading partner from the drop-down list.
  7. Specify the required information in the Property Values field set. The fields that are shown here are dynamically created based on the code list properties, which define the attributes of the codes.
  8. To save the code, click OK.
  9. To save the list of codes, click Save.
    A notification displays that the code list has been saved successfully.