on 02-24-2011 3:17 PM
Hello Guru's,
I am confused with the Open and Closed Activities in DTR, What are the significance of these activities?
And when does an Open Activity changes to Closed Activity?
And why does an Empty Open Activity gets created?
How does the Open Activities effect the Performance of the system?
In NWDS what is the significance of the Public Part and the dcdef xml files?
Please explain and if possible send the links to better understand these? I tried searching for info but with no luck.
Appreciate the Help.
Thanks & Regards,
Pramod
Dear Pramod,
Activity in general can be considered as the wrapper of your changes.
While working in NWDI, any modification that you perform on your source code must be associated with an Activity.
Some Definitions:
Client DTR: Represents the Local Track file system present on you local machine, where Checked-out a desired code from Server DTR
Server DTR: Represents the Central Repository present on the server, where your source code is checked-in.
Open Activities
These are the activities that are not yet checked-in to Server-DTR, and they represent the Open Version.
Exmple:
1) Suppose you have made some modification in "File A" which is associated in Activity-1
2) When you open the DTR Perspective in your Developer studio, you will be able to see all the changes that you have associated in the Activity-1, this DTR-perspective of your NWDS is also termed as Client-DTR.
3) But, when you open the Server-DTR in DTR Web interface, you will not be able to see the same file structure that is present in your client DTR, it will not contain the changes that you have incorporated in Activity-1.
4) The changes present in Activity-A are not available to any other developers, even if you try to use the same developer ID and load the same track, the activities are still said to be purely Local.
Closed Activities
These are the activities that are already Checked-in to Server-DTR and they represent Closed Version.
Example:
1) In the same example explained above assume that we now Check-in the Activity-1.
2) Now, if you open the Server-DTR in DTR Web Interface, you will be able to see the same file structure that is present in your Client-DTR.
3) Now the changes that were present in Activity-A are also available to other developers too.
Open Activity and Performance
1) Open Activities create a temporary entry point reference on the Server DTR you can serach for open activities in Secer DTR web interface, every single activity occupies space on your local machine. So it may affect the performance only if the activity count is very high.
2) In the local file system, the meta data is stored in the .dcdef file in the _comp
subfolder.
3) The meta data is stored in the .dcdef file, every public part has its own meta data file. They are located in the def subfolder of the component and have the fileextension pp.
Every component (DC) is defined by a set of files, stored and versioned together with the
component in the repository.
u2022 A file with the reserved name .dcdef stores the basic attributes such as name,
description and component type, the parent component (if there is one), a list
of child components (if there are any), a list of dependencies, links to the component
sources, and the access control list. The .dcdef file must be stored directly
in the _comp folder.
u2022 The folder _comp/def contains one file for each public part of the component,
which carries the name of the public part with the extension .pp. This file contains a list
of the development objects belonging to the public part and an access control list for
this public part.
Both .dcdef and .pp files are stored in an XML-based format; you can display them in the
content display of the Repository Browser or with any text editor. However, this is
not necessary. To create and edit these files, use the component tools of the SAP NetWeaver
Developer Studio.
In exceptions, you can manually repair the .dcdef or a .pp file of a component.
Note that direct manipulations are dangerous and can render a component
unusable.
I hope you will get a clear picture now.
Regards,
Shreyas Pandya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shreyas,
The info was very helpful.
Here is the situation I am in:
Assume we are are creating a custom component and using a standard DC as dependent component, and when an activity is created to work on the custom component and saving and at the time of activation it fails with the error as below
"USED COMPONENT OR PUBLIC PART IS UNKNOWN OR UNDEFINED"
We are not sure how it is created!!!
Is there any situation when a Public Part is created Dynamically.and why would we get the error as mentioned above?
Regards,
Pramod
Dear Pramod,
I am glad to know that my inputs were helpful.
Please let me know the whether the used component, is present in your DTR-Server or not.
If it's a standard DC as you have mentioned, then can you please tell me it's containing SC name.
To find out the containing SC name of that standard DC, open the Development Infrastructure perspective, select your DC and open the "Dependencies" tab. here you can see that standard DC under the dependencies list. Just mouse over to that standard DC and note down the Containing SC name.
If possible please post the error trace that you are getting.
Regards,
Shreyas Pandya
Hi,
one addition to this:
"USED COMPONENT OR PUBLIC PART IS UNKNOWN OR UNDEFINED"
if you see this error, this means that certain dependent SC(s) haven't been imported.
See the NWDI troubleshooting guide at:
http://wiki.sdn.sap.com/wiki/display/TechTSG/(NWDI)Home --> http://wiki.sdn.sap.com/wiki/display/TechTSG/(NWDI)(CBS)Q0030 --> http://wiki.sdn.sap.com/wiki/display/TechTSG/(NWDI)(CBS)Q0031 --> http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CBS%29Q0034 --> http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CBS%29Q0038 --> http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CMS%29Q0006 --> http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CBS%29Problems-P0006
Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pramod,
For basic information about the open activity and closed activity go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/6c/aed198e1d474429eec7d7bafeed015/content.htm
When open activity will become the closed activity???
=> If you chek-in the open activity the open activity will become the closed activity..
You can perform some function on the open activity and closed activity for that go throught the following link-
OPEN-> http://help.sap.com/saphelp_nw04/helpdata/en/43/30699887936a4f950f80e405c85fea/content.htm
CLOSED-> http://help.sap.com/saphelp_nw04/helpdata/en/9e/859520f82f9e4c828b724fe68e43f9/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.