on 01-23-2006 5:50 AM
I'm getting the following error in my application:
"<b>com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field CURR_MNTH_FACTOR, complex type class com.bp.ngl.cust.contractqtymodel.Zsm_Fix_Prebuy</b>"
Here the CURR_MNTH_FACTOR, is one of the variable which i'm reading from the Structure Zsm_Fix_Prebuy. The variable is of type Decimal (more precisely its a user defined ZDEC).
I'm writing following lines of code.
IPublicNodeLiPricesComp.ILi_Fixed_FactorElement fixedElement;
int fixedCount = 0;
fixedElement = wdContext.nodeContract_Quantity_Input().nodeOutput_Contract_Qty().nodeLi_Fixed_Factor().getLi_Fixed_FactorElementAt(fixedCount);
BigDecimal fixF = fixedElement.getCurr_Mnth_Factor();
When I'm running the application then its giving me the above mentioned error.
I'm not able to find the reason of error. If someone can shed some light on it. I'll be grateful.
Thanks in advance
Srikant
Hi,
post the full stack trace of application.
yashpal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reimport of model worked
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.