|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
ENUMERATIONS in SAP PI 7.1/7.0
By Madhusree Nagalla, Yash Technologies
While consuming a Web service that is provided by SAP PI
7.1/7.0, external application program that consumes the web service need to get
the values for particular field restricted with list of values.
example: For Country_Code field in outbound structure I need restricted 20
country codes (where my business is operative) and I want Country_Code field
value to be in CAPs. Like IND, USA, AUS etc…
creation of a customer in External System, and it is using web service generated
by SAP PI, and updating customers in SAP ECC. The user must select only
restricted company code values or a reconciliation account provided in the drop
down as per their company.
order to achieve this feature, PI 7.1/7.0 has provided us with data type
enumeration in XSD Editor while creating Data Types.
Definition: The most abstract definition of an enumeration of a
set is an exact listing of all of its elements (perhaps with repetition).
SAP PI, enumeration restricts the value range to a set of individual areas .The
values must be separated by blanks or commas in the XSD Editor.
Implementation of enumeration in PI:
Implement Enumeration in “Data type” level under Details column in the XSD
editor or simply press the button provided in the XSD Editor. Data type
enumeration is given below.
Data Type Filed à Details à
the corresponding field level select the details column wherein enter the
required enumerated values separated by a space or a comma as below.
we consume web service generated on this data type Company_Code field will shows
a drop down list that holds enumerated values i.e. the restricted values are
displayed as follows:
we have used Microsoft InfoPath as
A drop down list is appeared with all restricted filed values for selection by using Enumeration in SAP PI 7.1/7.0
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards