How 2 create an 'unread documents' TREX search iView

Hi,
I'm trying to create a TREX seach iview (EP6SPS9) which shows all unread documents as a result.
The property acc:cm_lastreaddate seems suitable to use in
the 'query' section of the searchiview.
This one works fine (result = show documents which were published last week) :
ConfigFileName=Navigation.xml&StartPage=SearchPage&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&layoutSetMode=exclusive&Validate=false&QueryString=*&SelectedNotOlderRange=1
Adding  &SelectedCustomProps=acc:lastreaddate(value=null/operator=EQ) unfortunately does not work.
Something wrong in syntax (timestamp?)?
Maybe there are other ways to achieve this goal.
Any ideas?
Thanks in advance.
Regards,
Mark

Hi Mark,
Why don't you compare the values of getCreationDate() and getLastModified() of the files under consideration. If both are the same, then the file is an unread one.
Does that helps?
best regds,
Alagammai.

Similar Messages

  • How to create a index in TREX

    Hi Experts.
    I am just a beginner in portals......
    Please float ur step by step approach on
    How to create a index in TREX?
    If anybody has document for this topic pls send it to [email protected]
    Thanks in Advance,
    Jasmine

    Hi Jasmine,
    1. Go to System Administration -> System Configuration -> Knowledge Management -> Index Administration
    2. Choose "Create".
    3. Read the SAP Help Documentation to see a description of the fields the you have to entry: http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c090acf611d5993700508b6b8b11/frameset.htm
    4. After the new index is assign a data source to the index as described here: http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c093acf611d5993700508b6b8b11/frameset.htm
    5. After saving the index the crawling should start and shortly you should be able to search for documents.
    Hope this helps,
    Robert

  • How to create an XML document from a String.

    Can anyone help,
         In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
    This string is a well formatted XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <Countries NumberOfRecords="1" LanguageID="en-us">
         <Country>
              <CountryCode>AU</CountryCode>
              <CountryName>AUSTRALIA</CountryName>
         </Country>
    </Countries>

    Thanks PC!
    I made it work using:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    factory.setIgnoringComments(true); // We want to ignore comments
    // Now use the factory to create a DOM parser
    DocumentBuilder parser = factory.newDocumentBuilder();
    //TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
    InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
    // Parse the InputStream and build the document
    Document document = parser.parse(in);
    But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code?

  • How to create the change document functionality for a dependent objects?

    May I please know how to create the change document functionality for a dependent objects?
    I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
    If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
    thanks in advance.

    I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
    Thx.

  • How to Create an XML document from XSQL servlet which follows a particular DTD struct

    how to Create an XML document from XSQL servlet which follows a particular DTD structure.Could anyone send me a sample code for this.

    You'll need to associate an XSLT transformation with your XSQL page that transforms the canonical result into your DTD-valid format.
    For example, given an XSQL page like:
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="rss.xsl" ?>
    <xsql:query max-rows="3" connection="demo" xmlns:xsql="urn:oracle-xsql">
    select title,id,description,url,to_char(timestamp,'Mon DD') timestamp
    from site_entry
    order by id desc
    </xsql:query>and an "rss.xsl" stylesheet that looks like this:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" indent="yes" doctype-system="rss-0.91.dtd"/>
    <xsl:template match="/">
    <xsl:for-each select="ROWSET/ROW">
    <rss version="0.91">
    <channel>
    <title>Do You XML?</title>
    <link>http://xml.us.oracle.com</link>
    <description>Oracle XML Website Demo</description>
    <language>en-us</language>
    <xsl:for-each select="ITEM">
    <item>
    <title><xsl:value-of select="TITLE"/></title>
    <link><xsl:value-of select="URL"/></link>
    <description><xsl:value-of select="DESCRIPTION"/></description>
    </item>
    </xsl:for-each>
    </channel>
    </rss>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>You produce DTD-valid output against the rss-0.91.dtd DTD that looks like:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE rss SYSTEM "rss-0.91.dtd">
    <rss version="0.91">
    <channel>
    <title>Do You XML?</title>
    <link>http://xml.us.oracle.com</link>
    <description>Oracle XML Website Demo</description>
    <language>en-us</language>
    </channel>
    </rss>
    <rss version="0.91">
    <channel>
    <title>Do You XML?</title>
    <link>http://xml.us.oracle.com</link>
    <description>Oracle XML Website Demo</description>
    <language>en-us</language>
    </channel>
    </rss>
    <rss version="0.91">
    <channel>
    <title>Do You XML?</title>
    <link>http://xml.us.oracle.com</link>
    <description>Oracle XML Website Demo</description>
    <language>en-us</language>
    </channel>
    </rss>

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to Create a Billing Document For SalesOrder

    Hi Guys,
    Any one please Explain me how to create a Billing Document for salesOrder. give me step by step procedure so i can easily understand the terms.Thanks in advance.
    Thanks
    Kiran.B

    Hi Kiran,
    Normally a billing doc is created after a sales order-->delivery.
    U can create a sales order w.r.t a Contract or another sales order.
    In your case, its possible only for sales Returns.
    pass billing doc number to ORDER_HEADER_IN-REF_DOC in BAPI_SALESORDER_CREATEFROMDAT2.
    Reward points if helpful
    Regards,
    Hemant

  • How to create new INDEX for TREX

    Hello Experts,
    Iam new to this KM and TREX so need ur guidance for this...
    I need to create an INDEX for TREX, so after going through various messages i found that it can be created form the Index Administration iView portal----System Administration -> Syetm Configuration -> Knowledge Management -> Index Administration -> New Index
    But iam not getting the above path in SPRO OR how to run Index Administration iView OR from which portal i need to create an INDEX??can anyone provide steps on how to go to System Administration -> Syetm Configuration -> Knowledge Management -> Index Administration -> New Index
    path.....
    Regards.

    I'm not very familiar with CRM business partners, but the common way - to include the repository where the documents are stored to the KM using [CM Repository managers|http://help.sap.com/saphelp_nw04/helpdata/en/e3/923227b24e11d5993800508b6b8b11/frameset.htm].
    You need first to create a repository manager for you repository and only then you'll be able to create an index.
    Regards, Mikhail.

  • How to create one GR document for mutiple Purchase orders

    Can you please explain me in SAP - How to create one Goods Receipt document for reference of Multiple purchase orders.

    Dear Tanuj,
    Both Rama & Stephen are correct.
    You can take Single GR for Multiple PO either in MIGO or MB01 as long as that POs belongs to same vendor.
    In MIGO, after putting the PO press,enter,  again give the next PO of that vendor .
    If this solve your problem, close the issue.
    With Regars,
    Krishna Reddy

  • How to Create a PDF Document and apply Digital Signature in C# using the Adobe SDK?

    Hi Everybody!
    I have to do two distinct tasks here:
    1) How can I create a PDF document using the Adobe SDK in my .NET Applications(C# - 2.0)?
    I just need a basic sample to create a document with a simple text, for example. I did not find any useful information in the adobe documentation. I have the Acrobat Professional 8.0 in my computer, but it's very dificult to work whith de Acrobat.dll and .NET with a poor documentaion.
    2)How can I apply digital signature in a existent pdf document?
    I need to sign documents using the SDK, just a basic sample in c# would be helpful to start!
    Anybody could help?
    Thank in advance!

    Leonard Rosenthol or anybody that can help, sorry to insist.
    I will explain better my problem:
    I have an ASP.NET WebPAge (C# - 2.0). In this page, the user make a request. The request should generate a PDF document with the informations of the request and with a field to add a digital signature. The document created will be send to a approver that will confirm the approval applying his digital signature (I need to do too, a webpage where the approver open the page, choose the pdf document, and sign, just selecting his own certificate and clicking in the button SIGN... but this is another problem).
    That's the reason that I have to create a PDF document. If I create a WORD or HTML document, and then convert to PDF, how can I add a field to digital signature in this pdf document?
    Is there any solution using Acrobat SDK?
    Thank you very much!

  • I need to know how to create a pdf document larger than 129 inches from MS Project 2007

    I am completely new to Adobe Acrobat Pro 9. I need to know how to create a PDF which is larger than 129 inches for use on a plotter from MS Project 2007. I have searched the Adobe support articles with no success. Any help would be appreciated.  Thank you.

    Thank you.  I have tried that but it will only let me go to 129 X 129 inches, no larger.
    Sincerely,
    Bill Stern
    NSD IT Support
    22289 Exploration Drive
    Suite 305
    Lexington Park, MD 20653
    Phone: 301.862.4577 ext 10
    Fax: 301.862.9828
    Email: [email protected]

  • How to create an Accounting Document by calling BAPI

    Hai friends ,
    please tell me how to call this BAPI and fulfill all the parameters .. Please help me , I dont know the head and tail of it ...
    create an Accounting Document by calling BAPI  BAPI_ACC_DOCUMENT_POST
    Below is the step to fill the parameters for BAPI:
    Enter company code, invoice no, invoice date, document type, header text into DOCUMENTHEADER
    Enter customer, item text, company code, payment term into ACCOUNTRECEIVABLE
    Enter offset account, company code, document type, item text into ACCOUNTGL
    Enter currency type u201800u2019, currency, exchange rate, amount into CURRENCYAMOUNT. Please note there will be two rows in this table, one positive amount and one negative amount
    Call the BAPI to create the AR document. If p_check is checked, call the BAPI only without COMMIT and then do the message processing
    If p_check is initial, COMMIT the data to the database tables.
    Check the RETURN table after each BAPI, if no u2018Eu2019 message type found, output the document no. Otherwise, output the error messge to the screen with the message type u2018Eu2019.
    thanks in advance ...

    Hi,
    Check the link
    http://www.sapbrainsonline.com/sapinfo/tutorial.php?artid=617
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi_acc_document_post-error-1973720
    http://delaynomore.spaces.live.com/blog/cns!D2BFFB84EDFE4189!528.entry
    http://sap4.com/wiki/index.php?title=BAPI_ACC_DOCUMENT_POST
    http://www.sapfans.com
    Anurodh

  • How to create a parked document iusing BDC?

    Hi,
    I have a scenario, I need to create a Parked document (prior to approval) directly in R3 using BDC approach. After created, it will send a notification to the approval.
    I'm new to BDC. How do i do that?
    Regards,
    Rayden

    Hi Eric,
    have a look inside: it's empty!. It's the same with FM_PARKED_DOC_DELETE, FM_PARKED_DOC_PROCESS, so these functions do exactly nothing.
    Regards,
    Christian

  • How to create wave pick document and transfer order from that document

    Hi All,
    I want to create wave pick document based on delivery and correspondingly want to create transfer order for that. My requirement is that if in 3 delivery i have to pick material M1 as 100, 50, 100 qty then when i create wave pick for these deliveries and create Transfer order by this wave pick doc it should pick from single bin of warehouse , currently it is picking from 3 different bins though qty in each bin is more than 250 in each bin. Also suggest me the configuration requred for this.
    Thanks in advance:

    Hello Gordon, tha is working perfect now I finaly get the forecasted items in my MRP window If I click on show recommendations I see he recommends he wants to order some pcs, and Indd what I split in to Buy or Make is separated in an Production order. But how do I change the recommendations into orders?

  • How to create a XML document

    Hi,
    I am new to XML and don't understand when to use what.
    I have a java.sql.ResultSet and wants do create a XML document.
    When should I use the following methods ?
    - createElement
    - createAttribute
    - createCDATASection
    - createTextNode
    I think I have to create at least a "root" element, right ?
    Should every column in my resultset be an element and its value an attribute ?
    When should I use CDATA and Text ?
    Please explain this to me.
    Regards Uffe

    Hi,
    Use CDATA sections when you know the string will include some funny characters e.g. ?,<,> etc.
    You can decide yourself whether to create an attribute or a separate element.
    e.g. <book isbn="1234">The Spice Girls</book>
    or
    <book>The Spice Girls
    <isbn>1234</isbn>
    </book>
    I do not know about you, but I like the first better, using attributes.
    It is up to individual preference, but it all depends what you intend to do with the data. At the moment, there is little understanding of how to map a/some xml files to a database type relation.
    Many people are trying to force XML documents into relational database schemas, soem use object-oriented databasese.
    Another suggestion is to treat the whole internet as a big web-site.
    Who knows what is the next big decision, I do not think even the experts know! So, what do you think, your thoughts in this are as important as everybody elses.
    best
    kev

Maybe you are looking for

  • How do i find out who is using my airport express?

    I have an airport express to extend my Wifi coverage and i am sure other people who have asked for the password in the past are still using it. Is there a way to see who is using it, when and block people? I could change the password, but I would lik

  • RFC adapter ,CPI  error

    hello.. CPI-C error text: "failed to identify XML document:org.xml.sax.SAXParseException: Document root element is missing." is the error with RFC as adapter..im able to get the request but not the response... wot shud i do..? regards.. pramod

  • Information Broadcasting  -  java.lang.OutOfMemoryError

    Hy, when execute a broadcasting setting i have this error: Error: java.lang.OutOfMemoryError Could you help me? Thank's a lot. Sincerely yours Andrea Maraviglia

  • After Service Pack 2 update sound stopped working

    Recently started again with my Satellite laptop. All was good and everything worked perfectly until i download Service pack 2. Ever since doing that the audio has stopped working. I'm a bit novice but have tried the following: I uninstalled the drive

  • Request still yellow in manage screen after successful load

    Hi , I have loaded the data into the cube .The load is init .Even thought the load is successfully load the manage screen shows request still yellow in color. I checked everywhere but did not find relevant setting. Any help please. Thanks