cancel
Showing results for 
Search instead for 
Did you mean: 

Releasing an activity in NWDI with the latest .ear deployed already

Former Member
0 Kudos

Hi all,

We are using EP version 7.0. Previously we used NWDI to move our Web Dynpro Java transports. However, we have encountered an error where we released and transported one activity to QAS and subsequently to PRD, while there is another pending activity for one other application. According to SAP, once we move an activity, the whole SDA will be moved as well so if there are pending changes (even if these are not Checked In), those will be transported as well. As a workaround, we deployed the .ear files instead.

Here's a sample scenario:

     1. There are 2 development components: LeaveForms and FinanceReports

     2. I have created activities LeaveAct1 and FinanceAct1 in NWDI.

     3. The .ear file for LeaveForms was deployed in QAS then subsequently to PRD without checking in/releasing any activity

     4. Another .ear file for FinanceReports was deployed to QAS then to PRD.

     5. Latest application versions for LeaveForms & FinanceReports are now in PRD, while LeaveAct1 and FinanceAct1 are still not checked in

    

Now we want to check in all the activities as there are no more pending changes. Once we check in and release all the activities, which application version would be moved? Would it be the latest .ear version? Please confirm if this is correct or if you can suggest anything, it would be very much appreciated.

Thanks and regards,

Sophia

Accepted Solutions (0)

Answers (4)

Answers (4)

junwu
Active Contributor
0 Kudos

even checkedin, if not activated, it won't move forward

Former Member
0 Kudos

Hi Jun,

We retrieved the .ear file from the server and deployed  to QAS then to PRD via SDM (latest app version) while leaving the activity unchecked. So when i check out the activity, by right it would be the latest version right?

junwu
Active Contributor
0 Kudos

get the ear from dev and deploy?

junwu
Active Contributor
0 Kudos

This message was moderated.

former_member189220
Active Contributor
0 Kudos

Hello,

I do not understand why you have to deploy it manually then there is a implemented mechanism in NWDI about moving your changes trough the landscape.

Of course extracting the .ear and deploy it with SDM or even TELNET will work.

However I wonder why you have not used CM Services based on Activities. It would have given you the flexibility (due to you have been forced to make all these gymnastics)

If you want to be sure you will have the latest version you might

1. create a dummy change (f.a. add a comment)

2. check in ,release and activate this activity.

3. make a try to transport it through DEV to TEST to PROD.

Then this should be the latest version.

Hope this helps.

Regards

Former Member
0 Kudos

Hi Milen,

We had to deploy it manually because there are pending activities in DEV that are not yet ready to be transported. Previously we released an activity via NWDI and all the activities, including those that are not checked in yet, were moved and caused a huge problem in PRD. So now we are moving one .ear file at a time.

Now that there are no more pending changes, we'd like to release all the activities. I want to know that in doing so, it would not affect the current versions (deployed via .ear) in PRD.

Appreciate any input you may have. Thanks

Former Member
0 Kudos

Yes, deploy .ear files via SDM

junwu
Active Contributor
0 Kudos

man, unchecked in activity won't move....

Former Member
0 Kudos

That's what we thought so too. But apparently the whole SDA was moved, even before the other activities were checked in, which caused a huge issue in PRD. We consulted SAP and they said that when we check in and release an activity, make sure that there are no other pending activities because they will be moved as well. That is why we opted to move .ear files moving forward.

However we would like to check in all the activities now that there are no more pending changes. Appreciate any inputs. Thank you

junwu
Active Contributor
0 Kudos

what is pending activity? checked in but not activated/released?

junwu
Active Contributor
0 Kudos

This message was moderated.

junwu
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

Pending activities are not checked in yet nor activated/released. Any relevant inputs you may have will be greatly appreciated. Thanks.

former_member189220
Active Contributor
0 Kudos

Hello,

When you release a certain activity you have to release ALL its predecessors. (it seems like this is what has been done) There is no way out of it. Please refer to this note:

2193906 - Unwanted Predecessors Activities while Releasing Activity

One alternative to this, I have shared in my previous reply. However, as far as I understand, it is too late for you to switch to CM Services - transport based on Activities.

So, nobody might guarantee you that you will not overwrite the already deployed versions with older ones.

However, if this happen you might ask the developers to create new activities particularly for affected functionalities. Please follow what I have recommend you about the dummy change. Of course it will require to create new activities and a lot of extra work.

Another alternative is to try closing these activities. I am not completely sure whether this is possible. The necessary deployment you will continue in the old direct to RTS way. I would not recommend this.

It is not good idea to bypass the "pending / predecessor activities" and to deploy directly on the RTS. If you need better granularity - you should better use CM Services instead of CMS.

I am sorry, I do not see other way out of the present situation.

Good luck.

Regards

junwu
Active Contributor
0 Kudos

only checkedin stuff will be moved, unchecked in stuff is your local only.

junwu
Active Contributor
0 Kudos

without checkin ,you move change??? are u sure?

don't know what sap gives u, you understanding is completely wrong....

Former Member
0 Kudos

Hi Sophia,

obviously the application version which your are now checking in will be moved

Former Member
0 Kudos

So by right it would be the latest version right?