BEx CKF Question

Hi
I am having one issue in CKF.
Original data:
Compcode   Caseno.     CreatedOn    Amount
1000         A        06/18/2011     100
1000         B        06/19/2011      50
1000         C        06/18/2011     150
I have created one CKF for No.of Days Open. It is difference of Sy-datum and Created Date. I used two formula variables and used
them in the CKF.
Let us say today is 06/22/2011
Report Layout:
Caseno and CreatedOn are Free Characteristics
Compcode  No.of Days Open   Amount
1000          4              300
When I bring in the Case no I am getting below result: It should show No.of Days Open as "3" for Case B. Somehow it is always
taking maximum difference number and showing for all cases.
Compcode   Caseno.   No.of Days Open  Amount
1000         A           4            100
1000         B               4          50
1000         C               4            150
When I bring in Createdon then only it is showing correct value for all cases. I tried with Exception Aggregation with reference to Caseno.
CreatedOn etc but didn't get the correct result.
Question: Could anyone identify the problem in my Query design? Thanks for your help
Best Regards,
Sree
Edited by: sree uk2004 on Jun 22, 2011 7:33 PM

Well, I guess Key Figures of Date type work that way. Their Std Aggregation is Min Date value. I couldnt confirm this on google but obviously Date values cannot add up. It has to be Max(Latest) or Min(Oldest) value. One can check this in Dev System.
Now, about your requirement, how do you want 'No of Days' aggregated?
1. Calculate difference for each Case and then add up total difference. ie 434 = 11 in your example.
    Solution : Try  Exp Aggregation = 'Total' for Ref Char = 'Case No.'
2. Calculate the difference between system date and oldest date. ie 4 in your example.
    Solution: I suppose right now it is working for this case with the glitch.

