Show TOC

Maintaining Code TypeLocate this document in the navigation structure

To maintain the Code Type proceed as follows:

  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver Next navigation step  SAP Gateway Next navigation step  Content  Next navigation step Services Administration Next navigation step Code List Settings Next navigation step Maintain Code Type  End of the navigation path and click on the Activity icon.

  2. Click the New Entries button to create a Code Type.

  3. Select the GSDO Type from the view cluster.

  4. Using the view cluster in the Version field, select the software version corresponding to the Category and the specified GSDO type. Example: Software Component Version: Default/ERP/CRM.

  5. Click in the Category field to display the F4 help source as shown below:



    Figure 1: GSDO Type Help Source
  6. Select a GSDO Type Category from the source list.

  7. Save the selections.

Note
  • In case of selecting ESA in the Category field, the ESA Code Type, ESA Code Name and ESA URI Namespace needs to be specified.

  • In case of selecting Domain, the Domain Name needs to be specified.

    Example: Domain Name: /SAPTRX/EV_PARROL

  • In case of selecting BAPI the following values should be mentioned:

    • Bapi Object Type

    • Bapi Object Name

    • Bapi Method Name

    • Bapi Parameter Name

    • Bapi Field Name

    • Bapi Code Desc Table: This is the table name returned in the DESCRIPTION_FOR_HELPVALUES-FIELDNAME field by BAPI_HELPVALUES_GET rfc that stores the description of the code.

    • Bapi Code Desc Field

Example

Refer Creating a GSDO Type for more information on the values maintained in this example.

To define the F4 help for the list of countries fetched from the QueryCodeList ESA service, enter the following data in the view cluster /IWCNT/VC_CTY:

  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step  Content  Next navigation step Services Administration Next navigation step Code List Settings Next navigation step Maintain Code Type activity End of the navigation path and click on the Activity icon.

  2. Choose the New Entries button to create a new entry in the view cluster.

  3. Maintain the following values:

    • GSDO Type= COUNTRY

    • Version = DEFAULT

    • Code Category = Code Type Category default ESA(QueryCodeList)

    • Code Description= The description for the code in 30 characteres

    • ESA Code Name = CountryCode

    • ESA Code Type = Country Code

    • ESA URI Namespace= http://sap.com/xi/APPL/SE/Global

To define F4 help for the list of Partner Roles fetched from a domain, enter the following data in the view cluster /IWCNT/VC_CTY:

  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step  Content  Next navigation step Services Administration Next navigation step Code List Settings Next navigation step Maintain Code Type activity End of the navigation path and click on the Activity icon.

  2. Choose the New Entries button to create a new entry in the view cluster.

  3. Maintain the following values:

    • GSDO Type = PARTNERROLES

    • Version = DEFAULT

    • Code Category = Code Type Category default Domain (DDIF_FIELDINFO_GET)

    • Domain Name = /SAPTRX/EV_PARROL

To define F4 help for the list of possible values for Contact Allowance BAPI parameter, enter the following data in the view cluster /IWCNT/VC_CTY:

  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver Next navigation step  SAP Gateway Next navigation step  Content  Next navigation step Services Administration Next navigation step Code List Settings Next navigation step Maintain Code Type activity End of the navigation path and click on the Activity icon.

  2. Choose the New Entries button to create a new entry in the view cluster.

  3. Maintain the following values:

    • GSDO Type = CONTACTALLOW

    • Category = Code Type Category default BAPI (BAPI_HELPVALUES_GET)

    • Software Version = DEFAULT

    • BAPI Object Type= BUS1006

    • BAPI Object Name = BUSINESSPARTNER

    • BAPI Method Name = GETCENTRALDETAIL

    • BAPI Parameter = CENTRALDATA

    • BAPI Field Name = CONTACTALLOWANCE

    • BAPI Code Description Table =

    • BAPI Code Description Field = _TEXT