Activites in NWDI

Hi all,
               I am new to this NWDI.Can any one plz give me details abt
1)When activites has to be created and
2)how many activties  a component can have ??
3)Is it possible to work in 2 activites at a time??
Regards
Padma N

Hi,
Activities in NWDI are like locks for your source code. So if you are working on a view (in a webdynpro DC), all relevant files of the view are "checked-out" for you to edit (also serves as a marker telling others that your actually editing them and not to touch them - in a team environment). Not only this, but an activity also functions as version control. Keep modifying the same view and check-in and modify again at a later point of time, NWDI keeps track of the versions.
1)So, thats when you create an activity. Whenever you're modifying source from the repository (i.e DTR), you create an activity and then check-in when you're done with it.
2)There's no limit to the number of activities for a component. Logically you create an activity whenever you change something either part of the DC or the whole of it. And its good to work on different activities for a particular change because you've different versions available through the timeline. For ex. you've to make change A and B to a DC. Either you can create an activity, incorporate both changes A and B and check them in. Alternatively, you can create activity1 incorporate change A, check-in and create activity2 incorporate change B check-in. You've two versions of the source code maintained in the DTR so that you can revert to an old version if necessary.
3)It is possible to work on 2 or more activities at the same time (for the SAME DC), but it is not advisable due to the behaviour of activities (all the activities are consolidated upon check-in and a good reason is to avoid source conflict).
Hope that helps,
Thanks,
Rajit

