Display different types of file formats from contents server on web UI

Hi,
I have to read different types of documents from content server and display it in web page using webdynpro abap.
Different types of documents are : Tif, Jpeg, BMP, PNG etc. need to be convert into gif format and display
Txt files as it is.
PDF files as it is.
Microsoft office documents as it is.
ALF files i.e. printlists to be shown on web page.
Please anyone has any information regarding this let me know ASAP.
Thanks & Regards,
Manali

hi ,
pls refer the below thread :
Dynamic Use of Mime in component
n check wid thomas reply in the thread :
Create the cached response object that we will insert the  content
Well you can manipulate the MIME content at runtime by using the API: CL_MIME_REPOSITORY_API. However if your content is temporary, it is more efficient to just place the content directly into the ICM cache. You don't have the overhead of having to both write and then delete it from the database. Here is an example of how you can do this:
I hope it wud be helpful
rgds,
amit

Similar Messages

  • How to get documents from content server on web pages

    Hello,
    I want to get the documents from the ECM(UCM server) of same document type and also want their metadata fields to displayed on adf application.
    How can i fetch these documents?

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

  • RAW files from my Nikon Df (NEF) will not display in Lightroom. Same format from Nikon D300s works. Camera firmware is current. Df RAW (NEF) files display in Nikon software products, not in Apple software (Aperture or iPhoto).

    RAW files from my Nikon Df (NEF) will not display in Lightroom. Same format from Nikon D300s works. Camera firmware is current. Df RAW (NEF) files display in Nikon software products, not in Apple software (Aperture or iPhoto).

    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    The above list show the current camera models supported by Adobe Camera Raw (plugin for PS CC) and Lightroom 5.3.
    You will see that the Df Raw support was provided in the latest version of LR 5.3.   Support for the D300s was introduced in LR 2.5. (the NEF files are different.)
    Lightroom and Adobe Camera Raw can only be updated after the camera manufacturer has produced the camera and made it publicly available. If you are using an earlier version of Lightroom then that is your problem.
    Please post details of the version you are using at present.

  • HT204382 What do I need to down load to make Quick Time play different types of files, like mPeg etc?

    I'm new to this site and to my REfurbished 13" Mac Book Pro. I really love this note book! IO wish I had gotten the REtina Display now. I passed on it because It didn't have a lot of storage space. But what was I thinking....I don't want to fill this note book with hundreds of Albums and load my nearly 5000 photos onto it. I wouldn't want to slow it down by having to wait for it to load all the data everytime I turned it on.
    I tried to down load a file from a trusted friend, the Quick Time Player icon appeared in the Dock when I opened the down loadopened. Along with it, a message of sorts came up saying I need to download something else to make this file open/play. Any idea what I should get to make the Quick Time Player able to play more different types of files/clips?
    I'm just not so computer savy......like most of you.
    So, LOL.....could you please talk in simple language if you respond to me question?
    Thank You all,
    mike

    You could download VLC - it plays numerous formats:
    http://www.videolan.org/vlc/download-macosx.html

  • Fetch XML from Content server to Portlet and display as HTML

    Hi,
    I want to fetch the XML from the content server and display that XML in the Weblogic Portlet as HTML.
    The main reason is that data will be contributed by the users in UCM and then I had to get that data from content server and display in portlet
    Please Help........
    Thanks,
    Vinod

    Vinod:
    Probably what you're looking for is to bring the content over using the UCM SPI adapter for WLP's VCR:
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/intro.html]
    And then to display the content using a custom template using Content Presenter:
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/displaytemplatesCM.html]
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html]
    When you say you want to fetch xml, is that because it's a contributor data file? You can either read the property values directly from the VCR, or use the info you get from the node (such as dDocName) to then use a UCM/WCM web service to retrieve formatted content and put it in an iframe. There are a lot of ways to go in formatting the data.
    You can even add edit capabilities to your Presenter template by calling the 'edit data file' web service of WCM.

  • Get files from Content server to Application server

    I want to Get few files from Content server to Application server, I have the required Archive ID. It is a HTTP Content server type. Can you please suggest the suitable method for this.
    Thanks
    Purna

    > I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface.
    Hello Bob,
    Yes it is possible.
    There can be two ways of doing it.
    1. N:1 mapping, BPM will require for this.
    N:1 Mapping refer this blog
    IDOCs (Multiple Types) Collection in BPM
    BpmPatterns CollectMerge
    part1  BPM with Patterns explained Part-1
    part2  BPM with Patterns explained Part-2
    Second option
    Create 3 scanarios in integration directory and correspondingly in integration repositoy create different data types, message types, mappings & interface mappings and then in each of scenario us different message interface and interface mapping.
    > I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
    >
    If you are using N:1 scenario then use *.csv in your sender adapter under file name parameter and then all the files will be picked up from same directory.
    If you are using second option (3 different scenarios) then also you can pick the different files from same directory. You will be having 3 sender adapters in this case, So, one for picking master data, and another for product data and the last one for transaction data.
    So, in case of master data use "plant_*.csv" as a file name and directory name.
    In case of product data, use "product_*.csv " as a file name and source directory will remain same.
    similarly do it for transaction data.
    So by this way all 3 sender adapters will perform their job to pick the different files from same source directory.
    Regards,
    Sarvesh

  • How load different types of file in SSIS

    could you please suggest how can we load different types of file in SSIS. The file metadata is not defined . So the SSIS
    package will read the files palced in a defined shared location or folder where based on the column value will determine the datatype on runtime and load the data.

    Hi SubhadipRoy,
    SSIS doesn’t support dynamic data access provider or metadata. That means that we need to use different source adapters for flat files (.csv and .txt) and Excel files. So, in the Control Flow, you can use three Foreach Loop Container: one to loop through
    .txt files, one to loop through .csv files, and the last one to loop through Excel files. In each Foreach Loop Container, you use a Data Flow Task to extract data from the corresponding source files. 
    If the source files have different structures, you need to use Script Component in the Data Flow Task to parse the first row of the source files and create destination table dynamically. Here are two script examples for your reference:
    http://www.citagus.com/citagus/blog/importing-from-flat-file-with-dynamic-columns/ 
    http://stackoverflow.com/questions/21672064/ssis-dynamic-column-mapping-in-excel-source-and-destination-sql-server-table 
    Regards,
    Mike Yin
    TechNet Community Support

  • What is the next step after editing or triming a video ? What type of file format to save and what to do after that ?

    what is the next step after editing or triming a video?
    what type of file format should be save and what to do after that?

    In the early days of digital video editing, an export render could take hours!  Not many applications are as hard on system resources as video editing, and rendering the final edit is probably the most system intense action of all.  
    Head on over to the Premiere Pro Hardware forum to see what sort of computer hardware the pros use for NLE (non linear editing), or to the PPBM5 site for a better look.
    PPBM5 Benchmark
    Also check out the specs on the Video Guys website

  • Copy any kind of file from content server to network directory

    Helli All
    The question:
    I nee to copy any kind of file from content server to any network directory.
    Explanation
    1. transaction CV02N
    2. There is attached file for a document in tab "Document data/Original"
    3. This file stored in content server
    4. I wrote program code that creates path of the stored file that finally looks like
    http://cont:8888/ContentServer.dll?get&Version=.....*...&compid=app1.doc
    where app1.doc is file's name and I have to copy this file into network directory.
    The problem is that this URL open the file instead of just pointing to him
    so that no function or method can't see this file and as the result I got message that
    the file doesn\t exist.
    Please, advice.
    Regards,
    Daniel.

    many many thanks for ur help. i really did not check the URLClassLoader properly.
    but i would like to hear a little more from u. i have another question. here in this code (provided earlier), i searched for attribute values in the manifest file, then again i load the required class file from the very url. is it not good to retrieve the whole jar file first, and then check attribute values inside manifest file and load the required class files from that jar file that is already downloaded without going to that url again? how can i do this?

  • Error Displaying Portlet Preview created from Content Server templates

    I created portlet from content server announcement portlet template.Whet put on the page this portlet shows the following error message:
    Error Displaying Portlet Preview.Error Getting Content from Portlet.
    Same error with portlet created from the news template.

    If the link exists in TOA01, why is the dosumnet not visible ? When i use the Function Module ARCHIVOBJECT_DISPLAY, i get the error -
    Error when opening document with HTML control:DP_ERROR_GENERAL
    Can someone please let me know what are we doing wrong ??

  • Check-out originals from Content Server to File server?

    Hello Experts,
    We have urgent requirement to check-out huge number of originals from the Content server and send to an application server (ftp server).
    The input data that we can use to fetch the originals are  PHOIO nunber or LOIO or Original File name.
    I tested below function module but they does not seem to meet our requirements.
    BAPI_DOCUMENT_CHECKOUTVIEW2  - Originals are checked-out to C:\Temp\
    CV120_KPRO_CHECKOUT_TO_SERVER
    CV120_KPRO_CHECKOUT_TO_TABLE
    SDOK_PHIO_LOAD_CONTENT - here the content is written to table in binary mode.
    CV120_DOC_GET_FILE
    Also i tested program - DMS_KPRO_READ. In this case, manual action is required to select the path in front end where the originals needs to be checked-out.
    Please help if you have suitable solutions.
    Thanks!
    sandeep

    Hello Sandeep,
    You can use "DMS_KPRO_READ" report to achive your purpose. In this report you will get PHIO ID & LOIO ID. with these ID's you will get originals path to download the files uploaded on content server to application server or FTP server.
    Use F_BROWSE function to select all files in foreground/background to downlaod it on desktop. I have implement in my project & it is working fine till date.
    Thanks
    Pravin

  • Disable Rpt file format from export options

    Hi all,
    I would like to know if there is a way to remove/hide/disbale  export to Crystal Report (Rpt) file format  from the list when u run a report in the  Crystal Reports.com ?
    Thankyou

    Hello,
    You are correct.  Non-administrator users will not be able to download an rpt file from crystalreports.com if that checkbox on the report's properties page is unchecked.  As a side note - this checkbox also appears on the report upload page if you want to enable download right from the beginning.
    Users will still be able to export the report to other formats like PDF or word though.  We do not have a way to block that yet.
    This checkbox is only available for report documents since the very nature of PDF or office documents involves users downloading them to be able to view them.
    Cheers,
    Steve

  • How to convert JPG image to BMP ? (Printing jpg images in smartforms from content server)

    Hi,
    We have employee photos(JPG Format) stored in Content server. And now we want to print the photos in smartforms. For this I had written the below code to read the photo from content server in binary format as below.
    REPORT ZTEST1.
    PARAMETERS P_PERNR TYPE PERNR_D.
    DATA: PS_CONNECT_INFO TYPE TOAV0,
          IT_BINARY TYPE TABLE OF SDOKCNTBIN.
    CALL FUNCTION 'HR_IMAGE_EXISTS'
      EXPORTING
        P_PERNR                     = P_PERNR
    *   P_TCLAS                     = 'A'
    *   P_BEGDA                     = '18000101'
    *   P_ENDDA                     = '99991231'
    IMPORTING
    *   P_EXISTS                    =
       P_CONNECT_INFO              = PS_CONNECT_INFO
    * EXCEPTIONS
    * ERROR_CONNECTIONTABLE       = 1
    *   OTHERS                      = 2
    IF SY-SUBRC <> 0.
    * Implement suitable error handling here
    ENDIF.
    IF PS_CONNECT_INFO IS NOT INITIAL.
      CALL FUNCTION 'SCMS_DOC_READ'
        EXPORTING
       STOR_CAT                    = SPACE
       CREP_ID                     = PS_CONNECT_INFO-ARCHIV_ID
          DOC_ID                      = PS_CONNECT_INFO-ARC_DOC_ID
    *   PHIO_ID                     =
    *   SIGNATURE                   = 'X'
    *   SECURITY                    = ' '
    *   NO_CACHE                    = ' '
    *   RAW_MODE                    = ' '
    * IMPORTING
    *   FROM_CACHE                  =
    *   CREA_TIME                   =
    *   CREA_DATE                   =
    *   CHNG_TIME                   =
    *   CHNG_DATE                   =
    *   STATUS                      =
    *   DOC_PROT                    =
    TABLES
    *   ACCESS_INFO                 =
    *   CONTENT_TXT                 =
       CONTENT_BIN                 = IT_BINARY
    * EXCEPTIONS
    * BAD_STORAGE_TYPE            = 1
    *   BAD_REQUEST                 = 2
    *   UNAUTHORIZED                = 3
    * COMP_NOT_FOUND              = 4
    *   NOT_FOUND                   = 5
    *   FORBIDDEN                   = 6
    *   CONFLICT                    = 7
    * INTERNAL_SERVER_ERROR       = 8
    *   ERROR_HTTP                  = 9
    * ERROR_SIGNATURE             = 10
    *   ERROR_CONFIG                = 11
    *   ERROR_FORMAT                = 12
    * ERROR_PARAMETER             = 13
    *   ERROR                       = 14
    *   OTHERS                      = 15
      IF SY-SUBRC <> 0.
    * Implement suitable error handling here
      ENDIF.
    ENDIF
    Now the issue is I want to convert that binary data to bitmap image and upload the same in to SE78. So that I can use that BMP image from SE78 in my smartforms.
    I had used the class CL_IGS_IMAGE_CONVERTER to covert the image into bmp but it is giving error that error in IMAGE DATA CORRUPT & Error Code 3. The conversion code used is as below.
    ******* CONVERT THE JPG IMAGE INTO BMP PHOTO. **********
      DATA: L_IGS_IMGCONV TYPE REF TO CL_IGS_IMAGE_CONVERTER,
    L_IMG_BLOB    TYPE W3MIMETABTYPE,
    L_IMG_SIZE    TYPE W3PARAM-CONT_LEN,
    L_IMG_TYPE    TYPE W3PARAM-CONT_TYPE,
             L_IMG_SUBTYPE TYPE W3PARAM-CONT_TYPE,
    L_IMG_URL     TYPE W3URL,
    L_ERR_CODE    TYPE I,
    L_ERR_TEXT    TYPE STRING,
             P_DEST TYPE CHAR32 VALUE 'IGS_RFC_DEST'.
      DATA: G_IMG_BLOB     TYPE W3MIMETABTYPE,
          G_IMG_TYPE     TYPE W3PARAM-CONT_TYPE,
          G_IMG_SIZE     TYPE W3PARAM-CONT_LEN.
      IF NOT IT_BINARY[] IS INITIAL.
        G_IMG_BLOB[] = IT_BINARY.
        CREATE OBJECT L_IGS_IMGCONV
          EXPORTING
            DESTINATION = P_DEST.
        CALL METHOD L_IGS_IMGCONV->SET_IMAGE
          EXPORTING
            BLOB      = G_IMG_BLOB
            BLOB_SIZE = G_IMG_SIZE.
        CASE PS_CONNECT_INFO-RESERVE.
          WHEN 'TIF'.
            G_IMG_TYPE = 'image/tiff'.
          WHEN 'JPG'.
            G_IMG_TYPE = 'image/jpeg'.
          WHEN 'PNG'.
            G_IMG_TYPE = 'image/png'.
          WHEN 'GIF'.
            G_IMG_TYPE = 'image/gif'.
          WHEN 'BMP'.
            G_IMG_TYPE = 'image/x-ms-bmp'.
          WHEN OTHERS.
            EXIT.
        ENDCASE.
    L_IGS_IMGCONV->INPUT  = G_IMG_TYPE.
        L_IGS_IMGCONV->OUTPUT = 'image/x-ms-bmp'.
    *    PERFORM GET_SIZE USING PICTURE_CONTAINER
    * L_IGS_IMGCONV->WIDTH
    * L_IGS_IMGCONV->HEIGHT.
        CALL METHOD L_IGS_IMGCONV->EXECUTE
          EXCEPTIONS
            OTHERS = 1.
        IF SY-SUBRC IS INITIAL.
          CALL METHOD L_IGS_IMGCONV->GET_IMAGE
            IMPORTING
              BLOB      = L_IMG_BLOB
              BLOB_SIZE = L_IMG_SIZE
              BLOB_TYPE = L_IMG_TYPE.
          SPLIT L_IMG_TYPE AT '/' INTO L_IMG_TYPE L_IMG_SUBTYPE.
        ELSE.
          CALL METHOD L_IGS_IMGCONV->GET_ERROR
            IMPORTING
              NUMBER  = L_ERR_CODE
              MESSAGE = L_ERR_TEXT.
          BREAK-POINT.
        ENDIF.
      ENDIF.
    ENDIF.
    So could you please some one help me how to convert JPEG Photo to BMP programatically.
    Regards,
    Mayur.

    johnandersonpalmdesert wrote:
    My printer is requesting a vector file.
    Jpeg File format does not support vectors.  Photoshop has limited vector support and tools.  Photoshop can not save vector file formats like SVG.  What File type does your printer want?
    Adobe Illustrator is Adobe vector application.

  • Decompress files in HTTP Content Server

    Hello,
    I have a problem with the consistency of files stored in HTTP content server. That is to say I have an inconsistency between the object and content of the linked file.
    I have a controller program for consistency but I do not know how to decompress.
    The files in the content server are compressed with CSCompress (I think). Is there a possibility to decompress  this files ?
    Tank you.
    Michel

    Hi Michel,
    Conerning your questions regarding the possibility to decompress the
    files outside the SAP system, I'm afraid this is not possible. The
    document files are stored in a compressed format. Even if you managed
    to extrace the files from the tables, their content still remains
    compressed. In other words, you still have to rely on SAP Content
    Server's decompression logic to generate the original content. The only
    way to retrieve the files, therefore, is by using the SAP Content
    Server HTTP Interface.
    Regards,
    David

  • Is it possible to load a dump file collected from sql server to orcle 10gR2

    Hi..
    As a part of data migration from legacy systems , we need to migrate only required tables from Sql server to Oracle 10gr2 .
    At present client is telling that he will give it as dump file.
    My question is , Is it possible to load the dump file collected from sql server to oracle 10gR2?
    Thanks in advance ..

    yes, it is.
    Using for example SQL Developer Migration Workbench even allows you to create unload scripts for the desired SQL Server tables and it also creates the DDL scripts for you to create the Oracle tables similar to the SQL Server table AND it alows creates the SQL*Loader scripts that allow you to load the SQL Server generated dump file into the Oracle db.
    Here the link:
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html
    If you do not want to use this utility, you can also use SQL*Loader to load the content of the SQL Server dump file into the Oracle database; but in this case you have to write the whole SQL*Loader control scripts on your own.
    Edited by: kgronau on Sep 16, 2009 1:54 PM

Maybe you are looking for

  • Iphone/ipad video glitches after upload thru iphoto/image capture...suggestions??

    iphone/ipad video glitches after upload thru iphoto/image capture...suggestions??

  • Can't exit safe mode - Satellite A300

    Hello. Hope someone can help! My laptop goes into safe mode when I start it up and cannot get it to start back in normal mode. I have tried "Repair your computer" - doing a startup repair and a system restore, with no success. I ran cmd/sfc/scannow a

  • Xbox one and HH5 problems

    Set up my xbox one and HH5 on a wired connection.  My d/l and u/l speeds are only around 10mbps also my Nat is moderate.  Tried my old HH3 and speeds are 75mbps down and 17 up, but Nat is still moderate.  Have now gone back to HH5 and did hard reset

  • Sm36 job executed, entries without value in spool report SAPKKA07

    Hi, I am checking spool of executed job in sm37 which is being executed in background report SAPKKA07 job was executed but in spool first 36 entries without a value. can u advise the solution.

  • Cannot validate email in iMessage / Messages

    I have several email addresses. One of them is my main email. On my iPad, iPhone, and Mac I registered several email addresses I own in iMessage / Messages, but always set the "Caller ID" to be this main email. Yesterday I stopped receiving the messa