on 08-08-2011 9:54 AM
Hi,
i'm trying to build an web dynpro which creates a material in an erp system. now i have the following error in the IPrivateStartView.java:
/**
Returns the referenced element of the mapped node.
@return the referenced element
*/
public de.innoface.prototypmat.wdp.IPublicMatController.IBapi_Material_Savedata_InputElement mappedBapi_Material_Savedata_InputElement() {
return (de.innoface.prototypmat.wdp.IPublicMatController.IBapi_Material_Savedata_InputElement)wdGetMappedElement();
}
/**
Returns the referenced element of the mapped node.
@return the referenced element
*/
public de.innoface.prototypmat.wdp.IPublicMatController.IMaterialdescriptionElement mappedMaterialdescriptionElement() {
return (de.innoface.prototypmat.wdp.IPublicMatController.IMaterialdescriptionElement)wdGetMappedElement();
}
/**
Returns the referenced element of the mapped node.
@return the referenced element
*/
public de.innoface.prototypmat.wdp.IPublicMatController.IHeaddataElement mappedHeaddataElement() {
return (de.innoface.prototypmat.wdp.IPublicMatController.IHeaddataElement)wdGetMappedElement();
}
/**
Returns the referenced element of the mapped node.
@return the referenced element
*/
public de.innoface.prototypmat.wdp.IPublicMatController.IOutputElement mappedOutputElement() {
return (de.innoface.prototypmat.wdp.IPublicMatController.IOutputElement)wdGetMappedElement();
}
/**
Returns the referenced element of the mapped node.
@return the referenced element
*/
public de.innoface.prototypmat.wdp.IPublicMatController.IClientdataElement mappedClientdataElement() {
return (de.innoface.prototypmat.wdp.IPublicMatController.IClientdataElement)wdGetMappedElement();
}
What does this mean and what have i to do to fix them?
i don't knnow, where can i able/enable it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
close and reopen the ide didn't work, but after i rebuild the project, it works. so thank you a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for every "red" method i have two errors:
Error de.innoface.prototypmat.wdp.IPublicMatController.IReturnElement cannot be resolved (or is not a valid return type) for the method mappedReturnElement
and
Error de.innoface.prototypmat.wdp.IPublicMatController.IReturnElement cannot be resolved or is not a type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which error? Check if you have any errors in the meta-data (see "Problems" view in Eclipse). Sometimes this leads to corrupted Java files because the code generator cannot work correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and i also have a probem when i'm trying to add my code to the startview View.
//@@begin javadoc:onActionGo(ServerEvent)
/** Declared validating event handler. */
//@@end
public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionGo(ServerEvent)
wdThis.wdGetMatControllerController().getReturn();
//@@end
}
i defined the method getReturn in the matcontroller, but it says that the method is undefined for the type ipublicmatcontroller
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.