Email and Select statements

This is probably a simple question. I'm trying to send an email and have the body generated from a select statement (eg. basically sending a report). I'm having trouble generating this report (eg. XXX := SELECT .....). I also want to know if it is possible to format the result into HTML (eg. format, links).
Any help is appreciated.

Hi Jugla,
You can generate HTML from a PL/SQL SELECT statement using the PL/SQL web toolkit. Have a look at the documentation for this on the Oracle Technology Network at http://otn.oracle.com. There is a very good function list etc in the PL/SQL developers guide.
With regards to your report, could you post the query you are currently using, and also give a slightly more detailed overview of what you are trying to achieve from thr query and how you are using it. I could hopefully then let you know what the problem is.
Hope this helps a little bit,
Cj

Similar Messages

  • Have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have

    have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have the same email in yahoo but delete them and they still show up in apple mail from day one how do I get rid of these once and for all.Please help
    <Edited by Host>

    I am soooooooooooo confused now.  Ok, if you are having problems with Yahoo Mail and Gmail but you do not use Apple's Mail you need to do the following:
    1 - Post in Yahoo's Mail forums and/or contact their tech support.
    2 - Post in Gmails forums and/or contact their tech support.
    Neither of the above are Apple's products.

  • Difference between "print" statements and "select" statements , TSQL

     What is the difference between "print" statements and "select" statements when it omces to debugging and watching varibles in the stored procs .....

    SELECT statement is part of the ANSI SQL language.
    PRINT command is not part of the SQL language, it is used for debugging in T-SQL.
    BOL:" Returns a user-defined message to the client.
    A message string can be up to 8,000 characters long if it is a non-Unicode string, and 4,000 characters long if it is a Unicode string. Longer strings are truncated. The
    varchar(max) and nvarchar(max) data types are truncated to data types that are no larger than
    varchar(8000) and nvarchar(4000).
    RAISERROR can also be used to return messages. RAISERROR has these advantages over PRINT:
    RAISERROR supports substituting arguments into an error message string using a mechanism modeled on the printf function of the C language standard library.
    RAISERROR can specify a unique error number, a severity, and a state code in addition to the text message.
    RAISERROR can be used to return user-defined messages created using the sp_addmessage system stored procedure."
    LINK: http://technet.microsoft.com/en-us/library/ms176047.aspx
    The SSMS (client software) returns SELECT output to Results and PRINT output to Messages.
    The SQLCMD -o (output file) option captures all outputs into one file mixed.
    Kalman Toth Database & OLAP Architect
    T-SQL Scripts at sqlusa.com
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Regarding Logical database and  select statement..

    Hi
    Experts.
    i would  like to  know the  diff b/w logical data base & select statement  while using report.
    wt is the use of logical databases in R/3. is there   any   advantage  used in the  reports.
    Thanks & Regards..
    Spandana.

    Dear Spandana,
      Go through the below description of LDB. I hope you wil get a fair amount of idea.
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Watch out!
    The use of very large tables will degrade the performance of a logical database, so be aware of that trade-off. Remember that some tables in SAP are very complex, so they will be problematic in any user-defined logical database.
    Declaring a logical database
    Hereu2019s another surprising feature of logical databases: You do not assign them in your ABAP/4 Code. Instead, the system requires that you specify logical databases as attributes. So when you are creating a report, have your logical database identifier (the name you gave it) on hand when you are defining its attributes on the Program Attributes screen. The Attributes section of the screen (the lower half) will include a Logical database field, where you can declare your logical database.
    Logical databases for increasing efficiency
    Why else would you want to create a logical database? Consider that the logical databases already available to you begin with a root node and proceed downward from there. If the data object you wish to construct consists of items that are all below the root node, you can use an existing logical database program to extract the data, then trim away what you donu2019t want using SELECT statementsu2014or you can increase the speed of the logical database program considerably by redefining the logical database for your object and starting with a table down in the chain. Either way, youu2019ll eliminate a great deal of overhead.
    Regards
    Arindam

  • Autocommit and select statements

    Hi,
    Does auto-commit affect select statements (in the performance aspect) or does it apply only for insert/update/delete statements?
    thanks,
    Yael

    SELECTS participate in DB transactionality just as much as INSERT/UPDATE/DELETE statements do. The only way I know to demonstrate this is using SERIALIZABLE isolation level.
    Using an Oracle database and 2 SQL*Plus windows (the translation into Java/JDBC is left as an exercise for the reader).
    Setup:
    SQL> create table foo (n number);
    Table created.
    SQL> insert into foo (n) values (3);
    1 row created.
    SQL> c/3/4/
      1* insert into foo (n) values (4)
    SQL> /
    1 row created.
    SQL> commit;Now the demo...
    Window A:
    SQL> alter session set isolation_level = serializable;
    Session altered.
    SQL> select sum(n) from foo;
        SUM(N)
             7Window B:
    SQL> insert into foo (n) values (6);
    1 row created.
    SQL> commit;And Window A again:
    SQL> select sum(n) from foo;
        SUM(N)
             72 minutes or 2 years later, Window A must either produce the same answer or an error. Once a commit or rollback occurs in Window A, then and only then can the connection in Window A can see the changed sum. Therefore, the DB has to be maintaining a transaction boundary for the connection in Window A, even though only SELECTS have occured.
    The dreaded Oracle "Snapshot too old" error would be a common error, indicating that Oracle has reused the space that stored whatever was need to reconstruct the old state of the table - this is a bad example in that I don't think the additional row added by B can cause that error, it could if it were a row deletion though. As I understand it, Postgres can't have an error because the old state is lost, instead, Postgres will refuse to reuse changed storage until it can guarantee that the changed storage will never be needed to reconstruct the old state. In other words, if we ran this on Postgres and waited long enough before committing or rolling back, the DB storage would fill up with every changed value going back to the moment of the first select in Window A.
    But back to the main point; SELECTs can participate in DB transactionality. How a DB manages that is up to the implementation. That management has a small (teeny tiny) cost, at least some of the time, and COMMITs interact with that cost; just how is up to the implementation (and in a good implementation it probably also depends on the isolation level).
    At the practical level, we can generally totally ignore the transactionality of SELECTs; most of us use READ COMITTED instead of SERIALIZABLE, and we don't keep connections open for days or months, so it hardly matters in our day-to-day...

  • SQL Insert and Select statements on same page

    Newbie here.
    Is it possible to insert data from a form to a database and then get data from the database using "select" from the same page.
    I have a form that submits the authors details to an Access database but I need to get the AuthorID (which is an autonumber in the table) to show on the same page.
    <%@ page language="java" contentType="text/html" import="java.sql.*" %>
    <html>
    <head>
    <title>Confirm Details Submission</title>
    </head>
    </body>
    <%
    String title = request.getParameter("title");
    String surname = request.getParameter("surname");
    surname = surname.replaceAll("'", "''");
    String forename = request.getParameter("forename");
    forename = forename.replaceAll("'", "''");
    String address = request.getParameter("address");
    address = address.replaceAll("'", "''");
    String address2 = request.getParameter("address2");
    address2 = address2.replaceAll("'", "''");
    String town = request.getParameter("town");
    town = town.replaceAll("'", "''");
    String postcode = request.getParameter("postcode");
    String email = request.getParameter("email");
    email = email.replaceAll("'", "''");
    String dob = request.getParameter("dob");
    String telephone = request.getParameter("telephone");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection Conn = DriverManager.getConnection("jdbc:odbc:Novbase","","");
    Statement Stmt = Conn.createStatement();
    String Query = ("INSERT INTO Author (Title, Surname, Forename, Address, Address2, Town, Postcode, EMail, DOB, TelNo) VALUES ('" + title + "', '" + surname + "', '" + forename + "', '" + address + "', '" + address2 + "', '" + town + "', '" + postcode + "', '" + email + "', '" + dob + "', '" + telephone +"')");
    //Stmt.executeUpdate(Query) is where the records are inserted.
    int SQLStatus = Stmt.executeUpdate(Query);
         if(SQLStatus != 0)
    %>
    Thank you. Your Author ID number is ??
    <%
    else
    %>
    Error - Your details have not been submitted</font></h4>
    <br>
    Please click back on your browser and try again. If you experience further difficulties please go to our <a href ="help.html">help</a> pages.<br>
    <%
    Stmt.close(); Conn.close();
    %>
    </body>
    </html>

    Hi,
    You could execute queries as many times as you want using the same connection.
    For ex;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection Conn = DriverManager.getConnection("jdbc:odbc:Novbase","","");
    Statement Stmt = Conn.createStatement();
    String Query = ("INSERT INTO Author (Title, Surname, Forename, Address, Address2, Town, Postcode, EMail, DOB, TelNo) VALUES ('" + title + "', '" + surname + "', '" + forename + "', '" + address + "', '" + address2 + "', '" + town + "', '" + postcode + "', '" + email + "', '" + dob + "', '" + telephone +"')");
    //Stmt.executeUpdate(Query) is where the records are inserted.
    int SQLStatus = Stmt.executeUpdate(Query);
    if(SQLStatus != 0)
    Query = "SELECT Forname FROM Author;";
    ResultSet name = stmt.executeQuery(Query);
    //Now name will have all the Forname fields in the database. You could retrieve that using the get methods.
    %>
    Thank you. Your Author ID number is ??
    <%
    else
    %>
    Error - Your details have not been submitted</font></h4>
    <br>
    Please click back on your browser and try again. If you experience further difficulties please go to our <a href ="help.html">help</a> pages.<br>
    <%
    Stmt.close(); Conn.close();
    %>
    I hope that can help you.
    Rajesh

  • Just activated and selected states?

    Hey all,
    I've run into a problem that I can't seem to figure out and can't find the answer on the forums either. A client wants to use the gray arrow right template (in the apple button templates) for the navigation but doesn't want it to show up in the "normal" state, just show up for selected and activated. I've looked at all the combinations but I can't figure out how to get rid of all the normal buttons sitting there. Is it possible to do this or do I have to create the button in Photoshop (in which case how do I create an "empty" button and then fill with color for selected and activated). I hope someone has a brilliant work around. Thanks in advance.
    Regards,
    Charles
    Message was edited by: Charles Glen

    Have not used the template arrow, but normnally you would just map the highligh for the item to 0 for each color so nothing shows up.
    This
    http://dvdstepbystep.com/newmap.php
    shows how to map items, and actually uses arrows in Photoshop. You create a button by dragging on the menu to create the button area

  • Number of records are different in database table and select statement

    Hi All,
    i need to fetch data from table BSID for the customer 0010000145
    if i am writing the code like -
        SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
               FROM bsid
               INTO TABLE it_bsid
               FOR ALL ENTRIES IN it_kna1
               WHERE kunnr = it_kna1-kunnr
               and bukrs = pa_bukrs.
    no. of records are 130 in the internal table it_bsid
    and actual records are 200
    but when i am hardcoding the customer no.
    i am getting the exact records
       SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
              FROM bsid
              INTO TABLE it_bsid
              FOR ALL ENTRIES IN it_kna1
              WHERE bukrs = pa_bukrs
                AND kunnr = '0010000145'.
    records in internal table = records in the database = 200.
    how it is possible.
    why the first code is not giving the correct no. of records.
    please reply asap.
    thanks in advance,
    madhu

    Madhu,
    You need to use the conversion routine...before u pass KUNNUR.
    CONVERSION_EXIT_ALPHA_RANGE_I
    CONVERSION_EXIT_ALPHA_RANGE_O
    Hope this helps..
    Chandra.

  • Ranges in FM  and select statement

    Hello All,
    I am creating a RFC enabled FM with 6 input parametres like vbeln,erdat,banfn1, lfdat , matkl and ekorg. i am  joining 2 tables eban and ebkn to fetch all the details for 10 output parameters.
    all input parametres with range low and high i defined in the import tab. and i have defined ranges for all these 6 parameters in source code like.
    TABLES : eban,ebkn.
    DATA : BEGIN OF ITAB OCCURS 0 ,
           vbeln LIKE  EBKN-vbeln,
           banfn LIKE  EBAN-banfn,
           matnr LIKE  EBAN-matnr,
           txz01 LIKE  EBAN-txz01,
           menge LIKE  EBAN-menge,
           meins LIKE  EBAN-meins,
           lfdat LIKE  EBAN-lfdat,
           werks LIKE  EBAN-werks,
           flief LIKE  EBAN-flief,
           ekorg LIKE  EBAN-ekorg,
           erdat LIKE  EBAN-erdat,
           bednr LIKE  EBAN-bednr,
           END OF ITAB .
    ranges : vbeln1 FOR ebkn-vbeln.
    vbeln1-low = p_m_vbeln_low.
    vbeln1-high = p_m_vbeln_high.
    vbeln1-sign = 'I'.
    VBELN1-option = 'BT'.
    APPEND vbeln1.
    ranges : erdat1 FOR eban-erdat.
    erdat1-low = p_m_erdat_low.
    erdat1-high = p_m_erdat_high.
    erdat1-sign = 'I'.
    erdat1-option = 'BT'.
    APPEND erdat1.
    ranges : banfn1 FOR eban-banfn.
    banfn1-low = p_m_banfn_low.
    banfn1-high = p_m_banfn_high.
    banfn1-sign = 'I'.
    banfn1-option = 'BT'.
    APPEND banfn1.
    ranges : lfdat1 FOR eban-lfdat.
    lfdat1-low = p_m_lfdat_low.
    lfdat1-high = p_m_lfdat_high.
    lfdat1-sign = 'I'.
    lfdat1-option = 'BT'.
    APPEND lfdat1.
    ranges : matkl1 FOR eban-matkl.
    matkl1-low = p_m_matkl_low.
    matkl1-high = p_m_matkl_high.
    matkl1-sign = 'I'.
    matkl1-option = 'BT'.
    APPEND matkl1.
    ranges : ekorg1 FOR eban-ekorg.
    ekorg1-low = p_m_ekorg_low.
    ekorg1-high = p_m_ekorg_high.
    ekorg1-sign = 'I'.
    ekorg1-option = 'BT'.
    APPEND ekorg1.
    select  bvbeln abanfn amatnr atxz01 a~menge
      ameins alfdat a~werks
      aflief aekorg a~erdat
      INTO  corresponding fields of table itab from eabn as a inner join ebkn
    as b on abanfn = bbanfn   WHERE
    banfn IN banfn1 or
    ebkn~vbeln in vbeln1 and
    eban~erdat in erdat1 and
    eban~lfdat in lfdat1 and
    eban~ekorg in ekorg1 and
    eban~lfdat in lfdat1.
    i am not geeting required result in itab ...what might be the problem......need help...thnks in advance....
    2) i am bit confused in AND , OR ....user can enetr ant of the 6 parameters in input he can enetr sales order(vbelen) or PR number (banfn) or even date also ......the result should fetch all the 10 output fields.....so shd i usem AND ....or shd i use OR

    {} with 'code' in it
    FUNCTION Z_BAPI_PR_DISPLAY.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(P_M_VBELN_LOW) LIKE  BAPIEBKN-SD_DOC OPTIONAL
    *"     VALUE(P_M_VBELN_HIGH) LIKE  BAPIEBKN-SD_DOC OPTIONAL
    *"     VALUE(P_M_ERDAT_LOW) LIKE  BAPIEBKN-CREATED_ON OPTIONAL
    *"     VALUE(P_M_ERDAT_HIGH) LIKE  BAPIEBKN-CREATED_ON OPTIONAL
    *"     VALUE(P_M_BANFN_LOW) LIKE  BAPIEBAN-PREQ_NO OPTIONAL
    *"     VALUE(P_M_BANFN_HIGH) LIKE  BAPIEBAN-PREQ_NO OPTIONAL
    *"     VALUE(P_M_LFDAT_LOW) LIKE  BAPIEBAN-DELIV_DATE OPTIONAL
    *"     VALUE(P_M_LFDAT_HIGH) LIKE  BAPIEBAN-DELIV_DATE OPTIONAL
    *"     VALUE(P_M_MATKL_LOW) LIKE  BAPIEBAN-MAT_GRP OPTIONAL
    *"     VALUE(P_M_MATKL_HIGH) LIKE  BAPIEBAN-MAT_GRP OPTIONAL
    *"     VALUE(P_M_EKORG_LOW) LIKE  BAPIEBAN-PURCH_ORG OPTIONAL
    *"     VALUE(P_M_EKORG_HIGH) LIKE  BAPIEBAN-PURCH_ORG OPTIONAL
    *"  TABLES
    *"      T_PR_ORDERED STRUCTURE  ZTEST OPTIONAL
    *"      T_PR_NOTORDERED STRUCTURE  ZTEST OPTIONAL
    Data Declaration
    TABLES : EBAN,EBKN.
    types : BEGIN OF ITAB ,
           vbeln LIKE  EBKN-vbeln,
           banfn LIKE  EBAN-banfn,
           matnr LIKE  EBAN-matnr,
           txz01 LIKE  EBAN-txz01,
           menge LIKE  EBAN-menge,
           meins LIKE  EBAN-meins,
           lfdat LIKE  EBAN-lfdat,
           werks LIKE  EBAN-werks,
           flief LIKE  EBAN-flief,
           ekorg LIKE  EBAN-ekorg,
           erdat LIKE  EBAN-erdat,
           bednr LIKE  EBAN-bednr,
           END OF ITAB .
    DATA: ITAB_MSGPF TYPE STANDARD TABLE OF ITAB WITH HEADER LINE.
    DATA : ITAB_MSGPF1 TYPE STANDARD TABLE OF ITAB WITH HEADER LINE.
    ranges : vbeln1 FOR ebkn-vbeln.
    if p_m_vbeln_low is not initial and p_m_vbeln_high is not initial.
      vbeln1-sign = 'I'.
      vbeln1-option = 'BT'.
      vbeln1-LOW = p_m_vbeln_low.
      vbeln1-high = p_m_vbeln_high.
      append vbeln1.
    else.
      vbeln1-sign = 'I'.
      vbeln1-option = 'CP'.
      vbeln1-LOW = '*'.
      append vbeln1.
    endif.
    ranges : erdat1 FOR eban-erdat.
    *erdat1-low = p_m_erdat_low.
    *erdat1-high = p_m_erdat_high.
    *erdat1-sign = 'I'.
    *erdat1-option = 'BT'.
    *APPEND erdat1.
    if p_m_erdat_low is not initial and p_m_erdat_high is not initial.
      erdat1-sign = 'I'.
      erdat1-option = 'BT'.
      erdat1-LOW = p_m_erdat_low.
      erdat1-high = p_m_erdat_high.
      append erdat1.
    else.
      erdat1-sign = 'I'.
      erdat1-option = 'CP'.
      erdat1-LOW = '*'.
      append erdat1.
      endif.
    ranges : banfn1 FOR eban-banfn.
    if p_m_banfn_low is not initial and p_m_banfn_high is not initial.
      banfn1-sign = 'I'.
      banfn1-option = 'BT'.
      banfn1-LOW = p_m_banfn_low.
      banfn1-high = p_m_banfn_high.
      append banfn1.
    else.
      banfn1-sign = 'I'.
      banfn1-option = 'CP'.
      banfn1-LOW = '*'.
      append banfn1.
      endif.
    ranges : lfdat1 FOR eban-lfdat.
    if p_m_lfdat_low is not initial and p_m_lfdat_high is not initial.
      lfdat1-sign = 'I'.
      lfdat1-option = 'BT'.
      lfdat1-LOW = p_m_lfdat_low.
      lfdat1-high = p_m_lfdat_high.
      append lfdat1.
    else.
      lfdat1-sign = 'I'.
      lfdat1-option = 'CP'.
      lfdat1-LOW = '*'.
      append lfdat1.
      endif.
    ranges : matkl1 FOR eban-matkl.
    if p_m_matkl_low is not initial and p_m_matkl_high is not initial.
      matkl1-sign = 'I'.
      matkl1-option = 'BT'.
      matkl1-LOW = p_m_matkl_low.
      matkl1-high = p_m_matkl_high.
      append matkl1.
    else.
      matkl1-sign = 'I'.
      matkl1-option = 'CP'.
      matkl1-LOW = '*'.
      append matkl1.
      endif.
    ranges : ekorg1 FOR eban-ekorg.
    if p_m_ekorg_low is not initial and p_m_ekorg_high is not initial.
      ekorg1-sign = 'I'.
      ekorg1-option = 'BT'.
      ekorg1-LOW = p_m_ekorg_low.
      ekorg1-high = p_m_ekorg_high.
      append ekorg1.
    else.
      ekorg1-sign = 'I'.
      ekorg1-option = 'CP'.
      ekorg1-LOW = '*'.
      append ekorg1.
      endif.
    SELECT EBANBANFN EBANBNFPO EBANMATNR EBANTXZ01 EBANMENGE EBANMEINS EBANLFDAT EBANWERKS EBAN~FLIEF
      EBANEKORG EBANERDAT EBANBEDNR EBKNVBELN INTO CORRESPONDING FIELDS OF TABLE ITAB_MSGPF
      FROM EBAN INNER JOIN EBKN ON EBANBANFN = EBKNBANFN
        WHERE EBKN~VBELN IN VBELN1 AND
              EBAN~ERDAT IN ERDAT1 AND
              EBAN~BANFN IN BANFN1 AND
              EBAN~LFDAT IN LFDAT1 AND
              EBAN~MATKL IN MATKL1 AND
              EBAN~EKORG IN EKORG1.
      LOOP AT ITAB_MSGPF.
        IF ITAB_MSGPF-BEDNR = 'ORDERED'.
        MOVE-CORRESPONDING ITAB_MSGPF TO T_PR_ORDERED.
        ELSE.
        MOVE-CORRESPONDING ITAB_MSGPF TO T_PR_NOTORDERED.
        ENDIF.
       ENDLOOP.
    if sy-subrc = 0.
      write : 'records found'.
      endif.
    ENDFUNCTION.
    {} with 'code' in it
    what might be the problem...the thing is that user can enter any of the value in input parameter and should able to get all the output parameters....plz help

  • Privacy,emails,and third party enails,and ny phone contacts blinking on and off and My internet connection working properly

    Monday November 11,2013-Dear firefox,I have several questions and several complaints also.-) why am I receiving 3 party emails and it states on this download if you don't want them to have a check Mark by this. I have done away with 3 party emails,now I get emails from all sorts of 3party emails in Mine and My dads and family private email inbox and spam, ones we didn't sign up for in our inbox and spam inappropriate emails and all sorts of emails, and also My phine after download,has slowed My internet connection and has caused , My contacts on My phone to light up and blink on and off.-) If this is suppose to be a download for My phone? and email to make it work more accurate and rapid it hasn't mine,I'm not happy with this experience at all on firefox. please email me back to Mine and My dads and familys honestly and truthfully answering abd taken care of this explaining into detail, in mine and My dads and familys private email thanks why were having so many difficulties and please send it to [email address removed for privacy] regarding this.-) I will be emailing through out the week to make sure this is honestly explained ans taken care of in a timely Manner.-) And I will not refer anyone to try Firefox -)
    ====email address removed to secure your privacy. ====

    Could you start by indicating what you downloaded and for which system (Windows, Mac, Android, etc.). Please look up the download URL in the history of the browser you used to download it so a volunteer can investigate what you got.

  • How do I add an attachment to an email and not have it show up in the body of the email?

    How do I add an attachment to an email and not have it show up in the body of the email? 

    You can right click or command-click on the image in the email and select "view as icon".
    You can change the default behavior of Mail.app so that it always shows the attachment as the icon:
    open a Terminal window (Applications > Utilities > Terminal)
    at the prompt, type in this (it must be exact, or copy and paste it in if you have trouble typing things precisely):
    defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes
    Then hit return.
    To revert to the previous default (where the attachment is visible in-line), you just enter the same command with "no" instead of "yes" at the end.
    In either case, however, how the viewer of the email sees the attachment (either as an icon or in-line) depends on how their email client is set up, not on how you send it.
    Message was edited by: arthur

  • Insert select statement or insert in cursor

    hi all,
    i need a performance compare for: insert operation in cursor one by one and select statement insert,
    for example:
    1. insert into TableA (ColumA,ColumnB) select A, B from TableB;
    2. cursor my_cur is select A, B from TableB
    for my_rec in my_cur loop
    insert into TableA (ColumA,ColumnB) values (my_rec.A, my_rec.B);
    end loop;
    also "bulk collect into" can be used.
    Which one has a better performance?
    Thanks for your help,
    kadriye

    What's stopping you from making 100,000 rows of test data and trying it for yourself?
    Edit: I was bored enough to do it myself.
    Starting insert as select 22-JUL-08 11.43.19.544000000 +01:00
    finished insert as select. 22-JUL-08 11.43.19.825000000 +01:00
    starting cursor loop 22-JUL-08 11.43.21.497000000 +01:00
    finished cursor loop 22-JUL-08 11.43.35.185000000 +01:00
    The two second gap between the two is for the delete.
    Message was edited by:
    Dave Hemming

  • Cursor Vs Select statement

    Hi,
    Please let me know what is the difference between using OPEN CURSOR and SELECT statement WITH PACAKGE additon.
    Praneeth

    Hi,
    http://wiki.sdn.sap.com/wiki/display/ABAP/SELECTStatementsandCURSORstatement-Performance+Analysis.
    and also check
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm
    cheers,
    Bhavana

  • Need to create a transaction for multiple select statements?

    Hello,
    I am a newbie and have a question about database transaction, e.g. whether/not to enclose multiple select statements (and select statements only) into a transaction.
    My database is set to transaction isolation level 2: REPEATABLE READ, where dirty read & non-repeatable read are not allowed, only phantom read is allowed.
    Now, in my code I have a number of methods that only contain select statements only. Since they are merely select statements, which don't do any modifications to the data, I am not sure if I am supposed to enclose them into a transaction.
    However, if I don't put them into a transaction will the transaction isolation level takes into effect automatically when another user is modifying the data that I am reading? In other words, I need to make sure the select statements will never do either dirty read or non-repeatable read. But I am not sure if it is necessary to enclose multiple select statements in a transaction, since I believe putting the select statements into a transaction will put some locks to the data being read which may reduce the concurrency of my application.
    Any help/advice would be very much appreciated.
    Duane

    You might want to try asking this on a forum that specific to your database. I suspect the answer can vary depending on the database and probably requires in depth knowledge of what the database does.

  • How do I make a photo a jpeg that can be attached to an email and not in the body

    How do I attach photos to an email so that they are an attachment and not in the body of the email?

    Right click on the photo in the email and select Display as Attachment from the contextual menu.  How it ends up is dependent on the email client.  You may have it show up as an attachmen before sending and the receiving end may be set to display it in the body.
    In either case be sure to set Mail to send Windows Friendly Attachments:
    If you compress/zip the file it before adding to the email it will definitely be added as an attachment. But that requires an couple of additonal steps and to assure the zipped file will be Windows friendly you would need to use the free YemuZip application.
    OT

