on 11-11-2013 3:13 PM
Hi,
I am using PI7.0.
In a SWCV, I have two namespaces which needs to use one of the common structures. What is the best practice to achieve this?
Should I create a third namespace and create the structure and then use it across both of the other namespaces. Or is it ok to create the generic structure in one of the namespace and simply cross reference it.
Do i have any issues in using DT and Mt across namespaces in same SWCV?
Also I am interested in understanding and organizing the different ways of arranging your SWCV and namespaces?
Like in a typical project, what are the best practices to assign objects, based on module or project etc., Any links would be good to understand.
Regards
Sam
Hi Sam,
Perhaps, you should to think about if the strucuture and more important, the functionality is similar they should belong to the same namespace. The namespace is way to organize your objects with similar functionality, like the developmente class in ABAP. I agree that there will be a few identical strucutures between namespaces but Muniyappan said it is not bad idea to copy them. However, i think it is more useful to share mapping templates and you have this possibility: http://wiki.scn.sap.com/wiki/display/XI/Mapping+templates+in+PI+7.0
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sam,
The below thread - discussion will help
http://scn.sap.com/thread/1797670
PS :
SAP has standard Core and Global Data Types (GDT) which reused across all software components. These Global Data Types are defined in the Software Component SAPGLOBAL under namespace http://sap.com/xi/SAPGlobal/GDT and can be downloaded from Service Marketplace Software Distribution Center and imported into the ESR.
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
Do i have any issues in using DT and Mt across namespaces in same SWCV?
there will be no issues. if you want to use common objects across namespaces in one SWCV you can create new namespace and you can keep objects there. as it is used in one SWCV you can keep in under namespace.
if you look for using common objects across namespaces in more than one SWCV then you can go for separate SWCV.
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. It's nice to have a separate SWCV to maintain all the common objects.
You can create the dependency so that the objects under the new SWCV can be used across all others.
For design best practises you can refer to the below document :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
I would prefer keeping all common reusable objects in a separate SWCV. Stuff like function libraries and utility UDFs can be used across different projects
Regards
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.