cancel
Showing results for 
Search instead for 
Did you mean: 

Activation Error: Context model attribute not bound to a model property

Former Member
0 Kudos

Hi all,

I couldn't activate activity due to error in building DC .

This is the error code:


..
[wdgen] [Error]   com.sap.xss.hr.skl.FcSklBusinessLogic --> ContextModelAttribute Ip_Begda [referencedProperty]: The context model attribute has not been bound to a model property
..

I checked the context of FcSklBusnessLogic component controller, Ip_Begda is bound to correct model's field.

I can successfully build the DC without any error, by using: Right Click on DC -> Choose "Development Component" -> "Build".

This is the xml content i copy from

.../DCs/sap.com/ess/skl/_comp/src/packages/com/sap/xss/hr/skl/FcSklBusinessLogic.wdcontroller

This file is assigned under the activity to be activated.

The XML content looks fine, whereby Ip_Begda is bind to Ip_Begda model property of Xss_Skl_Apply_Quali_Profile_Input model class.


				<ContextModelNode name="Apply_Quali_Profile_Input">
					<ContextNode.Attributes>
						<ContextModelAttribute name="Ip_Begda">
							<ContextModelAttribute.ReferencedProperty>
								<Core.Reference package="com.sap.xss.hr.skl.model" name="Xss_Skl_Apply_Quali_Profile_Input" type="ModelClass" path="Property:Ip_Begda"/>
							</ContextModelAttribute.ReferencedProperty>
						</ContextModelAttribute>
					</ContextNode.Attributes>

Appreciate for any comment/advice.

regards,

Xiang Li

Edited by: xiangli heah on Jul 2, 2010 11:05 AM

Edited by: xiangli heah on Jul 2, 2010 11:07 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please ask your question in the appropiate forum, i.e. . You'll get more replies.

Rgds,

Alain.

Former Member
0 Kudos

Hi Alain,

Many thanks for your reply.

I posted my question because i got the error during activation. Anyway i will post a seperate question in Java Web Dynpro for model binding issue, and remain this post here for activation issue.

By the way, do you know what is the different between build during activation and perform build manually on DC?

Because i got no error to perform manual build on DC, but there is built error on when i perform activation.

P/S: Manual build here means right click on DC-> choose "Development Component"-> Click "Build".

regards,

Xiang Li

Answers (1)

Answers (1)

Former Member
0 Kudos

create a customized model instead of to enhance standard model