cancel
Showing results for 
Search instead for 
Did you mean: 

"Context model attribute not bound to a model property" error

Former Member
0 Kudos

Hi all,

I got "Context model attribute not bound to a model property" error when i try to activate activity.

But i got no error when i perform build using : Right click on DC-> Choose "Development Component" -> Click "Build".

Any idea what could possibly causing this to happen?

Thanks.

Appreciate for any comment / advice.

regards,

Xiang Li

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Create a customized model instead of enhance standard model

Former Member
0 Kudos

Create a customized model instead of enhance standard model

p330068
Active Contributor
0 Kudos

Hi Xiangli

Please try to check model bindings and if possible try to re-import the model and bind it properly.

Hope it will helps

Regards

Arun

Former Member
0 Kudos

Hi Arun Jaiswal ,

The binding is correct. I have double confirm on this by checking the content in xml field as well.

I've tried to re-import model, there is no new field detected.

Many thanks for your reply!

regards,

Xiang Li

former_member185086
Active Contributor
0 Kudos

Hi

Check the Dictionaries of the model , might some are not proper generated.

Send the log file of activity.

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi Satish Kumar,

This is the log file of activity where the error occurs.


..

     [wdgen] [Info]    Generating packages/com/sap/xss/hr/skl/confirmation/VcSklConfirmationInterface.wdcontroller

[System.out] [Info] removing usage of controller //WebDynpro/Controller:com.sap.xss.hr.skl.confirmation.VcSklConfirmation     [wdgen] [Info]    Generating packages/com/sap/xss/hr/skl/confirmation/wdp/IMessageVcSklConfirmation.java
     [wdgen] [Error]   com.sap.xss.hr.skl.FcSklBusinessLogic --> ContextModelAttribute Ip_Begda [referencedProperty]: The context model attribute has not been bound to a model property
     [wdgen] [Info]    Catching throwable null
     [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError
     [wdgen] 	at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:157)
     [wdgen] 	at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2047)
     [wdgen] 	at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
..

Please refer to for activation error thread i created in JDI.

I've check, under ess~skl->"Dictionary" folder -> "Skills" model -> "Data Types" -> "Simple Types" -> Datum is exists.

Whereby Ip_Begda is using type Datum in RFC FM.

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.

Many thanks for your reply.

regards,

Xiang Li

former_member185086
Active Contributor
0 Kudos

Hi

Whereby Ip_Begda is using type Datum in RFC FM. : Could you please clarify/check this attribute again at dictonary.

Do one more activity---> go to the source file -- delete all the gen folder (gen , gen_ddic , gen_wdp ) , then reload it --rebuild it --resolve the class path , then build it then try to activate this activity.

The only difference b/w local build and dtr build is , DTR build consult with CMS ,identify the changes(with its existing file ), then build the files after segregate its preivious file with latest file , and then based on the build result it join all the code.

BR

Satish Kumar