on 01-09-2008 8:40 AM
I've got 2 activities, where the first one of them cannot be activated because the code fails to build. The error it returns has been solved in the code contained in the second activity. So, my question is: can I just activate the first activity by checking "Activate even if build fails" ?
The problem was some files existed only locally. After adding them to the DTR, everything activated fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If activation of first activity has failed, then Admin can override the squence, Please check with them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lieven,
You can create as many activities as you want and check-in them. But your last activity must be error-free. Your last activity must not be activated forcibly. It must be activated normally. Here you can check the CheckBox 'Activate with all predecessors'. If it is successful then only transport this otherwise stop and investigate where the problem is.
regards,
Siva
I've got two activities left, one from 3 January and one from 7 January. My code that I have now, the changes reflected by the activity of 7 January, builds without a problem. When I try to activate the activity from 3 January, I get an error because my DC cannot be built.
From the log:
\[wdgen\] \[Error\] .Z_BAPI_MY_BAPI.Attribute: The mapping definition is inconsistent, the mapped context element does not exist.
So I now want to activate my changes, but I cannot activate my activity from 7 January, because the activity of 3 January "blocks" it.
Hi Lieven,
If you are getting the same error when you are trying to activate the activity of 7 January means there is problem still in the DC even though it builds successfully.
Search for the attribute in all views, controllers and models. Delete if it is not necessary or maintain proper bindings and mappings.
Change to navigator view -> delete wd_gen folder -> Build and deploy -> Now try to activate
regards,
Siva
Nope, after a "Sync sources", builds and deploys fine. After that, I go to the Activation View, right click the last activity (of 7 January) and choose Activate. I then get a popup window telling me that 1 predecessor activity is detected. I choose "Activate with all Predecessors".
Then, in the CBS Build Log, I get the error:
[wdgen] ERROR: java.lang.Exception: Problem running compiled template used for generating /usr/sap/NWD/JC05/j2ee/cluster/server0/temp/CBS/3/.B/1142/t/A24AB097D637B907E4A0DB88A7E6ACEA/gwd/packages/com/c/b/e/m/org/model/objectcreate/Z_BAPI_MYBAPI.java: null, /usr/sap/NWD/JC05/j2ee/cluster/server0/temp/CBS/3/.B/1142/t/A24AB097D637B907E4A0DB88A7E6ACEA/gwd/packages/com/c/b/e/m/org/model/objectcreate/Z_BAPI_MYBAPI.java
Hi Lieven,
That means there is a change in BAPI parameters. Check all your model nodes and attributes if any binding or mapping is missing. If you are not able to find, re import the model , there you can find the changes,then you can do bindings and mappings.
Hope this is helpful.
regards,
Siva
Hi Lieven,
Now as for as I know there may be two chances.
1. RFC changes are not transported yet.
2. At least one model attribute is missing bindings or mappings.
But then you should get compile -time errors. But you are able to build it successfully. But anyway check all your views and controllers whether you have missed anything.
Good luck.
regards,
Siva
Hi,
You can activate the second activity by specifying activate with predessors.
By Default when you activate all the predecessors are shown.
Checkin and activate the second one.
Just check your first activity name is their in the predecessors.
If its their, click on the activate button.
If rest all are fine both your activities will get activated.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.