Maybe you are looking for

  • Installin Oracle 10g rel 2 on windows 2003 server

    Hi I am trying to install oracle10g on windows 2003 server standard edition SP1. When i run the OUI i get the following error. OUI-10133:Invalid staging area. There are no top level components for Windows Nt or Windows 2000 area. And i am not able to

  • 7.01 to 7.3 Upgrade - Logon Screen - "Logon Problems? Get Support" occuring

    Hi We have upgrade our ABAP and JAVA stacks from NW 7.01 to NW 7.3. After the upgrade is the "Logon Problems? Get Support" occuring on our portals logon screen. In 7.01 this was controlled with the parameter ume.logon.logon_help - however after the u

  • Sum Distinct for a measure object

    Hi, Can anybody let me know how to go ahead and get a sum distinct for a particular measure object in a Universe?

  • Beginner - need help with custom profiles

    I've got 30-day demo versions of both Aperture and Lightroom trying to work out which is best for printing using custom profiles I've had done for a selection of textured art papers for use on my Epson R2400. I've read the printing documentation for

  • "Not Ready Error - Incompatible format (0x30, 0x05)"

    I'm trying to write a DVD and it simply isn't working. DVD-R's don't work, but DVD+R's do. I'm getting the error message that's in the topic name every time I try to do a simple "Burn" to DVD-R. Any suggestions? (I've tried restarting computer to no