BEx QUERY - pre filter characteristic values (material group)

hi gurus
i have a bex query where the user is asked to enter a material group value, this query is for planning some kind of material groups, so i need to show in the match code for material group (variable screen) just the material groups related to this query.
For example, material group 0matl_group in rsdmd looks like this:
M1
M2
M3
M4
M5
M6
M100
I just wanna show in variable screen the first five material groups so the user can select one of them, i dont wanna show all the 100 material groups
regards
joker

Hi ,
I am not sure but You can try writing a customer exit code .
create a interval variable of type customer exit .
In the customer exit code write the code :
In I_step = 1
read the material group master data table in your case or the source from which you get the material group .
write a code to read the first five records .
In the low value read the first record.
and in high value read the fifth record .
your user should get only the first five materials to input in this case .

Similar Messages

  • MDX for a BEx query with a characteristic structure

    Hi,
    I have a BEx query with a characteristic structure in the rows.
    Material     Structure     Measure1
    a-Material     a-Structure     ....
    a-Material     b-Structure     ....
    b-Material     a-Structure     ....
    b-Material     b-Structure     ....
    I am looking to run the query via MDX. Is that possible? If yes, how should be the mdx statement.
    Thank you in advance for your help.
    Regards,
    McGreen

    Hi,
    it will work, so long as you also include the Structure object in the WebI Query panel as a results objects.
    the SELECT syntax is much the same as a 'normal' MDX statement.
    the quickest way to tell them appart is how the Measures are called. normally, it starts:   SELECT [MEASURE.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    however, when you have a Structure, all the declarations from the start of the statement looks like : SELECT [ABC123.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    i hope this helps.
    Regards,
    H

  • Crystal didn't show the BEx query Attributes description changes/Values

    We experiencing the BEx query attributes/crystal report  issue.
    I create a crystal report using BW- BEx query. Bex query displays the attributes values. But in crystal report side it didn;t show up the values as well as description changes.
    But If I change the display properties of attributes (different from one attribute to another) the crystal report reflect the values. But crystal report didn't show the Attribute description changes , the one i did it in BEx query side.
    Example:
                         Bex has a Masterdata as well as attribute Field1, Field2 etc.. I changed the description like Field_Test1 and Field_Test2. Also I changed the display property for Field_Test1 is Key and text and long , Field_Test2 is Text & LOng text.
    I  got the attribute values is crystal report Xi R2. But crystal didn't reflect the description changes?
    Suggestions Please?

    Post your question to the Business Object Integration Kits forum

  • BEx Query- Making into Zero value in the blank row/column

    Hi All,
    I am running a query on multiprovider, say I have three characteristics (sales org, distribution, customer) & key figure (amount) in the layout. I am lookling the actual & plan data in the report.  If there is no plan data for the above combination of characteristics, in the report i am getting blank, instead of blank i want $0.00, how to do this?
    Regards,
    Anand

    Hi ,
    Could you please let me know how can we fix this issue.  I tried to create a new formula as KF+0 but it did not work.
    Hi ,
    This issue is in a Bex Query . We are looking for options on how to display blanks as zeros for keyfigures.In the below screen shot highlighted in red there is no data for march 2015 so it needs to display as zero and the overall result should be Zero.
    Issue : Overall Result for Cumulative Quantity FTE should pick up the last value which is Mar 2015 instead its displaying 2 as there is no data for Mar 2015.
    Thanks,
    Bharathi.

  • Bex Query Designer - missing characteristic

    Hi Gurus,
    I have a customer defined characteristic which is included in DSO and Infocube. (I put it there in the late stage of developing the providers, so there were already some queries developed before the characteristic was present) When I try to create (or change) a query in Bex QeueryDesigner upon either of those two providers, I'm not able to see this characteristic in the left tree window. The characteristic is activated i even uploaded data into DSO to see if everything is OK. Any idea what might be wrong?
    Thanks
    Pavel

    In case anyone run across the same problem:
    The problem was in infoobject maintenance. In general tab the system set-up some value as "Constant", have know idea how or why and the only way to delete it seems to be to follow the OSS note 1080800
    Regards

  • Bex query. Select single values in variable time out.

    I have created a variable on characteristic 0profit_ctr which works fine for all queries on all Infoproviders except for one.  With this particular Infoprovider, which is a DSO when the option to show u201CSingle Valuesu201D is selected in the variable screen the query just hangs and eventually time-outs. I have tried including the DSO in a mult-provider but still have the same issue. The variable works on other DSOu2019s with exactly the same settings. This DSO has less data than the other DSOu2019s which work fine.
    I know that 0profit_ctr is compounded with 0co_area which I have tried restricting with no change in the result.
    I would be grateful of any ideas.
    Thanks
    Jenny

    Hi Durgesh.
    I checked the settings and although they were the same as other infoproviders I changed the query filter value to use the values in the master data table and this has solved my problem.
    Thanks for your tip.
    Regards
    Jenny

  • G/L Description not showing in Query designer for Characteristic values

    Hi Friends,
    We have developed a report and that we have made two New selections on the object 0GL_account....some GL Account number are grouped in that. While selecting the GL Accounts to new selection, it is showing GL Account number and Description. After that, the selected objects are not showing the Description in the query designer. It is showing GL Account number only for the both Technical name and  Description. I Would like to see Description of the GL Accounts in the Query designer. i have plan to delete certain account based on their dercription.
    And at the Infoobject description in the Business Explorer tab Display feild it is set as Text and Key. And till yesteday it shown the Description for the Account numbers. The daa loads are also .gone fine.
    Can you please guide me in this regards
    Thanks & Regards
    Anand

    Hi Thanks for your reply.
    The accounts which we selected are having Description  and it is showing while selection the selected GL Accounts.
    And the master data also is in active...When i try to activate the master data Agoin it is saying statement "Master data for characteristic 0GL_ACCOUNTactive"
    Any more suggetions..........
    Regards,
    Anand

  • Query to show stock value per group

    Hi Experts
    Would it be possible to create a query which would show me the stock value per item group in SAP?   I know this can be done through Stock Audit report etc, but as we have over 300 item groups I would like to see a report which show me only the group name and the stock value within that group.
    Thanks
    Geoff

    Hi Gordon,
    The 2% will be because in almost all cases the query is using Last Purchase Price to calculate the value, but the stock balance on 130000 account in Financials is being generated from the FIFO values of stock.   It is a problem we come up against a lot in calculating stock values - we probably wouldnt have gone down the FIFO route originally had we known!
    Regards
    Geoff

  • In Bex Query day from calday value and sales in prev yr value not come

    Dear all
    right now i got output like
                                                                                Sales                         Sales in Prev Yr     
    Sales Organization         Day From Calday          Calendar Day        Sales Value                   Sales Value          
    1020                  Not assigned          05/1/2010                                    2,013,176.00 INR               
    1020                  Not assigned            05/1/2011                2,945.00 INR                                                  
    and i want output like base on date 05/01 how to do pl help
    Sales Organization         Day From Calday          Calendar Day        Sales Value                   Sales Value          
    1020                      05/01                      05/1/2010        2,945.00 INR               2,013,176.00 INR               

    Hi ,
    This is possible via customer exit.You can populate day on the bases of your date .
    Try this :
    WHEN 'tech name of exit var'.
    data : v_day type c length 5 ,
              v_day_val  type c length 5.
    IF i_step = 2.
    READ TABLE i_t_var_range INTO LS_T_VAR_RANGE WITH KEY vnam = 'date_value u2019.
    v_day  = LS_T_VAR_RANGE-high+4(4).
    concatenate v_day+2(2) '/' v_day(2) into v_day_val .
       ls_range-low = v_day_val .
       ls_range-opt = 'EQ'.
       ls_range-sign = 'I'.
       APPEND ls_range TO e_t_range.
    Hope this will be helpful .
    Regards,
    Jaya

  • Hierarchy Level value displayed in BEx Query

    Is there a way to display the Hierarchy Level value (0, 1, 2, etc...) associated with each hierarchy level in BEx Query as a characteristic?
    we are currently using the Crystal Reports function HierarchyLevel(GroupingLevel(GL Account Node id)) to display the level of the node (0, 1, 2, etc...).  Is there something similar to this in BEx Query.
    We would like to use this Level value to do groupings in Crystal Reports.  When we try to create a Group, we can only create the groups on fields that are brought over in the BEx Query results.
    Thanks --

    Hi ,
    Hierarchy level can be defined in Bex query as well.
    In the query property there is option where you can say hierarchy active for that particular object.
    Also you can define level upto which it can be active in initial display say 3 level
    Also when you want to drill down further level 4,5 you can right click and select that particular level say 4 or 5 or 6.
    If you want to display hierarchy flat there is no option in BW then to right code,but I heard in crystal report it will automatically display in fl;at version as well  means
    Level 0 level 1   ......KF1 KF2  etc.
    Thanks and regards

  • Regarding Filter in Webi Report which is based on BEx query

    Hi,
    I am developing Webi report, in which using universe which is baed on BEx query.
    Suppose BEx query contains filter on fiscal year 2010.
    And I am developing Webi report on that query. So I want to know, whether my Web i report output will contain data of only fiscal year 2010, as filter is applied in BEx query.
    Thanks,
    Pradip Nikam

    Hi,
    if this is a fixed filter the data will be filtered.
    if this is a variable in the BW query the user will get prompted.
    ingo

  • Unwanted LOVs - Universe on a BEx query on top of a Multiprovider

    BO XI 3.1
    BW 7.01
    OLAP Universe on a BEx query
    BEx query on top of a Multiprovider
    Multiprovider on 2 DSOs; lets say DSO1 and DSO2
    BEx query has a global filter for "INFOPROVIDER = DSO1"
    BEx query has a user input variable defined for "Field1" (Field1 is present in both DSOs)
    In BEx, F4 on Field1 variable entry gives the values of Field1 from DSO1. (which is what we want)
    Expected LOVs for the generated prompt for Field1 in the WEBI report: Values of Field1 from DSO1
    Problem:
    Actual LOVs returned in WEBI report: Values of Field1 from both DSO1 and DSO2
    Has anyone faced this before?
    Thank you

    Henry Banks wrote:
    > I have a suspicion the BEX property 'only values in infoprovider' isn't picked up/consumed by the BAPIs used by the MDX interface.
    That is correct. The BEx properties do not carry over to the BO side. In Webi 3.1 here are the default selections for LOVs (as far as I know)
    OLAP universe against BEx query on an infoprovider (Infocube, DSO, Multiprovider) - Only values in Infoprovider
    OLAP universe against BEx query on an Infoset - Values in the master data table
    My understanding now is
    OLAP universe against BEx query on a Multiprovider - Only values in ALL Infoproviders under the Multiprovider
    Henry Banks wrote:
    > Yes, this is confirmed by Note 1224318 - MDX: InfoProvider restriction for the member rowset
    > It's a BW limitation of the OLE DB for OLAP.
    I have seen this note before and according to it you can set an RSADMIN parameter MDX_JOIN_CUBE_DIME and have more control over the LOVs.
    MDX_JOIN_CUBE_DIME = "A" -> The read mode for all LOVs is Only values in master data
    MDX_JOIN_CUBE_DIME = "I" -> The read mode for LOVs is either master data or infoprovider depending on the infoobject settings
    Henry Banks wrote:
    > It might be easier to have to 2 data providers for this document, if you don't already, for plan and actual;  or 2 seperate bex queries.
    Well, that would work but it would defeat the purpose of having a Multiprovider for logical partitioning, wouldn't it?

  • Release strategy determination for PO item level characteristic value

    Hi Experts
    I have user material group as release characterstic for PO.
    I have created two line items with two different material groups.
    How the release strategy determination occurs when the two different material groups are linked to two different strategies?
    regards
    ramSiva

    Hi,
    in this case system is NOT able to find the release startegy.
    Please take care of the following explanation (see note 365604)
    o  For OVERALL RELEASE (purchase order and purchase requisition) the
       item fields such as Plant and Material Group will be aggregated
       to header level.
       For example you use Plant/material group
    as one of your characteristics. If all
    items do not belong to the same plant/material group
    then
    *******the relase strategy will not be found***********
    unless you have maintained a blank value as one
    of your allowed values for the characteristic Plant/material group
    . If all items
    belong to the same plant7material group
    then that plant is aggregated to the
    header; if one or more is different then a blank is aggregated to
    the header.
    If you use an overall release strategy all
    characteristics which you have defined in the customizing (CEKKO-MATKL
    must have the same value. If one item has material class x and the
    other y the system does not know with which material class it should
    look for a release strategy. Now the system sets the material class
    to 'blank' and tries to find a release strategy. If you do not have
    defined a blank entry in the customizing (Transaction: OMGS
    : OLME >release procedure for PO > rel. strategy ) the
    system won't find a release strategy.
    you need
    to add a blank value to your allowed characteristic values in your
    release strategy.  To do this you can define a blank value in your
    characteristic (CT04).  On the values screen leave the char.value
    blank and add a description and save.  Now in OMGS you can select
    this value as an allowed value for the characteristic.
    (Example:
    To avoid this you can do the following:
    - go into transaction CT04
    - enter the characteristic 'CEKKO-MATKL'
    - click on the tab 'values'
    - set a flag in 'additional values'
    - in the column 'Char. value' do not enter anything
    - in the column 'Description' enter a text like 'no material class'
    - save this setting
    Now
    - go into transaction OMGS -> button 'release strategy'
    -> button 'classification'
    - double click on CEKKO-MATKL' and set a flag in 'no material class' )
    Please also have a look into the attached note 365604 point  2d).
    BR
    Nadia Orlandi

  • Material Group Contracts

    Hi
    I have created a material group contract, and now when creating a PReq for a material master that belongs to that material group, the auto sourcing does not identify the contract that is in place.
    I have created a contract as a "value contract - WK01 (a copy of WK)"
    the only information that I did put in was the value, material group, purchasing group, purchasing org and description under the short text.  I have left everything else as is.  here all contracts are managed at a purchasing org level and not at plant level.
    Is there anything else that I am missing?
    Thanks
    Vinesh

    Hi
    generally source list is used to assign perefered vendor as here there is no such source list  here so please follow this
    in purchase requisition screen there will be a field assign source click on it now the contract with vendor combination populates select it and assign to ur purchase requisition and save it.
    hope it helps.

  • Filling up a characteristic value

    dear all,
    how can i fill up a characteristics value at query run time? thans for the time and answer.

    Hi,
    Question is not clear. Are you trying to restrict a query with a characteristic value runtime ? Then go for variable.
    --Akashdeep

Maybe you are looking for

  • How to filter a datagridview cloumn as typing in text box

    hello every one  am new in vb.net i am developing a windows form with one text box name as txtfind and a datagridview as i want when i type in txtfind gridview show me record witch match with any cloumn am using on load  this code Dim connectionStrin

  • AS3 Timer to change frames not working correctly. PLS help

    HI I am having a big of trouble with this code to change frames on my timeline. I thought my code below would work fine but its not. For some reason it will go to frames 1-4 (4 is the last frame) then it will go back to 1 again just fine as its suppo

  • Properties file not deploys the path correctly

    Hello, I am deploying a Web dynpro application with properties file. One of the properties contains a path that I am later using in my app, something like this: PATH = myserver folder1 folder2 The problem is that after deployment I see this property

  • Ioad2 vga adapter

    Some months ago, I was able to connectmy iOad 2 to a beamer with a vga adapter. I could instantaneously give keynote presenetations. However, currently beamers are not recognized. I get a warning 'device not supported'. Is there something changed in

  • APO Demand Planning - promotion planning

    I am using APO V5. I am interested in promotion planning, and have these two questions: 1. Is it possible to create 'template promotions', which specify parameters such as number of periods, and use such 'template promotions' when creating an actual