Similar Messages

  • Activation of Activities in NWDI

    Hi I am facing a problem in Activation of Activities in NWDI.
    Here is the Error Log Whenever I am trying to Activate the Activity
    =======================================================
    INVALID dependency is declared to public part: ejbjar.
    Change request state from PROCESSING to FAILED
    ERROR! The following problem(s) occurred during request processing:
    ERROR! The following error occurred during request processing:Activation failed due to component "sap.com/crm/isa/web/b2b" variant "default". The component is BROKEN.
    =======================================================

    Hello Akshatha
    Thank you for help
    This error occurs for all activities activated by different applications.
    I did tests generating activities with Web Dynpro applications that have no problems and are in the portal and these also generated the same mistake
    All this happens after applying the SP21 to the portal.
    What could have happened? How can I correct this mistake?
    Thanks and Regards,
    Carlos Madrid

  • How to revert the released activities from NWDI

    Hi everyone,
    By mistake wrong activities are released from NWDI track.Now we want them to revert back so that we revert back to actual source code.
    Is it possible to revert the released activities from NWDI (CMS or CBS) ?
    if not what process we have to follow to get it ridoff the unwanted activities ?
    Regards,
    Govindu
    Edited by: Govindu Nagotla on Jan 26, 2012 9:08 PM

    Hi,
    you can use track connections.
    Best Practices: Track design for ongoing development
    Best Practices for NWDI: Track design for ongoing development
    Regards,
    Ervin

  • Problem in Activation of Activities in NWDI

    Hi All
    When I activate an activity generates this error in the CBS
    INVALID dependency is declared to public part: default.
    DC 387 variant "default"][SC 251 "sap.com_SAP_ESS_1" using PP default of DC 115 at Build-Time Dependency
    ERROR! The following error occurred during request processing:Activation failed due to component "isa.com.co/ess/co/cls" variant "default". The component is BROKEN
    Could anyone tell us what the problem could be?
    Thanks and Regards,
    Carlos Madrid

    Hello Akshatha
    Thank you for help
    This error occurs for all activities activated by different applications.
    I did tests generating activities with Web Dynpro applications that have no problems and are in the portal and these also generated the same mistake
    All this happens after applying the SP21 to the portal.
    What could have happened? How can I correct this mistake?
    Thanks and Regards,
    Carlos Madrid

  • Error while adding a used relationship between the New DC and the Web DC

    Hi Gurus
    We are getting the Error in NWDS while Adding  a used relationship between the New DC and the Web DC.
    Steps what we are Done
    1. Create the custom project from inactiveDC's
    2.creating the project for the component crm/b2b in SHRAPP_1
    3.After that we changed the application.xml and given the contect path.
    4.Then we tried to add Dependency to the custom create DC we are getting the error saying that illegal deppendency : the compartment sap.com_CUSTCRMPRJ_1 of DC sap.com/home/b2b_xyz(sap.com.CUSTCRMPRJ_1) must explicitly use compartment sap.com_SAP-SHRWEB_1 of DC sap.com/crm/isa/ like that it was throwing the error.
    so, we skip this step and tried to create the build then it is saying that build is failed..
    Please help us in this regard.
    Awaiting for ur quick response...
    Regards
    Satish

    Hi
    Please Ignore my above message.
    Thanks for ur Response.
    After ur valuble inputs we have added the required dependencies and sucessfully created the projects, then building of the  projects was also sucessfully done and  EAR file was created.
    We need to deploy this EAR file in CRM Application Server by using the interface NWDI.
    For Deploying the EAR into NWDI, we need to check-in the activites what i have created for EAR. once i check-in the activites ,the NWDI will deploy the EAR into CRM Application Server.
    In the Activity Log we are able to check the Activities as Suceeded but the Deployment column is not showing any status.
    When i  right click on my activity Id the deployment summery is also disabled.
    So finally my Question is that where can i get the deployment log file, and where can i check the deployment status for my application..
    Any pointers in this regard would be of great help..
    Awaiting for ur valuble Responses..
    Regards
    Satish

  • E-Commerce 5.0 Custom B2B Application changes are not reflecting on screen

    <h5>Hi Experts,
    I am currently working  the E-Commerce for ERP project. Part of that I am customizing some of standard screens. I was able to indentify JSP, .Properties, .XLF files where I can change Header name (startpage.header),  Shop Name (b2b.jsp.applicationName) etc . I am following the SAP help guide (How Tou2026 Create Custom Application in E-Commerce 5.0.pdf).
    Below are the steps I completed so far
    1)     Created a custom track in NWDI
    2)     Added dependency SC components
    3)     Check in & Imported to development tab
    4)     Imported track in to NWDS
    5)     Created custom DC (J2ee Enterprise Application) under CRMCUSTPRJ SC
    6)     Created copy files from the standard application crm~b2b to our custom application home/b2b_xyz
    7)     Added used relationship between Add a used relationship between the New DC(B2B_XXX) and the Web DC (crm/isa/web/b2b )
    8)     Added relationship between Web DC (crm/isa/web/b2b )and Ext DC (crm/home/shr/ext )
    9)     All above tasks are added to NWDI Activity
    10)     No Build error etc.
    11)      Deployed in to DEV Server and able to access Shop Front and Shop Amin (SCM) screens successfully (Went everything smooth till this step)12)      Now I modified Shop Header and Application name Key/Values in crmb2bresources_en.properties, crmb2bresources_en.xlf of NDI_XXXXXX_Dcrmisawebb2b~sap.com DC
    13)      Rebuild crmisawebb2bsap.com
    14)      Import Used DCu2019s in custom B2B_XXX Project, Rebuild and Deploy
    15)      Restart B2B_XXX custom application in Visual Administrator- Deploy  JDBC
    After all above steps I am expecting to see the shop header and Application Name in my shop. But It wasnu2019t happened.
    I also checked in and activated my activities in NWDI. And my NWDI track
    auto-deploy is on . I believe I donu2019t need to release my NWDI activities to Test.
    Please help me with your inputs.
    Thanks
    Aravind
    <h5>
    Edited by: Aravinda Boyapati on Nov 5, 2010 5:12 PM

    Hi
    Please check  the following for NWDI system
    http://ip:port/TCS/Deployer
    Check deployment status of your request id.
    You can also see the build or deployment errors.
    Regards,
    Sumit

  • Problem activating changes to JDI (SP16)

    <b>Environment</b>
    My environment consists of a NWDS (Version: 2.0.9, Build id: 200411030238, I applied SP16 to it) and NWDI SP16.
    <b>Application</b>
    I have the following DC in my NWDS;
    1) Java DC (containing external libraries i.e. struts)
    2) J2EE Server lib DC (wraps Java DC for runtime, buildtime dependecies)
    3) J2EE web DC (uses 2 and houses my app)
    4) J2EE ear DC (wraps the entire app for deployment to the server)
    In addition to the above details I added a build.vm to the /cfg/ folder in my Java DC above..
    Contents of the build.vm
    ********************start
    <!--
    This script copies all *.jar files below src/packages
    to the folders generated by every public part of the DC.
    -->
    <project name="Copy jar" basedir="." default="build">
    <target name="build" depends="copy" />
    <target name="copy">
    #foreach($pp in $dc_public_parts)
    <echo message="Public Part: $pp.Name"/>
    #set( $ppdir = "$/${pp.Name}" )
    <mkdir dir="$ppdir/lib/java" />
    <copy todir="$ppdir/lib/java" >
    <fileset dir="$/src/packages/" >
    <include name="*.jar"/>
    </fileset>
    </copy>
    #end
    </target>
    </project>
    ********************end
    <b>Problem</b>
    While I can successfully build and deploy to my local J2EE server when I attempt to activate all of my activities to NWDI.  My activities get stuck in a "queued" state and don't go anywhere.  I have tried to re-build my compartment and re-activate but that didn't work.
    Is anyone else having problems with external libraries and SP16?
    Any help would be appreciated.
    Thanks,
    Jarrod

    Hi Jarrod
    Queing usually occurs when the SDM is not available for deployment. You should be able to monitor to your queue with the url
    http://<JDI host>:<port>/TCS/Deployer
    Some of the reasons for queing which I have seen
    ->SDM Connection with the Server broke
    ->There is an administrator logged into the SDM via gui or api.
    You can check if it is any of the above conditions or anything else by monitoring the latest log in the following path within JDI
    /usr/sap/<instance name>/SYS/global/TCS/Log/ (although I am bit fuzzy about the path , please recheck)
    Regards
    Pran

  • Getting VFS manager for client EED_diarough_D failed: Activity report (get

    Hi,
       I'm using NW 2004s SP9. While trying to check in the activities in NWDI from NWDS I'm geting the following error messege:
    " Getting VFS manager for client EED_diarough_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error"
    Can you please help to resolve this issue.
    Regards,
    Subhayu

    NetWeaver Sneak ...  SP 16:  table PVC_ACTVERSVIEW missing i got answer from this.
    Had to redeploy sda and it solved all probs .it was the prob with WAS...

  • LOSS OF ACTIVITIES OPEN. NWDI

    regards,
    I am modifying a standard ESS applications. While making a checkin activity modifications, vpn connection lost. When NWDS restores the activity did not appear in either "open" or "closed" and appeared multiple syntax errors because they lost the link between the server NWDI and NWDS.
    It has the support of the modifications. My question is: How can update the NWDI server having these backups?
    Thank you very much for your help!

    Thank you all.
    Vivek: When I go to CBS and try to find activities, I get a communication error. With help from a basis we could not detect what is wrong. I am attaching the error screen:
    http://www.freeimagehosting.net/qmh1a
    Part of the log is as follows:
    http://www.freeimagehosting.net/j37yl
    John: By the time the VPN goes down I do not have any activity, so I can not checkout. The draft code has many errors right now, I can not do checkin, just build. When you build, no errors are corrected.
    Arun: Similar to what I say to John, I can not do checkin of a new activity because there are many syntax errors. With respect to TCS / Deployer when you submit I get an error 400. I appreciate the information you can give me.
    http://www.freeimagehosting.net/c3whb
    http://www.freeimagehosting.net/4wnfi
    The "team basis" should enable the service?
    regards,

  • NWDI track error while check in activities

    Hi All,
    I have activated a DC which holds a process and the activity error out during check in and activate. So, I've forcefully build and checked in to the track. Looks like the track is now corrupted because no matter what ever changes I am doing for the same DC, I get the error in build for the dc Process. How to revert back the changes pushed to the track? Is there a way to go back to 2 days before version of a track? or any other better way?
    Thx and this is a showstopper for our development in CE BPM/BRM
    pls respond at the earliest
    thx
    mike

    Hi Michael,
    Let me tel you very simple steps for resolving your issue.
    1) Rule 1 is always make sure that your DC is built successfully and it is consitent before you check any activities related to it.
    2) Rule 2 is Never use the option "Activate even if Build fails" during activating your activities.
    Now in your case let me know what went wrong?
    Did you follow the same rules i have mentioned above?
    If No, then Yes offcourse there are workarounds.
    I believe you are using DC of type "Process Composer", but it doesn't matter.
    1) Very Straight forward option is, Right click your DC and choose "Sync to Date" option somewhere under the DTR submenu. Here you can give any nearest possible past date when your code was in a working condition. After the Sync operation your DC will get back into the same state as it was on the Past Date you mentioned. This is a very nice feature provided by SAP in NWDI which actually works based on the version history maintenance principles.
    2) If you don't feel like using above mentione workaround then, first you have to make the corrections in the your DC, so that it becomes consistent and is able to build sucessfully. Once it is able to build then all your pain is gone. to achieve the successful build state of a DC you may have to create some additional activities (E.g. Deleting the changes which might have caused your DC build failure) and then check-in those savior activities and later activate them.
    Let me know about your findings.
    Regards,
    Shreyas Pandya

  • Poor Performance in NWDS when activating NWDI activities

    Hi,
    since a few weeks I do have serious performance problems when
    - connecting to NWDI
    - open the activation request view
    - activating my activities
    Especially when activating it takes 10-15 minutes until I get a response (Dialog box with text "Your activation request has been accepted by CBS", Activation Request ID: xxx) from CBS. When I then click the button "Open Request View" it lasts another 2-3 minutes until I can continue work.
    This problem only appears to my computer. My collegues don´t suffer from this. Therefore the cause of the problem does not reside at the server side. It must be at my computer. When connecting to CMS, CBS, DTR and SLD from my computer via browser I also don´t have any problem. So the NWDS should be the fault.
    What I already done:
    - moved all local projects from workspace folder
    - moved all projects from .dtc/LocalDevelopment folder
    - moved all project folders from .dtc folder that do not belong to my current working project.
    - moved all files from .dtr/.syncdbs
    - moved all unnecessary files from .dtr folder
    - commented all unnecessary entries in the following files of .dtr folder
    -- clients.xml
    -- servers.xml
    Does anyone have an idea how to solve that problem. It makes me crazy.
    Regards
    Helmut

    Hi Kiran,
    connecting to DTR does not take longer than usually but the dialog "Infrastructure initialization..." appears longer.
    The initial response time for login to DTR is 120 ms. Also other operations at DTR are as fast as ever.
    Each time I do an operation at CBS like viewing request results or activating activities it takes extremely long.
    But if I work at CBS via browser ui response times are absolutely normal.
    Regards
    Helmut

  • Reg: Open and Closed Activities in DTR

    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

  • Error while activating activities!!!!

    Hi All,
    I am stuck while checking in a modified version of a project. It gives me 
    <b>"Activation failed: CBS Server Error: The user does not have the authorization for the requested operation( internal code: USR_MISSING_PRIVILEGE)"</b>
    What happened actually is, one of the team member checked out the DC, did some changes but could not check in as the DC had some errors. So there were few activities were left inactive by him. Then I checked out the DC, and did some changes. When I try to activate the changes, it does not allow me to do so. While activating, it says there are few predecessor activities but do not allow.
    When I the other developer tries to activate his activities, it shows him activities created by him and do not allow him to do so also. So I guess it has gone into a loop.
    How to resolve this issue. Please help..
    Regards
    Sandip

    Hi,
    i added the nwdi admin role to my id. after that i was able to check in all the predecessor activities.
    Hi Luciano,
    though i didnt check the way u have mentioned, but i guess that could also fix the problem i was facing.
    Hi siva, vineeth,
    thanks for your answers.
    Regards
    sandip

  • Error while Assembling the Component in NWDI

    HI All,
    I am trying to assemble the component in NWDI . The assemly is failing .When  i check the log file i get the following log.
    20091125100727 Info   :Starting Step Check-assembly at 2009-11-25 10:07:27.0253 +5:00
    20091125100727 Info   :Checks for software component "xxx "are performed now:
    20091125100728 Info   :list of pending activities:
    20091125100728 Info   :c7f91331bd5611debb78001d091853a3
    20091125100728 Info   :eb437877bd5911dece0a001d091853a3
    20091125100728 Fatal  :Nonempty list of ending activities, stopping export now
    20091125100728 Info   :Checks for software component "xxx "finished succesfully
    20091125100728 Info   :Step Check-assembly ended with result 'fatal error' ,stopping execution at 2009-11-25 10:07:28.0488 +5:00
    Is there anything that i have to do with setting of Patch file numbers.
    Regards,
    Divya

    HI  Pascal,
    I checked in the Consolidation workspace. there are two activities in the consolidation workspace .They are not activated. They were created by mistake i.e instead of doing changes in the  development workspace , the changes were done in consolidation workspace. Is this the cause of the error. If yes how do i revert them. Can i do it normally i mean right click and revert.
    Regards,
    Divya

  • Releasing of many activities at once from NWDS failed

    Hi
    I have created several actvities in my NWDS and checked in and actvated them.
    I have created a track connection from this track to the other in CMS.
    Now i tried to release all my actvities and my colleagues activities too at once. It give a big name comma seperated for each of the actvities.
    I am getting an error as below with the activities moved in to the node Failed.
    Internal error: com.sap.cms.util.CMSUnexpectedException
    The export of SC_CR sap.com/Comp#TRACK1_D.13 failed, tcs returncode was 12
    Please let me know anybody got this kind of error. and solution for this.
    or atleast let me know how to revert back from failed node to Default node,
    Additinal info :
    I have list of names seoperated by coma(,) in the failed node in the transport view,  Atleast anybody can tell me how to rename the list of names to simple one
    Thanks in advance
    Regards,
    Pavan

    Make sure there's sufficient diskspace available in the CMS archives folder of the NWDI server.

Maybe you are looking for