OSB: Check if node contents is dateTime

How can i determine if the contents of a node is a dateTime using XQuery in OSB

Probably the simplest way is not to use XQuery but use a defined XML schema for the message which specified a field should be a dateTime and validate the inbound message against the schema.
I suspect there's more behind the question than just "how can I do this?" though - what is it you're actually doing?
Paddy

Similar Messages

  • Checking in a content programatically

    Hi,
    Has anyone successfully checked-in a content item programatically? If yes, can you please share the code snippet.
    I tried using CHECKIN_NEW (CHECKIN_SEL for update) and CHECKIN_UNIVERSAL services to check-in the item programatically.
    I am getting the below error when doing so
    ========================================================
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:1707)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Caused by: intradoc.data.DataException: !csCheckinFileKeyNotSpecified,primaryFile
    at intradoc.server.DocServiceHandler.addFile(DocServiceHandler.java:3251)
    at intradoc.server.DocServiceHandler.addFiles(DocServiceHandler.java:410)
    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:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    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:585)
    at sitestudio.SSClassHelper.invokeRaw(Unknown Source)
    ... 70 more
    ==================================================
    I have set all the required meta data for for content item in m_binder. I have give proper values for primaryFile, primaryFile:path, dDocName, dOriginalName etc
    I have thoroughly checked all the meta data values but could not see any problem in the entries I am giving. Not able to figure out what could be the problem.
    Regards,
    Pratap

    I'd recommend sticking to a single thread when discussing the same issue. You're more likely to get help if you keep your details centralized.
    Re: Error when doing checkin of content item programatically
    Perhaps add some more context to your issue or paste in the offending code?
    Thanks,
    -ryan
    Ryan Sullivan | ECMconsultant
    http://www.ecmconsultant.net/

  • How to check if the content in txt file is empty

    hi, i need my program to check if the content in txt file is empty. can anyone demonstrate an example with if-else statement ?

    I assume you already have file object
    File file = new File("path");
    if (file.length() == 0) {
      System.out.println("File size is 0");
    else {
      System.out.println("File size is " + file.length());
    }Read API here:
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#length()
    Edited by: Kunkhmer on Feb 26, 2008 1:57 PM

  • Classgeneratorwizard extension plugin - "cannot create node content" error

    Hi,
    I updated latest ESDK in jdev, I tried executing the "ClassGeneratorWizard" plugin from " Tools & right click project", in both the cases, after 3rd step ie. clicking "finish", i'm getting an error dialog saying "cannot create node content".
    What can be the issue ?
    About jdeveloper versions
    1. jdev version 10.1.3.3.0.4157
    2. windows xp sp2
    3. java platform - 1.5.0_06

    Seems like there is a slight problem with the following two lines :
    JavaManager javaMgr = JavaManager.getJavaManager(prj);
    SourceFile javaFile = javaMgr.getSourceFile(node.getURL());
    in the createContent method of the realWizard class.
    I'll let the developer know about it.

  • OSB: Checking content type of a Business Service response

    Hi,
    I have a Proxy Service <-> Business Service configured as a pass-through only. (including http headers)
    The situation is: Sometimes, the service which my BS access send a fault response as a HTML instead of a fault soap envelop or something related with the provided xsd.
    My PS receives this and send back to the caller, but my customer needs a fault message. The service provider will not modify this behavior, so i need a way to check the content of the response to see if it's is an html and raise an exception.
    It's possible to do this ?

    Wow.
    First of all, ty for your really fast reply.
    Seconde: A valid fault response message is something like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="my.foo.namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" >
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>Unknown processing error.</faultstring>
    <detail>
    <ImsException version="6.0" >
    <exception>
    <name>exception.NotAuthorizedException</name>
    <code>700</code>
    <description>
    <![CDATA[Foo is not authorized to perform task.]]></description>
    </exception>
    </ImsException>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    I need to validate the <detail> tag agains my xsd. To do this, how to build the xquery to select this tag ? I need to apply some function on the content to transform the detail string into a structured xml ? It's something like:
    soapenv:Envelope/soapenv:Body/soapenv:Fault/detail
    If you have some links with examples i will appreciate.
    Ty for your help.
    Edited by: GSanches on 10/06/2010 06:27

  • Can not add nodes (content and folder) into repositories

    Hi all,
    I have configured MS SQL database with WebLogic portal 10.2 without any error.
    Then i successfully created around 142 nodes under repository. But after that, when i try to create any new node
    server is throwing following exception:
    <Mar 26, 2009 8:07:32 PM GMT+05:30> <Error> <ContentManagement> <BEA-000000> <
    com.bea.content.RepositoryException: weblogic.jdbc.base.BaseBatchUpdateException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_CM_PROPERTY'. Cannot insert duplicate key in object 'dbo.CM_PROPERTY'.
    at com.bea.content.internal.server.common.dbaction.Batcher.processWithRetries(Batcher.java:132)
    at com.bea.content.internal.server.common.dbaction.Batcher.processAnyRemainingItems(Batcher.java:70)
    at com.bea.content.repo.internal.server.dao.PropertyDao.insert(PropertyDao.java:335)
    at com.bea.content.repo.internal.server.persister.JDBCNodePersister.createNode(JDBCNodePersister.java:121)
    at com.bea.content.repo.internal.server.logic.NodeOpsLogic.create(NodeOpsLogic.java:204)
    Truncated. see log file for complete stacktrace
    weblogic.jdbc.base.BaseBatchUpdateException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_CM_PROPERTY'. Cannot insert duplicate key in object 'dbo.CM_PROPERTY'.
    at weblogic.jdbc.sqlserver.SQLServerImplStatement.getBatchRowsAffectedCount(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.executeBatch(Unknown Source)
    at weblogic.jdbcx.base.BaseStatementWrapper.executeBatch(Unknown Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:154)
    at com.bea.content.internal.server.common.dbaction.Batcher.processWithRetries(Batcher.java:114)
    Truncated. see log file for complete stacktrace
    >
    Exception: com.bea.content.RepositoryException: weblogic.jdbc.base.BaseBatchUpdateException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_CM_PROPERTY'. Cannot insert duplicate key in object 'dbo.CM_PROPERTY'.
    But after cleaning CM_PROPERTY table from database, i could successfully create any new node.
    Why i am not able to create more than 142 nodes in repository?

    Here's some snippets of a valid SQL*Server config which shows some of the important transaction-related settings regarding how the <domain>/config/jdbc/*.xml scripts should be configured:
    - portalDataSourceNeverXA-jdbc.xml:
    <driver-name>weblogic.jdbc.sqlserver.SQLServerDriver</driver-name>
         <jdbc-data-source-params>
              <global-transactions-protocol>OnePhaseCommit</global-transactions-protocol>
         </jdbc-data-source-params>
    - portalDataSource-jdbc.xml:
    <driver-name>weblogic.jdbc.sqlserver.SQLServerDriver</driver-name>
         <jdbc-data-source-params>
              <global-transactions-protocol>OnePhaseCommit</global-transactions-protocol>
         </jdbc-data-source-params>
    - portalDataSourceAlwaysXA-jdbc.xml
    <driver-name>weblogic.jdbcx.sqlserver.SQLServerDataSource</driver-name>
         <jdbc-data-source-params>
    <global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
         </jdbc-data-source-params>
    - p13nDataSource-jdbc.xml
              <driver-name>weblogic.jdbc.sqlserver.SQLServerDriver</driver-name>
         <jdbc-data-source-params>
              <global-transactions-protocol>None</global-transactions-protocol>
         </jdbc-data-source-params>
    - cgDataSource-nonXA-jdbc.xml
    <driver-name>weblogic.jdbc.sqlserver.SQLServerDriver</driver-name>
    <jdbc-data-source-params>
    <global-transactions-protocol>None</global-transactions-protocol>
    </jdbc-data-source-params>
    - cgDataSource-jdbc.xml
    <driver-name>weblogic.jdbc.sqlserver.SQLServerDriver</driver-name>
    <jdbc-data-source-params>
    <global-transactions-protocol>EmulateTwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    Also please take a look at the Database Administration guide at http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/db/index.html -- it describes the process for creating the tables in your SQL*Server schema (necessary unless you do that via the config wizard)
    -Steve

  • How do I use For loop to check each node and import them to a new document?

    In my function I would like to use a For loop to get all the statutes (xml) inside the object
    objXmlBcaResponseDoc. In my case there are 2 statutes. I would like the output to look like the one I have posted here below. I am not sure how to do the For loop. The commented For loop is from another function but it is not working inside
    this function.
    The output is added into the **objXmlResponseMessageDoc** object and should look like this with 2 statutes (ns1:Statute) and a totalCount=2
    <BasicSearchQueryResponse xmlns="http://crimnet.state.mn.us/mnjustice/statute/service/4.0">
    <StatutesXml>
    <Statutes runType="Request" runDateTime="2015-03-17T10:23:04" totalCount="2">
    <ns1:Statute xmlns:ns1="http://crimnet.state.mn.us/mnjustice/statute/messages/4.0">
    <StatuteId xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">8471</StatuteId>
    <Chapter xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">60</Chapter>
    <Section xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">55</Section>
    <Subdivision xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0"/>
    </ns1:Statute>
    <ns1:Statute>
    <StatuteId xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">9722</StatuteId>
    <Chapter xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">90</Chapter>
    <Section xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">25</Section>
    <Subdivision xsi:nil="true" xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0"/>
    </ns1:Statute>
    </Statutes>
    </StatutesXml>
    </BasicSearchQueryResponse>
    My xml doc is found inside objXmlBcaResponseDoc Here is xml inside
    objXmlBcaResponseDoc object
    <BasicSearchQueryResponse xmlns="http://crimnet.state.mn.us/mnjustice/statute/service/4.0">
    <ns1:Statutes xmlns:ns1="http://crimnet.state.mn.us/mnjustice/statute/messages/4.0">
    <ns1:Statute>
    <StatuteId xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">8471</StatuteId>
    <Chapter xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">60</Chapter>
    <Section xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">55</Section>
    <Subdivision xsi:nil="true" xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0"/>
    </ns1:Statute>
    <ns1:Statute>
    <StatuteId xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">9722</StatuteId>
    <Chapter xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">90</Chapter>
    <Section xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0">25</Section>
    <Subdivision xsi:nil="true" xmlns="http://crimnet.state.mn.us/mnjustice/statute/4.0"/>
    </ns1:Statute>
    </BasicSearchQueryResponse>
    Here is my function
    Function GetStatutesByChapter(ByVal aobjXmlGetStatuteRequestNode As XmlNode, ByVal aobjXMLNameSpaceManager As XmlNamespaceManager, ByVal aobjBroker As ServiceCatalog.Library.v4.Broker) As XmlDocument
    Dim objXmlRequestMessageDoc As XmlDocument
    Dim objXmlResponseMessageDoc As XmlDocument
    Dim intCount As Integer
    aobjBroker.PostMessageWarehouseInformationalMessage("Chapter found.", 1)
    objXmlResponseMessageDoc = New XmlDocument
    'Add the first element into the document GetStatuteByChapter with its namespace
    objXmlResponseMessageDoc.AppendChild(objXmlResponseMessageDoc.CreateElement("BasicSearchQueryResponse", "http://crimnet.state.mn.us/mnjustice/statute/service/4.0"))
    'Build the initial response document
    objXmlResponseMessageDoc = New XmlDocument
    'Add the first element into the document GetStatutesResponse with its namespace
    objXmlResponseMessageDoc.AppendChild(objXmlResponseMessageDoc.CreateElement("GetStatutesResponse", "http://www.courts.state.mn.us/StatuteService/1.0"))
    'Add a child node to the GetStatutesResponse node
    objXmlResponseMessageDoc.SelectSingleNode("ss:GetStatutesResponse", aobjXMLNameSpaceManager).AppendChild(objXmlResponseMessageDoc.CreateElement("StatutesXml", "http://www.courts.state.mn.us/StatuteService/1.0"))
    objXmlResponseMessageDoc.SelectSingleNode("ss:GetStatutesResponse/ss:StatutesXml", aobjXMLNameSpaceManager).AppendChild(objXmlResponseMessageDoc.CreateElement("Statutes", "http://www.courts.state.mn.us/StatuteService/1.0"))
    'Convert the node Statutes into an element and set the runType attribute (runType="Request") by adding it's value Request
    CType(objXmlResponseMessageDoc.SelectSingleNode("ss:GetStatutesResponse/ss:StatutesXml/ss:Statutes", aobjXMLNameSpaceManager), System.Xml.XmlElement).SetAttribute("runType", "Request")
    'Convert the node Statutes into an element and set the attribute (runDateTime="2015-03-05T10:29:40") by adding it
    CType(objXmlResponseMessageDoc.SelectSingleNode("ss:GetStatutesResponse/ss:StatutesXml/ss:Statutes", aobjXMLNameSpaceManager), System.Xml.XmlElement).SetAttribute("runDateTime", Format(Now, "yyyy-MM-ddTHH:mm:ss"))
    'Create the BCA request message
    objXmlRequestMessageDoc = New XmlDocument
    objXmlRequestMessageDoc.AppendChild(objXmlRequestMessageDoc.CreateElement("ns:BasicSearchQueryRequest", aobjXMLNameSpaceManager.LookupNamespace("ns")))
    objXmlRequestMessageDoc.SelectSingleNode("ns:BasicSearchQueryRequest", aobjXMLNameSpaceManager).AppendChild(objXmlRequestMessageDoc.CreateElement("ns1:BasicSearchCriteria", aobjXMLNameSpaceManager.LookupNamespace("ns1")))
    objXmlRequestMessageDoc.SelectSingleNode("ns:BasicSearchQueryRequest/ns1:BasicSearchCriteria", aobjXMLNameSpaceManager).AppendChild(objXmlRequestMessageDoc.CreateElement("ns2:Chapter", aobjXMLNameSpaceManager.LookupNamespace("st")))
    objXmlRequestMessageDoc.SelectSingleNode("ns:BasicSearchQueryRequest/ns1:BasicSearchCriteria", aobjXMLNameSpaceManager).AppendChild(objXmlRequestMessageDoc.CreateElement("ns2:Section", aobjXMLNameSpaceManager.LookupNamespace("st")))
    objXmlRequestMessageDoc.SelectSingleNode("ns:BasicSearchQueryRequest/ns1:BasicSearchCriteria", aobjXMLNameSpaceManager).AppendChild(objXmlRequestMessageDoc.CreateElement("ns2:Subdivision", aobjXMLNameSpaceManager.LookupNamespace("st")))
    'Uncomment last working section below
    objXmlRequestMessageDoc.DocumentElement.SelectSingleNode("ns1:BasicSearchCriteria/st:Chapter", aobjXMLNameSpaceManager).InnerText = aobjXmlGetStatuteRequestNode.SelectSingleNode("ss:Statute/ss:Chapter", aobjXMLNameSpaceManager).InnerText
    'check if there is a section and or subdivision if it is there then set the value
    If Not (aobjXmlGetStatuteRequestNode.SelectSingleNode("ss:Statute/ss:Section", aobjXMLNameSpaceManager) Is Nothing) Then
    objXmlRequestMessageDoc.DocumentElement.SelectSingleNode("ns1:BasicSearchCriteria/st:Section", aobjXMLNameSpaceManager).InnerText = aobjXmlGetStatuteRequestNode.SelectSingleNode("ss:Statute/ss:Section", aobjXMLNameSpaceManager).InnerText
    End If
    If Not (aobjXmlGetStatuteRequestNode.SelectSingleNode("ss:Statute/ss:Subdivision", aobjXMLNameSpaceManager) Is Nothing) Then
    objXmlRequestMessageDoc.DocumentElement.SelectSingleNode("ns1:BasicSearchCriteria/st:Subdivision", aobjXMLNameSpaceManager).InnerText = aobjXmlGetStatuteRequestNode.SelectSingleNode("ss:Statute/ss:Subdivision", aobjXMLNameSpaceManager).InnerText
    End If
    'check if there is a section and or subdivision if it is there then set the value
    aobjBroker.PostMessageWarehouseSnapshot(objXmlRequestMessageDoc.OuterXml, "Request Message", 1)
    'Call the BCA service
    intCount = 0
    'This is where I want to use a For loop to check for the statutes found using the Chapter
    'Loop through each Id
    'For Each objXmlStatuteIdNode In aobjXmlGetStatuteRequestNode.SelectNodes("ss:Statute/ss:StatuteId/ss:Id[string-length(.)>0]", aobjXMLNameSpaceManager)
    'Create the BCA request message
    'objXmlRequestMessageDoc = New XmlDocument
    'objXmlRequestMessageDoc.AppendChild(objXmlRequestMessageDoc.CreateElement("ns:SingleStatuteRequest", aobjXMLNameSpaceManager.LookupNamespace("ns")))
    'objXmlRequestMessageDoc.SelectSingleNode("ns:SingleStatuteRequest", aobjXMLNameSpaceManager).AppendChild(objXmlRequestMessageDoc.CreateElement("ns:statuteId", aobjXMLNameSpaceManager.LookupNamespace("ns")))
    'objXmlRequestMessageDoc.DocumentElement.SelectSingleNode("ns:statuteId", aobjXMLNameSpaceManager).InnerText = objXmlStatuteIdNode.InnerText aobjBroker.PostMessageWarehouseSnapshot(objXmlRequestMessageDoc.OuterXml, "Request Message", 1)
    'intCount = intCount + 1
    'objXmlBcaResponseDoc = New XmlDocument
    'File name is BCASearchQueryResponse.xml
    'objXmlBcaResponseDoc.Load("\\j00000swebint\mscapps\deve\appfiles\temp\BCASearchQueryResponse.xml")
    'objXmlResponseMessageDoc.DocumentElement.SelectSingleNode("ss:StatutesXml/ss:Statutes", aobjXMLNameSpaceManager).AppendChild(objXmlResponseMessageDoc.ImportNode(objXmlBcaResponseDoc.DocumentElement.SelectSingleNode("ns1:Statute", aobjXMLNameSpaceManager), True))
    'Next
    'Count how many Statute nodes found
    CType(objXmlResponseMessageDoc.SelectSingleNode("ss:BasicSearchQueryResponse/ss:StatutesXml/ss:Statutes", aobjXMLNameSpaceManager), System.Xml.XmlElement).SetAttribute("totalCount", CStr(intCount))
    Return objXmlResponseMessageDoc
    End Function

    What is XPath and what does it do that you're impressed with?
    Yes, I see your link, but give me the abbreviated elevator speech on what it is please. It has me curious.
    http://searchsoa.techtarget.com/definition/XPath
    http://www.techrepublic.com/article/easily-navigate-xml-with-vbnet-and-xpath/
    http://www.techrepublic.com/article/using-xpath-string-functions-in-xslt-templates/
    The way that all this is being used by me now on a project is the HTML controls on the screen are built by XML not only about what the controls are and their attributes,   but the data from from the database is XML too with both going through transfermations
    vis XSLT as the HTML controls are built dynamically by XML data for the controls and the XML database data with decision being made in the transfermation on the fly.
    There are many usages with Xpath not just this one I am talking about with Xpath. You can do the same kind of thing with XAML and WPF forms as they are dynamically built. But it goes well beyond what I am talking about and the usage of Xpath. Xpath 3.0
    is the latest version. 
    http://www.balisage.net/Proceedings/vol10/html/Novatchev01/BalisageVol10-Novatchev01.html
    Thanks - I'll look into that at some point.
    Still lost in code, just at a little higher level.

  • OSB+how to change content type header in http transport header.

    I have a requirement where I need to change the value of:
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    to the end system specific like:
    <http:Content-Type>application/abcd-cvs-v1+xml; </http:Content-Type>
    and the http:accept value to:
    <http:Accept>application/abcd-cvs-v1+xml</http:Accept>
    Can some one please explain how to do this.

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html
    Use replace action/insert on the follwoing QPath in trhe request action of the ServiceCallout/Routing as
    $outbound/ctx:transport/ctx:request/tp:headers/http:Content-Type
    $outbound/ctx:transport/ctx:request/tp:headers/http:Accept
    Manoj

  • OSB Delete Entire Node (SOAP:header) in Proxy service

    Hi
    I am wanting to delete the SOAP:header node in the response in the SOAP proxy service.
    I am using the Delete action with the following settings
    Xpath: .
    In Variable: header
    All this is doing is deleting the contents of the "Header" node when I want to Delete the entire node.
    What am I doing wrong?
    Thanks in advance
    Edited by: cool.br33ze on 05-Feb-2013 01:40

    The reason for why I need to get rid of the SOAP:header is because the consuming application, SAP, is unable to handle a SOAP:header.If the consuming application is a SOAP client then there is no reason why it cannot handle it. If consuming application is not a SOAP client then better change the type of your proxy service to Any XML service or Messaging Type Service (with request and response type as XML)
    Regards,
    Anuj

  • How do i check in Business Content

    Hi,
        In implementation we usally use the BC datasr'c but how do we check the particular datasrc or query or for tht matter any content delivered by BC matches our requrement,do we get into them and check the objects init or do we have a particular methodology for ths.
    Thanks
    Akhilesh

    Hi,
    There is no tool or short cut method for this . Only the hardwork and experience makes us perfect here.
    So you need to understand the R/3 fileds,tables and logic for your requirement.
    And then you have to know the standard Objects in BIW on that set of tables.
    And you have to compare the standard one with your requirement and decide the enhanceents to  be done ,the logic to be implemented at different palces (like UR,TR,or in the query desiner).
    With rgds,
    Anil Kumar Sharma .P

  • Checking the file content in application server

    Hi,
    I am writing an XML file from the raw XSF data from a smartform auto generated function module through OPEN DATASET command in BINARY MODE. When I go to tcode AL11 to check the content of the XML file, I can see only the first few bytes of it as it looks like one single line in AL11. Is there any way so that I can read the whole content of the file in the application server itself without downloading it into my local machine.
    Thanks in advance
    Nilay Ghosh

    You may try eigther transaction AL11 with allows you to browse files and display their content(as long they are textfiles).
    If you need specific conversion an own report may help:
    first read the file via dataset commands
    if content is non readable convert it to chars
    split the string into a char or string table
    use the command 'editor-call' (check online help) to display this table.
    Kind Regards
    Klaus

  • Check .txt file content

    How can I check the content of a .txt file?
    I need to verify if the file is empty or not.

    magaupe wrote:How can I check the content of a .txt file?
    I need to verify if the file is empty or not.Try this,
    new File("d:/YourFile.txt").size();* If the file size is zero , then there is no content
    * Other something is there in the file....
    Can...Can...If We Try.....!

  • Check for All Content Areas privilege

    Hi,
    Does anyone know hoe to check for the All Content Areas (or All
    Pages) privilege, which can be set in the Privileges tab of the
    Edit Group portlet?
    I know how to check for explicit folder access:
    IF wwsec_api.is_privilege_at_least
    ( p_object_type_name => wwsec_api.FOLDER_OBJ
    , p_name => pin_siteid || '/' || pin_folderid
    , p_privilege_code => wwsec_api.FOLDER_VIEW
    THEN
    htp.p(piv_foldername);
    END IF;
    This function does not consider, however, that administrators
    can see everything.
    How can I check if a user or his/her group has the All Content
    Areas privilege?
    Herman

    This resolved itself over time.

  • Checking the node counts inside ccBPM

    All,
    We have a requirement where we need to check the number of nodes on the input message with the number of "successful" output messages. If there is a mismatch we need to raise an error. (in the following sample xml - we need to check the count of <input> nodes to the count of <output> nodes with <status> = 0)
    <inputmessage>
    <input>1</input>
    <input>2</input>
    <input>3</input>
    </inputmessage>
    <outputmessage>
    <output><status>0</status><result>sssds</result></output>
    <output><status>0</status><result>sssdsssss</result></output>
    <output><status>1</status><result>ssdfsds</result></output>
    </outputmessage>
    Thanks,

    Duplicate thread

  • I think javascript is not working. At least that is what it says on youtube. I cannot get any dropdown menu's in gmail either. I made sure the "enable javascript" is checked in the content tab. Just stopped working.

    I cannot do anything in my gmail account, such as reply, forward or get any drop down menu to work.
    When I go to youtube it says that either I do not have javascript or it is not enabled. I checked and the box says it is enabled.
    I use a mac 10.6.4

    https://support.mozilla.com/en-US/questions/762865#answer-115088

Maybe you are looking for