Problem in displaying file thru FDTA

hi all,
we have a problem with FDTA while displaying the content of DME file which generated through FBWE transaction for Bill of Exchanges.
it is showing some chinese characters in dispaly.
but when we down load the file into PC the file getting downloaded in correct format.
the problem here is user is looking for display functionality of the file.
if any body came across with this issue, please share about.
Chandra

Hi Chandra.
I'm facing the same problem. Have you solved it?
Now I'm generating DME from transaction F110. And I've noticed that it happens in prod.system, in QAS or dev. no problem with showing files.
Thanks, Mau

Similar Messages

  • Problem in display file in java applet embeded browser

    hi, i am facing problem to display the file from local drive in java applet embeded browser. here is the error message i get:
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i think it should be the java security problem and i have try to get the solution from internet. i try to solve by using the fllowing method:
    keytool -genkey -keyalg rsa -alias yourkey
    keytool -export -alias yourkey -file yourcert.crt
    javac yourapplet.java
    jar cvf yourapplet.jar yourapplet.class
    jarsigner yourapplet.jar yourkey
    but the command prompt ask me to enter the keystore password. i try to enter any password. but i show me the error:
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect.
    So may i know what is the problem actually?Thanks a lot.

    Hi,
    here is the sample coding :
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    import com.sun.j3d.utils.behaviors.mouse.MouseZoom;
    import com.sun.j3d.utils.behaviors.mouse.MouseTranslate;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import org.web3d.j3d.loaders.VRML97Loader;
    import com.sun.j3d.loaders.Scene;
    public class SimpleVrml extends Applet implements ActionListener {
    String           location;
    String           initLocation;
    Canvas3D     canvas;
    SimpleUniverse     universe;
    TransformGroup     vpTransGroup;
    VRML97Loader     loader;
    View          view;
    Panel          panel;
    Label          label;
    BranchGroup     sceneRoot;
    TransformGroup     examineGroup;
    BranchGroup     sceneGroup;
    BoundingSphere     sceneBounds;
    DirectionalLight     headLight;
    AmbientLight     ambLight;
    TextField      textField;
    Cursor          waitCursor;
    Cursor          handCursor;
    public SimpleVrml() {
    initLocation="cylinder.wrl";     
         setLayout(new BorderLayout());
         GraphicsConfiguration config =SimpleUniverse.getPreferredConfiguration();     
         setLayout(new BorderLayout());
         canvas = new Canvas3D(config);
         add("Center",canvas);
         panel = new Panel();
         panel.setLayout(new FlowLayout(FlowLayout.LEFT));
         textField = new TextField(initLocation,60);     
         textField.addActionListener(this);
         label = new Label("Location:");
         panel.add(label);
         panel.add(textField);
         add("North",panel);
         waitCursor = new Cursor(Cursor.WAIT_CURSOR);
         handCursor = new Cursor(Cursor.HAND_CURSOR);
         universe = new SimpleUniverse(canvas);
         ViewingPlatform viewingPlatform = universe.getViewingPlatform();
         vpTransGroup = viewingPlatform.getViewPlatformTransform();
         Viewer viewer = universe.getViewer();
         view = viewer.getView();
         setupBehavior();
         loader = new VRML97Loader();
         gotoLocation(initLocation);
    public void actionPerformed(ActionEvent ae) {
         gotoLocation(textField.getText());
    void gotoLocation(String location) {
         canvas.setCursor(waitCursor);
         if (sceneGroup != null) {
         sceneGroup.detach();
         Scene scene = null;
         try {
         URL loadUrl = new URL(location);
         try {
              // load the scene
              scene = loader.load(new URL(location));
         } catch (Exception e) {
              System.out.println("Exception loading URL:" + e);
         } catch (MalformedURLException badUrl) {
         // location may be a path name     
         try {
              // load the scene
              scene = loader.load(location);
         } catch (Exception e) {
              System.out.println("Exception loading file from path:" + e);
         if (scene != null) {
         // get the scene group
         sceneGroup = scene.getSceneGroup();
         sceneGroup.setCapability(BranchGroup.ALLOW_DETACH);
         sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
         // add the scene group to the scene
         examineGroup.addChild(sceneGroup);
         // now that the scene group is "live" we can inquire the bounds
         sceneBounds = (BoundingSphere)sceneGroup.getBounds();
         // set up a viewpoint to include the bounds
         setViewpoint();
         canvas.setCursor(handCursor);
    void setViewpoint() {
         Transform3D viewTrans = new Transform3D();
         Transform3D eyeTrans = new Transform3D();
         // point the view at the center of the object
         Point3d center = new Point3d();
         sceneBounds.getCenter(center);
         double radius = sceneBounds.getRadius();
         Vector3d temp = new Vector3d(center);
         viewTrans.set(temp);
         // pull the eye back far enough to see the whole object
         double eyeDist = 1.4*radius / Math.tan(view.getFieldOfView() / 2.0);
         temp.x = 0.0;
         temp.y = 0.0;
         temp.z = eyeDist;
         eyeTrans.set(temp);
         viewTrans.mul(eyeTrans);
         // set the view transform
         vpTransGroup.setTransform(viewTrans);
    private void setupBehavior() {
         sceneRoot = new BranchGroup();
         examineGroup = new TransformGroup();
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         sceneRoot.addChild(examineGroup);
         BoundingSphere behaviorBounds = new BoundingSphere(new Point3d(),
              Double.MAX_VALUE);
         MouseRotate mr = new MouseRotate();
         mr.setTransformGroup(examineGroup);
         mr.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mr);
         MouseTranslate mt = new MouseTranslate();
         mt.setTransformGroup(examineGroup);
         mt.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mt);
         MouseZoom mz = new MouseZoom();
         mz.setTransformGroup(examineGroup);
         mz.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mz);
         BoundingSphere lightBounds =
         new BoundingSphere(new Point3d(), Double.MAX_VALUE);
    ambLight = new AmbientLight(true, new Color3f(1.0f, 1.0f, 1.0f));
    ambLight.setInfluencingBounds(lightBounds);
    ambLight.setCapability(Light.ALLOW_STATE_WRITE);
    sceneRoot.addChild(ambLight);
    headLight = new DirectionalLight();
    headLight.setCapability(Light.ALLOW_STATE_WRITE);
    headLight.setInfluencingBounds(lightBounds);
    sceneRoot.addChild(headLight);
         universe.addBranchGraph(sceneRoot);
    public static void main(String[] args) {
    new MainFrame(new SimpleVrml(), 780, 780);
    cylinder.wrl :
    #VRML V2.0 utf8
    # A cylinder
    Shape {
    appearance Appearance {
    material Material { }
    geometry Cylinder {
    height 2.0
    radius 1.5
    view.html:
    <html>
    <applet code="SimpleVrml.class" width=600 height=600>
    </applet>
    </html>
    error msg that i get :
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i can display the wrl file in applet itself but i can't display in the browser.is it any problem with my code?Urgent, please help me. Thanks.

  • Problem in sending file thru sockets

    Hello
    i am sending a file thru sockets....the file reaches the server but there is loss of file contents. i do not recieve the entire file. whats wrong?
    my Server code
    //package socket_try ;
    // SimpleServer.java: a simple server program
    import java.net.*;
    import java.io.*;
    import javax.comm.*;
    import java.util.*;
    public class Server
    public static final int BUFFER_SIZE = 1024 * 50;
    static CommPortIdentifier portId;
    static Enumeration portList;
    SerialPort serialPort;
    Thread readThread;
    public static void main(String[] ar)
    byte[] buffer;
    buffer = new byte[BUFFER_SIZE];
    int port = 6666; // just a random port. make sure you enter something between 1025 and 65535.
    boolean portFound;
    try
    ServerSocket ss = new ServerSocket(port); // create a server socket and bind it to the above port number.
    System.out.println("Waiting for a client...");
    Socket socket = ss.accept(); // make the server listen for a connection, and let you know when it gets one.
    System.out.println("Got a client :) ... Finally, someone saw me through all the cover!");
    System.out.println();
    BufferedInputStream bin = new BufferedInputStream(socket.getInputStream());
    BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream("c:\\SMS.txt"));
    int in;
    try
    int len = 0;
              while ((len = bin.read(buffer)) > 0) {
                   bos.write(buffer, 0, len);
                   System.out.print("#");
              bin.close();
              bos.flush();
              bos.close();
              socket.close();
    ss.close();
    catch(Exception x)
    x.printStackTrace();
    catch(Exception e)
    System.out.println("Exception : "+e);
    my client code
    import java.net.*;
    import java.io.*;
    public class Client
    public static final int BUFFER_SIZE = 1024 * 50;
    public static void main(String[] ar)
    int serverPort = 6666; // make sure you give the port number on which the server is listening.
    String address = "192.168.1.3"; // this is the IP address of the server program's computer. // the address given here means "the same computer
    as the client".
    int in=0;
    byte[] byteArray;
    byte[] buffer;
    buffer = new byte[BUFFER_SIZE];
    try
    InetAddress ipAddress = InetAddress.getByName(address); // create an object that represents the above IP address.
    System.out.println("Any of you heard of a socket with IP address " + address + " and port " + serverPort + "?");
    Socket socket = new Socket(ipAddress, serverPort); // create a socket with the server's IP address and server's port.
    System.out.println("Yes! I just got hold of the program.");
    // Get the input and output streams of the socket, so that you can receive and send data to the client.
    // Just converting them to different streams, so that string handling becomes easier.
    BufferedInputStream bis;
    BufferedOutputStream bos;
    bis = new BufferedInputStream(new FileInputStream("c:\\send.txt"));
    bos = new BufferedOutputStream(socket.getOutputStream());
    byte[] receivedData;
    int len = 0;
    while ((len = bis.read(buffer)) > 0)
    bos.write(buffer, 0, len);
    System.out.print("#");
         for(int y =0 ; y < buffer.length ; y++)
    char s =(char) buffer[y];
    System.out.println("character:"+s);
    bis.close();
    bos.flush();
    bos.close();
    socket.close();
    System.out.println("\nDone!");
    catch(Exception x)
    x.printStackTrace();
    } /* end of main */
    }/* end of class */
    what is wrong can please anyone tell me??????

    As I don't know how long a record is, that's not a very useful answer. How many bytes are you expecting and how many do you actually get?

  • Problem in display file content

    Hi all,
    I've a big problem about using the iFS content display function. My project needs to build up a document search engine and the search result, included the part of the document content, is required to display on the web interface.
    Most of the document I searched is PDF and MS word documents. I tried to use the feature in
    oracle.ifs.beans.document and get the content out and I tried so many function call there but the result seems not too successful. Following is the function call I tried before.
    1/.
    Document.filterDocument() ;
    Document.getFilteredDocument() ;
    As I know, it used the INSO filter to filter the document. The content return is fine for me, but not the format. No matter I put true/false into the Document.filterDocument(), the HTML format will also return instead of plaintext.
    I expected to return plaintext in this function so I can customise the format. But why it coudln't be?
    I guess there is something wrong about the INSO filter but I have no idea how to configure it....
    2/.
    Reader a;
    a=getContentReader();
    Nothing is return using ths function and it ususally reutrn the error message to me. I've no clue....
    3/.
    InputStream a=null;
    a=getContentStream();
    It return some strange byte code which is not what I need....
    4/.
    ContextThemes a=new ContextThemes[50];
    generateThemes(false);
    a=getThemes();
    Maybe it is not relevant function but I tried it.
    Nothing I returned to the object arrary.
    I will v.v.v. appreciate if someone can help (Hope the supports are not in holiday this moment...)
    null

    I checked the API of getContentStream() and getContentReader(). it will return the binary data of the document and the readable content will NEVER return to the Reader or InputStream variable.
    In addition, even the SimpleTextRenderer with ifsfileSystem.renderAsStream() function is used, the data returned also not the text data of the document. WHat I can get is the properties of that document object, not the useful content in the document.
    For the INSO filter Java function filteredContent(), no matter the true or false option chosen in the function, it can only return HTML result. It cannot return the text data!!!!!!
    I tried so many solution and it's also not work. I start feel ashame to use Oracle iFS!!! How can the function to be such a unreliable???
    HEY, Oracle Support, it is a high time for you to give us a clue.
    null

  • Problem while downloading file in FDTA

    Hi,
    Our customer is generating the payment file payment medium program,
    in FDTA transaction, when download the path name and file name was taking automatically.
    Now, when try to download, the path name and file name is not taking automatically.
    What could be the reason for disappear of filename now?
    Thank you,
    vidya

    Hi
    This is due to the variant maintenance in OBPM4 transaction for the Payment medium format.
    Go to OBPM4 ---> Select your payment medium format ---> Select the variant
    In that edit variant screen, under 'Output Control' tab, there is Check box for 'Output to file system'. if you activate that and give the relevant file path, the file will be downloaded automatically to this path when you run FDTA.
    Regards
    Srini

  • Problem with: Upload file thru Web access.

    We have configure iFS 1.1 on AIX 4.3. Everything is running fine like ifsstart, ifsmgr. Its showing me all protocols and agents running.
    I am able to access iFS through web access program and its accepting login and password. After login in to iFS server when we try to upload any file using Brower option its gives us following error.
    Request URI:/ifslogin/jsps/upload2.jsp
    Exception:
    java.lang.NoClassDefFoundError: java/sql/Blob
         at oracle.jdbc.driver.OracleStatement.get_blob_value(Compiled Code)
         at oracle.jdbc.driver.OracleStatement.getBLOBValue(Compiled Code)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(
    Can anybody guide us. We are not having JAVA knowledge.
    Thanks
    Dilip

    Hi,
    create an attribute(say ca_fileupload) of  type XSTRING  under context and bind that attribute with the data property.
    For binding the attribute just Click on the element file_up , there you can see data property,click on that and you can see all the nodes and attributes  you have created and there click on the attribute(ca_fileupload).

  • Iam  gettin a problem in displaying the HTM file in filechooser please help

    Dear Sir,
    Iam working on swing in my project.In tha iam using file chooser Iam gettin problem in displaying the file of types HTM or HTML it taks if it is htm ot html . in filechooser below files of type will be there in that also its not displaying the files of types HTM or HTML. in the code i used
    filter.addExtension("HTML",True);
    but its not working please any body can help me in solving the problem . If possible send me the piece of code also il be very thankful to you. please ill be waiting for the reply.
    regards,
    surya

    this is what I did:    private void dateiNameHolen()
            // create FileChooser
            final JFileChooser pv_fileChooser = new JFileChooser();
            pv_fileChooser.addChoosableFileFilter(new HTMLFileFilter());
            pv_fileChooser.setSelectedFile(new File(iv_dateiTextField.getText()));
            // open chooser and get selected file
            if (pv_fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File lv_datei = pv_fileChooser.getSelectedFile();
                iv_dateiTextField.setText(lv_datei.getPath());
        }It uses my class HTMLFileFilter:import java.io.File;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    public class HTMLFileFilter extends FileFilter {
        // accept all htm and html
        public boolean accept(File f)
            if (f.isDirectory()) {
                return true;
            String dateiname = f.getPath().toLowerCase();
              if (dateiname != null)
                if (dateiname.endsWith("htm") || dateiname.endsWith("html"))
                    return true;
                else
                    return false;
            return false;
        // description of this filter
        public String getDescription() {
            return "HTML-Dateien (*.htm, *.html)";
    }hope this helps
    koem

  • Typical Problem !! File Download UI related

    Dear All,
    I'm stuck in a typical problem. I upload files thru the File Upload UI and generate uique IDs against every upload document.
    For displaying the documents, the user goes thru a web page that has URL to a WDA application.
    This WDA application has the unique Number as application paramater.
    The problem : If the default view of the WDA has a button and on click the uploaded file opens properly. But if I write the same code in WDINIT , the code gets executed but doesn't open the uploaded file. Reason??? I fail to understand !!!
    Any help would be highly appreciated.
    Regds,
    Srini

    Are you using the attach file to response API?  Basically in the WDDOINIT, the page is being built for the first time. Therefore the framework on the client side isn't rendered yet to be able to download a file.  If you want a file download to trigger "automatically" upon a page load; consider using a timedTrigger UI element set to 1 second and then download the content upon the event of the timedTrigger.
    Is this WDA only being used to download the files via a Link?  If so consider if you really need WDA for this.  That's a heavy weight framework if you are only wanting to push the download of a file. A stateless BSP or even a ICF handler class might be much better options.

  • Problem of displaying JPEG images

    I just got my new Power Mac G5 computer. I am Also new to the MAC world. I put in a CD, which is filled with all JPEG files, into my DVD drive. From the desktop, I double click the CD icon; no problem, I saw all the JPEG files. I then tried to view the images by double clicking them; however, some of them were display successfully thru Preview and some were not. For the images, which had trouble to be displayed, had error message saying the files were not recognizable or data were corrupted.
    I also tried to drag the file from CD folder to iPhoto icon, I got the same error message (not recognizable or data corrupted).
    I had no trouble in viewing all these images from Windows 2000. I have no idea what's wrong.
    Please help, thanks!
    Howard
    Power Mac G5   Mac OS X (10.4.2)  

    Hi Howard,
    Drag all the images to the desktop first. Now open iPhoto and drag the images into an open iPhoto viewing window (library view)
    If you put the images in folders to organize them, then each folder dragged into an open iPhoto window will be imported as a roll with the folders name.
    Lori

  • Problem with display driver

    Hello,
    Im using Photoshop CC and when it starts up it sometimes gives me this error message:
    'Problem with display driver and has temporary disabled enhancements which use graphics hardware.'
    What does this mean?
    Then it tells me to download the latstest software and gives me a link to an Adobe site that tells me nothing about a sollution.
    About my mac:
    MacBook Pro
    Intel Core i7
    2,2 GHz
    4 cores
    8 GB RAM
    AMD Radeon HD 6750M
    Thanks a bunch!

    Here you go:
    Adobe Photoshop Version: 14.2 (14.2 20131211.r.515 2013/12/11:23:00:00) x64
    Operating System: Mac OS 10.9.1
    System architecture: Intel CPU Family:6, Model:42, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 2200 MHz
    Built-in memory: 4096 MB
    Free memory: 2266 MB
    Memory available to Photoshop: 3136 MB
    Memory used by Photoshop: 80 %
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    The GPU Sniffer crashed on 10/01/2014 at 09:05:58
    Display: 1
    Main Display
    Display Bounds: top=0, left=0, bottom=900, right=1440
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGPUs=1
    gpu[0].OGLVersion="2.1"
    gpu[0].MemoryMB=1024
    gpu[0].RectTextureSize=16384
    gpu[0].Renderer="AMD Radeon HD 6750M OpenGL Engine"
    gpu[0].RendererID=16915206
    gpu[0].Vendor="ATI Technologies Inc."
    gpu[0].VendorID=4098
    gpu[0].HasNPOTSupport=1
    gpu[0].CompileProgramGLSL=1
    gpu[0].TestFrameBuffer=1
    gpu[0].OCLPresent=1
    gpu[0].OCLVersion="1.2 (Aug 24 2013 21:03:27)"
    gpu[0].CUDASupported=0
    gpu[0].OCLBandwidth=1.89051e+10
    gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20"
    gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[4096]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[3072]
    gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[3072]
    gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    License Type: Subscription
    Serial number:
    Application folder: /Applications/Adobe Photoshop CC/
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Macintosh HD, 697.8G, 107.2G free
    Required Plug-ins folder: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.app/Contents/Required/Plug-Ins/
    Primary Plug-ins folder: /Applications/Adobe Photoshop CC/Plug-Ins/
    Installed components:
       adbeape.framework   adbeape   3.4.0.29366   0.1160850
       AdbeScriptUIFlex.framework   AdbeScriptUIFlex   6.3.2.31983   79.546835
       adobe_caps.framework   adobe_caps   7.0.0.21   1.248010
       AdobeACE.framework   AdobeACE   2.20.02.31977   79.548223
       AdobeAGM.framework   AdobeAGM   4.30.29.31977   79.548223
       AdobeAXE8SharedExpat.framework   AdobeAXE8SharedExpat   3.7.101.18636   66.26830
       AdobeAXEDOMCore.framework   AdobeAXEDOMCore   3.7.101.18636   66.26830
       AdobeBIB.framework   AdobeBIB   1.2.03.31977   79.548223
       AdobeBIBUtils.framework   AdobeBIBUtils   1.1.01   79.548223
       AdobeCoolType.framework   AdobeCoolType   5.15.00.31977   79.548223
       AdobeCrashReporter.framework   AdobeCrashReporter   7.0.1  
       AdobeExtendScript.framework   AdobeExtendScript   4.5.5.31983   79.546835
       AdobeJP2K.framework   AdobeJP2K   1.2.2.31977   79.248139
       AdobeLinguistic.framework      19061  
       AdobeMPS.framework   AdobeMPS   5.8.1.31977   79.535029
       AdobeOwl.framework   AdobeOwl   5.0.24   79.547804
       AdobePDFL.framework   AdobePDFL   11.0.0.31977   79.508720
       AdobePDFSettings.framework   AdobePDFSettings   1.4  
       AdobePIP.framework   AdobePIP   7.0.0.1786  
       AdobeScCore.framework   AdobeScCore   4.5.5.31983   79.546835
       AdobeUpdater.framework   AdobeUpdater   6.0.0.1452   "52.338651"
       AdobeXMP.framework   AdobeXMPCore   79.154911   79.154911
       AdobeXMPFiles.framework   AdobeXMPFiles   79.154911   79.154911
       AdobeXMPScript.framework   AdobeXMPScript   79.154911   79.154911
       ahclient.framework   ahclient   1.8.0.31  
       aif_core.framework   AdobeAIF   5.0.00   79.534508
       aif_ocl.framework   AdobeAIF   5.0.00   79.534508
       aif_ogl.framework   AdobeAIF   5.0.00   79.534508
       AlignmentLib.framework   xcode   Copyright © 2013 Adobe Systems Incorporated  
       amtlib.framework   amtlib   7.0.0.249  
       boost_date_time.framework   boost_date_time   7.0.0.0  
       boost_signals.framework   boost_signals   7.0.0.0  
       boost_system.framework   boost_system   7.0.0.0  
       boost_threads.framework   boost_threads   7.0.0.0  
       Cg.framework   NVIDIA Cg     
       CIT.framework   CIT   2.1.6.30929   151865
       CITThreading.framework   CITThreading   2.1.6.30929   151865
       dvaaudiodevice.framework   dvaaudiodevice   7.0.0.0  
       dvacore.framework   dvacore   7.0.0.0  
       dvamarshal.framework   dvamarshal   7.0.0.0  
       dvamediatypes.framework   dvamediatypes   7.0.0.0  
       dvaplayer.framework   dvaplayer   7.0.0.0  
       dvatransport.framework   dvatransport   7.0.0.0  
       dvaunittesting.framework   dvaunittesting   7.0.0.0  
       dynamiclink.framework   dynamiclink   7.0.0.0  
       FileInfo.framework   FileInfo   79.154511   79.154511
       filter_graph.framework   AdobeAIF   5.0.00   79.534508
       ICUConverter.framework   ICUConverter   3.61   "gtlib_3.0" "." "16615"
       ICUData.framework   ICUData   3.61   "gtlib_3.0" "." "16615"
       LogSession.framework   LogSession   2.1.2.1785  
       mediacoreif.framework   mediacoreif   7.0.0.0  
       patchmatch.framework   patchmatch   1.2.00.31977   79.542390
       PlugPlugOwl.framework   PlugPlugOwl   4.2.0.36  
       UpdaterNotifications.framework   UpdaterNotifications   7.0.1.102   "7.0.1.102"
       WRServices.framework        
    Required plug-ins:
       3D Studio 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Accented Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Adaptive Wide Angle 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
       Angled Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Average 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Average.plugin”
       Bas Relief 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       BMP 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Camera Raw 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Camera Raw Filter 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Chalk & Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Chrome 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Cineon 14.2 x001  ©2002-2014 Adobe Systems Incorporated - from the file “Cineon.plugin”
       Clouds 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Collada DAE 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Color Halftone 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Colored Pencil 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       CompuServe GIF 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Conté Crayon 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Craquelure 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crop and Straighten Photos 14.2 x001  ©2003-2014 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
       Crop and Straighten Photos Filter 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Crosshatch 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crystallize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Cutout 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Dark Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       De-Interlace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dicom 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “dicom.plugin”
       Difference Clouds 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Diffuse Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Displace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dry Brush 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Eazel Acquire 14.2 x001  ©1997-2014 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
       Embed Watermark NO VERSION - from the file “DigiSign.plugin”
       Entropy 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Extrude 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       FastCore Routines 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “FastCore.plugin”
       Fibers 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Film Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Filter Gallery 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Flash 3D 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Fresco 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glowing Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Google Earth 4 KMZ 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Graphic Pen 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Halftone Pattern 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       HDRMergeUI 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
       IFF Format 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Ink Outlines 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       JPEG 2000 14.2 x001  ©2001-2014 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
       Kurtosis 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Lens Blur 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
       Lens Correction 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
       Lens Flare 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Liquify 14.2, Copyright © 2001-2014 Adobe Systems Incorporated - from the file “Liquify.plugin”
       Matlab Operation 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Maximum 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mean 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Measurement Core 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
       Median 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mezzotint 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Minimum 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       MMXCore Routines 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “MMXCore.plugin”
       Mosaic Tiles 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Multiprocessor Support 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
       Neon Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Note Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       NTSC Colors 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
       Ocean Ripple 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Oil Paint 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
       OpenEXR 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Paint Daubs 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Palette Knife 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Patchwork 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Paths to Illustrator 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       PCX 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “PCX.plugin”
       Photocopy 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Photoshop 3D Engine 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
       Photoshop Touch CC (14.2.0.0) ©1993-2014 Adobe Systems Incorporated - from the file “PSDX.plugin”
       Picture Package Filter 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Pinch 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pixar 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “Pixar.plugin”
       Plaster 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Plastic Wrap 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PNG 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pointillize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Polar Coordinates 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Portable Bit Map 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “PBM.plugin”
       Poster Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Radial Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Radiance 14.2 x001  ©2003-2014 Adobe Systems Incorporated - from the file “Radiance.plugin”
       Range 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Read Watermark NO VERSION - from the file “DigiRead.plugin”
       Reticulation 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Ripple 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Rough Pastels 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Save for Web 14.2, Copyright © 1999-2014 Adobe Systems Incorporated - from the file “Save for Web.plugin”
       ScriptingSupport 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
       Shake Reduction 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
       Shear 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Skewness 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Smart Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Smudge Stick 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Solarize 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Solarize.plugin”
       Spatter 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Spherize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Sponge 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Sprayed Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stained Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stamp 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Standard Deviation 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       STL 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Sumi-e 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Summation 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Targa 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Texturizer 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Tiles 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Torn Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Twirl 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Underpainting 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Vanishing Point 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
       Variance 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Water Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Watercolor 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Wave 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wavefront|OBJ 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Wind 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wireless Bitmap 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “WBMP.plugin”
       ZigZag 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
       Adobe Exchange
    Installed TWAIN devices: NONE

  • Problem with attaching file to Sales Order

    Hello,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    I found a helpful link ( /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background )
    This program creates URL links with no problem, but the file generation is not implemented yet.
    I tried to add the file functions to his sample report but still have one problem. The file is uploaded, but not reported as a PDF file in sap. If I select the created attachment SAP allows only the saving of the attachment. After saving the created file is a good PDF file, it opens with PDF-viewers.
    Why does SAP not know this is a PDF file and report it as such (and open the pdf viewer when selected).
    Thanks, Frank.
    source-code:
    REPORT  zzfb_brc                                .
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:t1.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    break brouwersf.
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    Hi,
    Welcome to the SDN Forums!!!
    You need to supply the PC file extension in the container element 'DOCUMENTTYPE'.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    In your case change the above statement as below:
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'pdf'.
    <b>OR</b> change the default value of p_msgtyp to 'PDF'.
    Cheers,
    Ramki Maley.
    Please reward points if the answer is helpful.
    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
    Message was edited by: Ramki Maley

  • Error while displaying file " C:Temp Filename.Ext cannot be created"

    Dear Friends
    Some users face problem while display the file. They get message " C:\Temp\ Filename.Ext cannot be created ". I checked Details. I got explaination as follows.
    Caution! You are not authorized to work with temporary storage
    Message no. ED204
    Diagnosis
    You do not have authorization to read or write from or to the temporary storage.
    The system uses the temporary storage when you display or change programs using the ABAP Editor.
    The system checks to see whether there is a temporary version of the program.
    If there is, a dialog box appears in which you must choose whether to use the temporary version or the database version.
    The system fills the temporary storage when the editor crashes or you save a temporary version of the program.
    System Response
    You probably do not have the authorization object S_DATASET.
    Procedure
    Ask your system administrator to assign you the relevant authorization.*
    Actually this  problem never occurs frequently. User access the files very frequently creating around 200 Mb to 400 Mb in C:\Temp Folder per day per user. I observerd as per message that User is not have Access right to C drive. Once I get access from IT for that user he is able to display file. But before giving right he is able to display file. But suddenly he is not able to display. I am not getting exact reason why this problem occurs. Some users temp folder size is upto 700 Mb with no acces right to C Drive still he is able to see the image.
    In DC20 I have kept C:\Temp as path for temp folder.
    I have checked the links  also
    Request you to provide me
    What is exact reason of the error?
    Is the solution to problem is giving access rights to the user?
    Do I have to give authorization object S_DATASET to a user?
    With Regards
    Mangesh Pande

    Dear Amaresh
    Thanks for your reply and solution.
    So you mean to say thats this Authorization object  has to be provided to user?
    But my question is how the user was able to see the file even when this Authorization Object was not assigned.
    He was able to display all file. But for particular DIR he is not able to display.
    I have checked this thread
    http://wiki.sdn.sap.com/wiki/display/PLM/Error26172withSAPGUI710+patch13.
    User has SAP GUI 7.10
    File Version 7100.1.0.1027
    Build   0
    Patch Level  0
    Request your help
    With Warm Regards
    Mangesh Pande

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • Problem with Local File Identification in RFC

    Dear all,
    We are working on a scenario where we have to integrate an external application with SAP system. The external application would use SAP DMS as document repository; It will send us a local file path and we have to upload the document located in that path as an attachment to a DMS Document Info Record. We have designed a wrapper RFC for this purpose, which encapsulates the standard Fm BAPI_DOCUMENT_CREATE2. This BAPI takes a file path input under table parameter DOCUMENTFILES. Problem is, when we are running the RFC from SAP GUI, the document info record is created correctly with the document as attachment, but when we invoke the RFC from the external application, the process fails and we get an error message stating:"Error while checking in Original Files". We debugged the scenario and found out that, while running under SAP GUI, the BAPI is able to identify a GUI Link, and hence succeeds; but while calling from the external application, the BAPI fails to find a GUI Link, tries to start a FTP Server using RFC Destination SAPFTP, and fails. So, obviously, the BAPI is not able to parse the local file path because of non-existence of GUI Link. So,in this regard, my question is: is there no way that we can pass a local file path from an external application to SAP, and get the same identified and get the document uploaded? Is there any alternative to our approach?
    Awaiting answers.
    Regards,
    Sid

    Solved the problem by:
    Converting file content to binary->transferring binary content to a wrapper RFC->writing the content into a temporary file in application server->then calling BAPI_DOCUMENT_CREATE2 to create the document without attachment->then calling CVAPI_DOC_CHECKIN to checkin the temporay file from application server.
    Related references:
    http://wiki.sdn.sap.com/wiki/display/PLM/DMSandbackground+processing
    https://websmp130.sap-ag.de/sap/support/notes/504692
    How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2)
    Thanks to All who have contributed to the Solution.
    Sincere Regards,
    Sid

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

Maybe you are looking for

  • Problems launching exernal .chm, part 2

    We have are having major issues trying to conver our Winhelp files to HTML. We have several .hlp files linked. Unfortunately we can't recreate those links in our .chm files. I have read and followed Pete Lees suggestions from the first "Problems laun

  • How to resize a document and it's contents

    hello i have a multi page indesign document. the client is rather fickle and i need to change the page size and i'm wondering if there is any way of doing so that sizes the contents of the spreads along with the document. seems rather silly to manual

  • Using logitech mouse on Macbook Pro

    Why can't I use logitech mouse on my macro pro? My macbook is running OS X Yosemite version 10.10.2 system. It is a 2012 one.

  • Save for Web is disabled

    I downloaded and installed the Picture Package for Photoshop CS4. Once installed the Save for Web option became grayed out and I can no longer access that function. I deleted the preferences to see if that would help; it did not. How can I resolve th

  • 3G Outage in Houston

    Did anyone in Houston (or anywhere else) experience an 3g data outage this morning around 8:00 AM (CST)? I lost all data for nearly half-an-hour. Power cycled my phone three times during that period and after the third time, reconnected to the data n