How to print selected statements

see i have use two internal tables likp and lips.
by using wadat_ist in select option to retrieve
vbeln in the same likp table.by using the same
vbeln in lips i have to retrieve flimg.Even i have
got the answer i cannot able to print the wadat_ist
field in likp table which is kept in select-options?
send the coding plz

Do you mean you want to print out the values entered into your select option for WADAT_IST?  Your question isn't very clear.
Select-options are just internal tables with a specific format:-
SIGN
OPTION
LOW
HIGH.
You should be able to debug through from your selection screen and see the values and hopefully figure out how to print them.
Gareth.

Similar Messages

  • How to print selected cells in numbers

    Does anyone know how to print selected cells in a Numbers spreadsheet, rather than printing the entire sheet?
    Also, how to save the selected cells as a pdf file without saving the irrelevant cells?

    Hi nmygs,
    How about this?
    Cell A1 is a Pop-Up Menu containing names of the various "Departments"
    Other cells contain formulas to find a match for whatever is chosen in A1 from the Very Big Data Table.
    Reusable Print Me table.
    Regards,
    Ian.

  • How to print selection only

    I saw this question on another forum and realized that I have no idea how to print 'selection only'. The only options in the file>print menu are for the pages desired. I see no way to print only the selected portion of a page. There must be a way, but I do not seem to be able to find the answer.
    Thanks, Fran

    I tried it with 'Grab' but the printout was too large. I then discovered that if you use 'Snag It' you can accomplish the same thing. Press Shift-command-3 for the whole screen or Shift-command-4 for a part of the screen. this creates a PNG image which when opened in 'Preview' can be printed. Rather complicated, but it does work. Thanks for steering me in the right direction.
    Fran

  • How to write select statement in XSL-FO type XML program

    Hi All,
    Could you please anyone explain briefly how to write select statement in XSL-FO XML Program.
    Requirement:
    In the seeded program, OAF page is creating one XML file and through XSL-FO type XML Pulisher loading data and generating PDF output. as per the requirement some of the informations are missing in the XML file and for modifing the OAF page will be taking someting. we are planing to write a select query inside the XSL-FO program to get the required information.
    Could you please help me how to write a select statement inside the XSL-FO type programs.
    Please give me some example program for this...
    Thanks in Advance.
    Regards,
    Senthil

    Hi ,
    Please check the below code and modified plant as select-option
    Check the below code :
    tables : mara,
    mast.
    data : begin of i_data occurs 0,
    matnr like mara-matnr,
    end of i_data.
    select-options : s_matnr for mara-matnr,
                           <b>S_werks for mast-werks.</b>
    start-of-selection.
    select a~matnr into table i_data
    from mara as a inner join mast as b on amatnr = bmatnr
    where <b>b~werks in s_werks</b>
    and a~matnr in s_matnr
    and a~mtart = 'AA'
    or a~mtart = 'UT'
    and b~stlan = '1'.
    loop at i_data.
    write:/ i_data-matnr.
    endloop.
    Hope you got it.
    Thanks
    Seshu

  • How to write Select statement for this codition

    I need to check whether SGTXT contains BELNR value.
    SGTXT is a text field and It should be matched with BELNR
    How to write select statement for this.
    Select AUGBL AUGDT into t_BSAD
    from BSAD
    where SGTXT should have the given BELNR Value.
    Plz note : Here I cannot give as SGTXT = BELNR as coz BELNR have only 10 digits.

    Hi,
    data temp(12).
    concatenate '%' belnr '%' into temp.
    Select AUGBL AUGDT into t_BSAD
    from BSAD
    where SGTXT like temp.
    If belnr is having multiple values,just create a internal table as follows.
    types : begin of ty,
            belnr....
            temp(12),
            end of ty.
    data itab_ type standard table of ty.
    data wa type ty.
    loop at itab into wa.
    concatenate '%' wa-belnr '%' into wa-temp.
    modify itab from wa index sy-tabix transporting temp.
    endloop.
    Change your select statement accordingly.
    Kindly reward poits if it helps.

  • How to write SELECT statement using tables ekko,ekpo and eket?

    Hi,
    I got a problem in  performance tuning using below tables?
    how to write SELECT statement using tables EKKO,EKPO and EKET and in conditon ( WHERE clause)  use only fields 
                        ekko~ebeln       IN ebeln
                       ekko~loekz       EQ ' '
                       ekko~lifnr       IN lifnr
                       ekko~ekorg       IN ekorg
                      ekko~ekgrp       IN ekgrp          
                       ekpo~werks       IN werks
                       ekpo~pstyp       EQ  '3'
                       ekpo~loekz       EQ  space
                       ekpo~elikz       EQ  space
                       ekpo~menge       NE  0
                     eket~rsnum       NE space.
    Thanks in Advance.
    bye.

    Hi,
    ekko~ebeln IN ebeln
    ekko~loekz EQ ' '
    ekko~lifnr IN lifnr
    ekko~ekorg IN ekorg
    ekko~ekgrp IN ekgrp
    ekpo~werks IN werks
    ekpo~pstyp EQ '3'
    ekpo~loekz EQ space
    ekpo~elikz EQ space
    ekpo~menge NE 0          " Remove this from where clause
    eket~rsnum NE space.    " Remove this from where clause
    ' instead delete the entries after fetching into the table
    DELETE it_itab WHERE menge EQ '0' AND rsnum EQ ' '.
    Regards
    Bala Krishna

  • How to print remunration statement in PDF

    Hi all,
    I just wanted to inquire if there is a way to print the remuneration statement in PDF format. I mean I can print the statements but if I want to see them in pdf can this be done.
    Thanks

    Hi Nazeer,
    If you are looking for Portal based.. here it is...
    Follow the below customization:
    Personnel Management » Employee Self-Service -> Service-Specific Settings -> Benefits and Payment -> Salary Statement
    Alo check the below features
    HRFOR: Insert the constant $CEDT$ - this is how you tell to the program that you want to select the remuneration statement from the portal.
    EDTIN: Need to insert the variant you create to call the remuneration statement.
    EDPDF: Provide Salary Statement as PDF File in Internet.
    Hope this will help.
    Regards
    Ghouse

  • How to print "selected objects" in InDesign CS4?

    I have a large calendar in ID CS4. I want to print and view some of the text in its actual size. My printer can only print A4 documents. How can I print only selected texts and objects in its actual size in this application?
    Although copying and pasting the text in another A4 sized document (IDCS4) would do it but there is no native support of "printing selection" but Microsoft's "Word' has!

    I think the layer option is best.
    Select what you want then open the layers panel and create a new layer. Select the objects you want to print, then in the layers panel you will see a small square to the right of the layer name. Alt Drag that to the new layer to copy the items, you can then turn off the visibility to the other layer and just print out the new layer.
    Then switch the visibility of the layers around to view the original artwork.

  • How to print selected (highlighted) info from the internet

    For some reason, this mac has a hard *$$ time just printing what I want it to. I select something on the internet using command "A". Then I click command "P". The screen that gives printing specifications doesn't have a simple tab that says "print selection". How can I get this darn thing to simply print what I have selected?

    Hi,
    OS X isn't very printer friendly.
    Print Selection Service 1.0 (freeware on VersionTracker) will add a "Print Selection" choice to the Services menu in the Safari menu.
    http://www.versiontracker.com/dyn/moreinfo/macosx/24202
    John

  • How to print selected parts of a webpage

    How can I print selected parts of a webpage (or more than one), without printing whole pages? Screen shot is nor effective for what I want.

    See Print Selection Service here:
    http://www.schubert-it.com/free/

  • "Check Statistics" in the Performance tab. How to see SELECT statement?

    Hi,
    In a previous mail on SDN, it was explained (see below) that the "Check Statistics" in the Performance tab, under Manage in the context of a cube, executes the SELECT stament below.
    Would you happen to know how to see the SELECT statements that the "Check Statistics" command executes as mentioned in the posting below?
    Thanks
    ====================================
    When you hit the Check Statistics tab, it isn't just the fact tables that are checked, but also all master data tables for all the InfoObjects (characteristics) that are in the cubes dimensions.
    Checking nbr of rows inserted, last analyzed dates, etc.
    SELECT
    T.TABLE_NAME, M.PARTITION_NAME, TO_CHAR (T.LAST_ANALYZED, 'YYYYMMDDHH24MISS'), T.NUM_ROWS,
    M.INSERTS, M.UPDATES, M.DELETES, M.TRUNCATED
    FROM
    USER_TABLES T LEFT OUTER JOIN USER_TAB_MODIFICATIONS M ON T.TABLE_NAME = M.TABLE_NAME
    WHERE
    T.TABLE_NAME = '/BI0/PWBS_ELEMT' AND M.PARTITION_NAME IS NULL
    When you Refresh the stats, all the tables that need stats refreshed, are refreshed again. SInce InfoCube queries access the various master data tables in quereis, it makes sense that SAP would check their status.
    In looking at some of the results in 7.0, I'm not sure that the 30 day check is being doen as it was in 3.5. This is one area SAP retooled quite a bit.
    Yellow only indicates that there could be a problem. You could have stale DB stats on a table, but if they don't cause the DB optimizer to choose a poor execution plan, then it has no impact.
    Good DB stats are vital to query performance and old stats could be responsible for poor performance. I'm just syaing that the Statistics check yellow light status is not a definitive indicator.
    If your DBA has BRCONNECT running daily, you really should not have to worry about stats collection on the BW side except in cases immediately after large loads /deletes, and the nightly BRCONNECT hasn't run.
    BRCONNECT should produce a lof every time it runs showing you all the tables that it determeined should have stats refreshed. That might be worth a review. It should be running daily. If it is not being run, then you need to look at running stats collection from the BW side, either in Process Chains or via InfoCube automatisms.
    Best bet is to use ST04 to get Explain Plans of a poor running InfoCube query and then it can be reviewed to see where the time is being spent and whether stats ate a culprit.

    Hi,
    Thanks, this is what I came up with:
    st05,
    check SQL Trace, Activate Trace
    Now, in Rsa1
    on Cube, Cube1,
    Manage, Performance tab, Check Statistics
    Again, back to st05
    Deactivate Trace
    then click on Displace Trace
    Now, in the trace display, after scanning through  the output,
    “ … how do I see the SELECT statements that the "Check Statistics" command executes …”
    I will appreciate your help.

  • How to write select statement directly in java file instead of using vo

    Hi,
    I have written the following code in my java file:
    if(empvo==null)
    empvo=worklistamimpl2.createViewObject("InvoiceVO", "xxetfc.oracle.apps.icx.icatalog.shopping.server.InvoiceVO");
    if(empvo!=null){
    OAViewObject oaviewobject2 = (OAViewObject)worklistamimpl2.findViewObject("InvoiceVO");
    OAViewObjectImpl oaviewobjectimpl = (OAViewObjectImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("InvoiceVO");
    oaviewobject2.setWhereClause("Invoice_num="+" ' " + s + " ' ");
    oaviewobjectimpl.executeQuery();
    String abc = (String)oaviewobjectimpl.first().getAttribute("Invoice_id");
    It is giving me error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select invoice_id from ap_invoices_all) QRSLT WHERE (Invoice_num='ERS15022012_3')
    1. Why is this error coming.. how to solve this
    2. Instead of using vo how can i write select statement directly in the above code
    Thanks,
    Edited by: user10873676 on Apr 9, 2012 1:18 AM
    Edited by: user10873676 on Apr 9, 2012 1:21 AM

    it says java.sql.SQLSyntaxErrorException: ORA-00904: "INVOICE_NUM": invalid identifier
    where as invoice_num column is present in my table

  • How to write select statement into SCRIPT editor

    hello,
    i build a sap script for purchase order printing for exporting.
    now after all po order print fine then our client want some more should be print into layout regarding po header.
    At the soul my q is can i write select query into script editor itself.
    thanks and regards
    amit.

    You cannot write your select statement inside your SAPscript, to overcome this SAP has provided us an option of calling sub-routines.. go through the below example
    Go through this example
    Ex. SAPSCRIPT
    /: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
    /:USING &<field name>&
    /:CHANGING &<field name1&    "It will be returned back from sub-routine
    /:ENDPERFORM
    Then create subroutine pool program(of your own name) and you have to write the code.
    FORM ><subroutine name> tables int_cond structure itcsy
    outt_cond structure itcsy.
    data : value(20), value1(20). "do your own declarations
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    *****Write your select statement
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1. 
    ENDFORM.
    Just rough idea given above.
    Regards,
    SaiRam

  • How to write select statement ?

    Hi,
    i have requirement like below :
    In selection screen we have material number as selection options  and plant as single entry.
    Based on the input.
    We have to extract  the material number and plant based on MTART = AA or UT in MARA table and STLAN = 1 in MAST table.
    how to write a select statment to pick values from selection option and extract those material and plant which fullfill above conditions.
    Please let me know..
    its urgent
    please help..
    i have written code like below..
    types: begin of x_it_mat,
           matnr type mkal-matnr,
           werks type mkal-werks,
           stlan type mast-stlan,
           end of x_it_mat.
    types: begin of x_it_mat1,
           matnr type mkal-matnr,
           werks type mkal-werks,
           mtart type mara-mtart,
           end of x_it_mat1.
    data : it_mat type table of x_it_mat,
           wa_mat like line of it_mat.
    data : it_mat1 type table of x_it_mat1,
           wa_mat1 like line of it_mat1.
    TABLES: MKAL , MAST , MARA.
    SELECTION-SCREEN BEGIN OF BLOCK matnr
                              WITH FRAME TITLE TEXT-001.
    select-options :
      so_matnr for mkal-matnr.
    SELECTION-SCREEN END OF BLOCK matnr.
    SELECTION-SCREEN BEGIN OF BLOCK plant
                              WITH FRAME TITLE TEXT-002.
    parameter p_werks type mkal-werks.
    SELECTION-SCREEN END OF BLOCK plant.
    select matnr
           werks
           stlan
           from mkal INTO table it_mat
           where matnr in so_matnr
           and werks = p_werks.
    after this how to write another select statement to extract material by satisfiying above 2 conditions..

    Hi ,
    Please check the below code and modified plant as select-option
    Check the below code :
    tables : mara,
    mast.
    data : begin of i_data occurs 0,
    matnr like mara-matnr,
    end of i_data.
    select-options : s_matnr for mara-matnr,
                           <b>S_werks for mast-werks.</b>
    start-of-selection.
    select a~matnr into table i_data
    from mara as a inner join mast as b on amatnr = bmatnr
    where <b>b~werks in s_werks</b>
    and a~matnr in s_matnr
    and a~mtart = 'AA'
    or a~mtart = 'UT'
    and b~stlan = '1'.
    loop at i_data.
    write:/ i_data-matnr.
    endloop.
    Hope you got it.
    Thanks
    Seshu

  • How to make select statement wait

    how can i make the select statement wait until there is not lock on the table( or a row) and return the row once the lock is released is there is a lock on it
    example
    i have a Table t1 with columns c1 and c2
    process1
    stmt1 as select c1 from t1 where c1=1
    process2
    select c1 from t1 where c1=1
    /*some operations */
    update t1 set c2=4 where c1=1
    when process1 is executed it has to wait for process 2 to complete the return a row since it has to be synchronised and are run from different location
    thanks in advance

    You want to get around session consistent select. This is such a nice feature actually. But if you really want to do it, you can fool process 1 by telling it you want to do an update.
    This is process 2:
    SQL> update emp set sal=900 where empno=7369;
    1 row updated.Note I do not commit yet.
    This is process 1, with a "select for update".
    SQL> select sal from emp where  empno=7369 for update wait 10;
    select sal from emp where  empno=7369 for update wait 10
    ERROR at line 1:
    ORA-30006: resource busy; acquire with WAIT timeout expired"wait 10" tells Oracle to wait 10 seconds to get a lock.
    Now process 2 commits within the 10 seconds. The result of process 1 is then:
    SQL> select sal from emp where  empno=7369 for update wait 10;
           SAL
           900
    SQL> commit;You have to issue a commit or rollback in process 1 immediately to release the lock that process 1 laid on the record.

Maybe you are looking for

  • How do I recover data from my macbook pro with a disk that can't be repaired?

    I'm in need of a data recovery solution.  My Macbook pro (17") running OS X Mountain Lion won't boot and is stuck on the gray startup screen with the apple icon and spinning gear and disk utility states "Error: Utility can't repair this disk.  Back u

  • Taxes in Purchase order

    Hi, in Purchase Order => invoice tab => taxes (button) is not showing any taxes. but all taxes are visible in "ftxp" can any one tell me the setting where i missed out. Thank you Regards Sr

  • Black Ink problem

    I have a HP Photosmart 5520 that has stopped printing in black. Having replaced the ink cartridge with a genuine HP cartridge it still refuses to print in black. I have done upteen clean printheadts to ne effect. When I print out my Print diagnostics

  • Keynote 6.2.2 crash on startup

    Hi, I have a situation where a presentation is crashing Keynote as soon as it is opened. Looking in the console I get the following 29/09/14 10:33:36,214 Keynote[14287]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reas

  • Ios 7.4 HELP ME PLEASE!

    hello, i have an iphone 5s and today i started the iOS 7.4 update and went to eat ... after one hour I saw that my iphone was off. will pique button ignition on but dont lit .. i thought it was the battery so i started to charge it in my laptop and m