Values are not reaching BAM Report

Hi All,
i have implemented a simple Bam adapter. The composite gives below fault while inserting data into BAM DataObject.
<part name="detail">
<detail>BAM-06144: Cannot insert rows into data object /public/DataObject/HelloWorldDO.java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at oracle.bam.system.DateTime.parse(DateTime.java:1123) at oracle.bam.webservices.common.OperationImpl.setColumnData(OperationImpl.java:335) at oracle.bam.webservices.common.OperationImpl.doInsert(OperationImpl.java:414) at oracle.bam.webservices.common.OperationImpl.doInsert(OperationImpl.java:397) at oracle.bam.webservices.common.OperationImpl.insertCollection(OperationImpl.java:1016) at oracle.bam.adapter.adc.ADCInteraction.performInsert(ADCInteraction.java:408) at oracle.bam.adapter.adc.ADCInteraction.executeRequest(ADCInteraction.java:293) at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:251) at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:248) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47) at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.security.Security.runAs(Security.java:61) at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48) at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52) at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138) at oracle.bam.common.security.authentication.BamPrivilegedExceptionAction.executeJPS(BamPrivilegedExceptionAction.java:264) at oracle.bam.common.security.authentication.BamPrivilegedExceptionAction.execute(BamPrivilegedExceptionAction.java:237) at oracle.bam.adapter.adc.ADCInteraction.execute(ADCInteraction.java:262) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:311) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:548) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491) at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:247) at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142) at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194) at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy295.post(Unknown Source) at oracle.fabric.CubeServiceEngine.postToMesh(CubeServiceEngine.java:806) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:258) at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1056) at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:583) at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158) at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104) at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112) at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105) at sun.reflect.GeneratedMethodAccessor791.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy278.handleInvoke(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source) at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) </detail>
</part>

Hi,
According to Error,you are passing mismatched data to BAM data object.which means.In BAM DataObjects data types and your input from soa composite datatypes are mismatching.
make sure are you passing proper data or not.its will work.
Best Regards
Siva Shankar

