Regarding file in KM .

Dear Expert ,
  There is a file in KM folder like /harmony/Home/Hello.txt.When I am writing by placing \t in between old comments and new comments it's adding the characters in the same line .But My requirment is that each  sentence should come into next line . I have tried using \n , \n\r ,it do comes in next line but everytime it overwrites the previous sentence .
Please help .

Hi,
Here you will have to create a custom property renderer to display the state of the document.
To know how to create custom property renderer:
https://forums.sdn.sap.com/thread.jspa?threadID=183716
Once the custom property renderer is ready assign it to cm_state property.
Now add this property to the visible properties of your KM Navigation iView's Collection Renderer.
To know how to show display the state property:
http://help.sap.com/saphelp_nw04/helpdata/en/79/a1d23e6b2c3d67e10000000a114084/frameset.htm
Regards,
Praveen Gudapati

Similar Messages

  • Regarding file content conversion

    Re: regarding file content conversion  
    Posted: Sep 25, 2008 11:30 AM    in response to: kummari     Edit      E-mail this message      Reply 
    i tried.but m getting this error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)'
    Actually my input structure is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_ECCReport xmlns:ns0="urn:syngenta.com:i_ecc_erp:se:global:fi_reports:common">
    <ACTFiscalyear>siva</ACTFiscalyear>
    <StartPeriod>44</StartPeriod>
    <EndPeriod>55</EndPeriod>
    <LineItems>
    <ReportingUnit>rama</ReportingUnit>
    <ProfitCentre>844</ProfitCentre>
    <Amount>855</Amount>
    </LineItems>
    </ns0:MT_ECCReport>
    and in FCC i wrote below these three lines:
    LineItems.fieldSeparator 'nl'
    MT_HyperionReport.fieldSeparator 'nl'
    LineItems.fieldSeparator 'nl'
    So please tell me what is wrong in this

    MT_HyperionReport is your message type and this represents the top level node of your message. Below this you have your records. You have MT_HyperionReport as a record type which is clearly not going to work.
    In the content conversion parameters section the following fields should be filled, you dont need to specify Recordset if your XML structure does not include this node see SAPhelp example:
    Document Name: MT_HyperionReport
    Document Namespace: <look at your message type in the designer>
    Recordset Structure: Record_type1,<occurrence 1..>, Record_type2,<occurrence 1..>
    In the parameter box:
    Record_type1.fieldSeparator
    Record_type1.fieldNames
    ignoreRecordsetName value true
    Record_type2...
    The SAP help on this is pretty clear and comprehensive...
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Query regarding file content conversion using file adapter

    Hi All
    I have a question regarding file content conversion in file adapter.
    I have a file coming in the following format.
    AA,111,222,333
    BB,444,555,666
    CC,777,888,999
    My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
    AA,111,222,333
    <<BB,444,555,666>>
    <<<<CC,777,888,999>>>>
    After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
    Is it possible to get a nested hierarchy as a result of file content conversion?
    Please let me know
    Thanks
    Chandra

    Hi Udo
    According to your suggestion, I am trying to use mapping.
    I am getting a flat file and i am reading it.
    This is my source structure:
    AA,11,22,33
    BB,44,55,66
    CC,77,88,99
    This is my required targer structure:
    AA,11,22,33
    <<BB,44,55,66>>
    <<<<CC,77,88,99>>>>
    To explain this, BB record can have multiple records of CC records.
    AA records can have multiple records of BB record.
    I am using removecontext node function.
    CC (Source)  (removecontext)-> CC (target structure)
    But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
    Many Thanks
    Chandra

  • Regarding file export

    Hi,
    I have some problem regarding file export from java to some word or excel. I have a Jtable in which I fill the data dynamically now I wan't to get that data into an excel sheet with just one click. Regarding .doc I am writing the file but how to do in excel sheet having columns defined.
    Best Regards,
    Sreedhar

    A good Java API for creating or accessing Excel files is POI-HSSF: http://jakarta.apache.org/poi/hssf/index.html

  • Several questions regarding File Vault

    Hi!
    I have several questions regarding File Vault - right now I'm using Mac OS 10.4.8
    1.: The battery lock of my iBook is defect thus it happens from time to time that while transporting it the battery drops out while the laptop is sleeping. What happens with the File Vault-disk image?
    2.: I want to (have to ) set up my Intel iMac again. The installer-CD I have will bring it back to 10.4.6
    AFAIK the data format used for File Vault since 10.4.7 is version 2. What happens if I encrypt my stuff now (10.4.8 - thus version 2), back it up to my backup disc, install a new system (10.4.6 - therefore version 1) and want to access my data via Migration Manager (don't want to use archive and install)?
    3.: How do I actually do a backup of my data while the system is running? The backup should be encrypted as well.
    I use the demo-version of SuperDuper for backing up my system because with it I can ensure that I have a complete bootable backup of my running system.
    Thanks for your answers in advance
    ibook g4 12" 1.2 GHz 768 MB RAM / Intel iMac Core 2 Duo 17" 2.0 GHz 2GB RAM   Mac OS X (10.4.8)  

    Parker,
    You said:1. If it did, Apple would not use FileVault, as everyones computer will have a battery problem once in their life, and Apple would lose buisness from angry people who lost all of their data.I have seen enough reports of data loss with FileVault that I feel compelled to dispute your statement.
    In Data corruption and loss: causes and avoidance, Dr. Smoke writes...If your data-security needs demand FileVault, you should backup your encrypted Home folder regularly, preferably daily. Like any hard drive or disk image, a Home folder protected by FileVault — an encrypted, sparse disk image — does not respond well to the causes of data corruption...Loss of power definitely is a cause of data corruption.
    For Niels....,
    An Unencrypted Look at FileVault, by François Joseph de Kermadec is an excellent discussion of the features, pitfalls, and cautions regarding Filevault.
    Although the article discusses Panther and is dated 12/19/2003, the concepts as they apply Tiger have not changed.
    The cautions and warnings are prominent in any of the Apple Knowledge Base articles referring to the use of FileVault. If a user is unfamiliar with any aspect of FileVault, it should not in my opinion be activated.
    As good as FileVault is in protecting your sensitive data, it also presents the danger of locking up your files in an irretrievable ball of one's and zero's. Backups are critical. You must ensure that you have a comprehensive backup plan. Backup and Recovery, by Dr. Smoke is a fine example of what you need to consider.
    ;~)

  • Critical issue regarding file to website interface

    hi all,
      I am working on one scenario in which sender is an File. and receiver is an HTML page(actually it is a website) which responds according on the input data.
    when i visited that site I came to know that there are three fields. as follows...
    username: 
    Password:
    File:                        Browse
                  POST
    Actually file name contains the contents of the file feilds which varies for every transaction.
    When i manually put username password and location of the file(using Browse tab) in the website page, I got the response file.
    But when I put just file name I am unable to click POST tab.
    My problem is:--
    Is this thing is possible using XI.
    I tried using HTTP and put all three inputs in the header fields of receiver HTTP channel.
    But i didn't get the response.
    Can anybody tell me any other solution. Since it is critical requirment for me. so Plzz respond ASAP.
    Solution will be awarded
    Thanks
    Jaideep jain

    Hi,
    you said that the target system is a website...so can i say that it is a WebService exposed by some XYZ system...if yes then why dont you opt for the receiver SOAP channel....the use of SOAP channel is in such cases only (source: http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm )
    Also if you have any doubt regarding what kind of adapter to use please refer this discussion: Re: Can't select Adapter Type during creating communication channel.
    Adding one more link:
    Difference between SOAP and Http Sender
    Regarding the target url, u need to use the one which you can see after you hit the Post button.
    In the receiver SOAP channel, under the Target URL option u can find the User Authentication details...enter the user details who is authorised to post/upload the document.
    Regards,
    Abhishek.

  • I Need Information Regarding File Upload?

    Where can I get information regarding the File uploading packages in Portal. Is there a specification I can get a hold of. I know such a package exists, as it is used by portal itself. I just need to know where I can get hold of information as to what it is called and how to invoke it.

    Suraj,
    The APIs to do file upload are not public as of yet. We are looking into the feature right now. Currently, the only supported method of file upload is using the Web Interface.
    You may find more information about this in the 9iAs Portal forum
    Sue

  • Regarding File to JDBC/MS Access database

    Hi all,
    I am trying to insert some values in to MS access database table.I kept the .mdb file in the local PI folder.I am getting connection error
    com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//test/data/input/Employee.mbd': SAPClassNotFoundException: jdbc.odbc.JdbcOdbcDriver
    i have given the configuration as:
    JDBC Driver:   jdbc.odbc.JdbcOdbcDriver
    Connection:  jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//test/data/input/Employee.mbd
    Please give me some pointers.
    Regards,
    Anika

    Hi Anika,
    Also please check for :
    You can set the configuration as following:-
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ= Full Path of DB file;
    eg of full path:D:\USERS\Employee\employee.mdb
    Please go through these steps: (Assuming you are working on Windows)
    1) An ODBC driver for your database must be installed on the Windows computer running the application server.
    Check if there's an ODBC driver for MS Acess on the application Server.
    2) To connect through an ODBC driver, you must install the Sun JDBC-ODBC Bridge driver on the Windows computer running the application server. The driver comes with the Sun Java 2 SDK, Standard Edition, for Windows.
    Also there is another point.
    sun.jdbc.odbc.JdbcOdbcDriver
    This driver is a part of the JDK kit and so, you need not install the driver on your XI server. Check the SAP Note JDBC FAQ for this info.
    3)Define a DSN on the Windows system hosting your application server.
    4)These parameters you need to give while configuring the JDBC receiver adapter channel
    Regards
    joel
    Edited by: joel trinidade on Mar 26, 2009 12:45 PM

  • Regarding file content conversion and jdbc adapters

    hi
    can any one send me the details about the sender jdbc adapter and the receiver jdbc adapter.
    i need the output of sender jdbc adapter(structure)also fro the receiver jdbc adapter.
    for file content conversion -
    can any one send abt the sender and receiver of the FCC adapter.
    also provide some links abt these in blogs.
    thanks in advance .

    Hi..
       You can search those links in SDN.
    FILE to JDBC Adapter using SAP XI 3.0 --Receiver Jdbc adapter .
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC& ---for both sender and receiver jdbc adapter configuration
    Content Conversion (Pattern/Random content in input file) ---for FCC
    Regards,
    Leela

  • Regarding File Adapter

    Hi All,
       How can I specify the source Directory in Sender File Adapter. I have given it as
    <hostname>\<directory>. I am getting the error
    <hostname>\<directory> does not exist in adapter status. The directory is shared and has all permissions.
    Help me solve my issue.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    if you're using file system
    try logging on your XI server system and
    try if you can access
    <hostname>\<directory
    from <b>there </b>with this path
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Query Regarding File to IDOC Scenario (1:2)

    Hi,
    I am working on a scenario like One File to Two IDOC's . In file we are getting some business functions (It's One feild in source file) , Some Business functions I need to map with One IDOC and some with other Idoc.
    So I need to route a file content to two different Idoc's at a time.
    I know this we can achieve this by using standard functions but not aware what to use.
    So could anyone guide me how to achieve this..

    Hi Saydulu,
    >>n file we are getting some business functions (It's One feild in source file) , Some Business functions I need to map with One IDOC and some with other Idoc.
    So you know which fields to map to idocA and whih to IdocB
    Now to configure this...
    1. create a Message Mapping
    Add source as the message type which you created for file and target as the IDocs which you want to use .. Make sure you add them in the signature tab of message mapping. Here I will suggest to change the occurence of IDoc node befotre adding it to message mapping signature tab.. By default it is 1..1. To change the occurence download the XSD of Idoc and change the minoccur to 0 and maxoccurs to unbounded. This shopuld be done for both the Idocs.
    2. Create a interface mapping with the source message interface (or service interface) and target Idoc names. No need to create any service interface for Idoc, you can use the same Idocs (that is imported from SAP)
    3. Use this in interface determination of Integration Directory
    Regards
    suraj

  • Regarding file interface

    Hi All,,
          I am generating one file on unix server using Open dataset statement.
         I want to move that file from UNIX server to some other server (windows server).
         How i can proceed?
       Is it possible to generate the file directly on the windows server by using ABAP program?

    Hi,
      You can move the file from one directory to other directory by using the basic unix commands.
    write the code within  EXEC SQL and ENDEXEC.
    Thanks & Regards
    Vijaya

  • Regarding file to file

    HI,
         if i am getting a file  in a particular intervals of  every day say morning 9 , afternoon 12   and 5 in the evening then how to process that file. i mean set the poll interval which can process the 3 files which are comming in 9,12 and 5.

    Hi !
    Depending on your SP, you can set channel availability times:
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    or you should enter a poll interval in the comm channel of about 30 min (1800secs) or 1 hour, depending how immediate you need XI to process the files once they arrive.
    Be aware that the poll interval starts to count at the moment you activate the channel...so if you use a 3hrs poll interval, then if you activate the channel at 8am, the next poll will occur at 11am, 2 hrs after 9 am !
    Regards,
    Matias.
    ps: please award points if helpful
    Edited by: Matias Denker on Jan 18, 2008 9:32 AM

  • Regarding File Adapters

    Hello
       I am working on File Adapters and would like to know as to how do you go about specifying the record substructure when you select the File Content Conversion in the Message Protocol of the Adapter configuration.I went through the help content on XI but was not clear.
    Thanks and Regards

    Hi Sharat,
    Please go through these links:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    I hope if it helps, you'll give me points.
    Thanks & Regards
    Varun Joshi

  • Need suggestion regarding File compression and splititng

    Hi,
    I want to split and compress the big files into small chucks. On later any standard zip utility i.e. winzip, 7z etc can merge(extract) all the chunks to generate the original file. I am looking for any java library which provide the split and compression functionality.
    As Java also supports in built compression utility. Should I use those library or any other open source is available to do this? I welcome your suggestion regarding how can I start.
    Thanks

    If you're just looking for something to be used internally, it'd be pretty simple:
    1. Open your source InputStream.
    2. Create a standard read/write loop to pump the stream.
    3. Add a counter that determines how much you've pushed into your current target. After you reach a certain value, close your current target, create a new target stream, and reset the counter.
    4. Conclude by closing your source and your current target.
    For compression, you can use the built-in GZIPOutputStream or a third-party library of your choice. I usually find GZIP sufficient for my needs.
    Of course, if you want the output to be compatible with other programs like 7-Zip, you've got a lot more work on your hands complying with the file format spec. :)

Maybe you are looking for

  • How to use one module pool program in another module pool programming?

    Hi I have one moodule pool program. In one of my screen i want to use some code which already developed in another module pool program. Is there any direct way for using one module pool programcode  in another module pool program. If there any approa

  • Timeout Creating App Server Connection in JDev 10.1.3 to OAS 10.1.3

    Hi All, I'm trying to deploy an application to OAS 10.1.3 on a Solaris server from JDeveloper 10.1.3 on my laptop for the first time. There are 2 OAS's installed on the Solaris unix server so the OPMN Port is one up from the default, and I've updated

  • Unable to handle af:selectOneRadio in Oracle ADF to integrate with OIM

    Hi, We are trying to integrate ADF form into OIM Scenario We have 2 radio buttons on the page of type <af:selectOneRadio> 1.Roles,2. Locations which are mutually exclusive and there are 2 facetsin a panel 1. one is "roles listbox" of type <af:selectO

  • PDFMaker issue with Excel

    I'm experiencing an issue with PDFMaker when converting an Excel 2003 document.  I have an image that is in the header of the Excel document.  When I print in Excel it looks fine, but when I covert it to PDF it is much smaller.  This seems to only ha

  • Sorting TV shows by Episode number instead of alphabetically.

    I have an 80GB classic. I have loaded 3 seasons of the office onto it, and each season is seperated, which is great, but inside of each season the episodes are sorted aphabetically and not in order of the episodes. After I uploaded them I went into t