How to RollUp Amount data based on SAP BI GL Account to BPC Grp GL Account

Hi All,
Initial data format
EXTERN            INTERNAL         AMT
GL Acco                 Grp GL  ACC           AMT
0200001              100000          0100
1000000              100000          0200
1000010              100000          0300
1000011              100000          0400
1000012              100000          0500
1000020              200000          0010
1000030              200000          0020
1001000              200000          0030
1001001              200000          0040
1001002              200000          0050
We are having Group GL Account as our master data in member sheet of Account dimension. And we are having GL accounts coming in BPC from SAP BI System ( ECC ) and are mapped (as in above) to Group GL Account in N:1 mapping.
We need to get the expected Rollup Amount data (Refer 3rd column) as below.
Expected Rollup Amount
Column 1    Column 2     Column 3
EXTERN            INTERNAL         AMT
GL Acco                 Grp GL  ACC           AMT
0200001     100000        0100
1000000     100000        0300
1000010     100000        0600
1000011     100000        1000
1000012     100000        1500
Please share your valuable inputs in this regard.
Regards
Amit

Hi,
Since, you are converting all the external GL accounts to the same internal Group GL account, it wont be rolled up. Instead, it will be aggregated.
If you report on 100000, you will see the data as a total sum.
Hope you got the idea.
So, this means, you cannot map all of them to the same internal member. You need to map them to different members and you need to create a hierarchy on those members for the correct rollup to take place.
Hope this helps.

