Count values in master data

Hello,
If i want to implement a report that gives me the customers that had no sells for a period, i have to read the values from master data.
But if i have to implement counters on that how can be done ? I don't want to change the data structure, can it be done only in the report ?
I know how to count the occurrences of a characteristic relative to one or more other characteristics but that doesn't work because the values must exist in the infoprovider.
Regards,
Jorge Diogo

Hello,
Maybe you can try one of the below to see if it works:
1) Create a MPRO on customer master data object and the transactional dataprovider. Now restrict the query where CALDAY is EQ # or any date EQ # which is for the sales date in the transactional DP.
2) Include customer object in the rows of query and from its properties select display data from master data object. Now create condition where the sales amount is EQ 0 and keep it active.
Regards,
Shashank

Similar Messages

  • Issues In Reading Attribute Values From Master Data

    Hi All,
    I have a requirement where, i need to read an attribute value from master data. I have a characteristic YCSTATMCG (AT Cost Group Code) which is the master data from where i have to read the attribute, 0PROFIT_CTR (Profit Center). The attribute thus read, has to be populated into another characteristic, YPROFIT_C.  But YCSTATMCG referes to another characteristic, YCSTCG. Here is the FOX Code I wrote with YPROFIT_C as the changing characteristic and 0AMOUNT as keyfigure.
    DATA V_ATCP TYPE YCSTATMCG.
    DATA V_PROFIT TYPE YPROFIT_C.
    DATA V_PROFITC TYPE YPROFIT_C.
    DATA V_AMOUNT TYPE F.
    V_ATCP = OBJV().
    MESSAGE I020(YCO_CFT) WITH V_ATCP.
    V_AMOUNT = {0AMOUNT,  # }.
    V_PROFIT = ATRV('0PROFIT_CTR' , V_ATCP).
    MESSAGE I020(YCO_CFT) WITH V_PROFIT.
    {0AMOUNT, V_PROFIT} = V_AMOUNT.
    But this is not working. The ATRV() function is not reading the attribute values at all. Any solutions and suggestions is highly valued.
    Thanks in advance
    Swaroop

    Hi,
    even i have the same situation.
    i just want the attribute value of a char to be populated into another characteristic in the planning query.
    my question is whether i should populate the keyfigure field also in the FOX code.
    if so should i populate both 0amount and 0quantity fields as i have 2 keyfigure fields.
    Thanks for your help
    Nishanth

  • Filter on attribute of 0MATERIAL filters charac. values without master data

    Hi SAP-Gurus,
    I've a problem while executing a query (this query is based on a MultiProvider).
    I got the message "Filter on attribute of 0MATERIAL filters charac. values without master data" and I don't know why.
    When I don't use the filter on the navigation attribute, the query can be executed without any errors, bute when I set the filter, the warning message comes again.
    Thank you all,
    Clemens

    Dear all SAP Gurus,
    we've solved this problem and this is the solution:
    The warning is triggered by the method CL_RSDRV_ODS_QUERY-PROCESS_SFC_WITH_ATR when the BExFlag of the InfoProvider is not set. Using DSOs for direct update there is no change to change the BExFlag. As a result queries based on a DSO for direct update always throw the above mentioned warning when filter-characteristics are attributes.
    Regards, Clemens

  • Showing all Characteristic values from Master Data in WebI report

    I want to show master data when there is no data in Cube, I have created constant variable with 1 value in Bex and I am using that in the crystal report but it's still not showing master data. Can anybody help me on this.
    Thanks,
    Ravi

    Hi Ingo,
    Thanks for your quick reply, I have created formula with constant value 1. Do I need to put that formula in rows or columns or as Free Char?
    Thanks,
    Ravi

  • Incorrect Value In master DATA

    Hi Everyone,
    I am getting incorrect data for attribute "Standard Price" of 0MAT_PLANT Master Data. This issue is there only for single record of 0MAT_PLANT value.In PSA data is correct as it is matching with R3.
    everyday there is  full load in 0MAT_PLANT,it as per business requirement.
    Eg
    provider level
    Plant: ABCd
    Standard Price : 40
    PSA Level:
    Plant: ABCd
    Standard Price : 0.75
    Note: here Standard Price is correct figure which i am getting.
    Observations:
    1. when i run dtp only for this record, i am getting correct Values.
    2. In debugging of mode of DTP  i am too getting correct Value
    Regards
    Nadeem

    Hi Nadeem,
    From your reply, I understood that, when you load single value, that record updated correctly.
    But, when you load all the entries, You see, there's problem. Recently, I have resolved same kind of issue.
    Details are given below :
    Example :
    When it's single record :
    Material  -   Price 
    MAT001 -   10
    And the same is entered into Target correctly.
    When, it's full load,
    In PSA, We had entries as follows :
    Customer  -   Price 
    MAT001      -  10
    MAT001-1  -   20
    MAT001-2  -   30 ,
    After transformation,
    These values are converted as follows :  
    Due to some issue in Transfer Routine (Some logic)
    MAT001      -  10
    MAT001      -   20
    MAT001      -   30
    So, Since the Key's are same, in Duplicate key check,
    Last record was taken :
    MAT001      -   30
    We see, wrong price for MAT001.
    So the Suggestion is, in Info Package data selection,
    Don't give the exact value for single record execution.
    Give filter like,
    MAT001* .
    So that, Info Package will pull all the three entries and You can check the DTP for any duplicate message. Then, We can figure it out.
    Assign points if this reply helps you.
    Thanks,
    Jay.

  • List of Values use Master Data or Trasaction Data?

    Hello,
    Do anyone of you from where does data in the list of values is populated Transaction data or Master data or combination of both?
    I know bex query could be built on a DSO, Info Cube, Info set, Mutiple Provider and Info objects. Is dependent on the type of info provider the query is built on? Could we really control the source in the lov's
    Thanks
    Ram

    its based on the data in the InfoProvider.
    Ingo

  • Description is showing for blank key values in master data

    Hello experts,
    I have loaded master data text. In general the first record of master data will be blank. But my case its showing description (short, medium) for blank key value.
    Could any one help me in this matter?
    Thanks
    Prathap

    Hello,
    Did you check the data source for this in the source system and check in RSA3 or in the underlying tables if anything like that is mainatained...if its a full load then the same thing may get loaded again even if you have changed it in BW.
    May be you can try to write a condition in the update rules on not to load the records with blank keys.
    If there is no such records in the source system then you can change the master data in the BW and make the text as blank.
    Thanks
    Ajeet

  • Counting Time-Dependent Master Data by Day

    I have a requirement to <b>count equipment master data by day</b> for specific equipement attributes.  I don't want to count the occurances of the equipment characteristics within transaction data.  I need join equipment usage transaction data with counts of all equipment to derive a usage percentage.
    Example:
    Jan 01, 2005
    Activity Type = D41000, 50 pieces of equipment were assigned to D41000 on 01/01/2005, but only 10 were used that day; therefore, usage percentage is 20% (10/50 * 100)
    Any suggestions would be greatly appreciated.

    The way I've done is to store the usage count and the total count in transaction data.  They can be in the same InfoProvider, or they can be in separate InfoProviders if you put a MultiProvider over them.

  • Blank Values in Master Data

    Hi,
    We have observed that '#' and '-' as part of Netweaver 2007 i.e BI 7.0 but in BI 3.5 we can only see '#'.
    What is the difference between '#' and '-'. Can somebody illustrate this.
    Thanks
    Amit

    I have not seen <b>-</b> for blank values so far in 7.0....jst in case have you checked the MD tables how it is stored.

  • All master data values not shown in query selections

    Hi
    I have created a query on a BasisCube containing the InfoObject 0FUNC_AREA. I loaded data to 0FUNC_AREA and the cube.
    I then created a query on the cube, in which I want to filter on 0FUNC_AREA. However, when I get the list of available values for 0FUNC_AREA not all the values in the master data is shown. It only shows 25 values out of 105.
    As a default, the data shown is only the cube data, so I removed the tick in the checkbox: Show only InfoCube data. Still the same.
    Then I went to the InfoObject and set the 'Query Def. Filter Value Selection' and 'Query Execution Filter Val. Selectn' equal to 'Values in Master Data'. Still the same.
    Then I deleted the contents of the InfoCube. It still shows the original 25 values.
    The really strange thing is, that when I go into the selection screen for 0FUNC_AREA in the BEx and limit the shown values to one of the values available in the master data but not shown in the list, it shows the text of the functional area in the limit summary window. But still when executing the limitation, it cannot find the value!!!
    The problem is the same in LISTCUBE
    I hope some of you can help we with this.
    Thanks
    /Karsten

    Hi Hari
    1) Reactivated the master data, said it was already active.
    2) Could see a difference between the data contained in cube and the remaining data. Otherwise not.
    I deleted cube and master data and reloaded, the problem still persists. I am beginning to suspect a bug in BW.
    I have to determine whether I am going to live with it (as it isn't critical, just a nuisance) or create an OSS on it.
    Thanks for all the input guys.
    /Karsten

  • Hierarchy node Variable: F4 Help - Not showing Master data values

    Hi,
    We're having some problems trying to display the F4 help of a hierarchy node selection variable, to show the master data values so that it would look more complete for the users during report execution.
    In the RSD1 setting for the info object, under 'Business Explorer' tab, the 'Query Execution Filter Val. Selectn' is set to 'Only Posted Values for Navigation'.
    I thot that we could overwrite this setting at the Query Designer level, but it does not seem to work.
    Even tho in the Query Designer, we have already specified the 'Filter Value Selection During Query Execution' to 'Values in Master Data Table', it does not seem to display the master data values.
    There is no difference in the F4 values being displayed for the hier node variable, before and after the change in Query Designer.
    Could anyone share some tips on other possible solutions to get a hier node selection variable's F4 help to show the master data values, without changing the RSD1 setting at the info object level please ?
    Thanks in advance for your help.
    Regards,
    Femmie.

    Hi,
    Could you please share the steps you have taken to fix the problem?
    We do have a similar problem and for some reason the newly added hierarchy node for 0Profit_ctr is not showing up in the variable selection screen F4 (input selection for query execution). However we can see this node when we display that hierarchy in RSA1. I did try applying the changes recommened by Jerome but unfortunately it didn't work.
    Any help on this would be greatly appreciated.
    Thanks,
    Krish

  • Master data values in Query

    Hello,
    i want to restrict division by certain value in a query. i cannot see one of such values in the restriction window in the available list of values.
    i checked master records for division and it has this value. the infoprovider may not have this value.
    in the 0division infoobject the settings in the business explorer tab are:
    Query Def. Filter Value Selection: M Values in master data table.
    Query Execution Filter Val. Selectn:M Values in master data table.
    Why can't i see the value in the query for restriction?
    thanks

    Hi Aby,
    <i>Have you tried clicking on the "display other values" button right before the find text box in the restriction window (the one with the small yellow arrow)? If not, then click on tht button and put in some restriction rule to cut down on the number of entries displayed. This should display the value you desire.</i>
    In addtion to that uncheck 'only values from InfoProvider'
    regards

  • Will master data propose values for transaction data where not maintained

    Hi Friends,
    If we haven't maintain certain chracteristic values in the Transaction record, the same maintaind in the master data......in the report does the system propose the value from Master data. If propose is there any settings do we have to maintaion in the BW System to act such like that.
    For Example in the below Transaction record...........
    Customer*  Documenent No Sales Office Amount
    ABC               1234                     Mumbai           10000
    XYZ                5 678                                             5000
    Sales office haven't mainatined by the user for the record 5678.. Sales office is attribute for the Customer, In the Customer master evry customer mainatined with their sales offcie.Will it automaticcy propose from Master data.
    Thanks & Regards
    Anand

    Hi
    This can be done in a Individual routine.
    First check if the "result" is empty. Else do a look up on Master data table of Customer.
    Sample code :
    Select customer and sales_off from Master data table of customer into itab in start routine.
    In individual routine,
    if result is initial.
    read itab into xtab with key customer.
    result = xtab-sales office.
    endif.

  • How to convert  unit of measures in bex on master data attribute values

    Hi All,
    i need to convert the unit of measure in Masterdata Attribute values... that means ) ' 0grooss_wt'. this is attribute as a keyfigure of ' 0material' .. this ' 0gross_wt' values has to convert in KGs. at Present ' 0gross_wt' values are in KG and Grams...
    I can change these values in update rules by writting Routine.. But I need to convert it in KGS at BEX Query Designer Level..
    I need calculate like this
    quantity sold * Gross Weight.
    here Gross Weight is the formula variable which replacing the values of gross weight...
    i tried by creating conversion types in RSUOM t-code. but it works on keyfigures of infocube.. not on attribute values of master data...
    is there procedure in formula variable it self to convert unit of measure before replacing the values.....
    or is there any other  solution to  this Problem...
    Thanks in advance..
    regards
    ravi.p

    Hi
    Have you tried to create a variable for ths kf with exit. I thnk it is possible here
    Assign points if useful
    Regards
    N Ganesh

  • Query Def. Filter Value Selection - to master data wont activate

    Hi, I want to change the info object properties Query Def. Filter Value Selection to select Values in master data, but when I try to activate it, it goes back to the old selection "only values in info provider" is this because there is data already loaded and so it wont allow me to change or is there anything simple I am missing ??
    Reason being I do not want to delete the data to make this setting in the info object maintanence...

    hi ram,
    Before u activate try "Checking" the Infoobject definition and see if you get any warning/error messages.
    Then try activating it.
    hope it helps,
    regards,
    Parth.

Maybe you are looking for