Query Selection Criteria

Hi Gurus,
In the cube we have Valid from and Valid To date. in the Selection Criteria user needs to select Period (mm/yyyy) valid from and validto i e Start date and End date. If I am using intrvel in Valid from variable definition i .e selection criteria we are selecting the valid from start date and end date. We need to select valid from Start date and Valid to End date. how will we do this in the query.
proper response will be rewarded with points.
Thanks
RK

Hi,
Create a variable and select the options as per your requirement wheather single value or multiple single values or interval range etc on the infoobject in the query which you want to see.
Cheers,
Malli.........

Similar Messages

  • Query selection criteria - changing description field..?

    Hi Experts,
    i want to change description filed in user query selection criteria form..
    i have 3 fileds  :
    docdate - this filed i want to chage 'Document First'
    docdate - This filed i want to change 'Document Last'
    name -
    my problem: screenshot
    [Click Here|http://img638.imageshack.us/img638/3466/userqueris.jpg]

    The system always asks with the description of the field you refer to with the parameter variable in the select statement.
    I sometimes defined a UDT only for getting the appropriate title in the parameter entering window. The table has no data; I used it only for its field names.
    (The parameter request can be placed inside a comment and the entered value is used setting an SQL variable like this:
    declare @d datetime
    /*select t.createdate from ordr t where t.createdate=[%0]*/
    set @d=[%0]
    This SQL variable can be used later in the real query.)
    (But then you loose the possibility to choose from the u2018List of existing valuesu2019

  • Help Query selection criteria

    Hi all experts,
    I have a problem making my selection criteria on this query for the user to input the numbers 1 to 10 variables
    is there anything that can help me to resolve this
    I have tried many times but it just does not work
    Query me this:
    SELECT
    T1.[DocEntry], T0.[CardCode], T0.[CardName], T0.[DocDate], T1.[ItemCode], T1.[Dscription], T1.[Price], T2.[LastPurPrc]T1.[NumPerMsr] AS 'Last Purchase Price', (T1.[Price] -  (T2.[LastPurPrc]T1.[NumPerMsr])) AS 'Variance', (((T1.[Price] - (T2.[LastPurPrc]T1.[NumPerMsr]))/(T2.[LastPurPrc]T1.[NumPerMsr]))*100) AS 'Variance%', T3.[SlpName]
    FROM
    OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    WHERE
    (T2.[LastPurPrc] > 0) AND Month(T0.[DocDate]) = Month(Getdate()) AND Year(T0.[Docdate]) = Year(Getdate()) AND ((((T1.[PriceBefDi] - (T2.[LastPurPrc]T1.[NumPerMsr]))/(T2.[LastPurPrc]T1.[NumPerMsr]))*100) Between >= '[%0]'AND <= '[%1]')
    Thanks

    Try this:
    SELECT
    T1.DocEntry, T0.CardCode, T0.CardName, T0.DocDate,
    T1.ItemCode, T1.Dscription, T1.Price,
    T2.LastPurPrc*T1.NumPerMsr AS 'Last Purchase Price',
    (T1.Price - (T2.LastPurPrc*T1.NumPerMsr)) AS 'Variance',
    (((T1.Price - (T2.LastPurPrc*T1.NumPerMsr))/(T2.LastPurPrc*T1.NumPerMsr))*100) AS 'Variance%',
    T3.SlpName
    FROM
    OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    WHERE
    (T2.LastPurPrc > 0) AND Month(T0.DocDate) = Month(Getdate())
    AND Year(T0.Docdate) = Year(Getdate())
    AND ((((T1.PriceBefDi - (T2.LastPurPrc*T1.NumPerMsr))/(T2.LastPurPrc*T1.NumPerMsr))*100)
    Between  [%0] AND  [%1])

  • Duplicate Entries in query Selection Criteria

    Hi,
    I am having Infoobject 'period' in Query Filter,in drop down of selection it is showing Two values for each period.
    This infoobject is fetching data from master table T009B,This table is having Two calenders for period.
    Please let me know what can I do to restrict to single entry for each period.
    Thanjks
    Sudhakar

    Hi Sudhakar
    You can use Customer exit variable if not already using. That way you can remove duplicate entries via little ABAP.
    You can go through the following link for the steps involved in creating a Customer Exit variable.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09d4588-3832-2c10-e185-f778d9dbea85?quicklink=index&overridelayout=true
    Regards,
    Kush Kashyap

  • Can we use Selection Criteria Screen to tell Query which SQL script to run?

    Dear All,
    When I run this code, it gives me the screen below:
    declare @ScanOp4 nvarchar (30)
    set @ScanOp4=
    /*select T3.U_ScanOp4 from [dbo].[@SCANNING] T3 where T3.U_ScanOp4*/ '[%0]'
    I have used Tools -> Customization to define a UDT and UDF
    Query - Selection Criteria
    Invoice / Credit Note?            [----------------- ]
                                     (there's a drop-down arrow with 2 choices:
                                      Inv = Invoice
                                      CN  = Credit Note
    [OK]       [Cancel]
    Now, I have 2 very similar queries; the only difference is that they use different tables because one is for
    Purchases (OPCH/PCH1), and the other is for Credit Memos (ORPC/RPC1)
    I want to put the above declaration together with my 2 queries all in a single query so that:
    (a) If I select 'Invoice', the Invoice part is executed and only invoices are displayed,
    (b) If I select 'Credit Note', the Credit Note part is executed and only Credit Notes are displayed.
    Do you think such a Query is possible? If yes, please give me an idea how I can achieve it.
    I don't want to use UNION ALL because one of my fields is a LINK field to which I have linked all PDF Scanned documents.
    I want to preserve the links, since this is the reason I'm writing the query.
    Thanks
    Leon Lai
    Here are my skeleton codes
    1st Query: User selects 'Invoice' -
    SELECT
    T0.[TaxDate] AS 'Doc Dt',
    T5.[TransType] AS 'Txn Type',
    T0.[DocNum] AS 'Doc No.',
    T0.[DocTotal] AS 'Amount'
    FROM [dbo].[OPCH] T0
    INNER JOIN [dbo].[PCH1] T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN [dbo].[OJDT] T5 ON T0.[TransID]  = T5.[TransID]
    2nd Query: User selects 'Credit Note' -
    SELECT
    T0.[TaxDate] AS 'Doc Dt',
    T5.[TransType] AS 'Txn Type',
    T0.[DocNum] AS 'Doc No.',
    T0.[DocTotal] AS 'Amount'
    FROM [dbo].[ORPC] T0
    INNER JOIN [dbo].[RPC1] T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN [dbo].[OJDT] T5 ON T0.[TransID]  = T5.[TransID]

    Try this:
    declare @ScanOp4 nvarchar (30)
    set @ScanOp4=
    /*select T3.U_ScanOp4 from [dbo].[@SCANNING] T3 where T3.U_ScanOp4*/ '[%0]'
    If @ScanOp4='Inv'
    SELECT
    T0.[TaxDate] AS 'Doc Dt',
    T5.[TransType] AS 'Txn Type',
    T0.[DocNum] AS 'Doc No.',
    T0.[DocTotal] AS 'Amount'
    FROM [dbo].[OPCH] T0
    INNER JOIN [dbo].[PCH1] T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN [dbo].[OJDT] T5 ON T0.[TransID]  = T5.[TransID]
    If @ScanOp4='CN'
    SELECT
    T0.[TaxDate] AS 'Doc Dt',
    T5.[TransType] AS 'Txn Type',
    T0.[DocNum] AS 'Doc No.',
    T0.[DocTotal] AS 'Amount'
    FROM [dbo].[ORPC] T0
    INNER JOIN [dbo].[RPC1] T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN [dbo].[OJDT] T5 ON T0.[TransID]  = T5.[TransID]

  • Can we make the SELECTION CRITERIA BOX act as a Menu / Submenu system?

    Dear All,
    I have written several queries.
    For user convenience, I wish to combine all related queries in a single Query and use the Selection Criteria box as a Menu System to select which Query script to run.
    I can already do this by the use of variables.
    But all  variables are shown in the Selection Criteria Box, and  users must fill in only the relevant boxes.
    It's not a problem, but as the number of Queries grows, the Selection box becomes quite long and distracting.
    I wonder if it is possible to create a sub-menu?
    Example
    Let's say: When you run the Query, it gives this Selection Box:
    Query - Selection Criteria
    Choose a Report                                  [                     ]
                                                    There are 2 choices:
                                                           (a) AP Aging by Document Date
                                                           (b) AP Aging by Posting Date
    [OK]                [Cancel]
    When you choose AP Aging by Doc Date, this Selection Box should pop up:
    Query - Selection Criteria
    Document Date                                  [                     ]
    [OK]                [Cancel]
    And when you choose AP Aging by Posting Date, this Selection Box should pop up:
    Query - Selection Criteria
    Posting Date                                  [                     ]
    [OK]                [Cancel]
    Please let me know if this kind of menu / sub-menu system is possible using SQL only?
    I tried (see code below), but all variables appear on the initial screen (not what I expect) - like this:
    Query - Selection Criteria
    Choose a Report                             [                     ]
    Document Date                               [                     ]
    Posting Date                                [                     ]
    [OK]                [Cancel]
    Thanks
    Leon Lai
    Here's a test code: (not exactly for the illustration above)
    declare @apaging1 varchar(max)
    set @apaging1 =
    /*select T6.U_apaging1 from [dbo].[@APAGING] T6 where T6.U_apaging1*/ '[%0]'
    /* @apaging1 : [0 = Summary]  [Detailed]  */
    If @apaging1 = ' ' set @apaging1 = 'Sum'
    If @apaging1 = 'Sum'
    GOTO Screen1
    If @apaging1 = 'Det'
    GOTO Screen2
    Screen1:
    begin
    declare @aptxn nvarchar (30)
    set @aptxn =
    /*select T9.U_aptxn from [dbo].[@APTRXNS] T9 where T9.U_aptxn*/ '[%9]'
    /*@aptxn: [0 = PU] [PC] [Both]*/
    If @aptxn = ' ' set @aptxn = 'PU'
    end
    Screen2:
    begin
    declare @taxdt1 date
    set @taxdt1=
    /*select T1.[TaxDate] from [dbo].[OPCH] T1 where T1.[TaxDate]*/              '[%5]'
    end

    Dear István Korös 
    Thanks a lot.
    Sad  
    At least, your answer will save me a lot of time searching for the unattainable.
    Best Regards
    Leon Lai

  • How to count no. of days from selection criteria in BEx

    hi,
    I need to do some calculations in query and one of requirements is to count number of days for which query was executed (day period is in query selection criteria)
    I would like to use it for calculated KF definition.
    Does somebody knows how to get this number?
    Regards,
    Andrzej

    Hi Andrzej,
    The answer is correct - you have to do it in user-exit. You have to learn it becouse its a very powerfull solution and is very ofen used in reporting.
    See help ... http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm
    In the interface of this exit you will find all query selections + sy-datum = what you need.
    Pozdrowka
    Wojtek

  • BEx Selection Criteria need to be change

    Hi friends,
    I need to change the Bex Query Selection Criteria from Date to Year.
    Kindly Help me out on this Issue.
    Thanks in Advance
    Priyanka

    Hi,
    Let the variable for 0CALDAY be ZVARDAY of Processing type Customer Exit Interval
    Let the variable for 0CALYEAR be ZVARYER of User Entry single value
    Add the 0CALYEAR to the Filter and attach the variable ZVARYER
    Go to Cmod transaction and add the code to the variable exit
    check the code with an Abap Consultant.
    WHEN 'ZVARDAY'.
        IF i_step = 2.
          READ TABLE i_t_var_range INTO zrange
            WITH KEY vnam = 'ZVARYER'.
          lyear = zrange-low+0(4).
            CONCATENATE lyear '0101' INTO l_s_range-low.
            CONCATENATE lyear '1231' INTO l_s_range-high.
          APPEND l_s_range TO e_t_range.
    regards
    Happy Tony

  • Can we change parameter descriptions in Selection Criteria. YES we can!

    Dear All,
    I have been struggling some time on some way to change the parameter descriptions in the Query - Selection Criteria screen.
    While doing numerous tests on trial-and-error, I accidentally hit upon a solution which appears to work!
    To change a parameter description, we simply have to reverse the order in which the WHERE clause is written.
    Please refer to the Query below:
    I used Customization Tools to create a UDT called @SCANNING
    and a UDF called U_ourref
              Title   : ourref
              Description : Our Reference
    If I use WHERE clause the conventional way, ie
    WHERE
    T1.[ImportLog] = @ourref
    I get the following Selection Criteria screen:
    Query - Selection Criteria Screen
    Import Log         .........................
    [OK]   [Cancel]
    If I write WHERE clause by interchanging the 2 sides of the equality, i.e
    WHERE
    @ourref = T1.[ImportLog]
    I get this screen:
    Query - Selection Criteria Screen
    Our Reference         .........................
    [OK]   [Cancel]
    Well! Is this not a way of changing the parameter description?
    And it works!
    My Problem
    The solution is nice. However, I wanted to use LIKE instead of EQUAL TO
    in order to allow Query to search for similar items.
    With the conventional clause, I can use '%[%1]%' in declaration and LIKE in the WHERE clause.
    With the reverse clause, I cannot figure out how to do it.
    Could anybody help?
    Thanks
    Leon Lai
    declare @ourref nvarchar (30)
    set @ourref =
    /*select T2.U_ourref FROM [dbo].[@SCANNING] T2 where T2.U_ourref*/ '[%1]'
    SELECT
    T0.[TaxDate] AS 'Doc Dt',
    T0.[DocNum] AS 'SAP Ref.',
    T0.[CardName]  AS 'Supplier Name',
    T0.[DocTotal]  AS 'Amount',
    T1.[ImportLog] AS 'Our Ref',
    T1.[BlockNum]  AS 'Reqn No.'
    FROM [dbo].[OPCH] T0
    INNER JOIN [dbo].[PCH1] T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN [dbo].[OJDT] T2 ON T0.[TransID] = T2.[TransID]
    WHERE
    @ourref = T1.[ImportLog]

    Dear István Korös  ,
    My main concern was modifying the Parameter Description in the Selection Criteria Screen.
    I certainly tried your suggestion, and it works, but unless I modified the WHERE Clause
    from :
    T1.[ImportLog].@ourref
    to:
    @ourref = T1.[ImportLog]
    the Selection Criteria screen shows:
    Query - Selection Criteria Screen
    Import Log         .........................
    [OK]   [Cancel]
    It is only after I have 'primed' the system by using:
    WHERE
    @ourref = T1.[ImportLog]
    that the Parameter Description changes to:
    Query - Selection Criteria Screen
    Our Reference         .........................
    [OK]   [Cancel]
    I can then use your line:
    WHERE T1.[ImportLog] like '%'@ourref'%'
    without any problem. The amended Parameter Description remains!
    I noticed something strange:
    Once I have 'primed' the system, it always shows the amended description on the Selection screen!
    Before priming, it always showed the system description.
    Don't know why?
    Anyway, I found a trick to 'prime' the system in all my queries to make sure the amended name appears
    on the Selection screen. I write:
    WHERE
    (@ourref    = T1.[ImportLog] OR
    T1.[ImportLog] like '%'@ourref'%')
    The first line is just for priming to ensure the Parameter Name will be changed.
    The 2nd line is the correct code to use.
    With this trick, we can change the Parameter Descriptions to whatever name we want.
    The only problem is that you lose the function List of available values.
    Thanks a lot,
    Leon Lai

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • A/r Invoice report query based on posting date selection criteria

    Hi experts,
    I am trying to write a query to get the A/r invoice report including Docnum, Docdate, cardname, project, linetotal, taxcode, taxtotal.
    and i tried the below query
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName],T1.[LineTotal] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    In this query ,
    1) i am unable to sum up the linetotal( total before tax) 
    2) also unable to fetch the sum of taxamount.
    3) its more important , the above query will  me docnum , when i try to open that doc, it opens the 2007 docments. whereas the other details are correct like docdate, amount and all.
    example:   from date: 1/04/2011    to date: 28/07/2011
    Docnum    Docdate  cardname   linetotal.... etc
        2              1/04/11   XYZ              5000
    when i click the 2 (docnum)  it opens me the 04/04/2007  documents.
    how to limit the doc within the periods given?
    thanks in advance
    Dwarak

    Hi Rahul/Gordon,
    thanks for your query's .
    additionally,   i want this query without the A/r invoices whichever having credit memo as target doc. 
    and
    i have selection criteria as  T0.[U_Sec_Category] = '[%2]'  and this has 3 values like  1)CIM 2)BIN 3)DMP
    among these  CIM should be seen only only user1  and BIN & DMP only by user2.
    can u plz get me this
    thanks,
    Dwarak

  • The parameter name [...] in the query's selection criteria does not match..

    Hi all,
    I'm trying to pratice EJB 3 (which I learnt at school), with JSF and JPA, but i'm really stuck with that error :
    Exception [TOPLINK-6094] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.QueryException
    Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query.
    Query: ReadAllQuery(oracle.datamodel.Employees)
    I will try to explain clearly what i'm trying to do :
    In fact, i'm following that tutorial :
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    But, as i didn't have any oracle database, but had a mysql one on my machine, i decided to use that DB instead of the the oracle DB... So i created a set of example data (to replace the oracle example set) ...so i created the tables EMPLOYEE, and DEPARTMENT... with the correct relations (FK) and PK)
    All was ok, i choose my "mysql-connector" (jdbc) instead of the oracle jdbc connector... so i could follow the tutorial.
    My problem appears at the step 12 (of "Creating a Master-Detail JavaServer Faces Page"), when i run the file deptEmployees.jspx.
    The information of the first departement displays correctly :
    departmentID 1
    departmentName ... etc
    but it can't display the employees belonging to that department !
    the error is :
    JBO-29000: Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query. Query: ReadAllQuery(oracle.datamodel.Employees)
    I think i understand what is the problem... I think that the query in charge of gathering the data of a specific departement need a parameter, but couldn't find it. But i don't know why :-/ I have tried many things and read the topics talking about that error... but it didn't solved the problem. I don't know anymore where to investigate.
    I have created a Zip file of my work (it's an EJB/JSF Application.. with jdev 10.1.3.3.0)
    (available here : http://dl.free.fr/mQ5esdQuS/EJB_appli.zip)
    I would be glad if someone could take few minutes to help me.
    Thank you in advance,
    Thomas B (student)

    Hello,
    This is a common mistake. Java string comparisons in TopLink are case sensitive by default, and since column names are uppercase when defaulted, TopLink cannot find the "departmentID" column name. In this case, Departments ID column defaults to "DEPARTMENTID" as required by the JPA specification.
    Either change Departments id annotation to     @Id
        @Column(name="departmentID", nullable = false)
        private Integer departmentID;or change Employees' ManytoOne annotation to:
        @ManyToOne
        @JoinColumn(name = "departmentID", referencedColumnName = "DEPARTMENTID")
        private Departments departments;Best Regards,
    Chris

  • Using custom fields of Infoset as Selection Criteria in Query Reporting

    Hi Experts,
    I have created one Infoset based on LDB PNPCE and added some custom fields to it. Coding has been done for the custom fields.
    But these additional custom fields are not available as selection criteria while creating the query.
    Can you please tell me how to use the custom fields as selection criteria?
    Reply soon
    Thanks in Advance.
    Raveesh

    Hello Guys,
    I just noticed that it is possible to select custom fields as selection criteria in case of SAP Query,
    but NOT is case of Infoset(Adhoc) query.
    Can anyone tell me the whether it is possible to select the custom fields as Selection Criteria in case of Infoset Query?
    Thanks in Advance,
    Raveesh

  • ABAP Query - SQ02 and SQ01 - custom selection criteria

    Hello
    I am on 46C. In my infoset I need to define three custom fields for selections. I am able to do that. Once I create my query these appear on the selection screen. So far so good.
    1. I need to use these custom selection fields as selection criteria for the tables in the join. How do I do that ?
    2. If I need to default some values for these selection criteria, I can do that in the definition. However I need the values to be greyed out to prevent the user from editing the values entered. How do I do that ?
    Thanks
    Hari

    1. I see that the standard variant assigned at the query level in SQ01. actually protects the selection field. There is no coding to make it only display. This answers part 2 of my question.
    2. I am positive that the additional SELECTION that was created is being used in the main join that retrieves data in the query (in addition to being used for other things). I am not sure why somebody would define it that way instead of just creating a regular selection field in SQ01. Could it be because there is custom coding present for additional fields and there is reference to the selection variables needed for the additional field ?
    How does one make this additional SELECTION also a criteria on the join ? I have attached the actual join Query generates - WRK, VKO and VTW are additional selection criteria.
    FYI - this is an existing query, that I need to enhance
    Thanks
    Hari
    SELECT MBEWBWKEY MBEWMATNR MBEWPEINH MBEWSTPRS MBEW~VERPR
           MBEWVPRSV MBEWZPLP1 MARAMATNR MARAMEINS MARA~MSTAE
           MARAMTART T001KBUKRS T001KBWKEY T001BUKRS T001~SPRAS
           T001WAERS MARCMATNR MARCMMSTA MARCPRCTR MARC~WERKS
           MVKEMATNR MVKEPRODH MVKEVKORG MVKEVMSTA MVKE~VTWEG
    INTO (MBEW-BWKEY , MBEW-MATNR , MBEW-PEINH , MBEW-STPRS , MBEW-VERPR
         , MBEW-VPRSV , MBEW-ZPLP1 , MARA-MATNR , MARA-MEINS , MARA-MSTAE
         , MARA-MTART , T001K-BUKRS , T001K-BWKEY , T001-BUKRS , T001-SPRAS
         , T001-WAERS , MARC-MATNR , MARC-MMSTA , MARC-PRCTR , MARC-WERKS
         , MVKE-MATNR , MVKE-PRODH , MVKE-VKORG , MVKE-VMSTA , MVKE-VTWEG )
    FROM ( MBEW
           INNER JOIN MARA
           ON MARAMATNR = MBEWMATNR
           INNER JOIN T001K
           ON T001KBWKEY = MBEWBWKEY
           INNER JOIN T001
           ON T001BUKRS = T001KBUKRS
           INNER JOIN MARC
           ON MARCMATNR = MBEWMATNR
           AND MARCWERKS = MBEWBWKEY
           INNER JOIN MVKE
           ON MVKEMATNR = MARAMATNR )
           WHERE MBEW~MATNR IN SP$00002
             AND MARA~MTART IN SP$00001
             AND MARC~WERKS IN WRK
             AND MVKE~VKORG IN VKO
             AND MVKE~VTWEG IN VTW
             AND MVKE~PRODH IN SP$00003.

  • Description change in query report selection criteria

    I created a query report with certain criteria but in that i suppose to change the description .
    for example
    Posting date   greater than
    Posting date   lesser than
    but i need this selection criteria
    as
    Posting date  from
    Posting date  to
    regards
    kavitha

    Hi Kavitha,
    Unfortunately, it is not possible to change the system field description.
    Refer to this thread
    Re: Parameter Display Name Reg.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

Maybe you are looking for