-To add column in the Query desinger

Hello Colleagues
I have column 'C' in the Query desinger. Logic to get value for C is C = A + B. As soon as I open the report, getting the value for Column 'C' .
Here, my questions are
1. I should have the flexibility to drill the column C down to display columns A and B (column C is also present)
2. In the initial view (start of report), displaying column C alone is enough.
Eg: Column C shows value as 100. When I drill the column ( using arrow mark for column C), found that two more columns A and B displayed with values 40 and 60.
Initial run should show column as below.
Col 'C'
100
If drilled on Column C (where arrow mark is pressed to get as below)
Col 'C'     Col 'A'     Col 'B'
100     40     60
To achieve above scenario, please guide me the tasks I have to carry out in Query desinger/Anlayzer/view.
Regards,
Ningaraju

Hi Bhanu
Tks for the reply. Followed the steps below
1. Created keyfigures A,B,C separately
2.On the context menu of structure, checked for 'Dispaly as hierarchy'
3.Tried to drag A and B under C.
Unfortunately, A and B can't be draged under C. Rather, they are placed up or below it.
Could you guide me the correct steps.
Regards,
Ningaraju

Similar Messages

  • RPD - Cannot obtain number of columns for the query result :Working with MS SQL 2012 schema

    Hi All,
    I have created my warehouse in MS SQL 2012.
    For management purpose, I have created different schemas in SQL database
    In RPD, Physical layer, when i view data > I get error as
    [nQSError:16002] Cannot obtain number of columns for the query result.
    [nQSError:16001] ODBC error state : S0002 code : 208 message: [Microsoft][ODBC SQL Server Driver][SQL Server] Invalid object name 'tbl'..
    [nQSError:16001] ODBC error state : S0002 code : 208 message: [Microsoft][ODBC SQL Server Driver][SQL Server] Statements could not be prepared..
    I have already browsed : OBIEE 11g Strange ODBC Driver Error with SQL Server : Total Business Intelligence ... did not help me
    please help!!!

    Hi All,
    After all R&D it is been found that Oracle business administrator( RPD) needs default dbo schema. It doesn't accept custom schema for pulling data.
    If anybody have other views please share.!!
    Thank you

  • Displaying dynamic columns in the query output.

    Hello,
    Depending on current quarter output of the query would vary.
    If current quarter is 'Q1'
    O/p : InvQ1  Del  BackQ1  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q2'
    O/p : InvQ1  InvQ2  Del  BackQ2  BackQ3  BackQ4
    If current quarter is 'Q3'
    O/p : InvQ1  InvQ2  InvQ3  Del  BackQ3  BackQ4
    If current quarter is 'Q4'
    O/p : InvQ1  InvQ2  InvQ3  InvQ4  Del  BackQ4
    So, out of 9 columns, 6 columns would display at any given time depending on the current quarter.
    Invoice of 4 quarters, Deliquency and Backlog of 4 quarters.
    I am not getting any way how to display dynamic columns or hide unwanted/blank columns.
    For the time being I have added all 9 columns in the query, and in the output unwanted columns shows blank.
    Can anybody please suggest me how to display only 6 columns in the output depending on current quarter.
    Thanks and Regards
    Shilpa

    Hello,
    This shouldn't be too difficult. Assuming you have a variable with the selected quarter, you may choose to display Inv (whatever that is) for quarters 1 through variable, Del, and Back for quarters variable through 4. You also need a drilldown on quarter in the columns (after the key figure structure). You would probably need to restrict 'Del' on the variable as well if you haven't already done it.
    Best regards,
    Christoffer

  • Nsert/Update and Add Column at the same Table and at the "same" Time

    Hello,
    I want Insert/Update and Add Column at the same Table and at the "same" Time but in different sessions.
    Example:
    At first the "insert/update" statement:
    Insert into TestTable (Testid,Value) values (1,5105);
    After that the "add" statement:
    Alter table TestTable add TestColumn number;
    - sadly now I get the message: ORA-00054: resource busy and acquire with NOWAIT specified
    "insert/update" statement:
    Insert into TestTable (Testid,Value) values (2,1135);
    After that the execute commit.
    I don't know when the first session set the commit statement so I want that the DB the "Alter Table..." statement execute if it's possible.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.
    Thanks for ideas

    Well I want to walk in the rain without and umbrella and still stay dry, but it ain't gonna happen.
    You can't run a DDL statement against a table with transactions pending. Session 2 has to wait until session commits or rollbacks (or until the session is killed). That's just the way it is.
    This makes sense if you think about it. The data dictionary has to be consistent across all sessions. If session 2 was allowed to change the table structure whilst session 1 has a pending transaction then the database is in an inconsistent state. This is easier to see if you consider the reverse situation - the ALTER TABLE statement run by session 2 does a DROP COLUMN TESTID rather than adding a column: now what should happen to session 1's INSERT statement? You have retrospectively invalidated a statement that was perfectly legal when it was executed.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.Fnord.
    Cheers, APC

  • Add a flag column in the Query based on Cancel date

    hi Guys,
    I have a Characterstic object 0canceldate and it gets the cancellation date of the sales order. Based on that date i need to add a column in the report like if 0canceldate has ahappened or populate then show Yes or No in the coumn like a flag.
    Can anybody help me how i can do that?

    SELECT d.NAME
          FROM
            (SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta ,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND jtva.low_value_char     = hl.postal_code
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND ps.location_id          = hl.location_id
            AND hl.country             in( 'CA', 'US')) D;
            UNION
            SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND ps.location_id          = hl.location_id
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND hl.country              = 'US'
            AND hl.postal_code BETWEEN jtva.low_value_char AND jtva.high_value_char
            )d;

  • Phap_admin: how to add columns to the initial ALV

    Hello everyone,
    I have a requirement which is to add 2 new columns on the ALV that appears after going through the phap_admin selection screen.
    I show you a picture as an example:
    I need to add 2 fields form infotype 0002 in this ALV list.
    I've been looking around and I found this badi: HRHAP00_REPORTING, but I don't think it can help me, because this bady Works after clicking the status button "Reporting" at /nphap_search.
    Does anybody faced the same issue?
    Do you now any badi for that purpose?
    Help would be apreciated and rewarded with points.
    Kind regards.

    Append your additional fields in this structure HAP_S_DOCUMENTS  it will show in the layout.
    then write implicit enhancement for data population where final itab is filling.
    and  after append structure,   for data population in the following include LHRHAP_UI_DOCUMENT_REPORTF06 and subroutine f1100_ctrl_create   modify table based on ur logic.
    I tried in my sandbox its working fine and data  is showing perfectly.
    suri

  • Add column in the dynamic internal table

    Hi Experts,
    I have a dynamic internal table. I need add new column in the internal table and I don´t Know.
    My code:
    DATA:  it_generic TYPE REF TO Data,
    wa_generic TYPE REF TO data.
    FIELD-SYMBOLS: <table> TYPE ANY TABLE,
    <wa>    TYPE ANY,
    <field> TYPE ANY.
    CREATE DATA it_generic  TYPE STANDARD TABLE OF (wa_datoscarga-ZTBLCAR).
    CREATE DATA wa_generic  TYPE (wa_datoscarga-ZTBLCAR).
    ASSIGN it_generic->* TO <table>.
    CHECK <table> IS ASSIGNED.
    ASSIGN wa_generic->* TO <wa>.
    CHECK <wa> IS ASSIGNED.
    SELECT *
    INTO  CORRESPONDING FIELDS OF TABLE <table>
    FROM (wa_datoscarga-ZTBLCAR)
    WHERE  bukrs   EQ p_bukrs      AND
    z_petic EQ z_peticion   AND
    ZIDFASE eq 'E'.
    After this I need add one column selection at the first position of the columns.
    Thanks

    Hi,
    Please refer to the below link for the code snippet on how to create a dynamic internal table -
    [Create a dynamic internal table.|http://www.divulgesap.com/blog.php?p=MjE=]
    Cheers,
    Ravi

  • Add columns in the existing Customer table in a Subject Area

    Hi All,
    Well I need to add two columns from Sales table(new table i created which has customer Id) and join it to the Customer Table which has the Customer Id and several columns. The Customer table was already in the RPD which has all the customer information. Now that i have this new requirement to add few columns from the Sales table to the Customer table in one Subject Area.
    What i have done so far is that I imported the sales table into the rpd, made a join in PHYSICAL LAYER on the customer ID of the Sales table to the Customer id of the Customer table and simply dragged the sales table to the Customer LTS in the BMM layer(NO MORE JOINS IN BMM)and dragged and dropped the same into the Presentation layer. The customer table is linked to one fact table in that subject area. So i thought that dragging the sales table columns in the customer table LTS will work because customer is linked to one fact in that subject area.
    Now, In the Answers when I dragged columns from customer & sales table I see only one record that is the first customer_id record from my Sales table but i know there are many common customer_ids between those two tables but its only picking the first customer id from the sales table.
    Any help will be appreciated..
    Normally if we need to add some columns to the existing tables in one subject area what is the best approach??

    Hi Balajee,
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
    for more information check with these links
    ADDING NEW FIELDS IN me21n
    ADDING NEW FIELDS IN me21n - (Screen exit / enhancment)
    hope this will useful to you.
    Regards!

  • How to add columns in the Group Custom Columns

    Hi,
    In a group, if you select Edit Group link, and select the Columns tab, and then select the "Modify" button, then select a target type from the drop down, you can pick listed columns and move it to the Selected Columns list. I am interested in adding a column in the drop down list, how do I do that? If the target type is a plug-in that I created, then what properties I should set in the metadata xml file?
    Thanks for the help.

    As far as I am aware, there are no properties in your plugin's target type metadata XML file that relate to what columns show up in the Groups UI in the EM console. I suggest pursuing this as a bug against the Groups UI.

  • I have to add support company column to the query based on city,location id,country can you please any one help me on this

    select fu.user_id,
          fu.user_name,
          hcp_phone1.phone_number primary_phone_number ,
          hcp_phone1.last_update_date cnts_last_update_date,
          fu.last_update_date user_last_update_date,
          (select hcp_phone2.phone_number
          from ar.hz_contact_points hcp_phone2
          where hcp_phone2.contact_point_type(+) = 'PHONE'
          and hcp_phone2.status(+)               = 'A'
          and hp.party_id                        =hcp_phone2.owner_table_id(+)
          and hcp_phone2.owner_table_name(+)     ='HZ_PARTIES'
          and hcp_phone2.primary_flag            = 'N'
          and rownum                             = 1
          ) secondary_phone_number,
        (select hcp_email.email_address
        from ar.hz_contact_points hcp_email
        where hcp_email.contact_point_type(+) = 'EMAIL'
        and hcp_email.status(+)               = 'A'
        and hp.party_id                       =hcp_email.owner_table_id(+)
        and hcp_email.owner_table_name(+)     ='HZ_PARTIES'
        and hcp_email.primary_flag            = 'Y'
        ) email_address,
        hp.person_first_name ,
        hp.person_middle_name ,
        hp.person_last_name ,
        hp.party_name,
        hp.person_title ,(
      nvl(hp.address1,' ') ||
      nvl(hp.address2,' ') ||
      nvl(hp.address3,' ') ||
      nvl(hp.address4,' ')
    ) address1,
       hp.city,
        hp.state ,
        hp.country ,
        hp.postal_code,
      ' ' industry_group,
        from fnd_user fu,
        ar.hz_parties hp,
        fnd_user_resp_groups furg,
        fnd_responsibility_tl frt,
        ar.hz_contact_points hcp_phone1
      where hp.party_id                      =fu.person_party_id
      and furg.user_id                       =fu.user_id
    -- and ( to_date(fu.last_update_date,'dd-mm-yyyy') > to_date(nvl(p_in_date,sysdate),'dd-mm-yyyy')
    -- or to_date(hcp_phone1.last_update_date,'dd-mm-yyyy')> to_date(nvl(p_in_date,sysdate),'dd-mm-yyyy') 
      and furg.responsibility_id             = frt.responsibility_id
      and frt.responsibility_name            = 'EMR IBE Customer PSG US'
      and frt.language                       = 'US'
      and hcp_phone1.contact_point_type(+)   = 'PHONE'
      and hcp_phone1.status(+)               = 'A'
      and hp.party_id                        =hcp_phone1.owner_table_id(+)
      and hcp_phone1.owner_table_name(+)     ='HZ_PARTIES'
      and hcp_phone1.primary_flag            = 'Y';

    SELECT d.NAME
          FROM
            (SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta ,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND jtva.low_value_char     = hl.postal_code
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND ps.location_id          = hl.location_id
            AND hl.country             in( 'CA', 'US')) D;
            UNION
            SELECT jta.NAME
              FROM apps.jtf_terr_values_all jtva,
              apps.jtf_terr_qual_all jtqa,
              apps.jtf_terr_all jta,
              apps.hz_party_sites ps,
              apps.hz_locations hl
            WHERE jtva.terr_qual_id     = jtqa.terr_qual_id
            AND jtqa.terr_id            = jta.terr_id
            AND ps.location_id          = hl.location_id
            AND jtqa.org_id             = jtva.org_id
            AND jta.org_id              = jtqa.org_id
            AND hl.country              = 'US'
            AND hl.postal_code BETWEEN jtva.low_value_char AND jtva.high_value_char
            )d;

  • How to add column in the item overview screen (4900) in sales order?

    Hello Experts,
    I have a requirement to add a column (Field - Size/Dimensions - MARA-GROES) in the Item Overview Screen (4900).
    Is there any provision for that? Any enhancement or screen exit or so?
    Quick response will be appriciated.
    Thanks in advance.
    regards,
    hp

    Hi
    As the link that RamKi let us know, this is a modification, so, I suggest to avoid. See SAP Note 862228 - Order reason for returns on item level for further information. I suggest to use the other enhancements in tabs.
    Regards
    Eduardo

  • Can I add columns to the new iTunes 11 simple view?

    More details in this picture:
    (http://www.qpic.ws/images/playounitunes.png)

    That looks like the Albums view, and it does not have columns to add.
    If you want to choose columns such as Rating, switch to Songs view.  Then go into View > View Options and make your choices.

  • Force a column in the query output  for FYPD  when no data exists

    Hi ,
    I have a requirement, data available in the cube
    <b>FYPD-----Costcenter---- Emp#----StartPD---EndPd--
    Amt</b>
    2007001-----123456 789---2007004-2008012--
    $10
    In the variable input screen FYPD range is entered ex: 2007001 - 200704
    expected report output;
    <b>costcenter--Emp# -StartPD---EndPdAmt- 2007001-- 2007002  -
    2007003----
    2007004 (Columns KF's)</b>
    23456--78920070042008012$10000--
    1.
    The 0 and 1s are calculated based on Start& End Pd. If  STARTPD <= FYPD<= ENDPD
    Then output = 1 else 0.
    Problems:
    1. How to force columns for 2007002 to 200704 when there is no data in the cube for those periods?
    2.If somehow we are able to force the columns how to use the column header in the formula to calculate 1 or 0?
    Any idea?????

    If you add some kind of calculation behind your KF that is based on a field that exists for all records it should be fine.  This can be a formula variable based on an characteristic attribute like (mat weight/mat weight). 
    If you're saying you want a 0 to show up when there are no records in the cube for the characteristics in question then it may be more difficult.
    Please clarify

  • How to show additional column in the Query searchby field selection window?

    Hi Experts,
    I have a simple query as below:
    select * from ocrd where cardcode between '[%0]' and '[%1]'
    Now, it is evident that the searchby field is the cardcode, so when I click on the browse button, all cardcodes will be displayed for me to choose on a separate selection window. Now, on this separate selection window, can I also show an additional column "customer name"?? This is because I cannot really identify every customer code, and need to depend on customer name instead.
    Thanks!
    Warmest Regards,
    Chinho
    note: please dont ask me to use the below query instead, that is not what I want to achieve.
    select * from ocrd where cardname between '[%0]' and '[%1]'

    Hi!
    It's not possible i belive. You can use Filter Option instead on Selection Parameter.

  • Changes to the infoobject are not reflecting in the query Desinger level.

    Hi All,
    We removed some Attributes to one characteristic and transported into QA.
    The removed attributes are not getting in BEx query designer in Dev, But we are getting those removed attributes in the context menu of that particular Char in BEx Designer in QA.
    We checked in the Characteristic level, those removed Attributes are not there in Info object level but still those Attributes are displaying in BEx designer level in QA.
    And info object showing as gray color even though we activated the info object, We think this may be the cause to not reflect the changes to BEx Designer level.
    Can any one suggest us to resolve the issue.
    Thanks & Regards,
    Raju. E

    Hi Raju
    Go to transation RSRT enter one of the reports and click to Generate Report. If this solves your problem then you can go to Environment\generate queries directly to regenerate the impacted queries.
    Cheers
    Tansu

Maybe you are looking for

  • How to install "Compact FieldPoint Embedded Data Logger Example Program" on cfp2200

    i finally managed to get max to see the devices of my cfp2200. (i had to disable every unused networkadapter due to overlapping subnets) now i want to deploy the example programm "Compact FieldPoint Embedded Data Logger Example Program" http://zone.n

  • Optical audio from Apple TV2 to receiver?

    I have an HDMI cable running from Apple TV to TV. I have a Toslink cable connected to receiver analog audio in (toslink -> mini-jack adapter). All the sound is currently going through TV. How do I get the sound to play on the receiver?

  • Dropped iPod in water, dropped iPod in water

    dropped iPod in water. How do i fix?

  • Green screen for videos and movies

    i upgraded all the software for itunes and quicktime. using another post for 'green screen for video previews', i modified some settings in quicktime and one of them now has strips of static across the green. quite frustrating...

  • APPLE IN BRAZIL IS A DRUGSTORE!!!!

    In Brazil Apple don't have any type of support! Just shut the... of your users! My second iPhone 3G 8GB with carrier garanty was changed, after the Wi-Fi death for sencond time exactly 1 year work, death and the repair is a cost of a new iPhone! What