Creation Of Custom Queries of Execution Type Java.

Hi All ,
I want to know if I can create Custom queries of Execution type java which have Query Executor class.
I got this requirement because I got to customize "Search Master Agreements and Agreements".
It seems like it's not possible as Query Executor Class is uneditable so no chance of deploying any class file in server and trying out the ways...
Any approach exists to customize these type of queries.?
Regards,
Uday

Hi
I understand your requirement is to customize Search Master Agreements and Agreements query and display the new custom report in the Contract Management dropdown on workbench along with other queries.
This could be achieved by duplicating original query  i.e.Search Master Agreements and Agreements, customize and save it, go to Query Group in set up, identify  and open the query group containing the original query and add the new customized query as query reference.Also don't forget to remove the original query from the query list.
Regards
Mudit Saini

Similar Messages

  • Help needed for building report with execution method Java Concurrent prog

    Hi,
    I have saw a report like this:
    The report has executable "XML Publisher Data Template Executable", short name as "XDODTEXE", application "XML Publisher",execution method "Java Concurrent program". Also the report has a XML publisher Data Template and Data definition and in the data definition a .xml file is attached.
    I could not understand what is the data source?
    Could anyone help me on how to build or update this type of report?
    Is there any link or help docs which has proper step by step procedure to build this type of xml publisher report?
    Please help.
    Thanks.

    The xml file which is attached to the data definition is the data source and it has sql queries and structure of xml file.
    Check this out for step-by-step guidance.
    http://www.oracle.com/technetwork/middleware/bi-publisher/overview/xmlebsrep-132947.pdf
    http://apps2fusion.com/at/ps/51-prabhakar/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    For more on data templates refer user guide
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T434255.htm

  • Date type-specific Customizing missing for date type ACTActPln

    Hi all.
    I'm using a Web Service obtained by copying the CRM 7.0 built-in WS APPTACTCRTRC.
    I'm using it to create Appointments using an Adobe Interactive Form.
    It goes everything fine (a Date is created in the system, with all the input data properly set) excepted the dates...
    The WS uses two TIMESTAMPS, TIMESTAMP_FROM for StartDateTime and TIMESTAMP_TO for EndDateTime, whereas the GUI transaction to create Dates accepts dates and times in separated fields.
    Going in Debug I can see that the execution ends with the following error, referred to the involved entity (CRM_APPOINTMENT):
    Date type-specific Customizing missing for date type ACTActPln
    CRM_APPOINTMENT uses date profile 0000000001 with three possible date types: ORDERACTUAL, ORDERPLANNED and ORDERPROPOSED and I cannot find anywhere date type ACTActPln (just to add it in customizing).
    Is anyone able to enlight me?
    Thank you in advance!
    Alessandro
    PS I've years of experience in Java programming but I'm quite new to the SAP world. Maybe the problem is not a problem at all, but it seems to me as such. Even if it has a trivial solution, please let me know. Thx!

    Hi,
    Well I was about to write that you should enter date in decimal format. but you already did that as mentioned in How to set a date in a Form where the bound date format is a decimal?
    In response to following from above thread (copied for others to understand my response)
    Hi all.
    I'm successfully using the LiveCycle Designer and I've managed to remotely create Appointments using a CRM Web Service (a mere copy of APPTACTCRTRC).
    The only problem I'm encountering is that I'm not able to set the dates/times (start and end of the appointment).
    Dragging each of the two fields from the WSDL based Data Connection I obtain a Decimal Field limited to 15 digits.
    How can I write a date and time in such a field?
    I've tried with a retroverse date as YYYYMMDDHHmmss (for example, 20100301124500) but it does not work
    (the appointment is indeed created, but with the start date and time fields filled with
    the current date/time and the end date and time fields filled with the current date and time plus 10 minutes).
    The retroverse date above is only 14 digit long, so, maybe, this is the problem.
    But, given the field definition, I'm not able to fill a blank space between the date and the time.
    I'm not able to put a dot either.
    What should I do?
    Any suggestions?
    Thank you in advance.
    Alessandro
    15 digit in UTC time format here is fraction of second so you should enter 201003011245000 (add one more zero).
    14th Oct 2010 16:00 should be written as 201010141600000, so just try it and and see if it works, I guess if you do not supply end time then by default it will be starttime + 10 min but this is just guess.
    Regards,
    Gourav

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?

    We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace.
    HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:28:31 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
    </td> </tr> </table>
    <br>
    <b>Stack Trace:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre>
    [UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.] java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) +59 java.util.Locale..cctor() +1678
    [TypeInitializationException: The type initializer for "java.util.Locale" threw an exception.] java.lang.Float..ctor(String s) +214 com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87</pre></code>
    </td> </tr> </table>
    <br>
    <hr width=100% size=1 color=silver>
    <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    </font>
    </body></html><!-- [UnsatisfiedLinkError]: Exception of type java.lang.UnsatisfiedLinkError was thrown. at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) at java.util.Locale..cctor()[TypeInitializationException]: The type initializer for "java.util.Locale" threw an exception. at java.lang.Float..ctor(String s) at com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) at com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) at Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) at Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)-->HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:29:06 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>

    This is the response I got from support:
    This is bug 22205 and will be fixed in the release of the Exchange Groupware Portlet Suite 3.0.4 at the end of April. The workaround in the interim is to copy the D:\Program Files\plumtree\jre folder from the installation CD (or another working portal server) onto the problem server. Please let me know if this resolves the issue for you. Neal Rapoporthttp://www.portalconsultant.com

  • ECC6.0 WM creation of one TO per Storage Type

    Hello,
    I'm currently implementing WM at my customer using various Storage Types. During testing we created GR in IM for 2 materials (in one document), one of them is relevant to quality inspection but the other one is not.
    TO creation has been done automatically (as expected) from interim storage type 902 GR area) to interim storage type 917 (quality area) for the first position. Also a position for the second line has been created from 902 to storage type 042 (main shelf).
    Technically this is all OK. However I was expecting to have 2 TO's instead of 1 TO with 2 positions. How can I trigger the system to create a seperate TO per destination storage type?
    Thanks beforehand big time!
    Alex

    Hi,
    It was working at the time I posted...so, please complain at SAP AG...
    You can use this link to access online SAP help:
    http://help.sap.com/
    ('SAP R/3 and R/3 Enterprise' - on the left)
    E.g.
    http://help.sap.com/saphelp_47x200/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    (you can use search term 'Transfer order split')
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/f83df24afa11d182b90000e829fbfe/frameset.htm
    Additionally you can use this as well:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LEWM/MMWM.pdf
    BR
    Csaba

  • Custom queries

    Hi,
    I have an existing business entity interface hierarchy that I have mapped, let's call it IAnimal, with subclasses, for example, of IDog and ICat
    These entities are maintained within a logical repository structure (i.e. a folder hierarchy). I want to perform paged querying, with the order based upon the repository folder structure full path name.
    I can use Oracle features to do the hierarchical query, and have custom application code to handle the paging: provided I can query the business entity AND it's repository folder full path name in one hit.
    Is there a mapping that support's this?
    Ideally I would have a new concrete type, something like IAnimalSearchResult that contains two attributes, an[i] IAnimal reference and a simple String field representing the full path....
    So querying on[i] IAnimalSearchResult would return all IAnimals (and sub types thereof), as well as its location in the repository.
    Can I map "Container/Delegated attributes" like this?
    Can I map my dynamically generated query result to a class attribute?
    Thanks
    Mike

    First, yes the default queries for an attribute mapping can be overridden with custom queries.
    collectionMapping.setSelectionQuery(customReadAllQuery);
    However given that this mapping would need to be readonly I would recommend having the getter in your application simply execute the TopLink query to retreive the results. The only benefit to mapping would be to make use of the TopLink's refresh functionality.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • MSS ECM - how to retrieve custom OADP column in Webdynpro java application

    Great day to all,
    We have created custom OADP column for MSS ECM planning in SPRO.
    In Portal, ECM Plan Table, the column is visible. User enters values into that and toggles the tabstrip.
    Before submitting, i need to capture that value in Webdynpro java.
    My Question is,
    How can i make use of that column in my ECM Application using webdynpro java??
    or how can i retrieve the custom OADP columns in webdynpro java with out using RFC??
    Need ur great help... thanks alot in advance...
    Thanks
    Malla

    In OADP ,there are two types of columns , functional column which cannot be edited in web dynpro java application and another type is application column which can be edited in application and the value of this column is handled in application using rfc enabled function module. MSS ECM comes with certain application column whose values are handled in MSS-ECM application . If you are trying to add custom application column you will have to handle that column value in your Z function module and also at OADP level you should not configure supply function for that column.
    In order to call custom Z function module to handle custom application column I would suggest to create a seperate Software component and development component  and in that handle the logic for calling Z Function module. Also you will have to define the usage of custom Development component in the MES-ECM standard component.

  • Creation of custom Infocubes, extractors and multiprovider

    Hi all,
            Can somebody give me the information regarding the creation of custom Infocubes, extractors, and multiproviders. It would ne great if you could give me some examples regarding the above in SD.
    Thanks,
    Sekhar

    We will go for the creation of custom infocubes
    when the existing business content doesnot suite your requirement.
    when u r using the one existing business content extractor and u need the same requirement for another cube u can create your own extractor of the same type without changning the existing one.
    we will use multiproviders for reporting purpose.  suppose if u are having some 3 infocubes and u want to display the fields from the 3 cubes then go for the creation of multiprovider.

  • Can we capture SQL Queries before execution?

    Hi Everyone,
    I would like to know that is there any way to capture SQL queries before execution?
    please advise.
    thanks
    kv

    Hi!
    You could capture the querys and use them as a payload for the "Database Engine Tuning Advisor".
    Maybe it gives you some indexes which raise the performance.
    But:
    I only would add indexes to user tables.
    Cheers,
    Roland
    PS.:
    Indexes which are created directly through SQL could be lost after a B1 Upgrade. So saving the creation-statements in a warm and secure place is recommended
    PPS.:
    ...and maybe such indexes are not supported by SAP...
    Edited by: Roland Toschek on Dec 1, 2008 6:23 PM

  • WDTypeNotFoundException: type java:byte not found

    Hi,
    When I import a webservice I get the following error when I start my Web Dynpro application:
    WDTypeNotFoundException: type java:byte not found
    (In datatypebroker)
    This happens when I import a webservice that contains type xsd:base64Binary. (If I don't map this node to my controller I don't get the error.)
    In other posts I read that a conversion using com.sap.engine.lib.xml.util.BASE64Encoder should solve the problem. But the error occurs at startup, before my custom code is reached.
    Anyone?
    Thanks in advance.
    Roelof

    Hi Valery,
    Thanks for your reply.
    I cannot change the type. When I edit the model class, It does not allow me to change the type.
    To be more precise:
    The webservice has an import parameter 'FOTO'. This does not appear as a property but as a relation and refers to array_byte.
    I can edit the relation (in a popup window), but the only types I'm allowed to change it into are the three nodes under my generated model class: request, response and array_byte.
    When I edit array_byte I cannot change the type. There is a property named 'value' of type byte, I cannot change this. I can edit the relation, with the same result as described before.
    (When I link the model to my controller context, I get a context node FOTO (cardinality 0:n) that contains an attribute 'value' of type byte.)
    I suspect that (Java) Web Dynpro's do not support webservices that contain xsd:base64Binary types.
    Roelof

  • TypeNotFoundException: type java:byte

    Hi,
    I am trying to use the web service for Microsoft mappoint in webdynpro. (http://staging.mappoint.net/standard-30/mappoint.wsdl)
    This webservice cotains an element of type base64Binary as a result of which when I generate the model attributes of type byte[] are created. When I deploy and run this application I get the following error -
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type java:byte not found
    at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:224)
    at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
    at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
    As per the post - WDTypeNotFoundException: type java:byte not found I tried to change the type to binary but I could not edit the model.
    Is there any alternative solution to this problem? Any suggestions?
    Thanks in advance,
    Nakul

    Hi Nikhil, Hi Nakul
    We are also getting same error. Our WS returns a PDF which is base64binary. When we import this WS in WebDynpro JAVA using the deprecated WS Model method,  it gets imported. But in the node this attribute shows as type byte.
    Now even if we do not write any code and run this application, it gets the error mentioned above. So the control is not reaching any custom code. The stack trace proves the same.
    Please let me know if anything can be done here.
    Regards,
    Boopathi
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type java:byte not found
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:224)
         at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:319)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
         at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Edited by: boopathi m on Apr 15, 2008 2:52 PM

  • Getting split payment terms in case of customer credit memo(Doc type DG)

    Hi Guys,
    Is there any FM available for getting split payment terms in case of customer credit memo(Document type DG). There will be no invoice/billing doc for this document type and will be created from FB75 transaction. For billing document i am using FM SD_PRINT_TERMS_OF_PAYMENT_SPLI. Please let me know if there is any FM for accounting document also.
    Thanks,
    Vinod.

    Hi,
    Try this bapi
    BAPI_AR_ACC_GETSTATEMENT

  • Problem in  creation of Customer Master

    Hi gurus,
    I am facing problem in creation of customer master.
    I have created a account group zz01 copying from 0001.which has internal no. assignement for the customer.
    Now i am trying to create a customer master, at partner functions level under sales area data...  the system is asking for the no. for each partner functions.. when i tried to manually enter, the system is not taking any number nor it is letting me save the data.
    Please help me out in acertaining,  what could be the issue.
    regards
    Gupta
    [email protected]

    its due to the number ranges that is specified in the partner determination ... chech what is the number range assigned in the parner determination ,,, so once u check that u have to manually enter the number between that range only .. this should solve ur problem...
    path to check the number range is as below :
    spro-img-logistic generalbusiness partner-customers---define account groups and field selection ---    
    at this point click position button at the bottom and give ur account group .. select ur account group and click detail button .. now inside that u can see the specified number range .. dafault is 08 ( means u can specify between 400000 to 499999)..
    and some times  u may not have defined number range... check urs and create accordingly ... this should solve ur problem...
    rewards if solved ..
      thank you
    madhan

  • OpenSQLException - object of type java.sql.Date is not normalized

    Hi,
    I am attempting to code an SQL query in an EJB and get the following exception:
    com.sap.sql.log.OpenSQLException: The object of type java.sql.Date with the value '2010-06-04 13:21:09.424' assigned to host variable 1 is not normalized. It must not contain time components in the time zone running the virtual machine. at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85) at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124) at com.sap.sql.jdbc.common.CommonPreparedStatement.setDate(CommonPreparedStatement.java:650) at......
    Below is the code snippet I am using:
                        private static String selWQ  = "Select * from ZZZZ_TABLE " +
                                                                       "where DATEFROM >= ? " +
                                                                  "and DATETO <= ? ";
         public UsageRecord[] getRecords(Date fromDate,Date toDate)
              UsageRecord[] ura = null;
              String q          = null;
              ArrayList al      = new ArrayList();
              try
                   q = selWQ;
                   conn.open();
                   PreparedStatement p = conn.prepareStatement(q);               
                   p.setDate(1, fromDate);
                   p.setDate(2,toDate);                    
                   ResultSet rs = p.executeQuery();
    I have a PreparedStatement and am using setDate to set the values. The fromDate and toDate parameters are of type java.sql.Date
    Can someone please tell me what I am doing wrong and how to fix it?
    thanks
    Brian

    As requested, here is an example of what I used to resolve this:
                   PreparedStatement p = conn.prepareStatement(q);
                   SimpleDateFormat ddf = new SimpleDateFormat("yyyy-MM-dd");
                                               String sFrom = ddf.format(new java.util.Date(fromDate));
                   String sTo   = ddf.format(new java.util.Date(toDate));
                   p.setDate(1, java.sql.Date.valueOf(sFrom));
                   p.setDate(2, java.sql.Date.valueOf(sTo));
                   ResultSet rs = p.executeQuery();
    fromDate and toDate are parameters of type long...
    regards
    Brian

