Selection criteria and application on selection criteria

Hi all,
a)Deletion indicator in pur : Existing report takes values of either blank or ‘x ‘ values on input screen for field –Deletion indicator in purchase. If ‘x’ is chosen, report will show PO item details for only deleted items. If ‘blank’(no values)  is chosen , report shows all POs whether it is deleted or not deleted
Requirement : Input screen for the above field should have option of selecting
•     Only deleted items ,
•     Not deleted items only
•     Both deleted & not delted items
How to change existing code(select queries).
Thanks and Regards.
Shalem

Hi.
I guess you extended AbstractTableModel to represent the data displayed
by your table.
If this is the case, then after updating the TableModel with the data
of the second query, you should call super.fireTableDataChanged().
This method notifies all the TableModel listeners that the model has
been changed. One of the registered listeners is the JTable itself,
and the JTable redraws the table upon receiving the notification.
The are some other methods which notify listeners of a change in the
model, they all follow the fireTableXXX format.
If this is not the problem, provide some more information about the TableModel you are using, and the way you update it with the results of
the second query.
Ohad

Similar Messages

  • PWB- Connection between selection screen and Application Form

    Hi Experts,
    I need your help regarding PWB.
    My requirement is, I need to fetch date and amount placed on selection screen into application form and those values I need to print through pwb using SAPScript.
    I am new to PWB so not getting how exactly I need to do this. Please help me on this.
    Thanks in advance.
    Regards,
    Abhijeet

    Hi,
    Write LEAVE TO SCREEN 0 in the PAI of screen 500.
    MODULE user_command_0500 INPUT.
      CASE g_ok_code.
        WHEN 'BACK' OR 'EXIT'.
        Goto Selection screen
          LEAVE TO SCREEN 0.
        WHEN  'CANC' .
          LEAVE PROGRAM.
        WHEN OTHERS.
        Do Nothing
      ENDCASE.
      CLEAR : g_ok_code.
    ENDMODULE.

  • How to add Check box to a static Drop down list (bases on a selection list) and allow mulity select in it?

    Dear All,
    I created a text field in my project (Light switch 201, C#), this text field has a static list which I filled manually. when I click in this text box I get a dropp down list which allow me to chose only one value from it.
    Now what I want to do is to add a check box in this drop down list and allow mulity selection from this list. My list looks as follow:
    Can anyone help me :) ? 
    Thanks all,
    Zayed

    Something like this:
    http://www.codeproject.com/Tips/452756/Add-checkbox-inside-combobox-in-Silverlight

  • When I click on the "quick selection tool" and try to select something, it just "draws a line"

    When I click on the "quick selection tool" in Photoshop CS5, and try to select something, it just "draws a line" as if the diameter were very thin and it dones't select anything.
    Thanks.

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Changing logical database DDF select order, and restricting the selection

    HI all,
    I am using logical database DDF for a report.  I would like to do two things:
    1) Change the sort order of records so that when my GET statements are processing, they are bringing the data back in sorted by a field of my choice (such as KNA1-REGIO, or KNB1-BUSAB).
    2) I would like to add KNA1-REGIO and KNB1-BUSAB as fields for selection during the LDB's initial selection, instead of filtering out records during the GET statements. 
    FYI, I did find the field DD_BUSAB in the LDB selection structure which I can use to restrict KNB1-BUSAB.  I am still not sure how to restrict by KNA1-REGIO though.
    Any thoughts?
    Thanks so much,
    L

    Thanks for the reply Shiba.  For that particular problem, the business wants to not have to use the dynamic selection, and just have KNA1-REGIO and KNB1-BUSAB as regular select options.  Like I said as well, I did find DD_BUSAB which I can use for KNB1-BUSAB, but KNA1-REGIO is still a problem. 
    Right now I just use a CHECK statement and filter kna1-regio after the GET kna1 statement.
    Thanks again,
    L

  • Doubt about select performance and keys in Select.

    Hi Gurus.
    I need select data from VBAK with key Vbeln (VBFA has value then i can use your vbelv i think)  then with VBAK-BSTNK and VBAK-KUNNR i goin to select data from KNA1 , only field ADRNR , then i going to ADRC table with field ADRNR  like key, then i could select CITY1, STREET, HOUSE_NUM1, HOUSE_NUM2, CITY2, POST_CODE1 e CITY1.
    1- I know that tables has many data then i need advices for a good performance. suggests is welcome.
    2- If i write any thing wrong please tell me .
    3-If anybody know any key that i don´t write please tell me.
    4-If anybody know other way .suggests is welcome.
    Thanks comunitty for help.

    Hi Ronaldo,
    It seems you have everything you need. You have primary keys for VBAK, KNA1 and ADRC, so the best option in my opinion is one select from vbak inner join KNA1. As fopr ADRC it may be tricy because of the date from / to, so this might be worth going FAE. But test both posibilities before settling for one.  I don't know why you need BSTNK though
    By the way, this I assume you are writing a report? cause if you only need one record at a time I suggest you use BAPIs for customer/address.
    Cheers,
    Custodio

  • Problems with customizing select lists and popup LOVs

    Hi
    I have 2 problems about select lists and popup LOVs.
    The first one is about a select list in a tabular form.
    It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
    This worked fine but now it should also have the possibility to enter a free value.
    I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
    If the row is added by addRow, then it works fine, but if the row is is not empty
    then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
    The other problem is about a select list which should have the possibility to enter a custom value and
    also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
    I would appreciate any ideas about either of these problems.
    Tiina

    Hi,
    If you download application you can see source.
    I have not write any instructions, sorry.
    If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
    If you download my sample in zip there is uncompressed htmldbQuery library.
    You can see that and take only function htmldbAutocomplete.
    Then check jQuery UI document
    http://jqueryui.com/demos/autocomplete/#method-search
    There is method search that you can use open list just by click of input.
    I hope this helps at start.
    Regards,
    Jari

  • Select-options and Parameters, when to use what?

    Hi gurus,
    I have been using Parameters for long. Now I want to choose a range of values, which I need to retrieve from database.
    I tried using select-options. Can't I use 2 parameters that is parameter1 and parameter2 and mention query BETWEEN para1 AND
    para2, and when I use NO INTERVALS and NO EXTENSION together, it behaves same like parameter, then why did SAP gave these
    extensions.

    Hi friend,
    Simple differences between Select-options and parameters.
    Select-Options Uses keyword 'for'                         
    Parameters Uses keywords 'like', 'type'     
    Select-Options  Uses operator 'in'                         
    Parameters Uses operator '='
    Select-Options  Provides ranges for selection     
    Parameters  No ranges only single value
    Select-Options Creates selection table                              
    Parameters No selection table
    Select-Options  When i/p blank all records selected          
    Parameters   When i/p blank none is selected
    Note:
    Select options can act as parameters by using 'no-extension' 'no intervals', but all records will be selected when i/p is blank unlike parameters.
    Might be helpful..
    Thanks...
    Edited by: Guest77 on Feb 10, 2009 5:44 AM

  • Report for Sales and purchase tax (selection criteria-Tax code)

    Hi
    I have one query for sales tax details which gives me detail for all A/R invoices and taxes involved in it. But i want that while executing query system should ask tax code and gives detail of tax amount in front of item and invoice according to tax code selected.
    The query is:
    SELECT M.DocNum AS 'Inv.No ', M.DocDate as 'Date', M.CardName as 'Customer Name',L.Dscription,L.Quantity,L.Price, (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)', (SELECT Avg(TaxRate) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT % ', (SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ', (SELECT Avg(TaxRate) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST % ', (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ', (SELECT Avg(TaxRate) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as ' TAXEXEMPT % ', (SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as ' TAXEXEMPT ', (SELECT Avg(TaxRate) FROM INV4 where statype=8 and DocEntry=M.DocEntry) as ' VAT% ', (SELECT Sum(TaxSum) FROM INV4 where statype=8 and DocEntry=M.DocEntry) as 'VAT12.5 ', (SELECT Avg(TaxRate) FROM INV4 where statype=9 and DocEntry=M.DocEntry) as ' CST 2% ', (SELECT Sum(TaxSum) FROM INV4 where statype=9 and DocEntry=M.DocEntry) as ' CST @2 ', (SELECT Avg(TaxRate) FROM INV4 where statype=11 and DocEntry=M.DocEntry) as ' CENVCST % ', (SELECT Sum(TaxSum) FROM INV4 where statype=11 and DocEntry=M.DocEntry) as ' CENVCST ', (SELECT Avg(TaxRate) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as ' BED % ', (SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as ' BED ', (SELECT Avg(TaxRate) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as ' Cess% ', (SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as ' Cess ', (SELECT Avg(TaxRate) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as ' HCess % ', (SELECT Sum(TaxSum) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as ' Hcess ', L.LineTotal as 'Row Total (Rs.)',M.DocTotal as 'Doc Total' FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]') AND TargetType ! = 14 GROUP BY M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,L.Dscription,L.Quantity,L.Price,L.LineTotal,M.DocTotal ORDER BY M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,L.Dscription,L.Quantity,L.Price,L.LineTotal,M.DocTotal
    I want 2 queries which asks tax code during selection criteria for both cases sales and purchase.

    Hi Malhotra,
    Try this,
    1st remove the FROM/TO Doc. Date where Condition in your Query report.
    AND add the below where condition in your Query report.
    WHERE statype = '[%0]'
    OR
    Try this Query Report.
    SELECT
    M.DocNum as 'A/R Invoice No.',
    M.DocDate as 'Inv. Date',
    M.CardCode as 'Customer Code',
    M.CardName as 'Customer Name',
    M.NumAtCard as 'Bill No. & Date',
    ISNULL(L.ItemCode,'Service Item') as 'Item Code',
    L.Dscription,
    L.Quantity,
    L.LineTotal,
    L.TaxCode,
    L.[VatSum],
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM OINV M
    LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    WHERE
    (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]')
    AND
    L.TaxCode='[%2]'
    GROUP BY
    M.DocNum,M.DocDate,M.CardCode,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    L.LineTotal,M.DocEntry,M.[DiscSum],L.TaxCode,L.[VatSum],M.WTSum,M.DocTotal
    ORDER BY
    M.DocNum,M.DocDate,M.CardCode,M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    L.LineTotal,M.DocEntry,M.[DiscSum],L.TaxCode,L.[VatSum],M.WTSum,M.DocTotal
    Regards,
    Madhan.

  • Select records based on criteria and update those records once read

    hi,
    I am very new to bpel and DB adapters.
    I have a requirement where in I need to query two tables to fetch some records and update these selected records with a new value for field to indicate that bpel has processed these records.
    Once I select these I needs the output to be mapped to the output variable.
    I am able to select the records based on criteria , but how will i lock these records so that these records do not get processed again. This should be a very simple usecase just that I am not aware.
    Thanks,
    Robin

    Once you have finished reading the records fire an update query , update some field in the table so that it does not get picked up next time.
    if you are using polling for picking up the records, then use logical delete scenario, refer....http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_db.htm#BABEEBIH

  • KE28 - Selection Criteria and Processing

    Hello Expert,
    we  will need, when we are executing transacction ke28 that  it runs  this process  excluding some products or
    this does not consider some records
    I review some recomendations but I dont found one solution.
    1.   http://scn.sap.com/thread/607526
    2.   http://scn.sap.com/thread/1887453
    3.   http://scn.sap.com/thread/1707542
    4.   Example: Selection Criteria and Processing Instructions - Profitability Analysis (COPA) - SAP Library
    5.   77476 - Information: top-down planning
    6.   1928710 - KE28 enhancements (this note oss not apply in SAP ECC 6.0)
    7.   1933479 - KE28: Enhancements (this note oss not apply in SAP ECC 6.0)
    I try explain:
    Actual data:
    From period 001.2014
    Record type 1.
    Reference data
    From period 001.2014
    Version
    Record type Z, B.
    1.     Top-Down Distribution:Processing Instruccions
    Int this point it cant use options (DLvl and Sum) when it use range because:
    This processing rule is not allowed for the characteristic
    Procedure
    Select either "Retain" or "Copy to" for characteristics for which you have specified characteristic values.
    For characteristic that you want to summarize or distribute ("Summarize" or "Distribution level" button), you must enter an asterisk (*) on the "Selection Criteria" screen.
    => In this case, it use optios CPY.
    2.     Selection Criteria (Characteristic)
             => In this case here, it consider characteristic values and excluding values.
    Finally:   it not get good result because it not distribute.!!
    Then, ¿is it possible excluding records from derivation rule?
    ¿is there any exit in COPA for ke28?
    For example ¿is it possible excluding  records from  exit COPA0001 ?
    All your recomendations w ill be w elcome.
    Many thanks for your support and recomendations.
    Best regards,

    Dear Sap Expert,
    All your recomendations will be welcome.
    I try  explain the following scenary:
    This is actual data real (Record type Z, B from COPA)  and it has only version 0. 
    Not plan and  it does not use planning layouts or reports.
    Example:
    Client
    Material
    Product
    Sub Line
    C1
    M1
    P1
    L1
    C2
    M1
    P1
    L1
    C3
    M3
    P2
    L2
    C4
    M4
    P3
    L3
    C5
    M5
    P4
    L4 (Excluding this records or Line)
    C5
    M6
    P5
    L4 (Excluding this records or Line)
    The following entries are made on the screen 'Selection criteria':
    Characteristic       Characteristic value
    Society CO                      *
    Material                            *
    Product                            *
    Client                                *
    Sub líneas                     L1,L2,L3
    The following entries are made on the screen 'Processing rules':
    Characteristic
    Distribution level
    Transfer
    Summarize
    Society CO
    X
    Material
    X
    Product
    X
    Client
    X
    Sub líneas
    X
    When we run trasacction ke28 then  the result is not good because it does not distribute nothing.
    But
    when we change “selection criteria”
    Characteristic      characteristic value:
    Sub línea                *
    The result is ok and distribute!
    ¿How does we  exclude some records?
    Could you explain better this distribution using only transaction ke28, please? or Could you give me other note oss about distribution KE28, please?
    Many thanks for your support and recomendations.
    Best regards,
    a

  • Financial Reports and Transaction Code Selection Criteria

    When running a financial report, e.g. Trial Balance, it is possible to filter the results by Transaction Code. by clicking on the Expanded button
    So, when the Expanded button is selected, and values are selected in the Trans Code drop-down boxes, the report is run for a specific (range of) Transaction Codes.
    When the Expanded button is selected, but no values are selected in the Trans Code drop-down boxes, the report is run for ALL transaction codes
    This is exactly the same result as not selecting the Expanded button and seems totally pointless !
    The reports should work such that if the Expanded button is selected and no values are selected in the Trans Code drop-down boxes, the report is run for Journals which have no Transaction Code.
    At present, there is NO option to run a financial report for journals which have no Transaction Code, yet there are TWO options to run a report for all Transaction Codes

    Thanks, Andy. My problem was that I was thinking that if a dimension was placed in a Column (which is what I needed), it couldn't also be in the POV. Well, I guess that is true, but if you put it in the Column (in this case Month) the user will still be able to change it using the POV.
    So, I put Month in the column and for subsequent columns I used the "Relative Member" selection type to navigate up or down the hierarchy to select the appropriate member I needed.
    Thanks.

  • Variable selection criteria in the record selection

    Variable selection criteria in the record selection with Crystal Report with SQL 2005 Server tables.
    In the record selection I would like to use the value of the field u201CsSQL1u201D as part of the selection criteria instead the field name {tblReportAccessAutority.sSQL1}
    The value of the field {tblReportAccessAutority.sSQL1} is {tblSalesReporting.sJEDivisionCode} = 'I'
    I tried with formulas, SQL expressions, but nothing works.
    Record selection of the report:
    {tblReportAccessAutority.sUserID} = CurrentCEUserName
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} =  {?PARAM_IG3RD}
    and {tblReportAccessAutority.sSQL1}                           <---this is the problem line
    The field {tblReportAccessAutority.sSQL1} is not converted in the value:
    {tblSalesReporting.sJEDivisionCode} = 'I'     
    The tables tblSalesReporting and tblReportAccessAutority are joined in this report.
    Many thanks for your help.
    Roger

    How is the syntax for the selection criteria in the record selection?
    {tblReportAccessAutority.sUserID} = 'ch1scro2'
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} = {?PARAM_IG3RD}
    and SELECT {@sSQL_Condition} ???????? or
    and  {@sSQL_Condition} ??????? or how?
    The expression fir the formula {@sSQL_Condition} is:
    TOTEXT({tblReportAccessAutority.sSQL1})
    The field definition for {tblReportAccessAutority.sSQL1} is nvarchar(50).
    Thanks Roger

  • I have a 15" MacBook Pro 2.4 GHz Intel Core 2 Duo (Early 2008) running OSX Lion 10.7.5. I want to erase the Hard Drive, install Mountain Lion, and manually restore select applications and files. Is there a known procedure to do this? Any tips or feedback?

    I have a 15" MacBook Pro 2.4 GHz Intel Core 2 Duo (Early 2008) running OSX Lion 10.7.5.
    I want to erase the Hard Drive, install Mountain Lion, and manually restore select applications and files.
    Is there a known procedure to do this? Any tips or feedback?

    1. Make a backup, open App Store and purchase Mountain Lion. When its download finishes, close the installer and open Lion Diskmaker to create a bootable USB drive with Mountain Lion.
    2. Press Option key while your Mac is starting, select the external drive and open Disk Utility.
    3. Select Macintosh HD in the sidebar and erase the drive.
    4. Close the window and install Mountain Lion

  • Firmware And Application Software Upgrades For Select Cinema EOS System Cameras

    In response to strong demand from professionals working in the fields of motion picture, commercial and television production, the firmware and application software upgrades will offer enhanced color management efficiency and camera functionality, contributing to improved video production workflow efficiency.
    To learn more: click here

    Hi,
    Did you downloaded the Firmware Update from HP ePrint Center or throught the product download page?
    If you downloaded it from ePrint Center, try using the tool below:
    http://ftp.hp.com/pub/softlib/software12/COL34598/kj-88868-4/CM1410_MFP_Series_FW_Update-20111215.dm...
    If you still have any issue, and the device connected through the network, try to temporary connect the device with USB, reeboot your Mac and try launching the tool once again.
    Please let me know of any change,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • Hi. How do I get video to autoplay in Ibook Author?

    Hi. How do I get video to autoplay in Ibook Author?

  • Dynamic field names in ALV (referencing to the month)

    Hi, I have 12 fields in my ALV, named Monthly Sales 1, Monthly Sales 2 and so on until Monthly Sales 12. Monthly Sales 12 corresponds to the current month and Monthly Sales 1 is the current month minus 11 months (in terms of the month.) So the user h

  • Sync not going through all steps

    trying to move to the cloud-updated operating system on ipad2 but now syncing process remaims in step2-synching calendars.  Any advice

  • BB curve email setup problem.

    Hi folks I am trying to help a collegue setup her email on her Curve. When I type in her email address and password for her email I get the response..."Blank username. Type a valid username."The email is the same one used to login to Appwrld and one

  • Ipod touch unresponsive screen

    i have not used it for a while, i have recharged it and cannot do a thing with it, i have tried the pressing home/sleep buttons on a number of recommended ways and times, from 5 secs to 1 minute, without success, i have taken it back to factory state