Similar Messages

  • BEx Broadcaster Question

    Hello All.
    Just a quick question since i'm getting inpatient.
    I'm trying to set up schedules thru bex broadcaster thru the BI Portal.
    Is there any other way to do this?  Meaning is there a tran code i can go to in the system and do the same.
    This just seems to be very slow way of doing it, and just thought i'd throw the question out there.
    Thanks in advance.
    Amit

    Hi Amit,
    Use the below tcode
    RSRD_ADMIN -      Broadcasting (7.x) Administration  
    go through the below link
    http://wiki.sdn.sap.com/wiki/display/BI/UsefulTransactionsandNotesgoeswithNetWeaver+7.0
    Hope this helps.
    Regards
    KP

  • BEX: Aggregation question

    Hi to all,
    I think I need some help of a BEX expert.
    I have an issue with a query. Following scenario:
    In my cube I post the following values:
    Org-unit Employee Position P E
    00000001 00000001 00000001 0 1
    00000001 00000002 00000001 0 1
    00000001 00000000 00000001 2 0
    00000001 00000003 00000002 0 1
    00000001 00000004 00000002 0 1
    00000001 00000000 00000002 1 0
    00000001 00000005 00000003 0 1
    00000001 00000000 00000003 2 0
    P = Capacity of the Position
    E = Capacity of the Employee
    Now to the issue.
    In the query I need to calculate the difference of E - P as well as to create new keyfigures for storing a negative result and storing a positive result. At the end my query should look like this:
    Org-unit Position P E diff. neg. pos.
    00000001 00000001 2 2 00000 0000 0000
    00000001 00000002 1 2 -0001 -001 0000
    00000001 00000003 2 1 00001 0000 0001
    and if I remove the position similar
    Org-unit P E diff. neg. pos.
    00000001 5 5 00000 -001 0001
    The difference should not be displayed, but the rest should. Does anybody have an idea for solving this issue. I am playing around with constant selection on Employee and/or Position but the result is never as I expect it to be.
    If you still have some problems understanding my issue feel free to ask.
    Seeing forward to get your valueable and helpful hints.
    regards
    Siggi

    Hi all,
    well what I did so far was creating a calculated keyfigure E - P and additionally the two keyfigures negative and positive and the results are as expected if the position and/or the employee is initially displayed in the query. But if I take both out and any other characteristic in the result is not what I want to display. I want to get
    this:
    Org-unit P E diff. neg. pos.
    00000001 5 5 00000 -001 0001
    but I get this:
    Org-unit P E diff. neg. pos.
    00000001 5 5 00000 0000 0000
    There is an issue with the aggregation level. The keyfigures diff., neg. and pos. should always show the results depending on the position/employee combination.
    Hope it is clearer now.
    Siggi

  • BEX Display Question

    We have a key figure(key figure 1) that has different Sales Unit of Measurements - BOX, Pallet Pieces, another key figure(key figure 2) with one Unit of Measure PC. We are trying to display like this:
    BOX PAL PC         PC
    Key Figure 1          Key Figure 2
    However we are getting
    BOX PAL PC         BOX PAL PC
    Key Figure 1          Key Figure 2
    even though we restrict key figure 2 with PC only
    our Columns area in Bex is
    Structure
      Key Figure 1
      Key Figure 2
    Sales Unit
    Is this possible - I have tried a lot of different combinations with nothing working. Any help is appreciated.

    You can try...
    Create a formula variable (ZZVAR) with the correct units (PC) with default value 1, optional, not ready for input.
    For KF 2, instead use a formula where you add NODIM(KF2)*ZZVAR

  • BEx Roles question

    /thread/750293 [original link is broken]
    Edited by: sam on Feb 20, 2008 4:18 PM

    Hello Sam,
    You have to create Roles in PFCG and assign appropriate reports authorization to the roles. For example you can create roles for End User , Power User etc.
    Once this is done, then assign the user to the Roles.
    For more details
    [Advanced Features of SAP BW Reporting Authorizations|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06]
    [Authorizations in a SAP Business Information Warehouse Project|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/adeac294-0501-0010-5a97-9ac5d562b1be]
    [SAP NetWeaver 2004s BI Authorizations for Reporting - Webinar Powerpoint|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a6c54319-0e01-0010-20a4-fb81ad32f330]
    [Authorizations in a SAP Business Information Warehouse Project|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b014a2fa-fc1c-2a10-6ab2-e8e288de0e08]
    [Field Based Authorizations in BW BEx Queries|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4753ed83-0e01-0010-e186-f98413f868cb]
    [An Expert Guide to new SAP BI Security Features|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/659fa0a2-0a01-0010-b39c-8f92b19fbfea]
    Hope it helps
    Thanks
    Chandran

  • BEx general question

    Hi All,
    At present  our client SAP system is BW 3.x. and we have BEx related to that. and ou client Sand Box system is having SAP BI 7.0.and from this Sandbox, when giving rrmx transaction it is showing BEx 3.x version only. because BI 7.0 bex is not available. so can we have both the bex versions on the same system. because we want bi7.0 Bex .
    Thankyou.

    HI SAPBI INDIA,
                          Yes, U can have both the versions of BEx installed on the same system. When both the versions are installed U can see Business Explorer (SAPBW 3.x) under the node Business Explorer of the Programs tree thru the start button. U can use either of them depending on the requirement. 
                        For the version BI7.0 to work U need to have the SAP GUI 7.1 version (or) higher.

  • Universes over BEx - LOV questions

    In old school BOBJ when we build a LOV for an object you would normally use the ID (or Key) and then add the description into the LOV so when a user selects the long description actually the ID (or Key) is passed into the SQL and therefore would be more preformat.
    However, what I am seeing when you build a Universe over  BEx query is that the user also is presented with the LOV but the two columns are reversed and they select the Description and that is passed into the u201Cpromptu201D.    Does BEx do something clever under the hood to replace the Description with the ID when executing the query or is it doing badly performing text matching ?

    Hi,
    LOVs generated in universes out of BEx queries are using index awareness mechanisms.
    The caption is displayed to the user but the key is sent to the database.
    So there is no issue in SAP BW because the right key is sent to the server.
    Regards,
    Didier

  • Bex heirarchy Questions

    Hello,
    I have a Bex report with heirarchies. Some of the heirarchy nodes are open but some are not. When i press the refresh button sometimes it closes/open the nodes and sometimes it dont. Is there a way to control this?
    Thank you,
    David

    Also, there is a default property in the Query designer that says open to hierarchy level blah (ie 3). This would open the hierarchy to the third level for all nodes.
    The other option is save your web analysis or Bex workbook with the hierarchy open how you want it. When you rerun this report, the hierarchy will be open the way you saved it.

  • Bex important question

    when user starts name "sap business explorer analyzer 3"
    dialog box is present however the buttons arte not active
    what is the problem ?

    Hi Nishant ,
    Thanks for ur valuable reply. but if a person doesn't have .xla file in his system then what are the other options to solve it .
    Regards,
    Arvinder

  • BEx Workbook Question

    Hi All,
    I have 3 Queries embedded in a workbook. Each query has Product as Selection. Currently, the users are maintaining a variants for Product list. But the problem is that he/she has to maintain the 3 separate variants for each queries.
    Is it possible to have one variant that could be used by all 3 queries? If so, how can i do that.
    One of the solutions that i heard was to use VBA Interface ( "SAPBEX.xla!SAPBEXsetVariables" )to populate the Product selections, by reading a predefined range from a sheet. Has anyone come across  such code? Any help would be greatly appreciated.
    Regards
    Raj

    Thanks Jen/Sravan,
    sorry, i am late in thanking you guys for this very useful solutions. But i have one concern.
    In my case, i have 3 queries with 3 different variable list.
    Query1
    Reseller
    Product
    Division
    Query2:
    Product
    Division
    Query3:
    Product
    Division
    LoadWeek (User Entry)
    I created a variable on Product.
    Created another variable on product with replacement path
    Variable for Loadweek ( Mandatory, default-lastweek)
    I set this query property on the second and third query,
    When i run the first query, it shows the variable box with 3 selections viz. Reseller, Product, Division
    Second one shows me the variable box ( Query1 variable box) with 2 selections viz. Product,Division
    The third one shows variable box with one selection viz Product. I don't see the loadWeek in the selection box.
    I tried with setting this property on all the 3 query and same variable values. The problem with this is when you refresh, it does not give you the pop-up, instead it runs automatically. Is there a way to bring the pop-up back?
    Is this the way this property works or am i making some mistake?
    Regards
    Raj

  • Bex report question

    Hi All experts,
       I need to create a report, the siruation is, top row, i need to display half year period, by monthly. this is the varible, let user put in.
       i.e. 1.2011(half fiscal year period), and display july 2010, aug 2010, oct 2010, nov/2010 and dec/2010 in each column.
      half fiscal year      Jul-10                                                          Aug-10          Sep-10                                         
    category     last 6 mon On Release Oun On Release Oun     last 6 mon On Release Oun On Release Oun                              
      2nd row, i have category in the raw, and key figure under each period belong to top raw. And under the each period of top, i need fist all display last 6 months total velue in the column. i.e. in the jul 2010 column, i need to collect 01-06/2010 value for last 6 months, in aug 2010 column, i need show up 02-07/2010 value for last 6 months, so on, so for.
      I tried to used current fiscal year period and offset it, but it doesn't work. the query just give me one data with forst period, 2nd period is 0.
       Do any one expert, can give the solution on this?
    Thanks & regards,
    Cherry

    Hi Dirk,
    Yes, this is possible using VB code (in  'SAPBEXonRefresh') but before using it remember the following.
    1> It will decrease the performance of your report.
    2> It is version dependent.
    Hope this will help you.

  • BEX formula question

    Hello,
    I have the following requirement to write a formula but i am not quite sure how to assign value to EXP3.
    Example:
    IF     EXP1 =>70
    THEN
           EXP2 =0
    AND
           EXP3=EXP4
    The formula that i have written is as and error is occurring for (EXP3 = EXP4):
    EXP1<69 * EXP2 AND EXP3 = EXP4
    Regards
    Mohi

    Hi,
    You will have to create two different formulas, as you need to assign two different values to two different fields.
    In the transformation or update rule for first formula your target should be EXP2.
    IF ( EXP1 < 69 , 0, EXP1)
    This formula will assign EXP1 value to EXP2 if the value is greater than 69 otherwise EXP2 value will be 0.
    For the second formula your target field will be EXP3 and you will have to write.
    IF ( EXP1 < 69, EXP4, 0).
    In this case EXP3 will have value of EXP4. You can configure the condition as per your requirement instead of 0 when condition fails.
    Regards,
    Durgesh.

  • BEx Query questions

    I have a report showing salesman, country and revenue. I like to apply rows security to this report. If Salesman A runs the report he should only be able to view Country A records. How do I apply such security into the report.

    hi Lai,
    each salesman will have different login id, say you have infoobject country 0country, you can try steps
    1. make infoobject 0Country ready for authorization
    transaction RSD1, type in your infoobject 0Country,
    go to tab 'business explorer', mark 'authorization relevant'
    2. create reporting authorization object
    transaction RSSM, give a name e.g RCOUNTRY, click button 'create' (blank page icon), give description,
    in next screen, locate 0Country in right side, and move to left side and save. (you may need 1KYFNM also)
    3. mark infoprovider
    transaction RSSM, type create reporting authorization object, RCOUNTRY and option 'check for infocubes' and click pencil icon, in next screen mark infoprovider(s) where you query come from.
    4. create role and assign users
    transactin PFCG, create new role, and tab 'menu' assign with the reports, then 'authorization' tab, and click 'change authorization data', choose RCOUNTRY and assign value. tab 'users', assign salesman's user id.
    hope this helps.

  • Bex Formula Question - Character Data

    We are developing a query to display rankings of material. If the material sold is in the top 80 % we would like to assign the value of A, the next 15 a value of B and finally C for the rest. We thought we could use a formula, but it appears that you cannot assign character type data in the formula i.e "A". Is this the correct approach or is there a technique for doing this type functionality?
    Thanks for help.

    Hi John,
         I have done a similar thing long back but in a workbook with VB code. I hope you too can go ahead with VB code in workbook. I hope this helps you...

  • Bex query question:How to get total value ?

    For material level we can get value(quantityamount), but for the result is total quantitytotal amount, the result is wrong. How to get the total value correctly?
    I checked some material.which need coding. but I want to know if I can get easier way for that.
    Thanks.

    hi, i jus tried. .this works for me..
    set calculate result as summation and formula collision nothing defined...
    *reward if helpful*

