Invoking Openoffice calc through ABAP OLE Object

I want to show the output of my ABAP process  through openoffice calc worksheet.
I tried to invoke calc using ABAP OLE object.
But even a blank calc sheet is not getting opened with the following statements.
Type-pools: OLE2.
TYPES:
service_manager type OLE2_OBJECT,
DESKTOP type OLE2_OBJECT,
DOCUMENT type OLE2_OBJECT.
CREATE OBJECT service_manager 'com.sun.star.ServiceManager'.
CALL METHOD OF SERVICE_MANAGER 'createInstance' = DESKTOP
EXPORTING #1 = 'com.sun.star.frame.Desktop'.
CALL METHOD OF DESKTOP 'loadComponentFromURL' = DOCUMENT
EXPORTING #1 = 'private:factory/scalc'
          #2 = '_blank'
          #3 = 0
          #4 = '' .
What is wrong with this code?. Is there any other setting required at the system/OS/ABAP/BASIS
level to invoke openoffice applications?.
I have registered the classid for openservice manager in the transaction SOLE. Still it is not working.
Iam able to invoke openoffice applications with Visual Basic/Power builder lanaguages.
Please respond.
Thanks in advance
Liju

I don't think it's possible.
4th parameter of loadComponentFromURL method is an array ( http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html )
Arrays are not supported as parameters in ABAP OLE Automation. (see note [633105|https://service.sap.com/sap/support/notes/633105] - OLE automation: ABAP type for OLE array parameters )

Similar Messages

  • ABAP OLE Objects

    Hi ,
      I have used OLE Objects to move data from  5 internal tables to 5 sheets in a single XL file , but i am not able to get 4th and 5th sheet newly created , instead they are getting over writed in the third sheet itself.
    so how to resolve this.
    help reg this.

    Hi,
      I think  you have given the third  sheet name  for fourth and fifth.
    call method of application 'Worksheets' = sheet
          exporting
          #1 = 1.
          set property of sheet 'Name' = sheet_name.
          call method of sheet 'Activate'.
    OR
    you might have missed to add sheet.
    CALL METHOD OF application 'Sheets' = sheets.
       CALL METHOD OF sheets 'Add'.
    Run my program:
    REPORT ZP_EXCEL .
    *& Report ZP_EXCEL *
    include ole2incl.
    data: application type ole2_object,
    workbook type ole2_object,
    sheet type ole2_object,
    cells type ole2_object,
    sheets TYPE ole2_object.
    constants: row_max type i value 256.
    data index type i.
    data : det type ref to CL_ABAP_structDESCR,
           wa like line of det->components.
    data: begin of i_finaltab occurs 0,
           Col1 type i,
           col2 type i,
           col3 type i,
           col4 type i,
          end of i_finaltab.
    data : count type i,
            v_excel_count(3), " type i value 1,
            sheet_name(15)  .
    *START-OF-SELECTION
    start-of-selection.
    do 100 times.
      count =  count + 1.
      i_finaltab-col2 = 5 * count.
      i_finaltab-col3 = 10 * count.
      i_finaltab-col4 = 20 * count.
      move : count to i_finaltab-col1.
      append  i_finaltab.
      clear i_finaltab.
    enddo.
    clear count.
    create object application 'excel.application'.
    set property of application 'visible' = 1.
    call method of application 'Workbooks' = workbook.
    call method of workbook 'Add'.
    Create first Excel Sheet
    call method of application 'Worksheets' = sheet
    exporting
    #1 = 1.
      call method of sheet 'Activate'.
      set property of sheet 'Name' = 'EXCEL0'.
         count = 1.
         index = row_max * ( count - 1 ) + 1.
         perform header_details.
    DATA FNAME(60) VALUE '/data/sapdata/mk112.xls'.
    OPEN DATASET FNAME FOR OUTPUT.
    loop at i_finaltab.
       count = count + 1.
      if count LE 6.
        index = row_max * ( count - 1 ) + 1. " 1 - column name
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col1.
         index =  index + 1.
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col2.
        index =  index + 1.
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col3.
        index =  index + 1.
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col4.
      else.
        v_excel_count =  v_excel_count + 1.
       CALL METHOD OF application 'Sheets' = sheets.
       CALL METHOD OF sheets 'Add'.
       concatenate 'EXCEL' v_excel_count into sheet_name.
         clear count.
         count =  count + 1.
         call method of application 'Worksheets' = sheet
          exporting
          #1 = 1.
          set property of sheet 'Name' = sheet_name.
          call method of sheet 'Activate'.
          index = row_max * ( count - 1 ) + 1.
          perform header_details.
          count =  count + 1.
          index = row_max * ( count - 1 ) + 1. " 1 - column name
          call method of sheet 'Cells' = cells
          exporting
           #1 = index.
         set property of cells 'Value' = i_finaltab-col1.
          index =  index + 1.
          call method of sheet 'Cells' = cells
          exporting
           #1 = index.
          set property of cells 'Value' = i_finaltab-col2.
        index =  index + 1.
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col3.
        index =  index + 1.
        call method of sheet 'Cells' = cells
        exporting
         #1 = index.
        set property of cells 'Value' = i_finaltab-col4.
       endif.
    endloop.
    *&      Form  header_details
          text
    -->  p1        text
    <--  p2        text
    form header_details.
    det ?= cl_abap_typedescr=>describe_by_DATA( i_finaltab ).
    loop at det->components into wa.
      call method of sheet 'Cells' = cells
      exporting
      #1 = index.
      set property of cells 'Value' = wa-name.
      index = index + 1.
    endloop.
    endform.                    " header_details

  • Row Grouping in Excel through ABAP OLE

    Hi Experts,
    I am downloading some ALV report output using OLE with different formatting. The downloaded file has to show data
    in the grouping format.
    For example;
    Interanl table contains fields : Customer Number and sales Order, Amount,
    Customer Number sales Order Amount
    1000                     120000001   3000.30
    1000                     120000002   3400.00
    1001                     122000001   2000.00
    1001                     122000002   3440.00
    After it downloaded the Excel should contains only two line(by dfaultt)
    +    1000                120000001  3000.30
    +    1001                 122000001 2000.00
    When you click on symbol(+)  then hidden rows will shown.
    We can do it in Excel by using Group. Just select few rows(row number 1 to 5) and then go to
    DATA->GROUP AND OUTLINE->GROUP.
    Then u will see one line for the selected rows.
    Can anybody tell me how to achieve it through OLE in ABAP. Your inputs are highly needed for me. Thank you so mush!
    Regards,
    Meera.

    We can do it,  Can anybody tell me OLE Mehod which should I use in the reprot?

  • ABAP OLE Word - Delete last page

    Dear all,
    I have a SAP program which prints some documents in Microsoft Word by using ABAP OLE Objects.
    I use a template to take the main context, and after that I send some variables in order to populate the word document.
    The problem is when I create the new word document, I paste the template text in a new document, but at the end I have always an empty page. I don't know how to delete this final page, I don't find the corresponding OLE method to do it.
    I have found a method to cut a line, but the problem is that line is also empty, and I cannot cut it.
    Could anyone help me?
    Many thanks in advance and best regards.

    Hi,
    post some code lines. Format as code, use preview.
    Regards,
    Clemens

  • OLE object -Properties/Parameters of a method

    HI,
      Sample code,
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = '1'.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    GET PROPERTY OF cells 'Font' = gs_font .
    SET PROPERTY OF gs_font  'Bold' = 1.
    SET PROPERTY OF gs_font 'ColorIndex' = 5.
    SET PROPERTY OF cells 'Value' = 'Server name'.
    In this sample code , properties Visible, Bold, Colorindex, Value are set to some values.
    How to find these properties ?
    In which DB Table they are stored ?
    How to get all the properties/parameters of a method ?
    All are concerned with ABAP OLE Objects .
    Pls help regarding this .

    Hi
    Try make in Excel a macro, which do what you need  and analyse than the code of the macro.
    It is very helpfull to find the properites.
    JS

  • Methods of OLE-objects with IN OUT parameter

    How can I invoke a method of an OLE-object with IN OUT parameter?
    Trying
    obj := CREATE_OLEOBJ(localobject VARCHAR2, TRUE);
    INIT_OLEARGS (n+1);
    ADD_OLEARG (newvar_1 NUMBER/VARCHAR2, vtype VT_TYPE := VT_R8/VT_BSTR);
    ADD_OLEARG (newvar_n NUMBER/VARCHAR2, vtype VT_TYPE := VT_R8/VT_BSTR);
    CALL_OLE(obj OLEOBJ, memberid PLS_INTEGER);
    newvar_x := GET_OLEARG_<type>(x);
    I get the old value of newvar_x, but it must be changed
    Methods with only IN parameter work fine.
    I've tried this with OLE2-package, but it hasn't worked too
    Can somebody help
    Thanks

    Hi Gurus
    I know this is very old post.
    but dose anybody know the answer.
    thanks

  • Display byte array image or ole object in Section through dynamic code?

    To Start I am a Complete Newbe to Crystal Reports. I have taken over a project originally written in VS2003 asp.net using SQL Server 2005 and older version of Crytal Reports. I have moved project to VS2010 and Cryatal Reports 10 still using SQL Server 2005. Have multiple reports (14 to be exact) that display data currently being pulled from database suing a dataset, each report has from 4 to 14 Sections. I have modified database table with two new fields. Field1 contains string data with full path to a scanned document (pdf or jpeg). Field2 holds a byte array of the actual image of the scanned document. I have tested the database and it does infact contain the byte array and can display the image via VB.net code. I can make the report display the scanned image using ole object.
    Now my real question: I need to add a new Section and it should display either the byte array of the scanned image or the actual scanned image (pdf or jpeg) . How can I have it do either of these options via code dynamicly while application is running?

    First; only CRVS2010 is supported on VS2010. You can download CRVS2010 from here;
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Developer Help files are here:
    Report Application Server .NET API Guide http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_api_en.zip
    Report Application Server .NET SDK Developer Guide http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_dg_en.zip
    SAP Crystal Reports .NET API Guide http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip
    SAP Crystal Reports .NET SDK Developer Guide http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip
    To add the images, you have a number of options re. how to. You even have two SDKs that y ou can use (RAS and CR).
    Perhaps the best place to start is with KB [1296803 - How to add an image to a report using the Crystal Reports .NET InProc RAS SDK|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233393336333833303333%7D.do]. The KB describes how to add images to a report using the InProc RAS SDK, but also references other KBs that use CR SDK.
    Also, don't forget to use the search box in the top right corner of this web page.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • OLE object Migration from Access to Oracle through SQL developer

    Hello,
    I used sql developer 3.1.07(oracle 11g) to perform data migration from MS ACESS.
    the MS access data has a column with data type as "OLE object" ---there
    saved a lot of pdf files .
    Then I performed "copy to oracle" from MS access connection, the OLE data
    changed to BLOB from oracle database, and data seems to be copied to
    database as binary . However none of the data in the column can be opened. I
    download the blob data to a file from sql developer and tried to open
    using Adobe 8.1 with no success.
    How can I fix this issue? or I should say, how can I migrate MS access OLE data to oracle?
    Thanks,
    H.M.

    thx - will have a look
    Edited by: kgronau on May 22, 2012 4:32 PM
    The original PDF content starts with:
    %PDF-1.4
    %ª«¬
    4 0 obj
    <<
    /Creator (Apache FOP Version 1.0)
    /Producer (Apache FOP Version 1.0)
    /CreationDate (D:20120521131845+02'00')
    >>
    endobj
    5 0 obj
    <<
    /N 3
    /Length 12 0 R
    /Filter /FlateDecode
    >>
    stream
    But when I try to save the content in the BLOB as a file it claims about a missing mime extension and when I ignore this message and save the file anyway as a PDF the content is corrupted.
    It shows as :
    Acrobat Document ..
    ´4 0 obj
    <<
    /Creator (Apache FOP Version 1.0)
    /Producer (Apache FOP Version 1.0)
    /CreationDate (D:20120521131845+02'00')
    >>
    endobj
    5 0 obj
    <<
    /N 3
    /Length 12 0 R
    /Filter /FlateDecode
    >>
    stream
    Did you also get the missing mime type error message?

  • Help! Print OLE object from report builder.

    Dear OTN Members,
    I would like to know how to print out a OLE object from
    report builder, because currently I face problem to print out
    the whole contain of the winword document file, because when I
    display the OLE on the form it will only display according the
    size I declare for it, it seems that it will not automatic
    extend the size itself. i.e. if I drag the size to one page in
    fact the maximum is one page, then when it display, it will only
    display maximum one page eventhough the document file maybe
    contain 10 page inside it. So when I print out the report it
    will only show me one page, so if you have any solution, pls
    share with me, thank you.
    null

    As far as I know you have to use OLE Item to work with the information. Unfortunately there is not any standart way to extract a source document from OLE. Some applications such as Word, Excel support OLE Automation, so you could use OLE2 package to save the document as a file, that is the easest way. But others don't, so you may have to use an undocumented way to extract a document.
    Take a look at the following thread:
    Subj: 6i to 9i Ole to LOB translations, How do you know the App. server?
    Re: 6i to 9i Ole to LOB translations, How do you know the App. server?
    P.S. If you can't extract some types of your documents, please let me khow.
    P.P.S. To extract a document through OLE2 package you could use something like the following. /I'm not sure the code is correct/:
    DECLARE
    handle ole2.obj_type;
    BEGIN
    ACTIVATE_SERVER('OLE1');
    handle := forms_ole.get_interface_pointer('OLE1');
    BEGIN
    -- Save a document to disk
    Args :=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(Args, 'C:\test.doc'); -- file name
    OLE2.INVOKE(handle, 'SaveAs', Args);
    OLE2.DESTROY_ARGLIST(Args);
    EXCEPTION WHEN OTHERS THEN
    Message('Error');
    END;
    -- OLE2.RELEASE_OBJ(handle);
    END;

  • Ole object missing on pdf file

    i have long raw field in database. i am saving excel workbook in it through ole container. it displays well on report but when i generate pdf from report it miss ole field and show that portion of report blank. It exports ole object in postscript format (.eps) but i dont now any software which can open this file and show result on screen.
    i am using developer 6i with oracle 9i database in client-server environment.
    thanks

    Hello,
    Take a look to the thread :
    Re: Image in Reports
    eps files are "Encapsulated PostScript", for more details :
    http://www.tailrecursive.org/postscript/eps.html
    for example
    Regards

  • Insert OLE Object at runtime in a report (Crystal report 2008)

    Hello
    I need insert a WORD document at runtime into Crystal report 2008.
    Is it possible do it this using RAS SDK for .NET?
    Thank you

    Possible, but remember that only the 1st page of the word doc will be added - same as in the CR designer.
    There is a number of sample apps at [this|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] link. Add image sample may be good to look at.
    Also see [this|Display byte array image or ole object in Section through dynamic code?; thread.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error while creating the Ole Object (MSN Messenger)

    Hi,
    We are trying to send a mail by invoking MSN Messenger. We have imported "Messenger.MsgrObject" OLE Object and written the following code to logon to the Messenger.
    DECLARE
         MSGOBJ123 OLEOBJ;
         SRVOBJ123 OLEOBJ;
         SRVOBJ1234 OLEOBJ;
    BEGIN
         MSGOBJ123 := CREATE_OLEOBJ('Messenger.MsgrObject');
    -- Get all the services from the Messenger Object
         SRVOBJ123 := Messenger_IMsgrObject.Services(MSGOBJ123);
    -- Get one of the services
         SRVOBJ1234 := Messenger_IMsgrServices.Item(SRVOBJ123, 0);
         IF :TXTUSR = NULL THEN
         MESSAGE('User Name cannot be null');
         RAISE FORM_TRIGGER_FAILURE;
         ELSIF :TXTPWD = NULL THEN
         MESSAGE('Password cannot be null');
         RAISE FORM_TRIGGER_FAILURE;
         ELSE
    -- Log on to the Messenger By passing the MsgObject,
    -- User Name, password, Service Object
         Messenger_IMsgrObject.LogOn(MSGOBJ123, :LOGINBLK.TXTUSR, :LOGINBLK.TXTPWD, SRVOBJ1234);
         END IF;
    END;
    We get this error while executing this program
    "FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-100504"
    Please advice whether there is way to solve this problem or any other method of accessing MSN Messenger.
    Thanks
    Vishwanath

    do a check on the wsdl file and how you are passing values in the proxy. The tags for XML are not correct. Open the WSDL in IE and see there must be an error. Or probably when passing the actual values to the XML generated each element is not closed properly. Error says tags dont match.
    Edited by: Kshamatha Eda on Mar 5, 2010 10:54 AM

  • Automating Importing a Visio OLE Object or Changing the Source of a Previously Imported OLE Object

    My colleagues and I import our Visio files into FrameMaker 10 via the following mechanism: File > Import > Object... > Create from File (with Link checked).  We do this because, for us, the benefits of object linking and embedding outweight the pitfalls. In order to institute and automate a graphic file naming convention, I want to be able to do one of the following using ExtendScript:
    Replace each Visio OLE object with that of a renamed or new Visio file. (I've tried using the Import() method  with many different import-script settings, but have not found the correct import-script, if such a thing exists for importing Visio files  imported by reference and linked as OLE objects. My typical error when attempting this is FV_DisallowedImportType, which indicates the source file type is disallowed by my import-script settings. When I talk about my import-script settings, I'm referring to the adjustments that I make to the parameters returned from a call to GetImportDefaultParams().  I've tried numerous import-script combinations but have had no luck. )
    Rename the Visio source file and change the source file of an already-linked Visio OLE object.  (To do this, I need to determine how to implement a script that equals the following user actions while a FM document is open: clicking on Links... under the Edit menu to bring-up the Links window; selecting each link displayed in the Links window; clicking the Change Source button for each selected link; entering the new file name in the File name field of the Change Source window; clicking Open.  Needless to say, I found nothing in the ExtendScript capabilities that indicates that this approach is doable. It may be doable using FDK F_Codes, I haven't explored that avenue and would like to avoid it.)
    Modify the OLE2 facet such that it points to the renamed file instead of the previous name for the file.  (This does not seem like a clean approach.  As is the case now, I don't know how to properly update the facet with the new file name.  I've experimented with simply changing the file name strings from new to old, but that does not work.  There's probably some error-checking or checksum that needs to be recomputed.  Bottom line: I don't know enough about facets.)
    Any help would be greatly appreciated.
    Thanks, Paul

    Hi Paul,
    I tried doing something like this years ago with FrameScript, but found out that the OLE stuff is not exposed to FrameScript or the FDK. So it is probably not exposed to ExtendScript either. When you query an OLE graphic's InsetFile property, it returns a null string, the same as a graphic Imported by Copy would. As far as I can see, importing as an OLE object is only available through the Windows FrameMaker interface.
    Rick

  • Content server for Document attachment through "services for object" Icon.

    Guys,
    I have typical problem in installation of Content server for storing external documents.
    We all know that we can attach the document in SAP using the icon “SERVICES FOR OBJECT”. By this we can attach the document to the specific object we want.
    -Since my client wants only document attachment method not to completely implement SAP DMS, I proposed this method of attaching documents through services for object method.
    -If documents are stored though services for object ,The attached document will directly get stored in sap database(correct me if I am wrong) while  in  DMS it ask you to select the storage location while u check in for any document
    -By storing the doc thru "services for object " For long run when we store the documents in sap database our system will drastically get slow down.
    -In this regard I have a plan to incorporate external storage server.
    -Now I should know that how I should customize content server configuration so that the attachment through services for object will store into this content server I need to know how to define Client, Content Category, Content Repository, Document Area, Physical Machine, IP Address, Port. (OACT & OAC0)
    I appreciate for immediate solution and <u><b>Points will be rewarded for sure.</b></u>
    Regards,
    Murali.S

    Hi Murali,
    Don't Worry, its possible,
    All attachments can be stored in SAP Content Server also, but through archiving process.
    Set up a database storage system.
    Preparation
    Make sure that the HTTP plugin is active.
    Transaction <b>SMICM,</b> "Display Services" function key (shift F1)). The list of services must contain a port other than 0 for HTTP.If not, you must adjust the relevant profile parameter.
    <u>Typical entry:</u>
    icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    <b>Make sure that the /sap/bc/contentserver service is active.</b>
    If no user is defined, then use transaction SU01 to create a new user. Use the "System" user type.Assign
    the SAP_ALL and SAP_NEW profiles to the user. (Eg: HRUSER/PLMUSER/PPUSER etc)
    Transaction <b>SICF,</b> select: default_host - sap - bc -contentserver. Select the function to display/change the service. Make sure that a user is defined.
    Using the relevant data from the newly created user, maintain the anonymous logon data for the
    /default_host/sap/bc/ service and save & activate the changes in transaction <b>SICF</b>.  Double click on content server and give the user name which has been created (HRUSER/PLMUSER/PPUSER/MMUSER etc)
    Check the system PSE.
    Start transaction <b>STRUST</b>. Expand the system PSE. The system PSE must be "green" for each application
    server.
    Determine a suitable exchange directory.
    The exchange directory must be accessible from each application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application server (for example,
    server\share) is sufficient. You can generally use the global directory
    (profile parameter DIR_GLOBAL).You can use the RSPARAM report to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data. Using transaction <b>SE11</b>, create a copy of the SDOKCONT1
    table. If you want to create the repository database, you can name the table ZCONT_DB, for example. Save the
    table as a local object. Activate the table.
    Create a repository.
    Use transaction <b>OAC0</b> to create a new repository.
    Use the following parameters:
    Repository Max. two characters, for example,” Z1”
    DocArea: ARCHLINK
    Storage type: R/3 database
    Storage subtype: normal
    Version no. : 0046 
    Contents table <table name> for example: ZCONT_DB
    Exchange directory <directory name> for example:
    server\share\
    Make sure that the exchange list ends with a \ (or /on Unix).If you are using a variety of platforms, you must use transaction FILE to define a suitable logical file name and use this name. Save the settings.
    1. Maintain view table <b>TOAAR_C</b>, via SM31
       Cross client table displayed as information, forget it
    2. In field 'StSytm' you must entered 'Z1' as your system need, or anything that you need but you must configure HR Archive link too.
    3. In field 'Arch.path' (direct above Spoolpath), entered path in your system, this real path in your operating system. May be you should confirm to your Basis consultant where exactly you could store picture files. So if you enter '/', your file exists at root directory at your UNIX system.
    4. Choose 'File store' radio button
    5. Save.
    First
    <b>1. You have to create a number range for SAP ArchiveLink.
        IMG: Basis Components-> Basis Services -> SAP ArchiveLink -> Basic Settings-> Maintain number ranges   
        (Trxn <b>OANR).</b> Create number range 01 from 0000000001 to 9999999999 without the external number flag. 
    2. Document type <b>HRICOLFOTO</b> must exist with document class JPG.
        IMG: Basis Components->Basis Services->SAP ArchiveLink->System Settings->Maintain document types
        (Table<b> TOAVE, Trxn OAC2).</b>
    3. Document type <b>HRICOLFOTO</b> must be linked to object type PREL and Infotype PA0002.
        IMG: Personnel Management->Personnel Administration->Tools->Optical archiving->Set up Optical Archiving
        in HR.  (View V_T585O, no Trxn). In the first two columns there are minuses, the third (Date) has
       a plus - don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type  
        PREL. IMG: <b>Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain Links (Table 
       TOAOM_C, Trxn).</b></b>
    Test
    • Test the repository.
    Use transaction SE38 to start the RSCMSTH0 report. Specify your repository (i.e. Z1) and start the test.
    The report must run without errors. If no problems occurred, you can use the new repository with Archive Link after you carry out the Archive Link Customizing. If problems do occur, check whether one of the related
    notes helps.
    For More Details :
    http://service.sap.com/archivelink.
    <u><b>
    NOTE:- Screen Shots are missing, i was not able to paste here, One more thing is we did this for uploading a PHOTOS into Content Server, Similarly you have to create a REPOSITORY and Z-TABLE to bring all the Attachments from all the selected Objects and then route them to the CONTENT REPOSITORY.</b></u>
    Your Senior ABAP guy would help you in this, if not i may try to help you more by monday.
    Regards
    Rehman
    <b>Reward Your Points if Satisfied.</b>

  • I would like to create a custom datagridview column containing text images and MS Word OLE objects

    I am an old time LabView programmer going back to 2.0.  But moved on with my career several years ago.  But here I am back attempting a custom column in dataviewgrid control.  .NET is hard.  My goal is to read in an MS Word document and parse it out to a custom column.  The column will contain regular old text, images and MS Word objects, sometimes called OLE objects.
    There is scant information on creating .NET and labview when it comes to form manipulation.  I have stuggled through the learning curve and now able to insert a text box column into a datagridview and add it to the form container and actually size it to the datagridview control.  I've added a menu, but still figuring out the layout class.  Did I say .NET is hard?
    I know there must be a custom column created and even found a C# example, sorta.  Trouble is the example uses easy stuff like override and private.  It will take me another 3 weeks for that, darnit I'm getting lazy.
    Does anybody out there have some example of a custom column in the datagridview?
    If you ask to post code.  I have nothing I would be proud to show.
    The sorta go by: http://www.codeproject.com/Articles/31823/RichTextBox-Cell-in-a-DataGridView

    This is what the progress looks like so far.  I broke the tasks down in sub VIs.  One to create a custom cell so I can add it to the column CellTemplate.  The other to add the column to the control.  My limited knowledge of .NET and the implementation in LV causes me to question the value of LV .NET.
    The coding to create a TextBoxCell override with ImageCell CellTemplate.  Honestly I'm guessing what to do, because the LV documentation on inheritance and overriding is poor at best.
    The column coding to add the cell to the custom column.
    Probe 19 always comes up with an error.  The error is the standard 1172 with no clue what is causing it.  The "index" will work on 0 or 1, I suspect bc the two cell types are 0 and 1 but nothing tells me that, just guessing.

Maybe you are looking for