Maybe you are looking for

  • I have an iPhone 5s on a windows 8 platform. iTunes is 11.1.4.62, iTunes doesn't recognize my iPhone and I am unable to sync.

    I have an iPhone 5s on a windows 8 platform. iTunes is 11.1.4.62, iTunes doesn't recognize my iPhone and I am unable to sync. After the last iTunes update my phone wasn't recongnized and the phone asks if I want to trust the computer everytime I conn

  • Possibility of Focusing to a Specific Org Unit ?

    Hello Everyone, We are using Nakisa v4.1 and a live build. I wonder whether the below action is possible or not; When a manager logs into the system, the OrgChart Module will display all the organizational units BUT will focus to the organizational u

  • Em dbcontrol finally working

    I installed oracle 11gr2 on 32 bit windows 2003 (datacenter) Microsoft Windows [Version 5.2.3790] with 8 g memory (using PAE) and really had trouble with dbcontrol. It did not get installed correctly the first time and I took me days to get it workin

  • Inserting Zfields in BUT000

    Hi,       When Business partners are passed from HR to CRM system, they come through idocs and get inserted in BUT000 in the Function Module BUP_BUPA_UPDATE. But I see that only standard fields of BUT000 are inserted. Is there any way by which we can

  • White screen with a folder and a question mark in the Folder

    Hi, My daughter's Desktop Mac Pro won't reboot. On reboot, it shows a white screen with a folder and a question mark within, It just stays there and nothing happens. Is this a problem with a dead hard drive, dead processor, faulty USB connection, pro