on 08-05-2009 11:03 PM
Here is what i am trying to achieve:
SCHEMA: KKK ( a Schema that has a set of common fields shared by many other schemas eg: contact details...etc etc....)
now i am trying to make newer schemas, DataTypes ie. in this Datatype i'd like to give a reference to KKK which has the shared fields...
is this possible ??
Hi hankovak,
Try to use Data Type Enhancement to achieve what you want.
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ivan,
Just some clarification .
i have SWC XXX
and SWC YYY
now Y is dependant on XXX
in XXX i have created a Datatype called DT_Header
now consider this:
YYY has a namespace http://testing.com
under this namespace i have created a DType enhancement called DT_Outbound_invoice, now this references the DT_header datatype,
thereby all the header fields are in the datatype enhancements.
here is my question, when i want to create a message type, i need to select the Datatype enhancement, but it is not shown in the list.
can you tellme if my approcach is correct?
The DT_Header resides in the SWCV XXX which is actually being reference by YYY.
so in my SWCV YYY i can see the the DT_header under one of the namespaces of the Basis objects,
should i be creating the DT-Header in the SWCV that houses the DT enhancements? isnt' that a bad approach i mean, consider a scenario where in i need to work in multiple swcv's and each swcv's need to refere to a commom Header.. .Y would i have to go on creating the header datatype in eadch SWCV?
correct me if im wrong please.
thanks,
Hank
some more questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By PI I assume that you are on SAP PI7.1.
In SAP PI7.1 we have the concept of Global Datatype, so you can design your DT accordingly. Examples are available under the SAPGLOBAL -
> http://sap.com/xi/SAPGlobal/GDT >-> Global Data Types
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
> in this Datatype i'd like to give a reference to KKK which has the shared fields...is this possible ?
Yes,
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In PI I dont think it can be done I have faced a scenario of WSDL where there was reference to input and ouptut messages which thrown an error ..so the workaround for me was to copy the inoput and outout message and paste in the WSDL..
Similarly for your scenario i dont think reference to schema may not work.. but give references to existing data types will work
HTH
Rajesh
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.