Maybe you are looking for

  • No connection from SAP EP to Raytion SAP Connector

    Hello, The Raytion SAP connector 1.5.1 has been deployed without any problems on the customer SAP EP (Production). We see that no connection can be made from the SAP EP to this SAP Connector. Extract from the log file: (10.54.17.63 is the IP address

  • Adobe Reader PDF Batch Print

    Question: Is it possible to build a batch printer using the SDK and libraries available with Adobe Reader? Environment: Win XP and Win 7 Client machine install Adobe Reader - required version can be installed VB6 or C# .NET Experience To Date: The Ac

  • Pro Tools Missing  audio file message syndrom exists on Logic

    I come from Pro tools and i am a bit traumatised by this fkn Pro Tools missing audio file message for those who know what i mean.. Is it something possible and frequent in logic when we work on a daily basis ?

  • Fiori Timesheet not showing in new launchpad manager id

    Hello Friends, We have a new issue in Approve timesheet. When I log in as Manager in ECC, I could see 5 entries for approval and in tcode "SWIA" also showing agent as "xxxx" for those 5 entries. Once I login as Manager in new launchpad, I could see p

  • Error calling SAP webservice

    Hi, I have created a ZBAPI that is published as webservice via SE37 --> using the wizard, and I have created a flex web that invoke this webservice. When I runs the web in my local the call to webservice works perfect, but when I deploy the web in my