How to use FM named 'TABLE_COMPRESS'

i am using FM named 'TABLE_COMPRESS'
it is sending compressed values via function module  'SO_NEW_DOCUMENT_ATT_SEND_API1' (in attachment)
but i am not able to see content after mail is sent.

Hi Manish,
Check the following link:
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Thanks,
Reward If Helpful.

Similar Messages

  • JDEV 10.1.3 Searching how to use query named in client

    I find all necessary information about creating a named query but i didn't find anything about using it in my application code.
    Does somebody know how to call a named query.

    Michel,
    Named queries is documented at: http://download-east.oracle.com/otn_hosted_doc/toplink/1013/MAIN/_html/qryun008.htm#CACFBJCI
    To execute a named query you want to use:
    session.executeQuery("query-name", MyClass.class, args);http://download-west.oracle.com/otn_hosted_doc/toplink/1013/MAIN/b13698/oracle/toplink/sessions/Session.html#executeQuery_java_lang_String__java_lang_Class__java_util_Vector_
    There are several versions of this method depending on the arguments you wish to pass. For named queries defined on a descriptor you want to use the methods that take a reference class as well as the query name.
    Doug

  • How to not use Face naming to help detect further faces?

    HI,
    My question may sound funny.
    My understanding is both iPhoto and Aperture use detected face in helping detect other faces. That's what the help suggest, in identifying more face it facilitate the detection.
    In many photo you would have someone visible and would want to identify her/him. by doing so I would use anything but the face, the back of the head or other part of the body that is visible.
    If Aperture/iPhoto would then use that added image to improve face detection with nothing useful, it would make it even less efficient!
    Are their other way to identify someone and have it in the Faces without affecting the faces definition the the software seem to be building? tag not to use the face for further detection for example.
    Vincent

    See my answer to your duplicate question.
    Re: How to not use Face naming to help detect further faces?
    Naming body parts will not hamper the face recognition algorithm. iPhoto will ignore manually added faces, see this link:
    iPhoto '09 & iPhoto '11: Improving face recognition results

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • How to use two different versions of Firefox at the same time on Snow Leopard?

    I recently upgraded to Firefox 4.0 on my 27" iMac running Snow Leopard 10.6.7.
    Previously, I was using Google's "Page Speed" along with Firebug in Firefox 3.6.15 to optimize images in my web pages, and to find other areas to optimize.
    Page Speed is not yet compatible with Firefox 4.0. I wrote to Google about this some time ago -- no answer yet.
    If I run Firefox 3.6.15 in order to use Page Speed, I run into a few problems afterward when I start using Firefox 4.0 again, since they both use the same "Firefox" folder in my "Application Support" folder.
    How can I set it up so that I can have two separate "Firefox" folders in my "Application Support" folder?
    Or is there an easier way to use two different versions of Firefox simultaneously, even if one has extensions and/or plug-ins installed which are not compatible with the other version?
    Thanks for a great browser!

    Please disregard my question. I just conducted more web search and learned how to use Firefox's profile manager in order to make a separate profile for Firefox 3.6.15.
    You can find instructions on this page:
    http://support.mozilla.com/en-US/kb/Managing%20profiles#os=mac&browser=fx35
    '''A small tip:'''
    If your Firefox app is named anything other than "Firefox" -- say for example "Firefox 3.6.15" -- when you follow the instructions at the above link, make sure you escape the blank space that is before the version number by adding a backward slash before it, when you type the command string in the Terminal. In other words, in that string, you should use this:
    Firefox\ 3.6.15
    I hope that helps someone.
    WW

  • How to use the slider to avoid keyframes movements?

    Hi there,
    first of all, I have to tell, I am not a English speaker, so please excuse me in advance. Anyway, I want to solve this particular issue: I have created an After effects project, where you can add into the composition your own text, logo or whatever... what the after effects project does is, that it turns your text, or logo into the 3D metal result. There is also camera cretaed, which moves from one position, to another. Take a look:
    The inputed text is "add content" (I have 4 cameras alltogether, but I am showing an example just on the first one, so you will not see the whole text. The rest of the cameras are also in other compositions)
    Here you can see the exact movement of the camera. However, if somebody inserts a logo or a text, which has for example 7 letters (in the next picture it is just "content") it will look like this:
    here you can see how big space we have. Also it is not appropriate to change the original size of the text in the composition to achieve the smallest gap, as we can see here. The height will be huge then...
    If I would edit it by myself, I would do this:
    -I would clicked on the button "2 views" and choose view from the "front"
    -Then I would select all the keyframes and after that i would go into the left window "front" and  using the mouse I would draged whole the camera to the position I want:
    The great thing about this is, that as I selected all the keyframes and then set the red line on one of them, the camrea will work even for the beginning! So this is how it will look after the fix.
    What the problem is, that after the small edit I want to send this project to few of my friends. Then they can easily put their text, or logo in. The text will have different height, width...it will be shorter or longer. I was just wondering, if you could help with some expressions, linkings and so on, so in the final result, of one my friends could move with the  whole camera (not just with one keyframe) using the SLIDER CONTROL. At least for the x and y axis, if z axis is also possible, it would be brilliant. It also doesn't matter how many sliders there will be .
    So basically with using the sliders, they should achieve this:
    So i need some helpful steps. Please help me. This is very important for me. I will be so much thankful!! Really! (Thanks for the potential help )

    You are way over thinking your problem and potentially headed down a path that will cause more problems that it will solve.
    If you have a camera path that is already animated and you want to change the position of the camera path as a whole the easiest way to do that would be to create a null and then parent the camera to the null. Move the null and all of the camera movements you have set up will follow. No expressions are needed. This is the easiest way to change every aspect of a motion path, rotate the entire path, scale the path, or move the path on any axis.
    If you really want to use 3 position sliders to move existing keyframes to a new value adding value + expressions values will allow you to do this. Just add an three expression control sliders to the camera layer (or any layer like the null you are using as a parent) select the name of the slider in the ECW and press enter and rename it. Something like this will be the result.
    Notice that I also have rotation and scale controls in this setup. Now that you have 3 sliders you can separate the position property of the null into individual values enable expressions in each property and type in value +, then use the pickwhip to drag from the X value to your slider named xPosition (in my example) and repeat for each operation. The value + will add the value of the slider to the current value of the position keyframes. The expression will look like this for X:
    value + effect("x position")("Slider")
    If you want to use sliders I would use a null, add expression controls to the null for position, scale, and rotation, keep the camera position property unified and then use your expression control sliders on the null to modify your existing path. I would not suggest doing this directly on camera position with separated X, Y and Z values because this will change the shape of your camera path and would be more difficult to control. You'll probably also want to create a camera POInull and use this preset to tie the camera's point of interest to the null.
    Here's an animation preset you can apply to a null that will give complete control to the motion path of any animated layer you make the child of this null. Search Animation Preset in the After Effects Search Help field if you do not know how to use them, create them, and save them.
    As a final gimme, here's a CS6 project using this animation preset to control a null's position that used to change an animated camera path.

  • How to use a packaged Jar File?

    Greetings to everyone reading this post!
    I have a query about a thing that seems to be basic but I don't know how to accomplish, here it goes:
    I have packaged a Simple application into a Jar file. this application contains a package like this:
    lib.demo, inside this package I have a Class named MyClass with some simple methods like this one:
    public void sayHi(String name){
    //implementation here
    }Now, I would like to Know how to use the Method sayHI(String name) from an entirely different Project. I have successfully included the Jar File as a Library(in the new Project), but I have I no Clue on How to invoke a Class inside my Jar library, and more Importantly, a method.
    Could anybody help me?

    if the "project" (not a Java-related system, it's IDE-specific) already includes the JAR file in its classpath (library), then all you need is to import the package/class and invoke the method, as such:
    // in your client code:
    import lib.demo.*;         // or, import lib.demo.MyClass;
    public class Test {
      public void inAMethod() {
        MyClass myC = new MyClass();
        myC.sayHi("say hi"); 
    }simple.

  • How to use another XSLT processor

    Hello all,
    Recently, I do need to use XSLT 2.0 processor, but how to install it to the JDK? Please give the detailed steps. And how to use it, just import the package? How to avoid the program to the old processor, because I doubt probably the old processor is part of the JDK. And how does this change impact to the java web service? And how do I change the web service about this change?
    Thank you in advance.

    >
    I want to use SaxonHE9.4.0.3 processor
    >
    Michael Kay provides extensive Installation instructions for all of his products. They are included in the documentation download.
    Here is just a small part of what was provided for the version I use
    >
    Installation of Saxon simply involves unzipping the supplied download file into a suitable directory. The procedure is the same for the Standard product and the Schema-Aware product. The two products can co-exist in the same directory or in different directories.
    One of the files that will be created in this directory is the principal JAR file. This is saxon8.jar in the case of Saxon-B, saxon8sa.jar in the case of Saxon-SA. There are additional JAR files to support optional features including the JDOM interface and the SQL interface. When running Saxon, the principal JAR file should be on the class path. The class path is normally represented by an environment variable named CLASSPATH: see your Java documentation for details. Note that the JAR file itself (not the directory that contains it) should be named on the class path.

  • How to use DataSource and External transaction in 9ias?

    I'm working on a project that the application server needs to connect to over 100 databases.
    I'd like to use connection pooling and external transaction service defined in OC4J's Datasources.
    I wonder if anyone has an example of using datasource and external transaction service for OC4J.
    Right now, I export toplink project to a java source and do the initialization there manually but I don't know how to use Datasource to get connections and how to use the external transaction service in the java code for OC4J.
    I really appreciate you help.
    Wei

    Here is a fill in the blank example on how you could set this up through code:
    Project project = new MyProject();
    // alternatively, use the XMLProjectReader
    server = project.createServerSession();
    server.getLogin().useExternalConnectionPooling();
    server.getLogin().setConnector(new JNDIConnector(new javax.naming.InitialContext(), "jdbc/DataSourceName"));
    // the next line depends on the type of driver you want to use.
    server.getLogin().useOracleThinJDBCDriver();
    server.getLogin().useOracle();
    server.getLogin().setUserName("username");
    server.getLogin().setPassword("password");
    server.getLogin().useExternalTransactionController();
    server.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
    server.logMessages();
    server.login();

  • How to use a Java Resource in my java source

    Hello,
    I need to know how to use my external JAR I loaded in the database using this line below:
    CREATE OR REPLACE JAVA RESOURCE NAMED "MyJar" USING BFILE (BFILE_DIR,'MyExternal.jar');
    In fact, I have a Java file using this JAR, but I do not know how to tell to the java source that it have to use this JAR.
    ==========Java Source importing the Jar===================
    package com.gemalto.ws.snmp;
    import java.io.IOException;
    import java.util.Vector;
    import org.snmp4j.Snmp;
    import org.snmp4j.smi.*;
    import org.snmp4j.TransportMapping;
    import org.snmp4j.transport.DefaultUdpTransportMapping;
    import org.snmp4j.CommunityTarget;
    import org.snmp4j.mp.SnmpConstants;
    import org.snmp4j.PDU;
    import org.snmp4j.event.ResponseEvent;
    public class SNMPAgent
    ==========================
    Could you give the SQL request or loadjava command line permitting to do use my java resource file?
    Thks

    The JAR is already load by using CREATE JAVA RESOURCE ... or "loadjava -resolve –force -user p/p@SID –genmissing -jarasresource MyJar.jar"
    If we can create a resource by SQL or loadjava, how can I use it in my java code?
    Edited by: 847873 on 28 mars 2011 06:05
    Edited by: 847873 on 28 mars 2011 06:07

  • How to use a different port in RMI

    Hi ,
    We cannot use default port 1099 in RMI due to some restrictions. I want to user port: 8000 instead.
    Can some one please help how to use a different port?
    Thanks
    Arun

    C:\>rmiregistry.exe 8000
    and in code use Naming.bind("rmi://<host>:8000", ....)
    or LocateRegistry.getRegistry(host, 8000)
    Genady

  • How to use copy default values for material from vendor master in Account Group

    Dear all:
       In define AccountGroup for vendor ,there is a field named DURAS which means default values,who can tell me how to use it?
       Any informations are appreciated!

    Hi Katherine,
    I have tried using default value as B in the customizing
    If i maintain default values in the vendor master record, it will automatically adopt in the purchase info record.
    Here i tried using sales person & telephone no field in vendor master record & it automatically adopts to purchase info record.
    Region sales person and telephone no i have maintained in vendor master record, it automatically fetches to info record for the particular account group. I am not sure if there is any relation between vendor master and material master record.
    Regards
    Subbu.

  • How to use search on Flash 8

    I am using Flash Pro 8. I created a .fla file which contains
    several objects, each of them has the ActionScript. Now I want to
    search through all the ActionScript for a variable such as named
    GeneratedXML (already used somewhere in the application).
    So I go to Edit --> Find and Replace or Find Next. Neither
    can locate the "GeneratedXML". But I know there is indeed a
    variable named: GeneratedXML, because I can see it right before me.
    I just want to test the search function of this tool(Flash
    8). I need do a lot of searching and location of a parameters,
    function names, etc throughout the .fla file.
    Then how to use or do a search for a text in (the
    ActionScript) in Flash 8?
    Thanks
    Scott

    If you just click the magnifying glass in an actionscript
    window its only a simple find and replace for that frame.
    Try using the Edit Menu Find and Replace option...
    Find All

  • How to use Search

    Use Flash Pro 8. I want to search through all the
    ActionScript for the document for a variable named GeneratedXML
    (defined somewhere in the document). So I go to Edit --> Find
    and Replace or Find Next. Neither can locate the "GeneratedXML".
    But I know there is indeed a variable named: GeneratedXML, because
    I can see it right before me. I just want to test the search
    function of this tool(Flash 8). I need do a lot of searching and
    location of a parameters, function names, etc.
    Then how to use or do a search for a text in (the
    ActionScript) in Flash 8?
    Thanks
    Scott

    You might try the Movie Explorer panel (Windows > Movie
    Explorer), but
    personally, I haven't had lots of luck with it attempting to
    do what you're
    describing. Set it to display only actionScript (buttons at
    top of panel)
    and type your query into the find section.
    --KB
    "scottjsn" <[email protected]> wrote in
    message
    news:f0jajr$73a$[email protected]..
    > Use Flash Pro 8. I want to search through all the
    ActionScript for the
    > document for a variable named GeneratedXML (defined
    somewhere in the
    > document).
    > So I go to Edit --> Find and Replace or Find Next.
    Neither can locate the
    > "GeneratedXML". But I know there is indeed a variable
    named:
    > GeneratedXML,
    > because I can see it right before me. I just want to
    test the search
    > function
    > of this tool(Flash 8). I need do a lot of searching and
    location of a
    > parameters, function names, etc.
    >
    > Then how to use or do a search for a text in (the
    ActionScript) in Flash
    > 8?
    >
    >
    > Thanks
    >
    > Scott
    >

  • How to use an instance instead of the class itself

    I am building a program but have a problem.
    My program uses a controller class which instantiates a World-class. In the world class has a Vector I make a Vector in which I place all the elements in the world. (I also made an Element class from which all the objects that I put into this Vector extend.)
    Everything except for some methods in the controller class are declared public. I might need to use static, but I do not know how.
    // CONSTRUCTOR CONTROLLER CLASS
    world = new World ();  // instantiate one and only one world
    world.newElement (new Beamer ("beamer", 20. , 20.));  // use a selfwritten method to add a "Star Trek"-like
                              // beamer to the world. I give it a name and position.
    world.newElement (new Avatar ("avt", "beamer"));  // add an avatar which is "beamed up". so what I do is that I use the beamer for the beginposition of the avatar. However, and this is my problem, in the constructor of Avatar (see below) i need the beamer in world, but my compiler cant find world. I probably need to import my World or controller class, but even then: I do not understand how to use an instance (world is an instance. I cant use the World-class as the class does not contain the beamer element)
    public class Avatar extends Element {
         public Avatar (String n, String beamer){
              name = n;
              posx = world.named("beamer").getPosx; // the selfwritten method named finds the
                // element in the Vector that goes with the name. Any ideas to make this code better are welcome too.
              posy = world.named("beamer").getPosy;
    } Any ideas on how to solve this (common) problem in good coding are most welcome.

    I think you are best off if you use static methods and static fields only in your World class. That way you don't have to instantiate it and everyone has access to its methods. This would be then completely analogous to how you access methods and fields of the well-known class System (e.g. when you use System.out.println). This also has the advantage that you are guaranteed to have only one copy of the World.
    Here is an example of how your World class, Avatar class and main code would look like.
    Main code: (note the use of capital W in the name World, referring to class rather than instance).
    // no need to instantiate World, as we call its static methods only
    World.newElement (new Beamer ("beamer", 20. , 20.));
    World.newElement (new Avatar ("avt", "beamer"));  // add an avatar which is "beamed up". World class: (note the static keyword in front of the vector and the methods)
    public class World {
      private static Vector v;       // static field, only one copy of it ever exists
      public static void newElement(Element e)   // static method, can call without instantiating world
         v.addElement(e);
      public static Element named(String n)  // use to look up elements
         ... some code which goes through v and finds element named "n" ...
         ... return reference to that element ...
    }and finally the Avatar: (again note the use of reference to World as a class rather than instance)
    public class Avatar extends Element {
         public Avatar (String n, String beamer){
              name = n;
              posx = World.named("beamer").getPosx;
              posy = World.named("beamer").getPosy;
    } The above example is how I would implement it when you don't actually need instances of the World class.

Maybe you are looking for

  • How do I find the IP of my wireless router??

    I know this a bit off-topic, but it seemed the only place to post this. . . I've bought a belkin wireless router so i can use my laptop round the house (the airport extreme in my G5 is too weak to get through our walls). The laptop (and my PSP ) find

  • Simple Green Wipes on my Macbook Pro?

    Hey guys/gals,      Just looking to clean some dirt off of my aluminum macbook pro. I was wondering if it is ok to use Simple Green Wipes on top of the aluminum? Or is that not recommended? I have heard mixed things about them on top of untreated alu

  • Playback sync with audio?

    It seems that in After Effects you can't play - with audio - from anywhere in the timeline, only from the beginning. But you CAN in Photoshop Extended. Doesn't seem right. (All I want to do is make a simple video sequence where images appear synced t

  • Matte box

    Hi, I am switching from Adobe Premiere to Final Cut and obviously have some problems figuring it out. In Premiere I used a matte box file, which was a .gif that was basically two black bars on top and bottom and then a transparent layer in the middle

  • Problem with MSDN subscriber downloads

    I had some problems getting FTM working.  It had been working for a while, I managed a few downloads, but it stopped working.  I eventually managed to reinstall it but it still won't let me download - the first time I try each link I get a progress b