Similar Messages

  • How to use open data set in SAP

    Hi SAP Gurus,
            Could anyone help, how to use open data set in SAP.
          I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
    Thanks & Regards,
    Krishnau2026

    Hi Krishna.
    These are the steps you need to follow.
    tables: specify the table.
    data: begin of fs_...
            end of fs_    " Structure Field string.
    data: t_table like
            standard table
                      of fs_...
    data:
    w_file TYPE string.
    data:
      fname(10) VALUE '.\xyz.TXT'.
    select-options: if any.
    PARAMETERS:
      p_file LIKE rlgrap-filename.
    w_file = p_file.
    select .... statement
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    LOOP AT t_... INTO fs_....
    write:/ .....
    TRANSFER fs_... TO fname.
    or
    TRANSFER t_... TO fname
    ENDLOOP.
    CLOSE DATASET fname.
    Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
    Regards Harsh.

  • How will be outbound data structure in sap xi after executing the stored pr

    Hi All
    can any one please tell me how will be outbound data structure in sap xi after executing the stored procedure by sender JDBC adapter?
    Thanks in advance
    regards
    Rams

    Hi..
    My stored procedure is select and it will be OUTBOUND in PI.
    is it will be same as following
    <resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></column-name2>
    <column-name3>column-value</ column-name3>
    <column-name4></column-name4>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></ column-name2>
    </row>
    </resultset>
    Regards
    Rams
    Edited by: Rameshkumar Varanganti on Oct 15, 2008 12:04 PM

  • How to determine Organizational Data based on User Login

    Dear all,
    How to determine organizational data based on user login in Activity transaction, currently org determination is happening after entering customer number in the transaction.
    We have used 'Responsibility' determination rule for this configuration. Now the requirement is to determine org data based on user login.
    In Org model we have assigned user to org data through a business partner. But still org data is not getting determined in the transaction.
    Please help me to trace out the problem.. your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    You just have to use other organization determination rule. In your case this would be rule 10000194 (ORGMAN_12). This determination rule delivers the responsible organizational unit of the user
    User is defined as a business partner in the container attribute 'PARTNER'. If not, the system user (sy-uname) is used.
    So you have to do the following:
    - use this determination rule
    - in BP link username with employee
    - assign in PPOMA_CRM employee or user to organizational unit
    This should solve your problem.

  • How to delete the data based on concurrent request Id

    Hi
    from account receivable to gl i am posted a cheque through concurrent program.
    right now my problem is I want to delete that data in database tables based on concurrent request id.
    how to delete that data based on concurent request id, Please give me some suggessions

    What is the application version ? what exactly you want to achieve ?
    Direct deletion is not recommended in oracle application database.
    regards,

  • How to fetch MIR4 data based on MB51 refrence number

    hi Experts.
    i want to fetch MIR4 data based on MB51 refrence number.
    I want to fetch below fileds in MIR4 TCODE.
    1.  RBKP-BELNR (Invoice Document NUMBER)
    2. DRSEG-MENGE ( quantity )
    3. DRSEG-WRBTR ( Amount in document currency)
    As mentioned above DRSEG is structure.
    please help me how to fetch 3 data fileds based on my MB51 refrence.( mkpf-xblnr ).
    In MIR4 , Number of External Delivery Note( DRSEG-XBLNR ) is same as my MB51 refrence ( mkpf-xblnr).
    This is the only link avilable to fetch above 3 fields.
    kindly give any suggestions .
    thanks & regards,
    hari priya

    Hi ,
    can anybody give me suggestions .
    What is the table name for fetching above 3 fileld data  . 
    DRSEG  is structure .
    Thanks & regards,
    Hari priya

  • How to pick the data based on customer number

    Hi All ,
    greets....
    i have a requirement to select  the data based on customer number and then do furthur processing .
    example:
    this is some 10 dcouments in customer nr:v1000
    and 20 documents in customer v2000 in a internal table how to select that,
    thank s in advance.

    thier is an internal table which is having some 1000records.
    and their is 6 customers.
    in which i should pick the data based on customer number.
    how to write a code for that?

  • How to display filtered data based on user login

    We have a SSRS report (.rdlc) which gives the report about Online count of machines. Report is incoperayed in Asp.net.
    We have many filters in This report. Now we have to retrict the report based on user login to the application .
    For ex: report has a drop down for Regional Admin. Now if one person login to the application he has to view only his region online count.
    How can we do this in SSRS?. We have our application hosted in Microsoft Azure . Please suggest

    Hi csmbrnoc,
    In Reporting Services, if we want to filter data based on user login, then there must be some relationship between the UserID and the Region in the dataset. For example, there is a field named UserID in the dataset, and each ID map some region and the corresponding
    “Online count of machines”. In this scenario, just as Visakh suggested, we can use built-in field User!UserID to obtain UserID of the current user, then directly add a filter to the dataset as below:
    Expression: [UserID]
    Operator: =
    Value: [&UserID]
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to split the data based on one column

    Dear All,
    I have the table data like this.
    type quantity revenue_mny count country
    a 10           10          2 India
    a 20          12          3 India
    b 30          15          1 India
    a 35          20          2 US
    b 20          10          1 US
    b 60          15          1 US
    I woulkd like to split the date based on type column.
    For each country, for Type "a" get the sum of revenue count quanity ans same for b
    and all shuld come in on row for each country.
    output should be like
    country revenue_mny(For a) quantity(for a) count(For a) revenue_mny(for b) quantity(for b) count(For b)
    India 22 30 5 15 30 1
    US 20 35 2 25 80 2
    I tried the below query . its not splittng the date for each country in one row.
    select country,
    sum(case when type='a') then revenue_mny else 0 end ) revenue_mny_a,
    sum(case when type='b' then revenue_mny else 0 end ) revenue_mny_b
    sum(case when type='a' then quantity else 0 end) quantity_a,
    sum(case when type='b' then quantity else 0 end) quantity_b from
    test
    group by country
    Please need your helo

    Like this?
    with t as
    select 'a' type, 10 quantity, 10 revenue_mny, 2 cnt, 'India' country from dual union all
    select 'a', 20, 12, 3, 'India' from dual union all
    select 'b', 30, 15, 1, 'India' from dual union all
    select 'a', 35, 20, 2, 'US' from dual union all
    select 'b', 20, 10, 1, 'US' from dual union all
    select 'b', 60, 15, 1, 'US' from dual
    select country,
    sum(case when type='a' then revenue_mny else 0 end ) revenue_mny_a,
    sum(case when type='a' then quantity else 0 end) quantity_a,
    sum(case when type='a' then cnt else 0 end) cnt_a,
    sum(case when type='b' then revenue_mny else 0 end ) revenue_mny_b,
    sum(case when type='b' then quantity else 0 end) quantity_b ,
    sum(case when type='b' then cnt else 0 end) cnt_b
    from t
    group by country;result:
    COUNTRY  REVENUE_MNY_A QUANTITY_A CNT_A REVENUE_MNY_B QUANTITY_B CNT_B
    India    22            30         5     15            30         1
    US       20            35         2     25            80         2Or you can do it with a decode instead of case. The result will be the same:
    with t as
    select 'a' type, 10 quantity, 10 revenue_mny, 2 cnt, 'India' country from dual union all
    select 'a', 20, 12, 3, 'India' from dual union all
    select 'b', 30, 15, 1, 'India' from dual union all
    select 'a', 35, 20, 2, 'US' from dual union all
    select 'b', 20, 10, 1, 'US' from dual union all
    select 'b', 60, 15, 1, 'US' from dual
    select country,
    sum(decode(type,'a',revenue_mny,0)) revenue_mny_a,
    sum(decode(type,'a',quantity,0)) quantity_a,
    sum(decode(type,'a',cnt,0)) cnt_a,
    sum(decode(type,'b',revenue_mny,0)) revenue_mny_b,
    sum(decode(type,'b',quantity,0)) quantity_b,
    sum(decode(type,'b',cnt,0)) cnt_b
    from t
    group by country;(I changed tablename from TEST to T and columnname from COUNT to CNT, because you should not use reserved words as tablename or columnname.)
    Edited by: hm on 09.10.2012 06:17

  • How to convert amount data element to number data element

    Dear Gurus,
    I have a requirement to get the data by calling BRF+ and then pass them to BAPI 'BAPI_ASSET_ACQUISITION_POST', in the BRF+ export structure, there is a field 'AMOUNT', I bind it to DDIC element 'BF_ANBTR', the type is Number.
    In BRF+, I call another global function to calculate the value, I define a local variant LV_VALUE to get export value from this function, this local variant's type is Amount, now I need to move this local variant value to the export field 'AMOUNT'.
    But BRF+ doesn't allow to convert amount data element to number data element directly, and I find there is no formula function available. Only there is a function 'TO_AMOUNT' to convert number data element to amount data element.
    Please help to get a solution for above solution.
    Thanks.

    Hi,
    within the formula expression within the category "Mathematical functions" you will find the function "TONUMBER". This converts a data element of type currency to a number. According to the help of this function:
    "The following conversion rules apply:
    <Amount>: The number part is returned. The currency unit is omitted."
    This is what you are looking for.
    For the other way round you already mentioned the correct function "TO_AMOUNT"
    BR
    Christian

  • How to get past date based on duration and factory calender?

    Hi All,
    when i enter the duration ,i want to get the past date based on factory calender w.r.t current date
    i.e if current date is 26th jun and duration is 10 , the past date should be 12th jun (which should exclude all holidays and weekends).
    Thanks
    Vasumathi

    Hi,
    Please check this FM: I think this will resolve ur issue.
    END_TIME_DETERMINE
    Cheers,
    Vijay.

  • How to rollup cube data in Process chain?

    I have loaded data into a cube, and when i look at the technical status it is green but there is nothing in the "request for reporting available"box. I went to Rollup Tab and manually execute the request. It worked.
    But is there anyway that I can add a process type to do it automatically? I saw there are three process type related to Rollup, which one should I use?
    1. Initial Fill of New Aggregates
    2. Roll Up of Filled Aggregates/BIA Indexes (what does this mean?)
    3. initial Activation and Filling of BIA Indexes
    Thank you!

    Dear experts,
    We have the following problem: for certain figures we have on ODS level 2 daily updates: one at night and one at noon. During the week at noon we only load from the ODS into the Cubes only that data that is entered the same day (selection on CPU-Date in the InfoPackage). After loading the data at night we load the data which was entered the previous day (selection on CPU-Date in the InfoPackage). In this process we have a step in the process chain that deletes in the overlapping request of the previous day (which was loaded at noon).
    Our Process Chain for loading the data from ODS into the cubes looks as following:
    Delete Indexes of the cubes -> Load data from ODS into Cubes -> Generate Cube Indexes -> Delete overlapping Requests in InfoCubes
    After filling the BIA-Indexes on this cube, the process chain gives an error message at the stage where the overlapping request should be deleted.  The error messages says:
    Uncaught Exception: Keyfigure is of type Float.
    To solve this error at the moment we manually delete the BIA Indexes, delete the overlapping requests and fill the BIA Indexes again. Since the functions 'delete BIA Index' and 'Fill BIA Index' is not available in RSPC we can not do this automatically in the process chain.
    I also tried like above mentioned taking the step 'roll up filled BIA Indexes' into the process chain, but the check of the process chain creates a message stating that i cannot do this when in the same process chain the steps 'Delete Indexes of the Cube' and 'generate Indexes of the cubes' are included.
    Does anybody know a solution how i can delete overlapping requests in a process chain with filled BIA Indexes.
    Many thanks in advance for your kind reply.
    Best regards,
    Ilja Dekeyser

  • How to get the data based on below data-----pls help me...

    Hi,
    i have the data in my table.......
    SET_ID SET_Name Status date user_name
    SET974     F698671     I     24/03/2011 10:40:05     TEST1
    SET974     F698671     I     24/03/2011 10:40:05     TEST1
    SET974     F698671     N     24/03/2011 10:40:05     TEST1
    SET974     F698671     I     24/03/2011 10:40:05     TEST1
    SET528     A258961     I     22/03/2011 9:40:05     TEST2
    SET528     A258961     N     22/03/2011 9:40:05     TEST2
    SET528     A258961     I     22/03/2011 9:40:05     TEST2
    SET528     A258961     I     22/03/2011 9:40:05     TEST2
    SET974     F698671     I     25/03/2011 13:40:05     TEST1
    SET974     F698671     N     25/03/2011 13:40:05     TEST1
    SET974     F698671     N     25/03/2011 13:40:05     TEST1
    SET974     F698671     I     25/03/2011 13:40:05     TEST1
    SET974     F698671     I     26/03/2011 15:40:05     TEST5
    SET974     F698671     N     26/03/2011 15:40:05     TEST5
    SET974     F698671     N     26/03/2011 15:40:05     TEST5
    SET974     F698671     I     26/03/2011 15:40:05     TEST5
    I want to know each user ,how many sets modified.
    based on above input data,my output would be in the following way:
    user_name no.of sets upated for single user
    TEST1 2
    TEST2 1
    TEST5 1

    Based on your sample data, why does TEST1 have a count of 2? From what I can see, the only SET_ID that is associated with TEST1 is SET974 so I would think that you'd want TEST1 to have a count of 1.
    If I ignore the data you posted and just look at the text of your requirements, I would guess that you wanted
    SELECT user_name, COUNT( DISTINCT set_id ) cnt
      FROM some_table
    GROUP BY user_nameThis won't give the output you said you wanted based on the sample data you provided, however, for the reason I outlined above.
    If you actually do expect to get the output you posted from the sample data you posted, can you explain in a bit more detail why TEST1 should have a value of 2? It would also be helpful to post the CREATE TABLE and INSERT statements rather than just dumping the data. If you provide DDL & DML, we can create the objects locally and verify our solutions rather than guessing based on eyeballing the data.
    Justin

  • How to filter VO data based on user access

    Hello,
    Can anyone help me with an approach for the below case.
    Once a user logs in, we want to show them a list of various Company(s) and Role(s) that they have access to(this comes from a custom Table).Based on the selection they make here, we would like to filter the data(Here company is very much like ORG_ID in Oracle EBS).So how do I apply this criteria across all VOs once the selection is made so that user sees a specific company data only.Also the Role would be used to enable and disable few fields(regions) on the forms.How do we approach getting this done too.Again as in Oracle EBS,this is more like, SPEL in OAF.
    Any help is appreciated.Thnx!
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi All,
    I have made some progress and but I am stuck with an issue now.Please let me know what am I missing here.
    Approach:
    1. Once a user logs in, I display the various operating companies that he has access to as a Table region.As he selects a row in this table, I set a pageFlowscope variable.I am able to display the value also as he selects various companies from the table region displayed.
    2. Now I created a bounded Task flow(BTF) which has a default method activity(ExecuteWithparams) which would take a company as a paramter(bind var) and I have set this to use the pageFlowscope variable referred above.And after this method it goes to a view which displays data for that company data.
    3. Now I dragged and dropped this BTF as a region onto my page.
    Problem: When I run the actual page it says "No data to display" in the BTF region. But there is data in the database for that company.How can I fix this issue or what is it that I am doing wrong.Please help.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Split Column Data Based on Identifier

    Hi,
    I am using oracle database.
    I am having data in this format in my column 1234~2345~3456~4567.
    I need a query to split the data in the column based on the identifier '~',so that i can pick out the value after the second occurrence of the identifier.
    May i know who can i achieve this.
    Edited by: 962987 on Oct 3, 2012 12:11 PM

    Hi,
    Welcome to the forum!
    Whenever you have a question, please post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that data. For example, given this data
    CREATE TABLE     table_x
    (       my_column     VARCHAR2 (40)
    INSERT INTO table_x (my_column) VALUES ('1234~2345~3456~4567');
    INSERT INTO table_x (my_column) VALUES ('just~2 parts');I think you're asking for these results
    PART_3     MY_COLUMN
    3456       1234~2345~3456~4567
               just~2 partsI assume that, if the string doesn't contain at least 2 '~'s, you want to return NULL. It's a good idea to explain what you want for special cases like that, and include examples in your sample data and results.
    Not all versions of Oracle are exactly the same. In fact, they are all different. If you want the best solution that works on your version, then say what version that is.
    The following query will work in Oracle 10.1 and higher:
    SELECT  REGEXP_SUBSTR ( my_column
                    , '[^~]+'
                    , 1
                    , 3     -- 3rd occurrence (after 2nd delimiter)
                    )     AS part_3
    ,     my_column          -- if wanted
    FROM    table_x
    ;See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Oct 3, 2012 3:24 PM
    Added sample data and results.

Maybe you are looking for

  • Adobe CS issues on MacBook Pro

    I am unable to open my Adobe Reader 7.0 (crashes upon opening) and am not able to have more than one of the CS2 applications open at the same time without one of them crashing. Anyone else run into this issue? Is this a mac issue or an adobe one? ple

  • How to connect external trigger PCI-1433

    Hi all: I met the same problem as this old post: https://forums.ni.com/t5/Machine-Vision/How-to-connect-external-trigger-PCIe-1433/m-p/1677560/highli... however the post did not give solution. I am having an issue getting the external trigger( from P

  • TS4002 how to setup folders in i Cloud mail

    I just start using iCloud as my e-mail after trying Yahoo and Google for years, my questions is how can I create mail folders as other web mail allow. Any suggestions is welcome Many thanks in advance for your time Warm Regards Aijaz

  • I purchased a used macbook pro and want to set it back to original factory settings

    I purchased a used macbook pro and want to set it back to original setting

  • Names of tables

    Hi , Can you pelase provide me the names of TOP 10 tables used in SD,MM,PM and FI/Co modules. Regards Saurabh