Embed document images in the presentation server to Smartform / Adobeform.

We need to add the content of word documents (text and graphics) into the smart form in run time .  I am also not sure whether content of documents, which contains graphics along with text can be appended by reading the documents at runtime (Text addition should be achievable, but images we are not sure). We will probably  not be able to use SE78 for graphics in this case as in realy time the images in presentation server documents might vary.
    We also explored the possibility of having adobe forms to do the same. With adobe forms attachments are supported.  So, we came a step closer where the technical specification documents can be added as attachments. However appending the content instead of attachment is something we are not sure of. 
So let me know if there is any work way out to achive this.

Just go through this link
/people/alvaro.tejadagalindo/blog/2007/04/15/tasting-the-mix-of-php-and-sap--volume-12
i dont know whether this is what you want

Similar Messages

  • Save the image in the application server directly

    Hi,
          I have developed a report which displays piechart as the output and saves the image on the presentation server. For that i have used the following code.
       when 'SAVE'.
    DATA : D TYPE GFW_EXP_DATA,
    R TYPE SYMSGNO.
    DATA: S TYPE STRING,
    N TYPE I.
    CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
    EXPORTING
    FORMAT =
    IF_GRAPHIC_PROXY=>co_format_bmp
    WIDTH = 50
    HEIGHT = 200
    name = 'C:\Documents and Settings.........'
    IMPORTING
    CONTENT_TYPE = S
    CONTENT_LENGTH = N
    CONTENT = D
    RETVAL = R
    I have a requirement where i have to save the output of the screen(piechart)  in the application server directly with out using the presentaion server.
    Is there any method to do so.
    Thanks and regards,
    Parvatha Reddy

    Hi parvatha ,
    your question is really good.
    Well i really haven't come across your scenario i many years . But my suggestion is to  can use java code to achieve the same .
    Or try to use hexadecimal type in your normal class to read the pie-chart and use transfer with same type .

  • I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • How to delete a local file in the presentation server.

    Hi All,
    How to delete a local file in the presentation server. As we do using 'delete dataset dsn' in application server. How can i achieve this. My requirement is after uploading file using gui_upload, i want to delete that source file. Please let me know, how can i achieve this.
    Thanks in advance.
    Regards,
    Vishal

    data: l_rc type i.
      data: f_name type string.
        move 'c:\YourFile.txt' to f_name.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
          EXPORTING
            FILENAME             = f_name
          CHANGING
            RC                   = l_rc
         EXCEPTIONS
           FILE_DELETE_FAILED   = 1
           CNTL_ERROR           = 2
           ERROR_NO_GUI         = 3
           FILE_NOT_FOUND       = 4
           ACCESS_DENIED        = 5
           UNKNOWN_ERROR        = 6
           NOT_SUPPORTED_BY_GUI = 7
           WRONG_PARAMETER      = 8
           others               = 9
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • Problem with downloading the internal table onto the presentation server.

    Hey folks,
    I have a problem where in i am downloading one year of sales done by the company. I wrote a program to download the file onto the presentation server . The error occurs in the FM GUI_DOWNLOAD where if the file exceeds 105843504 bytes its giving me a dump saying that
    When the program was running , it was established that more memory was needed than the operating system is able to safely to provide.
    The current program has to be terminted because of the program already requested 105843504 bytes from the operating system with malloc when the operating system reported after further memory request that there was no more memory space available.
    Could somebody provide an alternative soltuion for this.
    Its really urgent as i can download the file with 70,000,000 bytes
    Regards
    Rock

    Hi Rock,
    Please download the files on to Application Server, else as suggested by Ashish download into 2 or 3 files and merge them manually.
    Declare same internal tables may be 5 times.
    When you fill the internal table check for a counter and when you hit a certain number stop appending to it and start appending to the next.
    After you are done so download all the internal tables.
    I guess this would be a good way. I am not sure if there are any ther alternative good methods.
    Hope this helps.
    Shreekant

  • JAVA, sqlserver - Need to load an image from the sql server database

    hi,
    I need to load an image from the sql server database using java. I have connected to the database and getting all other records except the records for a photo (datatype = LONGVARBINARY) and Remarks (datatype = LONGVARCHAR).
    I am using java and sql server db. The photo and remarks are stored in the db. and i need to show the image and the remarks fetching them from there.
    I get the error :
    Thread-9 org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
    How can I achieve this?
    Thanks,
    Gargi

    Exactly. And are you using MySQL?
    No. You are using Microsoft SQL server if I have to believe your initial post. A quick google tells me that the dialect class to use is:
    org.hibernate.dialect.SQLServerDialect

  • How to add byte[] array based Image to the SQL Server without using parameter

    how to add byte[] array based Image to the SQL Server without using parameter.I have a column in table with the type image in sql and i want to add image array to the sql image column like below:
    I want to add image (RESIM) to the procedur like shown above but sql accepts byte[] RESIMI like System.Drowing. I whant that  sql accepts byte [] array like sql  image type
    not using cmd.ParametersAdd() method
    here is Isle() method content

    SQL Server binary constants use a hexadecimal format:
    https://msdn.microsoft.com/en-us/library/ms179899.aspx
    You'll have to build that string from a byte array yourself:
    byte[] bytes = ...
    StringBuilder builder = new StringBuilder("0x", 2 + bytes.Length * 2);
    foreach (var b in bytes)
    builder.Append(b.ToString("X2"));
    string binhex = builder.ToString();
    That said, what you're trying to do - not using parameters - is the wrong thing to do. Not only it is insecure due to the risk of SQL injection but in the case of binary data is also inefficient since these hex strings are larger than the original byte[]
    data.

  • "Bad data format" when reading txt file from the presentation server

    Hello,
    I have a piece of code which reads a txt file from the presentation server to an internal table like below:
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME              = lv_filename
    CHANGING
       DATA_TAB            = lt_tsd. " lt_tab has the exact same fields as the Test.txt's. Test.txt has only one line, tab delimited.
    When running this code, exception BAD_DATA_FORMAT is issued.
    Is it because of the file encoding or delimiter or other reason?
    Thanks,
    Yang

    Hello,
    If its tab delimited then use the has_field_seperator parameter and check
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME                = lv_filename
       FILETYPE                 = 'ASC'
       HAS_FIELD_SEPARATOR          = u2018Xu2019
    CHANGING
       DATA_TAB            = lt_tsd.
    Vikranth

  • Reading file from the presentation server in the background

    Hi,
    I am trying to read a .csv file from the presentation server into an internal table in the background. what should I do for it? In the foreground it works fine.
    I have declared a selection parameter 'p_file' that has the path of the file. It wokrs fine in the foreground and how to set it up in the background?
    Any thoughts would be helpful. Thanks in advance,
    VG

    hii
    did you achieved the required functionality , i,e, accessing presentation server file i nbackground .
    I too got the same requirement, can you explain the process.
    There is no way you can do it... The best method is to put the file on Appln server and then call it in the background mode.
    Regards,
    Vishwa.

  • How to downlad a string to the Presentation server

    Hi all
    How we can download a string to the presentation server <b>without</b> converting it to  the internal table.
    Am having a XML data as string. I want to bring that to the presentation server without converting it to internal table.
    I have tried that by converting to table and downloaded the same as BIN file ......since we are disturbing the string while converting to  itab am getting error while executing that XML file.
    <b>Error as shown below.
    Multiple colons are not allowed in a name. Error processing resource 'file:///D:/XXXXX.xml'. Line 705, Position 588
    </w:fldData></w:fldChar></w:r><aml:annotation aml:id="3" w:type="Word.Bookmark.Start" w:name="Text9"/&g...</b>
    Kindly help me in this regards.
    Thanks in advance
    Meikandan

    us the following code to convert the xml to itab which can then be use with gui_download with file type 'BIN'
    data: coutput type string ,
          xl_content type xstring ,
           binary_content     type solix_tab .
    call transformation (`ID`)
                  source flights   = flights[]
                  result xml output.
        clear: xl_content .
    *      xl_content = output .
        call function 'SCMS_STRING_TO_XSTRING'
          exporting
            text           = output
    *   MIMETYPE       = ' '
    *   ENCODING       =
         importing
           buffer         = xl_content
         exceptions
           failed         = 1
           others         = 2
        if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
        refresh binary_content .
        call function 'SCMS_XSTRING_TO_BINARY'
          exporting
            buffer     = xl_content
          tables
            binary_tab = binary_content.
    Regards
    Raja

  • Cannot start the presentation server

    Linux OS
    OBIEE 11.1.1.5.0
    Weblogic Server 10.3.5.0
    OBIEE gurus,
    I cannot start the presentation server via EM or via the command line ./opmnctl startproc ias-component=coreapplication_obips1.
    I get the error in the comman line:
    opmnctl startproc: starting opmn managed processes...
    ================================================================================
    opmn id=****:9501
        0 of 1 processes started.
    ias-instance id=instance1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
        coreapplication_obips1/OracleBIPresentationServicesComponent/coreapplication_obips1/
    Error
    --> Process (index=1,uid=2107403675,pid=27813)
        failed to start a managed process after the maximum retry limit
        Log:
        $ORACLE_INSTANCE/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1/console~coreapplication_obips1~1.log
    I have checked the log above which contains:
    13/07/18 15:27:07 Start process
    13/07/18 15:27:14 Start process
    13/07/18 15:58:53 Start process
    13/07/18 15:59:00 Start process
    Not very helpful!
    I have checked the OPMN log at $ORACLE_INSTANCE/diagnostics/logs/OPMN/opmn/opmn.log which has the following errors:
    [2013-07-18T15:58:54][opmn][TRACE:1][][OPMN][code:libopmncustom]Process Ping Failed: coreapplication_obips1~OracleBIPresentationServicesComponent~coreapplication_obips1~1 (2107403675:27799) [No addresses matched the properties for the request.]
    [2013-07-18T15:58:54][opmn][TRACE:1][][OPMN][code:libopmncustom]Process Ping Failed: coreapplication_obips1~OracleBIPresentationServicesComponent~coreapplication_obips1~1 (2107403675:27799)
    [2013-07-18T15:58:54][opmn][TRACE:1][][OPMN][code:libopmncustom]Ping failed in Ready callback for proc:2107403675
    [2013-07-18T15:58:56][opmn][TRACE:1][][OPMN][code:libopmncustom]Process Ping Failed: coreapplication_obips1~OracleBIPresentationServicesComponent~coreapplication_obips1~1 (2107403675:27799) [No addresses matched the properties for the request.]
    [2013-07-18T15:58:56][opmn][TRACE:1][][OPMN][code:libopmncustom]Process Ping Failed: coreapplication_obips1~OracleBIPresentationServicesComponent~coreapplication_obips1~1 (2107403675:27799)
    [2013-07-18T15:58:56][opmn][TRACE:1][][OPMN][code:libopmncustom]Ping failed in Ready callback for proc:2107403675
    [2013-07-18T15:58:58][opmn][TRACE:1][][OPMN][code:libopmncustom]Process Ping Failed: coreapplication_obips1~OracleBIPresentationServicesComponent~coreapplication_obips1~1 (2107403675:27799) [No addresses matched the properties for the request.]
    I have tried refreshing the user GUIDS, loading another rpd file in through EM that I know works fine in another environment, cleaning the permissions in the web catalog but all so dar have not resulted in me being able to start the presentation server.
    I would welcome any feedback on this as it is driving me crazy!
    Thanks in anticipation.

    Hi ,
    I tried it but no use. That thread had some errors displayed in it. But i get just a warning.
    Pls help
    Type: Information
    Severity: 30
    Time: Tue Apr 06 10:39:41 2010
    File: project/sawserver/sawserver.cpp Line: 604
    Properties: ThreadID-1532
    Location:
         saw.sawserver
         saw.sawserver.terminatesawserver
         saw.threads
    Oracle BI Presentation Services are shutting down.
    Type: Information
    Severity: 30
    Time: Tue Apr 06 10:39:43 2010
    File: project/sawserver/sawserver.cpp Line: 386
    Properties: ThreadID-968
    Location:
         saw.sawserver
         saw.sawserver.initializesawserver
         saw.threads
    Oracle BI Presentation Services 10.1.3.4.1 (Build 090414.1900) are starting up.
    Type: Warning
    Severity: 30
    Time: Tue Apr 06 10:39:43 2010
    File: project/websubsystems/webextensionbase.cpp Line: 380
    Properties: ThreadID-968
    Location:
         saw.webextensionbase.init.workstationCheck
         saw.webextensionbase.init
         saw.sawserver
         saw.sawserver.initializesawserver
         saw.threads
    WARNING: The Oracle BI Presentation Server is running on a workstation class machine (Windows 2000 Workstation, Windows XP Professional, etc.). Number of concurrent users may be severely limited by the operating system.
    Type: Information
    Severity: 30
    Time: Tue Apr 06 10:39:43 2010
    File: project/sawserver/sawserver.cpp Line: 459
    Properties: ThreadID-968
    Location:
         saw.sawserver
         saw.sawserver.initializesawserver
         saw.threads
    Oracle BI Presentation Services have started successfully.
    Thanks
    Jaan

  • Prevent Editing the Presentation Server Administrators Group

    In OBIEE 10.1.3.4, I have created a Catalog Group "Second Tier Administrators" and grant it access to "Settings -> Administration -> Manage Presentation Catalog Groups and Users". How can I prevent the users in the "Second Tier Administrators" group from adding themselves to the "Presentation Server Administrators" group?

    Hi Evaldo,
    I don't see a way of you being able to edit one line without reading the entire file into memory.  You could hold the data you are writing to the file in a custom table in SAP, and when an edit is required, delete the old table and recreate a new one based on your custom table.
    Best of luck.
    SL

  • Get name of the presentation server

    Hi,
    How can I get the name of the presentation server (the name of the machine on which SAP Guia is installed)?
    Is there any Function Module on ABAP that can return this information?
    Thanks!

    I think that is possible to do that only when the discussion was created with the flag "Mark this discussion as a question":
    For some reason that I did not set the CheckBox in some of my questions.
    Note that the last one I could close for example:
    Sometimes the moderator unmark my discussion as a question and I don't get it.
    Thank you very much!

  • FM to validate the file path on the presentation server.

    Hi all,
                  We are downloading a file on to the presentation server.
    Is there any FM to validate the file path of the presentation server?
    Suggestions are also welcome.
    Regards,
    Sreekar

    You can call a class like a function module. See example below:
    TYPE-POOLS: ABAP.
    DATA: L_DIR TYPE STRING.
    DATA: L_BOL TYPE ABAP_BOOL.
    L_DIR = 'c:\windows'.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
      EXPORTING
        DIRECTORY            = L_DIR
      RECEIVING
        RESULT               = L_BOL
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        WRONG_PARAMETER      = 3
        NOT_SUPPORTED_BY_GUI = 4
        others               = 5.
    IF NOT L_BOL IS INITIAL.
      WRITE: / 'Directory exists.'.
    ELSE.
      WRITE: / 'Directory does not exist.'.
    ENDIF.

  • How to download data to the presentation server in background?

    Hi,
    I would like to download data to the presentation server in background.
    Currently, the report uses FM GUI_DOWNLOAD to download in foreground.
    However, this FM does not work in the background.
    But please let me know how to download to the presentation server in background.
    Thanks and regards,
    Anishur

    Moderator message - FAQ - Please search before asking - post locked
    Rob

Maybe you are looking for