on 03-05-2014 9:10 AM
Hi everybody,
Hope you can help. I'm currently working on some updates of a mobile application. The changes on the frontend and backend work ok. The problem lies in the update of the Sybase part. We already have a complete environment up and running and that works ok. I recently changed one of the structures of the bapi's which lay behind a MBO. I've refreshed the MBO and I see the new attributes in the workspace.
The second step is to build the package. This works as well.
The third step is to make sure the structure changes are also present in the backend system (QAS). This works ok.
The fourth step is to deploy it in our QAS domain of the SUP server using SCC. I follow the normal steps to update the Package and than the trouble starts. It says it failed to update the current package and provides me with the following errors (I've reduced it to the essential ones):
2014-03-05 09:11:31.023 Subsystem=Error,Application ID=,Application Connection ID=,User=,Correlation ID=,Package=,Root Context ID=,Transaction ID=,MBO=,Operation=,Thread ID=679,Node ID=SUP01,Error=DataServices: deploys intersect, not allowed with mode UPDATE.
And the following related to the newly added attributes:
2014-03-05 09:11:31.014 Subsystem=Error,Application ID=,Application Connection ID=,User=,Correlation ID=,Package=,Root Context ID=,Transaction ID=,MBO=,Operation=,Thread ID=679,Node ID=SUP01,Error=Column "XYZ" :new attribute
And
2014-03-05 09:11:31.014 Subsystem=Error,Application ID=,Application Connection ID=,User=,Correlation ID=,Package=,Root Context ID=,Transaction ID=,MBO=,Operation=,Thread ID=679,Node ID=SUP01,Error=DataServices: MBO: "Inspections" Column "XYZ" :new attribute.
And
2014-03-05 09:11:31.013 Subsystem=Error,Application ID=,Application Connection ID=,User=,Correlation ID=,Package=,Root Context ID=,Transaction ID=,MBO=,Operation=,Thread ID=679,Node ID=SUP01,Error=Columns Conflict
The problem is that the programmer who did al this is not available. I have a guide which I was following to the letter but somehow this doesn't work anymore. Documentation of sybase does not provide information about these errors (as far as I could find).
Hope you can help!
Cheers!
Laurens
I found the following in the documentation. Do I interpret it correctly by saying that adding attributes would result in errors?
Understand package changes supported by an Update deployment.
Schema validation messages returned from Unwired Server if an Update deployment fails include:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When deploying a package in Update mode where an existing version of that package is deployed, deployment fails verification and returns an error if it "breaks" the existing application.
That is correct. Workarounds are:
Deployment from workspace:
Deployment from SCC:
Rgrds,
Jitendra
It is a known issue with SUP server. I am not sure it is the same case in SMP 2.3 too.
When you are making a change in the table structure of RFC like adding a new field or deleting a field it will not reflect in the CDB. A workaround is to delete the MBO package and application from SCC>restart the server and deploy the modified package.
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Midhun,
Doing this would result in a loss of data, is that correct? Would it be possible to add a new version of some kind? The delete option should really be the last resort. I really can't remember seeing my colleague doing something like this. We already added new attributes to other MBO's without problems.
Do you have a link to this known issues of SMP2.2? I have to gather some arguments to actually perform the delete and the redeployment of the package.
Cheers!
Laurens
That is really odd. Imaging 5000 users using a specific application with MBO's coming from multiple locations and suddenly data is missing/gone because we have to add a specific extra field to the package.
Anyway, thank you for the answer. Really appreciate them! Lets hope other forum members have encountered this problem and found a more non-destructive solution
Cheers!
Laurens
You might need to restart SUP server. In one of my previous proj, whenever we made any changes at SAP backend level, those changes were not reflecting on device side, when we restarted sup server and it did work.
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jitendra,
Nope, that doesn't work. Your correct about the changes with regard to the device side. Most of the time (when my colleague made the change) the deployment would be successful but the app itself would give errors. After the reboot, things would work as expected on the device.
Problem remains the deployment
Cheers!
Laurens
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.