Similar Messages

  • Master data(0vtype) values are not showing in reports.

    Hi Gurus,
                 I have an info object '0VALTYPE' with 'TEXT'. I already loaded the data in
    for this object. but in reporting level i am getting the values # and 20(actual)
    even though it has so many vales(ex: 10(plan)etc). but all the values are not populating in the query.how to get all the values in reporting level.
    Thanks in advance.
    Thanks
    Raju.k

    Hi Raju,
    You have already confirmed, but still please go to infoobject 0VTYPE again and check the master data to see all values exits there.
    If yes and still in reporting you can not see those, try doing the following:
    1) Right click on 0VTYPE and click on "Activate Master Data", and/or
    2) Go to Menu --> select Attribute change run --> select 0VTYE and execute the changes.
    Regards
    Pankaj

  • Stcok type H values are not added into report

    Hello all,
    I am facing problem with inventory management.
    Here we have nearly 15 plants.  10 are already there and 5 are newly added in the last month.
    For the previous 10 plants we are getting the valuated stock perfectly, but i am checking for the remaining 5 new plants data is mismatching.
    while comparing the values from R/3 (MB5B) to the BW query values are different.  So i have checked the contents of Cube.
    There i found a pecular thing that some records having Movement type 641 and Stock Type H. These values are not getting cumulated in the report.  Only these values are coming for the new 5 plants.
    I have already checked the Snotes 589024, 417703.
    Please suggest me how to overcome from this issue.
    Regards
    Sankar

    Hi,
    Thanks for your reply.
    As I already said Stock type is defined as same as the previous plants.  But still we are not able to get the data in the query.
    In the cube level I am able to see the data, but when we are going for the report then we are not getting the values which are present in the cube where Stock Type is H.
    Please suggest on ths.
    Regards
    Sankar

  • Values are not showing in report

    Hi,
    I have created a report with EVDRE containing several columns. When I use MemberSet: "SELF" for all columns, it shows me the data I have uploaded correctly.
    However, if I choose "MEMBERS" for any of the columns, the value field is empty. This is totally incorrect as I get several rows with the "MEMBERS" option, and one of the rows contains exactly the same filtering as when I use "SELF" for all columns. So that row should show a value, but it is empty.
    If I choose SUPRESS:Y, it returns 0 rows.
    Example ("SELF" chosen):
    NAMEID, ADDRESS, TIME, SALARY
    A, X1, 2009, 10000
    Example ("MEMBERS" chosen for NAMEID):
    NAMEID, ADDRESS, TIME, SALARY
    A, X1, 2009, (blank)
    B, X2, 2009, (blank)
    C, X3, 2009, (blank)
    Has anyone encountered this before?
    Thanks,
    Sam

    Hey Sam,
    I have some additional questions to help me understand what is going on.
    What other dimensions exist in the application this report is running in, besides NAMEID, ADDRESS, TIME, SALARY?
    What dimensions are in the COLKEYRANGE, besides SALARY?
    What are your expansions set as (SELF, MEMBERS, etc) for the other row/column key dimensions?
    Are you sure that all the other dimensions are not changing when you go from SELF to MEMBERS?  I know this is probably not the case but I thought I would ask anyways.

  • Values are not coming in report S_ALR_87013558

    Hi,
    I am running the budget report S_ALR_87013558. In that report except budget column, other values are coming(Actual,Comiitment, remordpla, assigned,available)....
    BUt I have assigned the budget..It is showing properly in S_ALR_87013557.
    In S_ALR_87013228 report, available it is showing in negative.
    How to rectify this issue?
    Regards
    Suresh

    Hi Virendra,
    Thanks for ur reply.
    I have ran CJEN for the project. But still it is showing the same in S_ALR_87013558 report.
    But the budget value is coming properly in S_ALR_87013557 report.
    How to goahead???
    Regards
    Suresh

  • Values are not getting updated in sales report

    I have configured sales information system, and i have been trying to run sales report but values are not getting updated in sales report, System will through message that no data exists.
    regards,
    thooyavan

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • Fund center reports Assigned values are not matching with ledger balances.

    Thanks for your Support. We have activated funds management in May-2009. And deactivated one or two times. Now the status is active.
    Now we are taking reports the assigned values are not matching with gl ledger balances.
    1. We need to update records for April- May.
    2. Records in between deactivated and activate time.
    Please suggest updating fund centers and commitments.
    Regards

    hi ELI
    i have checked the follwoing secnarios
    1. funds management deactivated.
    2. one document posted  with amount10000
    3. funds management activated.
    4. we have executed FMN0
    here no document is selected after execution.
    Please suggest what are the activities we need to do if i am wrong...
    Regards

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • Lov Values are not showing for Discoverer Reports in Application

    Hi,
    I developed some discoverer reports, those reports having parameters with LOV. Those LOV values are showing in Discoverer Desktop, but after registering those reports in Oracle applications those LOV values are not showing. Pls let me know how resolve this issue.
    Regards,
    Hanimi.

    Hi,
    Also it is necessary to know how the LOVs are defined. Are they based on Application flexvalues for example? In which case it may be that you have not got your NLS language parameters set correctly when connecting from Applications.
    Rod West

  • KP06 Plan Values are not updating in Cost center  report

    Hi,
    I have configured KP06 and uploaded through excel,It is getting uploaded successfully.
    But after uploading planned values are not updating in the S_ ALR_87013611 Report.
    What could be the reason.kindly give me some inputs regarding this.
    Thanks
    Supriya

    Hi Supriya,
    After uploading the entries have you saved or have you verified with excel values.
    Please check.
    Sateesh

  • Service order values posted to WBS, values are not displaying in CJii3

    Hi,
    We have posted thevalues from service order to wbs.
    values are not displaying in cji3.
    Regards,

    Hi,
    If the data has been successfully loaded into BPC, then it should be visible in BPC report.
    You need to make sure that you are looking at the correct data region. Check in RSA1 and check which data region has the data. Maintain the same region in the report as well.
    Hope this helps.

  • Form values are not submitting to ActionForm class

    Hi All,
    I have a problem with <html:form> tag. When i am submitting the form using the submit button it is going to the Struts-config.xml file and getting the action mapping for the HazSummary.do. It is getting the HazardSummaryAction class and getting the input from HazardSummary Form class. If result is sucees it is going to the next jsp page.
    All above things are happening properly. But the form values are not getting in to the HazardSummaryForm.jav.
    Here in this case Action class is HazardSummaryAction.java, Action Form class is HazardSummaryForm.java and jsp page is Hazard.jsp.
    Here is the code for Hazard.jsp
    <html:form action="/HazSummary.do">
    <table width="100%" border="0" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
         <tr colspan="4"><td>
         <%String jd="jmd";
         String st="closed";%>
         <input type="text" name="wkploc" value=<%=jd%>>
         <input type="text" name="hastat" value=<%=st%>>
    <html:submit property="action">
    <bean:message key="haz.save.label"/>
    </html:submit>
         </td></tr>
    </table>
    </html:form></body>
    Here is the code for HazardSummaryAction.java
    package com.prospecta.WSOProject.action;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class HazSummaryAction extends Action{
         public String hazstatus;
         public String workplace;
         public String prin1;
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              HazardSummaryForm hsf = new HazardSummaryForm();
              HttpSession session = request.getSession(true);
         try{
         hazstatus=hsf.gethastat();
         System.out.println(hazstatus);
         workplace=hsf.getwkploc();
         System.out.println(workplace);
         session.setAttribute("stat",hazstatus);
         session.setAttribute("loc",workplace);
         return mapping.findForward("success");
         catch(NullPointerException nex){
              return mapping.findForward("failure");
              }catch(Exception e)
         e.printStackTrace();
         return mapping.findForward("failure");
    Here is the code for HazardSummaryForm.java
    package com.prospecta.WSOProject.action;
    import org.apache.struts.action.ActionForm;
    public class HazardSummaryForm extends ActionForm {
         public String wkploc;
         public String hastat;
         public void setwkploc(String wkploc)
              this.wkploc=wkploc;
         public String getwkploc()
              return this.wkploc;
         public void sethastat(String hastat)
              this.hastat=hastat;
         public String gethastat()
              return this.hastat;
    Here is the code for Struts-config.xml file
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
         <form-beans>
    <form-bean name="HazSumForm"     type="com.prospecta.WSOProject.action.HazardSummaryForm">
                   <form-property name="wkploc" type="java.lang.String"/>
                   <form-property name="hastat" type="java.lang.String"/>
         </form-bean>     
         </form-beans>
    <action-mappings>
    <action path="/HazSummary" input="/HazSumForm" name="HazSumForm" scope="request" validate="false" type="com.prospecta.WSOProject.action.HazSummaryAction">
                   <forward name="success" path="/HazardSummary.jsp"/>
                   <forward name="failure" path="/Hazard.jsp"/>
              </action>                                         
         </action-mappings>
         <controller processorClass="fr.improve.struts.taglib.layout.workflow.LayoutRequestProcessor" locale="true"/>
         <message-resources parameter="com.prospecta.WSOProject.ApplicationResources"/>
         <plug-in className="org.apache.struts.tiles.TilesPlugin">
              <set-property property="definitions-config" value="/WEB-INF/tileDefinitions.xml"/>
         <set-property property="moduleAware" value="true"/>
         <set-property property="definitions-parser-validate" value="false"/>
         </plug-in>
         <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
         <set-property property="pathnames" value="/WEB-INF/validator/validator-rules.xml,/WEB-INF/validator/validations.xml"/>
         </plug-in>
    </struts-config>
    i followed the same process for previous pages which they are working. But in this case it was not working properly.
    Please resolve this problem ....................

    Hi Sreelatha,
    When you develop any interactive form please keep in mind the below things which you need to check:
    1. The layout type of the form should be ZCI. Select it from the form properties tab in SFP t-code.
    2. In web dynpro application (in case you are using for the form), the form type should be selected as native.
    3. In the form layout insert web dynpro script using menu->utilities->insert web dynpro script.
    4. After that come out of the form and run the report FP_ZCI_UPDATE giving your form name, also select the update check box in the report.
    Once these things are done your form should work fine.
    Regards,
    Vaibhav

  • The types of the parameter field and parameter field current values are not compatible.----

    HI,
    I am attempting to set report parameters in my .jsp code via URL parameters.
    I am able to set the report name, server connection dynamically however when attempting to set the Parameters I receive:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: The types of the parameter field and parameter field current values are not compatible.---- Error code:-2147213303 Error code name:invalidParameterField
    The parameter on the report is a String Type, named for this example p1.
    The value that p1 represents is LERAD
    My code:
    String stringValue = request.getParameter("p1");
    CRJavaHelper.addDiscreteParameterValue( clientDoc, "","p1", stringvalue);
    returns the above mentioned error.
    I have tried:
    String stringValue = (String)request.getParameter("p1");
    which returns the above error
    And;
    String stringValue = new String(request.getParameter("p1")).toString();
    which returns
    java.lang.NullPointerException
    java.lang.String.<init>(Unknown Source)
    org.apache.jsp.callReport_jsp._jspService(callReport_jsp.java:105)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    I notice that the CRjavaHelper.java declares this addDiscreteParameterValue as accepting an Object type for the newValue.
    Any ideas???

    Hi,
    nevermind.
    case sensitivty strikes again.
    my URL param was P1 ( case sensitive)

  • Value are not coming (tcode cm50)

    hi expert ,
    in below code values are not comes into ITAB_TXTLINES (  WA_DATA ) . we use a standard program cm50 tcode . into
    customize program  memory but values is not coming into wa.
    values(arbpl ,werks,kapar,planr)
    this is my first time i use standard progarm
    so plz help
    REPORT  ZPP_CM50  LINE-SIZE 170..
    TYPE-POOLS : SLIS.
    DATA : INT_CAT TYPE SLIS_FIELDCAT_ALV,
           INT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : LS_LINE TYPE SLIS_LISTHEADER,
           VN_TOP  TYPE SLIS_T_LISTHEADER,
           IT_SORT TYPE  SLIS_T_SORTINFO_ALV,
           WA_SORT LIKE LINE OF IT_SORT.
    DATA : LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: BEGIN OF SLIST_LISTLINE,
          LINE(1024)      TYPE   C,
          END OF SLIST_LISTLINE.
    DATA: ITAB_TXTLINES LIKE SLIST_LISTLINE OCCURS 0 WITH HEADER LINE.
    TABLES : CRHD , KAKO .
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
          AA(20),LEVEL(20),ITEM(20),OBJ(20),OBJID(20),
          OBJDES(20),OVRFLW(20),QTY(20),UOM(20),ICT(20),
          END OF ITAB_DATA.
    DATA : WA_DATA LIKE ITAB_DATA.
    DATA: TEXT TYPE C LENGTH 10,
          RSPAR_TAB  TYPE TABLE OF RSPARAMS,
          RSPAR_LINE LIKE LINE OF RSPAR_TAB,
          RANGE_TAB  LIKE RANGE OF TEXT,
          RANGE_LINE LIKE LINE OF RANGE_TAB.
    *DATA: TEXT TYPE C LENGTH 10,
         RSPAR_TAB  TYPE TABLE OF RSPARAMS,
         RSPAR_LINE LIKE LINE OF RSPAR_TAB.
         RANGE_TAB  LIKE RANGE OF TEXT,
         RANGE_LINE LIKE LINE OF RANGE_TAB.
    DATA  : LIST_TAB TYPE TABLE OF ABAPLIST.
    SELECTION-SCREEN : BEGIN OF BLOCK ABC WITH FRAME TITLE TLT.
    SELECTION-SCREEN   SKIP 1.
    *SELECT-OPTIONS     ARBPL FOR CRHD-ARBPL.
    SELECT-OPTIONS     WERKS FOR CRHD-WERKS.
    SELECT-OPTIONS     KAPAR FOR KAKO-KAPAR.
    SELECT-OPTIONS     PLANR FOR KAKO-PLANR.
    SELECTION-SCREEN   SKIP 2.
    SELECTION-SCREEN : END OF BLOCK ABC.
    START-OF-SELECTION.
    *RSPAR_LINE-SELNAME = 'TRUST_ID'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'RPF1'."'VD06011013'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'YEAR'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = '2009'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'REPONAME'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'FORM3A'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    SUBMIT RCCRY000 EXPORTING LIST TO MEMORY
    USING SELECTION-SCREEN '1000'
                    WITH CRHARBPL-LOW EQ ARBPL
                     WITH CRHWERKS-LOW EQ WERKS
                     WITH KAKKAPAR-LOW EQ KAPAR
                     WITH KAKPLANR-LOW EQ PLANR
                      AND  RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = LIST_TAB
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      CALL FUNCTION 'LIST_TO_ASCI'
        EXPORTING
          LIST_INDEX         = -1
          WITH_LINE_BREAK    = ' '
        TABLES
          LISTASCI           = ITAB_TXTLINES
          LISTOBJECT         = LIST_TAB
        EXCEPTIONS
          EMPTY_LIST         = 1
          LIST_INDEX_INVALID = 2
          OTHERS             = 3.
      LOOP AT ITAB_TXTLINES .                                   "from 5.
        CLEAR WA_DATA.
        SPLIT ITAB_TXTLINES AT '|' INTO: WA_DATA-AA
                                         WA_DATA-LEVEL
                                         WA_DATA-ITEM
                                         WA_DATA-OBJ
                                         WA_DATA-OBJID
                                         WA_DATA-OBJDES
                                         WA_DATA-OVRFLW
                                         WA_DATA-QTY
                                         WA_DATA-UOM
                                         WA_DATA-ICT.
       IF ITAB_TXTLINE-SY-INDEX .
    then
         DO 4 TIMES.
           REPLACE '.' IN WA_DATA-LEVEL WITH SPACE.
         ENDDO.
    *DELETE ITAB_DATA-INDEX=1." WHERE WA_DATA = ITAB_DATA.
         CONDENSE WA_DATA-LEVEL.
         IF NOT WA_DATA-LEVEL IS INITIAL and not WA_DATA-LEVEL cp 'Emp*'.
            APPEND WA_DATA TO ITAB_DATA.
         ENDIF.
       ENDIF.
      ENDLOOP.
    thanks.

    Hi,
    CM50 is generated from CM10 main program for parameter 'M'. It generates it on the runtime and exports values into memory. It's less likely you will be able to generate the whole set into a Z Program.
    I didn't find a function module to do so. But, with your consultants help you can create your own function module that gives results similar to CM50, it's merely calculation of capacity of workcenters for a period using the sales order booked against the work centers in that period. If you try a bit you can create it.
    Good luck.
    Also remember, before you post a code, use  ...

Maybe you are looking for