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
Similar Messages
-
Getting error while creating new fields
hi all,
i am getting an error when i am adding a new field thru eewb to a txn.
error message "Definition CRM_BTX_ADD_NEW_FIELDS is of the type 'TSK' and should run on an external system. This is not permissible. Only definitions of type 'SEQ' may be created for external systems."
plz helep me out
and i have few doubts
1 in web ui to display these new fields do we need to write a program
2. new field values are stored in table do weneed to create any table ?
3. do we need to write any program so that the values will be stored in tht table?
thanks
madhuri
Edited by: madhuri pasupuleti on Apr 27, 2009 1:33 PMHi Madhuri,
For error message "Definition CRM_BTX_ADD_NEW_FIELDS is of the type 'TSK' and should run on an external system. This is not permissible. Only definitions of type 'SEQ' may be created for external systems."
- Check SAP Market Place for any notes on "CRM_BTX_ADD_NEW_FIELDS"
1 in web ui to display these new fields do we need to write a program
- No need to write any program to display new fields in WEB UI. Using the EEWB will automatically create code behind the screens. All new fields created will be available in base table (example: for business partner - BUT000). You can explore the fields available functionality in WEB UI to populate them
2. new field values are stored in table do we need to create any table ?
- No, EEWB will automatically creates customized structure in code behind the screens
3. do we need to write any program so that the values will be stored in tht table?
- No, I don't know how to add values to the particular field(s) but sure that you don't need to write any program to store the values in customized tables
Cheers,
Peter J. -
Error While Creating New Field thru EEWB
Hello CRM Experts,
I have found following Error while adding New Fields through EEWB. Can any one help to analyse and give the solution?
It gives Error Log as- System type OLTP with role DEV is not specified correctly. System type OLTP with role DEV is not specified correctly
Thanks for your reply in advance.Hi Priya,
We are also facing similar error in EEWB. If you have solved this problem, please update thread.
Thanks
Dhanraj -
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,
RainerHi Yepin Jin,
I am facing the same issue did you solved it?
Regards,
Orlando Covault -
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’s another flash crash? What if we enter a double dip? These are just a few fears weighing heavily on investors’ minds in today’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’ needs</a>.</p>
</font>
</td>
</tr> -
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
-
Portal error while using BI template created by Web appliaction designer
Hello Guys,
I am getting error
Portal Runtime Error
An exception occurred while processing your request
Exception id: 03:58_20/08/08_0031_7258650
See the details for the exception ID in the log file.
while checking template from BI menu . And if i am using option Publish to portal i am getting Portal Home page .
Please suggest me a solution .
Regards
Nilesh Vakilgood
-
I have create Logic App under Azure App Services, I am getting
error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
Following are the screen shots:
Login App Connector Diagram:
hemaMarking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
http://twitter.com/joshtwist -
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?
-
RWI 00200 Error while scheduling the Bex Query based Webi report
Dear All,
I am facing the below error while scheduling the Bex Query based Webi report.
Error:RWI 00200
We are using BO XI 4.0 Sp05.
Please adviseHi,
I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
Please suggest what could be done.
Thanks and Regards,
Ankit Sharma -
"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
-
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 PMThis 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 -
Error while creating new user in Oracle 11i EBS
I am getting following error while creating new user. How solve this issue?
“Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.Following is the text from Note for Custom Password Validation logic:
Customers who wish to use their own password validation logic may do
so by writing their own Java classes that implement the
oracle.apps.fnd.security.PasswordValidation Java interface. The
interface requires 3 methods to be implemented:
1) public boolean validate(String user, String password)
- This method takes a username and password, and then returns true
or false, indicating whether the user's password is valid or invalid,
respectively.
2) public String getErrorStackMessageName()
- This method returns the name of the message to display when the
user's password is deemed invalid (i.e., the validate() method returns
false).
3) public String getErrorStackApplicationName()
- This method returns the application shortname for the
aforementioned error message.
After writing the Java class to perform customized password
validation, the customer must then set the value of the profile option
SIGNON_PASSWORD_CUSTOM to be the full name of the class. If, for
example, the name of the Java class is
oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
SIGNON_PASSWORD_CUSTOM profile option must be
oracle.apps.fnd.security.AppsPasswordValidation. Note that AOL/J
will attempt to load this class dynamically. Hence it is necessary to
make the class accessible by AOL/J. This means that in Forms, the
class must first be loaded into the database using the loadjava
command.
You will need to apply the following patches for 11.5.1:
1344802
1363919
1472974
1351004
1377615
You will need to apply the following patches for 11.5.2:
1377615 -
Hi,
I am getting an error while uploading an excel file in web Dynpro application. i am using the HR_KR_XSTRING_TO_STRING this function. I am getting the following error message 'Unable to interpret as a number'.First of all, are you sure you know what you are working with here. If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string. You should search the forums as this has been discussed extensively. On that topic, please also do not post duplicate threads. I have already locked your other thread with the same basic question.
Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with). You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE. -
SBO0001 error DBD:ORA12154 error while creating new connection
Dear All,
I have installed XIR3 on a windows 64 bit with oracle 10g R2 client.
The CMS is up and running and I am able to connect to the infoview and view the lsit of all the migrated objects from BOXIR2.
But, when I am trying to create a new connection for the universe or trying to execute the existing reports i am getting the following error.
(i.e I guess BO is unable to connect to DB)
*SBO0001 error DBD:ORA12154 error while creating new connection
I tried various solution from BOB but still could not solve this. Please anyone suggest few tips regarding this case
Business objects: CMS is running and able to connect to infoview and able to log on to CMC
Database client: Able to log on to DB using sqlplus and tnsping is working.
the details of the software are as follows
*BO Server configuration
OS: Windows Server 2008 R2 64 bit
Business Objects XI R3 3.0
Oracle client 10gR2 32 bit
*Database server configuration
Oracle 11g R2 64 bit
Thanks,
MikeMike :
I am having a similar issue with the BOE and Oracle.
Can you please provide details of which Oracle client you ended-up using..?
32-bit or 64-bit...?
Oracle client version...?
Specific client patches applied..?
Thanks,
Mark
Maybe you are looking for
-
Customize Overview Page of ESS Creation?
HI All How to create Customize Overview Page of ESS.. Lists the available services under Employee Self Service.. 1.Employee Administration 2.Personal Information 3.Working Time 4.Career 5.Payments Please help me on the above issue. Rafi Shaik
-
I cannot open "Show in Mail" link in Reminders app
Hello Everyone, I can drag emails over to my reminders app no problem but when I click the "Show in Mail" link. It makes an error sound and doesn't do anything at all. My default email reader is set to Mail 6.0 in the Mail preferences. Anyone know w
-
Can I move the clock on my Dashboard to my Desktop? If yes, how ?
The analog clock which used to be on the menu bar of my computer has disappeared. There is a nice clock on the Dashboard. Can someone please tell me how to move this clock from Dashboard to my Desktop? Thanks.
-
Cancal of Transport possible?
Hi all, at first I just want to thank you for all the great postings on sdn.sap.com. I read a lot of them. Now I have a problem and I am not able to find an answer in any of the postings. My problems refers to the transport system in sap. Can I cance
-
Eclipse plugin doesn't support multiple build directories
Eclipse 3.0 supports different build directories for each source tree. However, if you use this feature, the Kodo plugin doesn't work. It can't find the classes and puts ClassNotFoundException in the log and a meaningless NestableRuntimeException to