on 11-24-2008 8:57 AM
Hi,
can anybody explain me why this error is coming??
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(Tdc_UserProjectView.Ctx_vn_Project.Ctx_va_ProjectID): must not modify the datatype of a mapped attribute
at com.sap.tc.webdynpro.progmodel.context.MappedAttributeInfo.getModifiableSimpleType(MappedAttributeInfo.java:113)
at com.sap.darpan.component.Tdc_UICust.attachProjectF4(Tdc_UICust.java:610)
at com.sap.darpan.component.wdp.InternalTdc_UICust.attachProjectF4(InternalTdc_UICust.java:313)
at com.sap.darpan.component.Tdc_UserProjectView.populateProjects(Tdc_UserProjectView.java:176)
at com.sap.darpan.component.Tdc_UserProjectView.wdDoInit(Tdc_UserProjectView.java:100)
Edited by: mamai banerjee on Nov 24, 2008 9:57 AM
Hi,
what is the piece of code in this line Tdc_UserProjectView.java:176 ?
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hii,
The code is written to populate a F4 .The following code is called in View:
public void populateProjects( )
{
//@@begin populateProjects()
wdThis.wdGetTdc_UICustController().fetchProject();
IPublicTdc_UICust.ICtx_vn_ProjectNode l_projNode = wdThis
.wdGetTdc_UICustController()
.wdGetContext()
.nodeCtx_vn_Project();
wdThis.wdGetTdc_UICustController().attachProjectF4(wdContext
.nodeCtx_vn_Project()
.getNodeInfo()
.getAttribute(IPrivateTdc_UserProjectView
.ICtx_vn_ProjectElement
.CTX__VA__PROJECT_ID));
//wdContext.currentCtx_vn_ProjectElement().setCtx_va_ProjectID("A1025");
//@@end
}
User | Count |
---|---|
87 | |
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.