Using Key Figures from Other Info Provider without no Multiprovider

Dear All.
i have a requirement to calculate Cost / Ton, as for now our people are creating like that.
GL Account Value , Total Sales Quantity, Total Production Quanity.
Let say GL Account 1111 Total Sale is 90,000 Ton and Total Production is 80,000 Ton.
Now GL Account value i can get from 0FIGL_C02 or Sale Quantity from 0SD_C03 and Production Quantity from 0IC_C03.
but there is no link between 0FIGL_C02 and other cubes but i need all the values in order to calculate the Cost / Ton.
Can you please guide me that how to achieve this.
Thanks & Kind Regards,

Hello;
Do you have any DSO between the datasources and  0SD_C03 and 0IC_C03?
If yes you could fill the new KF in 0FIGL_C02 reading from the DSO using a code similar to this:
    Select single 0SALES from /BIC/A0SD_O0100 into RESULT
      where GL_ACCOUNT eq SOURCE_FIELDS-GL_ACCOUNT.
NOTE: the 0SD_O01 is a DSO between the datasource and 0SD_C03 that contains the KF Sales. However, this solution could be tricky if the keys don't match (poor performance if many records).
The Multiprovider is the best solution with common detail
regards;
Ricardo

Similar Messages

  • Converting key figures from rows to column using DSO and start routine

    Hi SDNer:
    I need some help to convert key figures from rows to column.
    The source is DSO 1 and I am thinking about writing ABAP in the start routine to do the conversion. The target is DSO2.
    Below is the  more detail information with example. Basically, for each record in DSO 1 I need to create 3 records (because there are 3 KF's) and output to DSO2.
    I would really appreciate some help on this.Thank you.
    Tony
    DSO 1 data format (SOURCE)
    Period   ID   KF1  KF2  KF3
    200702 100  300  200   750
    Output to DSO 2 (TARGET)
    Period   ID    KF  LABEL
    200702 100  300  KF1
    200702 100  200  KF2
    200702 100  750  KF3

    This is the code in BI 7.0.
    u need to put a field "Label" in DSO1. u dont need to populate this in DSO1 but it helps the code to populate the field in DSO2.
    DATA: wa_result TYPE _ty_s_sc_1,
    t_result TYPE STANDARD TABLE OF _ty_s_sc_1.
    DATA:counter(2) TYPE n.
    LOOP AT SOURCE_PACKAGE INTO wa_result.
    counter =0.
    while counter < 3 .
    wa_result- Period = wa_result-Period.
    wa_result- ID = wa_result-ID.
    if counter  = 0.
    wa_result- KF1 = wa_result-KF1.
    wa_result- Label = 'KF1'.
    elseif counter = 1.
    wa_result- KF1 = wa_result-KF2.
    wa_result- Label = 'KF2'.
    else.
    wa_result- KF1 = wa_result-KF3.
    wa_result- Label = 'KF3'.
    endif.
    APPEND wa_result TO t_result.
    counter = counter+1.
    endwhile.
    endloop.
    CLEAR: SOURCE_PACKAGE,wa_result.
    LOOP AT t_result INTO wa_result.
    APPEND wa_result TO SOURCE_PACKAGE.
    ENDLOOP.

  • Calculated key figures from multicubes before aggregation

    Hi,
    I am calculating a total using a calculated key figure
    that has one key figure from a multicube and two other key figures from another multicube.
    Also I factor the total using a variable with a replacement path on the dummy attribute (Constant) to "force" the calculation at the material level.
    Cost = Cost(CUBE1) / Quantity(CUBE1) * Quantity(Cube2) * ZVRMATER1
    Problem:
    If I split the calculation this works before aggregation at the material level. Also this works fine using calculations that use key figures that must be calculated before aggregation if they all are from the same cube at the time.  The required formula above will not work (zero divide) since during selection the OLAP processor retrieves in phases and with value 0 from the key figure of CUBE2.
    Any suggestion on how to solve this without new back-end development?
    Thanks.

    Hi,
    I am calculating a total using a calculated key figure
    that has one key figure from a multicube and two other key figures from another multicube.
    Also I factor the total using a variable with a replacement path on the dummy attribute (Constant) to "force" the calculation at the material level.
    Cost = Cost(CUBE1) / Quantity(CUBE1) * Quantity(Cube2) * ZVRMATER1
    Problem:
    If I split the calculation this works before aggregation at the material level. Also this works fine using calculations that use key figures that must be calculated before aggregation if they all are from the same cube at the time.  The required formula above will not work (zero divide) since during selection the OLAP processor retrieves in phases and with value 0 from the key figure of CUBE2.
    Any suggestion on how to solve this without new back-end development?
    Thanks.

  • While transporting Key Figures from Dev to Quality system, error occured.

    Hello Experts,
    While transporting Key Figures from Development to Quality system, I am getting this error : " /BIC/AZPA1R_CT40-/BIC/ZPA1RBA10 (specify reference table AND reference
    field)".
    Here, I have changed the data type of the key figure from Number type to Amount type. Then I activated them, captured in request and when transported I got the error saying "/BIC/AZPA1R_CT40-/BIC/ZPA1RBAL9 (specify reference table AND reference field)"
    These Key Figures are used in ODS.
    Is there I am missing something, please tell how can I make these transports successfull.
    Thanks Ishdeep.

    While transporting Key Figures from Development to Quality system, I am getting this error : " /BIC/AZPA1R_CT40-/BIC/ZPA1RBA10 (specify reference table AND reference
    Yes you missed to transport reference object.
    Previously key figure data type is number then you have changed to Amount. While changing data type to amount You should maintain reference char  like 0currency, Doc_currency......in the Unit/currency tab. ( If you use fixed unit or currency no need to maintain any reference Object).
    During transpotation you need to collect this reference char with main key figure and then transport.
    With Regards,
    Kishore.

  • Could not release my own Key Figure from DP to SNP

    Hi SAP Experts,
    As requirement, I have to run forecast for three Key Figures in Demand Planning (DP): Z_FK1, Z_KFK2, Z_FK3. Unit of measure of these Keyfigure are VND (currency Viet Nam Dong).
    I added these Key Figures to DP Planning Area with name Z_DPPlan01.
    I created a new Planning Area in SNP with name: Z_9ASNP02 by coppying from the standard 9ASNP02. Then I added the above Key Figures (Z_FK1, Z_KFK2, Z_FK3) into Z_9ASNP02 planning area.
    After I runing forecast in DP, I tried to release value of three Key Figures into SNP with tcode: /n/sapapo/mc90. Although system informs that u201CRelease successfully executedu201D, nothing released from Z_DPPlan01 to Z_9ASNP02 when I check in SNP Planning book.
    Question is:
    How to configure Key Figures in SNP and DP (Sematic, Key Figure Function, Category, Category Groupu2026)  so that we can release all three above Key Figures from DP to SNP?
    Thanks very much for your help!
    Duyennx

    Dear Pawan,
    2 . The business requirements are:
    Our customer is a bank that has many branches. They want to forecast for each branches:
    - The Total money (all denominations) will be issued in next quater (Z_KF1). This base on historical data (Z_HIS1)
    - The total money (all denominations)will be received in next quater (Z_KF2). This base on historical data (Z_HIS2)
    Base on these forecast KFs, we need to calculate the Average of Total money will be received and Issued in next quarter (Z_KF3 = (Z_KF1+ZKF2)/90.
    90 is the number of days in a Quarter.
    We need to release the three KFs from DP to SNP for further calculation and reporting. As said previously, I added three time series KFs Z_KF1, Z_KF2, Z_KF3 to SNP Planning Area (Z_9ASNP02)
    If could not release, we can coppy. But the problem is that: in DP, beside standard characteristics 9AMATNR and 9ALOCNO, we also added more custom characteristics like Z_TYPE (to generate CVCs and to drill down money by type (cotton, polymer, coin)). So when I run the Tcode /n/sapapo/tscopy, despite of the fact that in u201CCharacteristic Assignmentu201D I only assigned 9AMATNR and 9ALOCNO from source to target, system show message like:
       3 combinations not contained in target master planning object structure
    Message no. /SAPAPO/MSDP_REL108
    Diagnosis
    Characteristic combinations exist in the source planning area's master planning object structure that are not contained within the master planning object structure of the target planning area.
    System Response
    The source data of these characteristic combinations is not written to to the target planning area.
    So, How to copy with my case?
    4.Please Explain more about:
    u201CCreate a third custom category group containing your custom category, and add this under 9AMALO. Give only your category group name & Semantic should be 000u201D
    4.1.I can creat a custom category group under menu path:
    SAP Reference IMG u2192 Advanced Planning and Optimization u2192 Supply Chain Planning u2192 Supply Network Planning
    u2192 Basic Settings u2192 Maintain Category Groups.
    But where can I create my custome category? Is this menu path:
    SAP Reference IMG u2192 Advanced Planning and Optimization u2192 Global Available-to-promise (Global ATP) u2192 General Settings u2192 Maintain Category
    In this path, I can see to folder:
    -u201CSAP categoriesu201D: We could not create new category in this folder
    - and  u201Cnon-SAP Categoriesu201D: I can press button u201CNew Entriesu201D and key in Data like:
    oCategory: TT
    oCategory text: TT
    oCategory Description: TT
    oSort String: 99
    oCategory type: Requirements (I also tried with Forecast, Stock, Receipt)
    And then, press u201CSaveu201D button. But system always create message:
    u201CEnter values in work area for non-key fields
    Message no. SV174
    Diagnosis
    An entry has been made for a non-key field in the view or table, which does not satisfy a selection condition stored in the Dictionary or made in the maintenance transaction initial screen.
    System Response
    The values entered cannot be accepted.
    Procedure
    Ensure that your entry is correct. This data record will not be displayed if you use the same selection conditions again.u201D
    I donu2019t know what wrong here. How to create my custom Category? Here is u201Cnon-SAP Categoriesu201D, Is there any problem if we create category with this type?
    4.2 How to add custom Category Group under 9AMALO? Which T-code we use?
    5. By the way, Please clearly explain for me:
    5.1. What are differences between u201CTime series live cacheu201D and u201COrder live cacheu201D?
    5.2. What are differences between releasing KFs from DP to SNP and copying KFs from DP to SNP?
    Thanks very much for your help!
    Edited by: xuanduyen on Dec 31, 2011 4:38 AM

  • How to Selectively Delete ONE Key Figure from Cube....

    Hi:
    On a Daily basis (Via Process Chain), I need to do the following:
    1.  DELETE Single Key Figure from my planning cube.  When the "PYMNT DATE" is greater than System Date, then delete the
         key Figure.
    2.  Once Deleted, LOAD the same Single Key Figure from another cube when the PYMNT DATE is GT  System Date. 
    How can I do this in a Program.  What would be the code for this?  Need help with ABAP.
    Thanks in advance.....  PBSW

    Hi,
    See Article on Selective Deltaion in
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Using Selective Deletion in Process Chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20selective%20deletion%20in%20process%20chains.pdf
    Thanks
    Reddy

  • How to populate " UnRestricted Stock" key figure from 0IC_C03

    Hello All,
    There is requirement for us to show a field known as "unrestricted stock" from the info cube 0IC_C03. but there is no such key figure in that info cube. I searched all the forums and learnt that it must be calculated on fly while the report executes.
    can any body help to identify / populate the "Un Restricted Stock"  from the info cube 0IC_C03.
    Thanks for all your time

    Hello Mr.Nagaraju vadlamani,
    Thanks for your reply.
    Can you please let me know how to get the following objects you mentioned to calculate the "unrestricted stock"
    Projected Stock of today - ?
    Demands with demand date today - ?
    receipts with delivery date today  - ?
    Thanks,

  • Add update rule for new key figure in one info struc

    Hi, everyone
    I would like to know how to add update rule for new key figure in one info struc.
    Thanks ahead.
    Eric

    1)I have created the update rule for one info structure
    2)add one key figure in the info structure due to business requirement
    3)then I use MC25 to add update rule for the new key figure, but I find that there no relevant menu to do such operation.
    Can anybody tell me how to do with it?
    Any answer will be appriciated.

  • Combine two reports in query designer using key figure with sap exit

    Hi experts,
    i want to combine two reports in query designer using key figure with sap exit
    in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
    to calculate due and not due in two columns
    in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
    to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
    now i have requirement like this
    not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
    or
    not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
    thank you

    Hi Dirk,
    you perhaps know my requirement,
    for the management to make used in one report,
    we have in reporting finacials Ehp3.
    Vendor Due Date Analysis - which show due, not due
    Vendor Overdue Analysis - show only due and analysis in time grid frame
    i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
    krish...

  • Can we suppress the key figure from the filter values?

    Hi,
    I have one restricted key figure.
    1) Is it possible to hide the key figure for calender year 2009 and display it for year 2010. I mean can we hide the column dynamically?
    2) Can we grey out the key figure from filter criteia so that it cannot be checked for specific calender year?
    eg if i have 3 key figures as One , Two , Three.
    In filter , it will show One , two ,  three  and the checkbox . Is it possible to grey out the checkbox so that user will not be able to check it or tick it?
    Regards!

    Hi,
    1) I don't think we can hide it dynamically.
    2) I dont think we can give such a option in the query designer.can you explain what is ur exact requirement.
    Regards,
    Ravi

  • How to find the activity of the Info cubes or any other Info Provider

    Hello everyone,
    Is there anyway to find out the last activity date of the info cube or any other info provider?
    One way is through tools--> Statistics for BI (But this is not working as I do not have enough authorizations in the office)
    So, can anyone please give me a way to know the last activity date of all the Info Provider so that respective action can be taken on the Info Provider according to their usage.?
    I also need the Procedure to know the activity of the queries also?
    Hope to get an answer soon..!
    Thanks in advance..!
    Deepak

    Hi,
    Are you looking actvity related to (Data retrival or data load)? (When the last time data loaded in Info provider or when the last time query is executed on that Info provider)?
    If this is your requirement then BI statistics is only way to find out so get the authorization for the same.
    If your need is -- last changed/llast data load etc.. then you may check the option "last changed at" at in Info provider maintinence, and data load dates.
    I hoep it will help.
    Thanks,
    S

  • Using Explorer with Calculated Key Figures from BEx (BW 7.31 / BI 4.1)

    I'm looking for suggestions on how to leverage data from calculated and restricted key figures in BEx (from a BW 7.31 system) with Business Objects Explorer (from a BI 4.1 system).  Our current process involves some complicated workarounds and with the implementation of BI 4.1 and I'm hoping to streamline things a bit.
    Here is what I had in mind...
    An information space (indexed daily) sitting on a universe (hopefully UNX) that referred to a BEx query on a multiprovider in BW.  My understanding was that universes would be able to consume BEx queries (including their restricted and calculated key figures) in 4.1.  Based on a recent post (http://scn.sap.com/thread/3417905), it appears that the feature that I was hoping for may have not made it into the GA release.  Obviously, I could move the calculations and restrictions into BW ETL or maybe into the universe, but since that work has already been done and lives in the queries, I'm hoping to use them!  Also, we could use a different tool such as WebI, but at this point the user base is comfortable with Explorer and we would like to continue to use it.
    Suggestions? 
    Thanks!
    -S

    Hi McDowell,
    Regarding to the BEx connection in Explorer, SAP provide two solution
    1. BWA connection
    2. Unv on top of connection
    For the UNV situation, you could use the calculated / restricted key figure in the system but please assgin the aggregation level for them (Database delegate is not supported if I am not wrong)
    Also plese consider two points
    1. Data size (UNV cannot support large data size)
    2. Scheduling (Explorer does not support event trigger? correct me if I am wrong)
    Best regards
    Alex yang

  • How come I cannot recieve text messages from other iphone users without using imessage?

    I do not have a data plan, so when I am not connected to wi-fi I cannot recieve text messages from other people using an Iphone. I can recieve them once I turnn on imessage and am connected to wi-fi though. Why is this and what can I do to fix it??

    Check Settings>General>Cellular to be sure you have Cellular Data set to On.

  • Assigning a Key Figure in a Multi provider

    In a multi provider if I have a key figure which is assigned from more than one part providers.  What does this exactly mean?  For example:
    Let's say I have a key figure Number of Sales which is present in two part providers and assigned from both the providers, if I build a query say Country | Number of Sales what happens with the assignment
    Thanks

    Good point.
    My scenario is as follows. 
    1. We are building a query which uses a base query as a template. 
    2. Our query is built off a seperate multiprovider which replaces one of the part cubes with a cube that has consolidated set of data from SAP and Non SAP systems
    3. In the original multi provider one of the key figures is assigned from two part providers, one of which is that which we are replacing - this key figure is used extensively in the definition of other query level key figures
    4. The key figure does not exist in the consolidated cube but we have a key figure that we will use instead of.
    5. The original query does not have info provider restrictions at the query or local key figure levels
    I believe I can sum the two figures when I define the Key figures in the new query but just needed clarity on if this is a solution hence wanted to confirm the values are being summed up assuming no restrictions etc
    Sorry guys,
    before I close this message I just wanted to confirm the following, do not want to save/activate the change on the system
    I have carried out a check after I removed the assignment from one of the part providers it seems that this is possible - this is correct.  If this is the case it seems that the business requirement is to sum the values from the two part providers
    I
    Edited by: Niten Shah on Jul 9, 2008 6:44 PM

  • Restricted key figures (from Infoprovider) not showing in multiprovider

    Hi all
    I have created a multi provider joining two info providers.  The infoproviders have many restricted and calculated key figures.
    Do I have to re-create these in the multiprovider ?
    In the infoprovider when I click on edit restricted key figure it says it is reuseable.
    any ideas ?
    thanks in advance

    Hi Sandra,
    In the infoprovider when I click on edit restricted key figure it says it is reuseable This means that it can be used in any query on that info provider not on another infoprovider (like a multi-provider). So, you will need to re-create those KFs on muti-provider.
    Thanks and Regards
    Subray

Maybe you are looking for

  • Can I use one HD for 2 computer for time machine?

    I have an imac and macbook. I bought a new 500G external harddisk for time machine.. can I share the harddisk between 2 computer? Or I have to get 2 HD for 2 computer?

  • Files showing up on iTunes, but not in iPod

    So a few days back, my iPod acted up and restored itself, sort of. Well, my iPod synced itself and added the music files from my library. So now when I look at my iPod files through my iTunes, the files show up grey and i can't play them yet they're

  • How to add external library in class path folder for use in Java call-out?

    Hi, I am working with Java callout component in OSB 12c using Jdeveloper. Thing is Jar what i am using to perform conversion of json to xml that using external libraries. When i have give reference of my project jar to java callout it doen't found ex

  • WPA2 Enterprise Network Accounts are unavailable

    I'm going to admit upfront that I am a Windows admin. I have attempted Google searches, Apple support searches, and I'm coming up without answers that are working. It's possible that I'm overlooking the answers in front of my face, but any help would

  • Cant see my website on mac only on PC!

    can someone please take a look at www.personalisedtoppers.co.uk on a mac. I get a blank page on my mac but on the PC i can see it fine, anyone know why this happens and how to rectify it? Thanks, lou : )