Show TOC

Sample Service - Basic: Complex TypesLocate this document in the navigation structure

Additional information about the complex types used in the basic OData sample service for SAP Gateway.

The following complex types are used in the basic OData sample service:
  • CT_Address
  • CT_String

Complex Type: CT_Address

  • Complex type name: CT_Address
  • Underlying DDIC structure: /IWBEP/S_GWS_BASIC_ADDRESS

The complex type CT_Address is used in the entity types BusinessPartner and Contact. It represents the address information of the business partner or contact person.

Table 1: CT_Address Properties
Property Description Value Help Entity Set
City City n/a
PostalCode ZIP code n/a
Street Street n/a
Building Building n/a
Country Country code VH_CountrySet
AddressType Address type (for example, '1'-Private, '2'-Business) VH_AddressTypeSet

CT_String

  • Complex type name: CT_String
  • Underlying DDIC structure: n/a

The complex type CT_String is used as a return type in the function import RegenerateAllData.

Table 2:
Property Description Value Help Entity Set
String String (text) that contains the function import result n/a