EMOD - Parse error while using merge fields

Hello Everyone,
We are using EMOD for email campaigns. We have renamed "Contact" object to "Rep Contact". When I insert merge fields on Rep Contact object, I get parse error message...
Parse error in file at line 40: Could not find matching '}' for reference to variable at line 39
Has anyone else come across this? Are there any restrictions in EMOD for using merge fields?
Thanks.

Thanks VK. I checked the source code and it is still perplexing why this error is coming up. It works fine without merge fields. I am pasting the section of html code with merge fields...
<tr>
<td valign="top" width="25" bgcolor="#ffffff"> </td>
<td valign="top" bgcolor="#ffffff"><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">Hello</font> ${Rep Contact.First Name} 
<p><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">What if there&rsquo;s another flash crash? What if we enter a double dip? These are just a few fears weighing heavily on investors&rsquo; minds in today&rsquo;s environment of uncertainty. <sup>1</sup> </font></p>
<font face="Arial, Helvetica, sans-serif" style="font-size: 12px">
<p>View or download: <a>3 ways to address risk-averse clients&rsquo; needs</a>.</p>
</font>
</td>
</tr>

Similar Messages

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • JS error while using input fields with type=file on XP SP2

    Hi all,
    we found a new problem in applications which use input fields with type=file running in a browser on Microsoft Windows XP with SP2.
    A typical test layout might look like:
    <html>
      <head>
        <title>File-Upload</title>
      </head>
      <body>
        <form action="/cgi-bin/upload.pl" method=post
              enctype="multipart/form-data">
          <input type=file size=50 maxlength=100000 name="file"
                 accept="text/*"><br>
          <button onclick="document.forms[0].submit();">Send</button>
        </form>
      </body>
    </html>
    When you add a link without the fully qualified path (for example pic01.jpg instead of c:\pictures\pic01.jpg) and click on the 'Send' button, nothing happens and you get a Javascript error 'Access denied'.
    The solution can be found in the MS Knowledge Base article 892442:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;892442
    We still investigate this issue and will inform you about the further proceeding.
    Regards,
    Rainer

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • Error While using date fields in HIbernate Criteraia

    I am trying a sample applciation using Hibernate with JPA. I am using annotations to map database table with Java class.I am using org.hibernate.Criteria to form where clause. My code looks as follows:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("PERSISTANCE_UNIT");
    EntityManger em = emf.createEntityManager();
    Session session = em.getDelegate();
    Criteria criteria = session.createCriteria(MyDO.class)
    criteria.add(Restrictions.eq("myDO.date",myDO.getDate()));
    List list = criteria.list();
    I am searching the data base based on the date field (myDO is an instance of MyDO.class which contains the mapping to the data base table). While running the application first time after publishing to server, I am getting the following error. For subsequent running of the application I am not getting any error and the appliaction was running with actual results.
    JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: -181, SQLState: 22007
    JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions THE STRING REPRESENTATION OF A DATETIME VALUE IS NOT A VALID DATETIME VALUE
    org.hibernate.exception.DataException: could not execute query
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.loader.Loader.doList(Loader.java:2223)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
         at org.hibernate.loader.Loader.list(Loader.java:2099)
         at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    Can anybody help in fixing the problem.
    Thanks in advance.

    Resolved the issue by setting System date where expected

  • Error while using Merge statement

    Hi,
    Can any one please look at the merge statement and help me understand the error.Thanks in advance.
    MERGE /*+ APPEND */
    INTO intf_lpa_master m
    USING (SELECT std_district_student_id,
    std_grade_code,
    sub_test,
    test_date,
    performance_lvl_code,
    test_lang_code,
    v_student_id,
    v_test_id,
    v_lang_cd,
    v_plc,
    valid_test_date,
    -- school_year,
    -- school_id,
    valid_src_stu_id,
    test_code
    FROM intf_lpa_master_vw
    MINUS
    SELECT std_district_student_id,
    std_grade_code,
    sub_test,
    test_date,
    performance_lvl_code,
    test_lang_code,
    v_student_id,
    v_test_id,
    v_lang_cd,
    v_plc,
    valid_test_date,
    -- school_yr,
    -- school_id,
    valid_src_stu_id,
    test_code
    FROM intf_lpa_master
    WHERE active_flag = 'Y') v
    ON ( m.std_district_student_id = v.std_district_student_id
    AND m.sub_test = v.sub_test
    AND m.test_date = v.test_date)
    WHEN MATCHED
    THEN
    UPDATE SET m.std_grade_code = v.std_grade_code,
    m.performance_lvl_code = v.performance_lvl_code,
    m.test_lang_code = v.test_lang_code,
    m.active_flag = 'Y', -- if we are touching this record, it is to be active.
    m.error_message = NULL, -- refresh these, to properly reconsider records.
    m.create_date = SYSDATE,
    m.record_id = intf_lpa_master_seq.NEXTVAL,
    m.process_row = 'U',
    m.last_update_date = SYSDATE,
    m.last_update_user = 'PRE_PROCESS_LPA - UPDATE',
    -- m.job_id = c_run_id ,
    m.validation_step = NULL, -- refresh these, to properly reconsider records.
    m.v_student_id = v.v_student_id,
    m.v_test_id = v.v_test_id,
    m.v_lang_cd = v.v_lang_cd,
    m.v_plc = v.v_plc,
    m.valid_test_date = v.valid_test_date,
    -- m.school_year = v.schloo_year,
    -- m.school_id = v.school_id,
    m.valid_src_stu_id = v.valid_src_stu_id,
    m.test_code = v.test_code
    WHEN NOT MATCHED
    THEN
    INSERT (
    m.std_district_student_id,
    m.std_grade_code,
    m.sub_test,
    m.test_date,
    m.performance_lvl_code,
    m.test_lang_code,
    m.active_flag,
    m.error_message,
    m.create_date,
    m.record_id,
    m.process_row,
    m.last_update_date,
    m.last_update_user,
    -- m.job_id,
    m.validation_step,
    m.v_student_id,
    m.v_test_id,
    m.v_lang_cd,
    m.v_plc,
    m.valid_test_date,
    -- m. school_year,
    -- m. school_id,
    m.valid_src_stu_id,
    m.test_code)
    VALUES (
    v.std_district_student_id,
    v.std_grade_code,
    v.sub_test,
    v.test_date,
    v.performance_lvl_code,
    v.test_lang_code,
    'Y',
    NULL,
    SYSDATE,
    intf_lpa_master_seq.NEXTVAL,
    'I',
    SYSDATE,
    'PRE_PROCESS_LPA - INSERT',
    -- c_run_id,
    NULL,
    v.v_student_id,
    v.v_test_id,
    v.v_lang_cd,
    v.v_plc,
    v.valid_test_date,
    -- v. school_year,
    -- v. school_id,
    v.valid_src_stut_id,
    v.test_code);
    Error Message :
    ORA-06553 : PLS-306:wrong number or types of arguments in call to 'V'

    There are a couple of thngs wrong here. In the when matched insert column list, you cannot qualify the field name with the table alias. It should be just:
    insert (std_district_student_id, std_grade_code, sub_test ...)Are v_student_id, v_test_id, v_lang_cd, and v_plc really columns in the intf_lpa_master table? I am more used to seeing v_name as a variable naming convention than a column name, but I could be wrong.
    John

  • Getting parsing error while using Deploy Manager

    Hello,
    I am trying to deploy our EAR file using deploymanager script. My EAR file is correctly packaged, I have also verified the java path and the xml and DTD structure. I am getting the following errors:
    /DeployManager deploy-manager-config.xml
    java.lang.NullPointerException
            at java.io.File.<init>(File.java:203)
            at com.sap.engine.deploy.manager.DeployConfigDocument.getAbsolutePath(DeployConfigDocument.java:990)
            at com.sap.engine.deploy.manager.DeployConfigDocument.getInfoFromElement(DeployConfigDocument.java:1871)
            at com.sap.engine.deploy.manager.DeployConfigDocument.initEarFile(DeployConfigDocument.java:398)
            at com.sap.engine.deploy.manager.DeployConfigDocument.initDeployableObject(DeployConfigDocument.java:1792)
            at com.sap.engine.deploy.manager.DeployConfigDocument.loadFieldsFromDocument(DeployConfigDocument.java:1496)
            at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1866)
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
            at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1947)
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:178)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    NOT Deployed ! :
    com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
    Can anyone please help?
    Thanks,
    Sumod

    The error is because the deploy-manager-config.xml  is  noy found in the classpath . please put the folder where  deploy-manager-config.xml  is placed in classpath .
    It would be helpful , if you use it using ant scripts.
    please have look at this pdf where it shows an example on how to deploy .also it very easy to do....
    link to PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ca44e78-0801-0010-fa9d-a760d921b12f
    Hope this helps , please mark full points for helpful answers
    regards
    rajesh kr

  • Error while using new fields added to Web UI through AET

    Hi,
    I have added three new fields in CRM Web UI of data type 'Numerical' in component BP_ADDR in object ACCOUNT.
    But when creating a new account, when I enter a number(say 10) and then press the ENTER key, the number disappears and a zero(0) is displayed in the field.
    Now when I again key in the number, it stays and is saved.
    Can somebody tell me is there any particular reason for this or while during field generation, I have missed out some entry that needs to be maintained. Please guide me on this.
    Thanks and Regards
    Varun Taneja

    Hi Eli,
    Thanks a lot for your quick response.
    We have added  the following fields: No. of Company Owned Cars, No. of Employees and No. of Employee Owned Cars.
    These fields can also be added in some other component, not necessarily BP_ADDR but that does not make any difference.
    I have checked that the standard address fields are filled in correctly in the first round of entry itself.
    Can you please suggest in which object should we add these fields, BUPA or ACCOUNT?
    Thanks and Regards
    Varun Taneja

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • Error while using DB Adapter in BPEL process

    Hi All,
    I am getting error while using DB Adapter in BPEL process
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
    I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
    I am not able to solve this.
    Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?

    did u deploy your dbadapter through console to the plan mentioned for deployment?

  • Error while using exp utility

    Hi,
    I am getting the following oracle error while using exp,
    can someone please suggest on this,
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SIEBEL
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SIEBEL
    About to export SIEBEL's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export SIEBEL's tables via Conventional Path ...
    . . exporting table EIM_ACCDTL_TNT
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table EIM_ACCNTROUTE
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table EIM_ACCNT_CUT
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table EIM_ACCNT_DTL
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed

    Satish is right, there exists bug for 11.1.0.6.
    Look at metalink note 741984.1.
    Bug number is 5872788 - there exists patch as well.

  • Error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element

    Hi All,
    I am facing below mentioned error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element
    Error: 1 (Field level error)
      SegmentID: NTE
      Position in TS: 70
      Data Element ID: NTE02
      Position in Segment: 2
      Data Value:
      3: Too many data elements
    For Eg: NTE*GEN*My Text *goes here
    Here, NTE02 should be My Text *goes here. So, how can I use "*" here without changing anything in the EDI message?
    Can it be done?
    Thanks.

    Sorry, no.
    X12 does not support an escape character so whatever is used for delimiters become reserved characters.
    If you want to allow '*' in the data, you will have to chooser a different Element delimiter.  The receiver should read the from this from the ISA Segment so it's supposed to be dynamic but that's not always the case in practice.

  • "llegal character in path at index" Error While Using wsimport from ant.

    Hi,
    I am getting the following error, while using wsimport from ant build script. you have the details below. I dont have a clue on this error.
    Error :
    wsimport:
    [echo] Generating the client stubs
    [wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] line 0 of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] error: Unable to parse "HelloService_schema1.xsd" : Illegal character in path at index 25: file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] line ? of file:/D:/Study/WebService Eclipse Project/examples/jaxws/helloservice/service/server/wsdl/HelloService.wsdl#types?schema1
    [wsimport] error: Element "{http://endpoint.helloservice/}sayHello" not found.
    Java WebService :
    package helloservice.endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService()
    public class Hello {
    private String message = new String("Hello, ");
    @WebMethod()
    public String sayHello(String name) {
    return message + name + ".";
    Ant Build.xml
    <project name="${project.name}" basedir="." default="ear">
         <property file="WS_build.properties"/>
         <target name="init">
              <!-- Path Setting-->
              <echo description="Setting the path for the project"/>
              <path id="classpath">
                   <fileset dir="${lib.dir}" includes="*.jar"/>          
                   <fileset dir="${commonWSLib.dir}" includes="*.jar"/>
              </path>
              <!-- WSGen -->
              <echo description="WSGEN Definition"/>
              <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </taskdef>
              <!-- WS Import-->
              <echo description="WSImport Definition" />
              <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </taskdef>
         </target>
         <target name="Compile" depends="init">
              <echo description="Compiling the project"/>
              <mkdir dir="${build.dir}"/>
              <mkdir dir="${build.dir}/classes"/>
              <javac destdir="${build.dir}/classes" srcdir="${java.base}">
                   <classpath>
                        <path refid="classpath"/>
                   </classpath>
              </javac>
              <copy todir="${build.dir}/classes">
                   <fileset dir="${java.base}" excludes="**/*.java"/>
              </copy>
         </target>
         <target name="wsgen" depends="Compile">
                   <echo message="Generating the wsdl file[${project.name}Service.wsdl]" />
                   <mkdir dir="${service.dir}"/>
                   <mkdir dir="${service.dir}/server"/>
                   <mkdir dir="${service.dir}/server/classes"/>
                   <mkdir dir="${service.dir}/server/src"/>          
                   <mkdir dir="${service.dir}/server/wsdl"/>                    
                   <wsgen sei="${sei.class}" destdir="${service.dir}/server/classes" genwsdl="true"
                   sourcedestdir="${service.dir}/server/src" resourcedestdir="${service.dir}/server/wsdl">
                        <classpath>
                             <path refid="classpath" />
                             <pathelement location="${build.dir}/classes" />
                        </classpath>
                   </wsgen>
         </target>
         <target name="copy" depends="wsgen">
                   <echo message="Copying class and config files into ${web-inf.dir} folder" />
                   <copy todir="${web-inf.dir}">
                        <fileset dir="${build.dir}"/>
                        <fileset dir="${service.dir}/server" includes="**/*.class"/>
                        <fileset dir="." includes="${lib.dir}/*.jar"/>
                   </copy>
                   <copy todir="${web-inf.dir}/${lib.dir}">
                        <fileset dir="${commonWSLib.dir}" includes="*.jar"/>
                   </copy>
                   <copy todir="${web-inf.dir}">
                        <fileset dir="${web-inf.dir}" includes="**/*.xml"/>
                   </copy>
         </target>
         <!-- Create the WAR file     -->
         <target name="war" depends="copy">
              <echo message="Creating the war file [${project.name}.war]" />     
              <mkdir dir="${dist.dir}"/>
              <mkdir dir="${dist.dir}/server"/>
              <war destfile="${dist.dir}/server/${project.name}.war" webxml="${web-inf.dir}/web.xml" basedir="${web.dir}"/>
         </target>
         <target name="wsimport" depends="war">
              <echo message="Generating the client stubs" />          
              <mkdir dir="${service.dir}"/>
              <mkdir dir="${service.dir}/client"/>
              <mkdir dir="${service.dir}/client/classes"/>
              <mkdir dir="${service.dir}/client/src"/>     
              <wsimport wsdl="${basedir}/${service.dir}/server/wsdl/${project.name}.wsdl"
                   destdir="${service.dir}/client/classes"
                   package="${wsimport.package}"
                   sourcedestdir="${service.dir}/client/src">
              </wsimport>
         </target>
         <target name="clientjar" depends="wsimport">
    <echo message="Creating the client jar file [${project.name}Client.jar] " />
    <copy todir="${service.dir}/client/classes">
    <fileset dir="${service.dir}/client/src"/>
    </copy>
    <mkdir dir="${dist.dir}/client"/>
                   <tstamp>
                   <format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
                   </tstamp>
    <jar destfile="${dist.dir}/client/${project.name}Client.jar"
    basedir="${service.dir}/client/classes">
                   <manifest>
                   <attribute name="Built-By" value="${user.name}"/>
                   <attribute name="Built-Date" value="${TODAY}"/>
                   <attribute name="Implementation-Version" value="${version}-b${build.number}"/>
              </manifest>
              </jar>          
    <mkdir dir="${dist.dir}/client"/>
         </target>
         <!-- JAR THE ENGINE -->
         <target name="enginejar" depends="clientjar">
         <echo message="Creating the engine jar file for local call [${project.name}.jar] " />
              <!-- <copy todir="${build.dir}/classes">
                        <fileset dir="." includes="${config.dir}/hibernate.cfg.xml"/>           
         </copy> -->
              <tstamp>
                   <format property="TODAY" pattern="yyyy-MM-dd hh:mm:ss" />
              </tstamp>
         <jar destfile="${dist.dir}/server/${project.name}.jar"
         basedir="${build.dir}/classes">
                   <manifest>
                        <attribute name="Built-By" value="${user.name}"/>
                        <attribute name="Built-Date" value="${TODAY}"/>
                        <attribute name="Implementation-Version" value="${version}-b${build.number}"/>
              </manifest>
              </jar>          
              </target>
              <!-- GENERATE EAR FOR THE ENGINE -->
              <target name="ear" depends="enginejar" >
                   <echo message="Creating the ear file [${project.name}.ear]" />
                   <ear destfile="${dist.dir}/server/${project.name}.ear" appxml="META-INF/application.xml">
                   <fileset dir="${dist.dir}/server" includes="${project.name}.war"/>
              </ear>
                   <antcall target="clean"></antcall>
              </target>
              <!-- CLEAN UP THE FOLDERS     -->
              <target name="clean">
                   <echo message="Cleaning up folders " />          
                   <delete dir="${build.dir}"/>
                   <delete dir="${service.dir}"/>
                   <delete dir="${web-inf.dir}/classes"/>
                   <delete dir="${web-inf.dir}/lib"/>
                   <echo message="${project.name}.ear, ${project.name}.war, ${project.name}.jar and ${project.name}Client.jar is available in project's ${dist.dir} folder"/>
              </target>
    </project>
    Generated wsdl(HelloService.wsdl) :
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <definitions targetNamespace="http://endpoint.helloservice/" name="HelloService" xmlns:tns="http://endpoint.helloservice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://endpoint.helloservice/" schemaLocation="HelloService_schema1.xsd"/>
    </xsd:schema>
    </types>
    <message name="sayHello">
    <part name="parameters" element="tns:sayHello"/>
    </message>
    <message name="sayHelloResponse">
    <part name="parameters" element="tns:sayHelloResponse"/>
    </message>
    <portType name="Hello">
    <operation name="sayHello">
    <input message="tns:sayHello"/>
    <output message="tns:sayHelloResponse"/>
    </operation>
    </portType>
    <binding name="HelloPortBinding" type="tns:Hello">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="sayHello">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="HelloService">
    <port name="HelloPort" binding="tns:HelloPortBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
    </service>
    </definitions>
    Generated : HelloService_schema1.xsd
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema version="1.0" targetNamespace="http://endpoint.helloservice/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="sayHello" type="ns1:sayHello" xmlns:ns1="http://endpoint.helloservice/"/>
    <xs:complexType name="sayHello">
    <xs:sequence>
    <xs:element name="arg0" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="sayHelloResponse" type="ns2:sayHelloResponse" xmlns:ns2="http://endpoint.helloservice/"/>
    <xs:complexType name="sayHelloResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    If u need any other information let me know.

    This has been resolved by uploading relevant jar file

  • Parse error when using  ojspc SAMPLE.WAR

    Hi,
    I am facing oracle.jsp.parse.JspParseException while using ojspc SAMPLE.WAR
    Parse error in index.jsp:
    oracle.jsp.parse.JspParseException: /index.jsp: Line # 20, <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    Error: org.apache.struts.taglib.logic.IterateTei while reading TLD /WEB-INF/struts-logic.tld
    index.jsp contains
    <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    and web.xml
    <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    --Kailas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    one solution: assume the toplink library to be so full of bugs as to be unusable and switch to the hibernate persistance manager where it works fine.
    Edited by: pointer2null on Feb 17, 2009 11:02 AM

  • Runtime Error while using Dynamic Selection

    Hi,
      We are getting a runtime error while using a dynamic selection. One of the fields has got an apostrophe in the middle of the text and so the condition is returning an error SAPSQL_WHERE_PARANTHESES.
      Let's say the value in the field is SCV's. So the WHERETAB is filled as 'SCV's' or `SCV's`. An exception is caught in this case as there is no closing apostrophe.
    Let us know if anyone has come across a similar issue and any help is appreciated.
    Regards,
    Sarves

    Hi Sarves,
    as Rob said.
    check also the [ORACLE FAQS|http://www.orafaq.com/faq/how_does_one_escape_special_characters_when_writing_sql_queries] or [SQL SERVER u2013 How to Escape Single Quotes|http://blog.sqlauthority.com/2008/02/17/sql-server-how-to-escape-single-quotes-fix-error-105-unclosed-quotation-mark-after-the-character-string/]
    Honestly: Before posting here and getting a whole lot of more or less useless comments just use your favorite search engine.
    Regards,
    Clemens

  • Error while using  CALL METHOD

    I am getting a error while using CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    The error is class "CL_SSF_XSF_UTILITIES is unknown. How to correct that?? please help I am new to object oriented programming??
    Edited by: priya singh on Nov 18, 2008 2:14 PM

    This is my code.
    REPORT ZSAVE_FUNCTION .
    D A T A D E C L A R A T I O N S *
    DATA: v_bitmap TYPE xstring, "graphic data
    v_file TYPE string, "file name
    v_length TYPE i. "length of binary file
    DATA: BEGIN OF it_bitmaps OCCURS 0,
    object TYPE tdobjectgr, "object
    name TYPE tdobname, "name
    id TYPE tdidgr, "id
    tdbtype TYPE tdbtype, "graphic type
    END OF it_bitmaps.
    DATA: itab TYPE TABLE OF x.
    *class cl_ssf_xsf_utilities definition.
        public section.
      methods : get_bds_graphic_as_bmp
    DATA: L_GRAPHIC_XSTR TYPE XSTRING.
    *method cl_ssf_xsf_utilities
    S E L E C T I O N - S C R E E N *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p_object TYPE tdobjectgr, "object
    p_btype TYPE tdbtype, "graphic type
    p_name TYPE tdobname, "name
    p_id TYPE tdidgr. "id
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: p_file TYPE rlgrap-filename. "file name
    SELECTION-SCREEN END OF BLOCK b2.
    *A T S E L E C T I O N - S C R E E N O N V A L U E - R E Q U E S T *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_name.
    *-- Creating f4 help for the parameters
    PERFORM get_f4_object_name.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *-- Getting the current value entered
    PERFORM get_current_value.
    *-- Value Request Functionality For Input File Name
    PERFORM f4_value_request.
    S T A R T O F - S E L E C T I O N *
    START-OF-SELECTION.
    *--Getting the graphic as a BMP file
    PERFORM get_graphic_bmp.
    *--Convert the Xstring format to binary format
    PERFORM convert_to_binary.
    *--Download the graphic
    PERFORM download_graphic.
    *& Form get_current_value
    Get the current file path entered
    FORM get_current_value .
    DATA: BEGIN OF li_dynp_value_tab OCCURS 0.
    INCLUDE STRUCTURE dynpread.
    DATA: END OF li_dynp_value_tab.
    DATA: l_program_name LIKE d020s-prog,
    l_dynpro_number LIKE d020s-dnum.
    l_program_name = sy-cprog.
    l_dynpro_number = sy-dynnr.
    REFRESH li_dynp_value_tab.
    li_dynp_value_tab-fieldname = 'P_FILE'.
    APPEND li_dynp_value_tab.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = l_program_name
    dynumb = l_dynpro_number
    TABLES
    dynpfields = li_dynp_value_tab
    EXCEPTIONS
    invalid_abapworkarea = 04
    invalid_dynprofield = 08
    invalid_dynproname = 12
    invalid_dynpronummer = 16
    invalid_request = 20
    no_fielddescription = 24
    undefind_error = 28.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    READ TABLE li_dynp_value_tab INDEX 1.
    p_file = li_dynp_value_tab-fieldvalue.
    ENDFORM. " get_current_value
    *& Form f4_value_request
    Provinding the f4 for the given path
    FORM f4_value_request .
    *-- if the file is to be downloaded to presentation server
    CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
    EXPORTING
    pathname = p_file
    CHANGING
    pathfile = p_file
    EXCEPTIONS
    canceled_by_user = 1
    system_error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " f4_value_request
    *& Form GET_GRAPHIC_BMP
    Get the graphic as a BMP file
    FORM get_graphic_bmp.
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    EXPORTING
    p_object = p_object
    p_name = p_name
    p_id = p_id
    p_btype = p_btype
    RECEIVING
    p_bmp = L_GRAPHIC_XSTR
    EXCEPTIONS
    not_found = 1
    internal_error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " GET_GRAPHIC_BMP
    *& Form CONVERT_TO_BINARY
    Converting the xstring to binary format
    FORM convert_to_binary .
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = v_bitmap
    IMPORTING
    output_length = v_length
    TABLES
    binary_tab = itab.
    ENDFORM. " CONVERT_TO_BINARY
    *& Form DOWNLOAD_GRAPHIC
    Download the graphic
    FORM download_graphic .
    v_file = p_file.
    CONCATENATE p_file '.BMP' INTO v_file.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = v_length
    filename = v_file
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_write_error = 1
    no_batch = 2
    gui_refuse_filetransfer = 3
    invalid_type = 4
    no_authority = 5
    unknown_error = 6
    header_not_allowed = 7
    separator_not_allowed = 8
    filesize_not_allowed = 9
    header_too_long = 10
    dp_error_create = 11
    dp_error_send = 12
    dp_error_write = 13
    unknown_dp_error = 14
    access_denied = 15
    dp_out_of_memory = 16
    disk_full = 17
    dp_timeout = 18
    file_not_found = 19
    dataprovider_exception = 20
    control_flush_error = 21
    OTHERS = 22.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " DOWNLOAD_GRAPHIC
    *& Form GET_F4_OBJECT_NAME
    Get F4 values for object names
    FORM get_f4_object_name .
    DATA: dynpfld_mapping TYPE STANDARD TABLE OF dselc WITH HEADER LINE,
    return_tab TYPE STANDARD TABLE OF ddshretval WITH HEADER LINE.
    *--Selecting the values to be provided as f4 help
    SELECT tdobject
    tdname
    tdid
    tdbtype
    FROM stxbitmaps
    INTO TABLE it_bitmaps.
    *--To update the values in the remaining fields
    dynpfld_mapping-fldname = 'F0001'.
    dynpfld_mapping-dyfldname = 'P_OBJECT'.
    APPEND dynpfld_mapping.
    dynpfld_mapping-fldname = 'F0002'.
    dynpfld_mapping-dyfldname = 'P_NAME'.
    APPEND dynpfld_mapping.
    dynpfld_mapping-fldname = 'F0003'.
    dynpfld_mapping-dyfldname = 'P_ID'.
    APPEND dynpfld_mapping.
    dynpfld_mapping-fldname = 'F0004'.
    dynpfld_mapping-dyfldname = 'P_BTYPE'.
    APPEND dynpfld_mapping.
    *--Providing f4 help with the selected values
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'TDOBNAME'
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = 'P_NAME'
    value_org = 'S'
    TABLES
    value_tab = it_bitmaps
    dynpfld_mapping = dynpfld_mapping
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " GET_F4_OBJECT_NAME

Maybe you are looking for