New structure creation in query

Hi Experts,
I need to create structure  to be a key figure, that structure I can put in to any query.Pls tell me procedure to create sturcture with few sales employess names ,so tht i can use it in other queries.
Thanks!

HI,
Create a Structure and save as by giving technical name and description,
in Query Designer top left side you can see a folder name as Structure, expand it
structure are two types,
1) Structure with key figures
2) Structure without key figures
in your created structure if you have key figures, then expand the Folder (structure with Keyfigures); you can just drag the structure to columns/rows like any other objects.
these structures will be available and valid for all the queries which you create on the same infoProvider.
Note: what ever the changes you made to these structures will effect globally; if you want to make any changes to this structure for only one query without effecting globally than, in the query panel remove the reference by right click-->remove reference, now you can use this structure locally.
Regards
Reddy A

Similar Messages

  • 'New Structure' in the Query Designer

    Hi,
          I know these questions might be very silly but i want to get the best picture about reporting in BW. Is there a restriction that we could create only 2 new structures in both rows and colums or isn't there any rule.Any kind of explanation would be of great help.
    Thanks,
    Anjali.

    Hi Anjali,
    I am not sure if I undertand, what you are looking for.. you can (in 3.0B) only create one structure per row or column. However you can create 2 types of structure elements. "New Selection" and "New formula". Is that what you are reffering to?
    If yes, one is a selection that can consist of key figures and characteristics.
    The other is a calulation based on available structure elements or formula variables.
    Both enable you to create complex "drilldowns"
    regards,
    Michael

  • Unable to create new structure to hold key figures - BI 7.0

    Hi All,
    I am trying to create a new structure in a query - this structure will hold restricted key figures.  I right click in the Columns section and select New Structure. The system won't allow me to drag/drop the restricted key figure into the structure - it's added as another key figure in the existing structure.  If I right click on the structure and choose New Selection, the key figures are not shown as options for adding to the structure ... only characteristics are listed.  Any ideas on why this is happening?
    Thanks,
    Pam

    Hi Pam,
    i think cell restrction will solve your problem, i am not sure.
    Just try to do cell restriction.
    Just go throw the below description.
    You can use any cell that you define in a formula. If you want to reuse the value from the implicit, generic cell definition that is automatically created at the intersection of the two structural components of a query, select this cell in the Cell screen area and, using the secondary mouse button, choose New Cell Reference. A description taken from the two structural components now automatically appears in the cell. The symbol shows you that a cell reference exists for this exception cell. Now you can reference this cell. You can continue to use the implicit cell definition and do not have to manually generate this value using a new selection.
    Functions of explicitly defined cells:
    Select a defined cell and choose the required function from the context menu (secondary mouse button).
    ● Edit
    ● Cut
    ● Copy
    ● Paste
    ● Remove
    ● Where-Used List
    Before you delete a cell, you can check for the formulas in which the defined cell is used in the where-used list.
    You reach the properties of a defined cell by selecting the defined cell. In the Properties screen area you can also make changes such as:
    ● Changing the description of the cell
    ● Changing the highlighting of the cell
    ● Hiding the cell ( if you do not want to see the values of the cell)
    Help cells
    In the Help Cells area you can define additional cells for help selections or help formulas. You can use the functions New Selection and New Formula in the context menu to define help cells that are not displayed in the query to serve only as objects for help selections and help formulas.
    For example, you can define an invoice in a help cell and use this in a “real” cell to calculate a duplicated invoice.
    a. Using the secondary mouse button, click on the empty cell next to Help Cells to reach the context menu. From here, choose New Selection.
    b.Use Drag&Drop to drag the Invoice key figure into the right-hand Details of the Selection area.
    c. Enter a description.
    d. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    e. Now choose New Formula from the context menu of the required cell of the query. The new formula that is not yet defined appears in the cell.
    f. Select the new formula and choose Edit from the context menu.
    g. Use Drag&Drop to drag the cell you have just defined, which you can find in the Available Operands window under Cells, into the Detail View window. Click on the button twice.
    h. Enter a description.
    i. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    Result
    You have defined one or more exception cells for a query.
    Regards,
    shailaja

  • The structure in the query

    HI,BW experts, I have a question about the structure of the query :is there only one key figure in the query?in my query ,i have a key figure structure already, could I create another key figure structure,and how to ?
    Thanks for your help.

    Hi Cindy
    If your query already has a structure then why you want to create a new one? add new key figures to the exisiting structure.
    If you have to create new structure for key figures then
    GO to Query change in Query designer & in Columns section do right mouse click and select structure. This will add new structure and then you can add new key figures to that if you need.
    Hope this helps
    Regards
    Pradip

  • Alerts for item master change and new item creation

    hai experts
                       my manager has to get an alert when any update has been done in item master or when a new item master is created .

    Hi.........
    Check this query for alert.........
    Quaery for New Item Creation:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[CreateDate] FROM OITM T0
    Where DateDiff(DD,T0.[CreateDate],GetDate())<2
    Query For Updation of Item:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[UpdateDate] FROM OITM T0
    Where DateDiff(DD,T0.[UpdateDate],GetDate())<2
    Above two alerts will be coming for two days........
    Regards,
    Rahul

  • Organizational structure creation

    [Organizational Structure creation using HRMD_ABA;
    Appologies if you saw this message on Friday, because I did originally post it under the general area. I was hoping that if I re-posted it under this area I might get a few more responses. I have included the one response I  got, plus my reponse, which does contain more detail about how I ran PFAL - program RHALEINI, and re poses the question about what needs to be created in SRM re an organisational structure, prior to doing an initial load using transaction PFAL.
    Many Thanks
    Claire
    I am trying to set up the organizational structure in our SRM 7.0 system using our ECC 6 organizational structure. I have created all the required distribution models for SRM and ECC 6, and have set up the switch settings in SRM. The number range settings have been set to external.
    As per OSS Note 36317, which concentrates on the initial distribution, and I am working through, I have run PFAL in ECC 6 only for object type O. The HRMD_ABA idocs have been successfully transferred to our SRM system, but all are at status 52.
    The message for all the idoc segments is:
    'You tried to create a relationship from object 01O 50000333 to object 01S 50000846. However, object 01S 50000846 does not exist or is not active in the period from 19000101 to 99991231'.
    One thing I haven't done, which might be incorrect, is create an Organizational Plan in SRM. I specifically haven't done this because I am wanting to use external numbering, and therefore thought the organizational plan would get automatically created as part of the initial distribution.
    Does any one have any idea how to resolve my problem?
    Many Thanks
    Claire
    Re: Organizational Structure creation using HRMD_ABA  
    Posted: Aug 21, 2009 6:03 PM    in response to: Claire Crosby-C...           Reply 
    Hello Claire,
    It looks like you are replicating "S". After the "O" replication you should run the "S".
    Please refer to the OSS note 934372 u201CSRM/CRM: HR integration for business partner u2013 new featuresu201D & SAP Note # 550055 EBP/SRM: New integration for business partner as well.
    Hope this is helpful.
    Thanks
    Ashutosh
    Claire Crosby-C...  
    Posts: 45
    Registered: 3/22/04
    Forum Points: 0 
       Re: Organizational Structure creation using HRMD_ABA  
    Posted: Aug 21, 2009 6:53 PM    in response to: ASHUTOSH TRIPATHI     Edit          Reply 
    Hi Ashutosh
    I intend to replicate 'S', as described in the note, but nothing has been created with my initial replication of 'O'. As per the note 363187 you are supposed to distribute type 'O' first before moving on to 'S'. Is there anything really fundamental I have missed that you are supposed to do in SRM either before or after the initial set of idocs for type 'O' are brought in?
    I have also read the other 2 notes you mention.
    Note 363187 stated:
    'Perform the following steps in the sequence given if the target system is a
    mySAP.com system (SEM, CRM, BBP/EBP):
    1. If you want to use the change pointers for later changes, activate
    them at once. During initial transport, you should not maintain the
    data in parallel in HR because the distribution takes the blocking
    mechanism into account, which can cause an incomplete initial
    transport.
    2. All objects of object type O are distributed with program RHALEINI. As
    a transfer mode, the update mode with infotype 1000 selection should
    be used.
    This way you make sure that all objects of object type O are created
    in the target system for existence checks.
    3. As previous step but for object type C.
    4. As previous step but for object type S.
    So far all I have tried to do is up to step 2.
    When running RHALEINI I have entered the following:
    Objects - Object Type = 'O'
    Reporting Period - Today is selected
    Transfer Mode - Insert is selected, with the Update Mode infotype set to 1000
    I did think making a setting under the Update Mode Infotype seemed a little odd, as I was doing an insert, but is this not what point 2 from the OSS Note is telling me to do?
    Any thoughts would be really helpful.
    Am I supposed to create a skeleton Org structure before pulling in the ECC 6 structure when I am using external numbering?
    Thanks
    Claire

    Hi Ashutosh
    I intend to replicate 'S', as described in the note, but nothing has been created with my initial replication of 'O'. As per the note 363187 you are supposed to distribute type 'O' first before moving on to 'S'. Is there anything really fundamental I have missed that you are supposed to do in SRM either before or after the initial set of idocs for type 'O' are brought in?
    I have also read the other 2 notes you mention.
    Note 363187 stated:
    'Perform the following steps in the sequence given if the target system is a
    mySAP.com system (SEM, CRM, BBP/EBP):
    1. If you want to use the change pointers for later changes, activate
    them at once. During initial transport, you should not maintain the
    data in parallel in HR because the distribution takes the blocking
    mechanism into account, which can cause an incomplete initial
    transport.
    2. All objects of object type O are distributed with program RHALEINI. As
    a transfer mode, the update mode with infotype 1000 selection should
    be used.
    This way you make sure that all objects of object type O are created
    in the target system for existence checks.
    3. As previous step but for object type C.
    4. As previous step but for object type S.
    So far all I have tried to do is up to step 2.
    When running RHALEINI I have entered the following:
    Objects - Object Type = 'O'
    Reporting Period - Today is selected
    Transfer Mode - Insert is selected, with the Update Mode infotype set to 1000
    I did think making a setting under the Update Mode Infotype seemed a little odd, as I was doing an insert, but is this not what point 2 from the OSS Note is telling me to do?
    Any thoughts would be really helpful.
    Am I supposed to create a skeleton Org structure before pulling in the ECC 6 structure when I am using external numbering?
    Thanks
    Claire

  • Copy existing structure in the query

    Hello,
    I have couple of existing structures in the query, my requirement is I need to create a new structure similar to the existing stricture.
    Is there anyway to copy the existing structure.
    Please help me.
    Thanks,
    John

    Hi Roberto
    I did like this,
    I have chosen save as option by right clicking the structure and provided tech name and descriptions. It created new structure with the existing fields.
    Thanks a a lot for your help.
    Regards,
    John

  • Coding for an additional structure in ABAP Query

    I am creating an ABAP query to extract the Purchase Inforecords prices. While linking EINA and EINE Iam able to extract the effective price. When there is a scaled pricing, I want to extract information from KONM or KONW tables. Howeever, can't find a quick answer.
    I liked the function module ME_GET_INFORECORD_CONDITIONS that gives the scaled prices for  a given PIR information.
    I would like to create an additional structure in my abap query and extract this information.
    Can some one please provide the coding: I tried the following after creating a new structure called addscale. This did not work.  I have limited understanding of ABAP.
    CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS'
        EXPORTING
          i_ekorg = eine-ekorg
          i_esokz = eine-esokz
          i_infnr = eine-infnr
          i_lifnr = eina-lifnr
          i_matnr = eina-matnr
          i_matkl = eina-matkl
          i_werks = eine-werks
          i_vabme = eina-vabme
        TABLES
          tekomd  = addscale.

    use the following function module you will get the required info.
    BAPI_INFORECORD_GETLIST

  • Requirements to go for new TableSpace Creation ?

    Hi All,
    It is a more databse question than SAP,
    What are requirements to go for new Tablespace creation ?
    OR
    Why do we need to create new Tablespace evethough, we have around 7 default tspaces there.
    Eg : In my case TSpace PSAPVERTEX  created; vertex is US tax tool.
    I dont think database stores the application specific data in particular TSpace  like  vertex application -
    PSAPVETEX
    Please reply to me soon
    RK

    Hello Ramakrishna,
    >> Why do we need to create new Tablespace evethough, we have around 7 default tspaces there.
    That is not correct. You have one default tablespace on database level or one default tablespace for different users (user settings)... but you can never have more than one default tablespace.
    SAP creates more tablespaces to seperate the data and to structure it... but the definition, which object is stored in which tablespace is specified in the create statement of the object.
    So if objects are for the vertex application.. the create statement includes the vertex tablespace PSAPVERTEX.. if not the objects are created in the default tablespace for the user.
    Regards
    Stefan

  • Transport for structure creation

    Hi All ,
    we have two clients 100 and 110 ,
    the config  client is 100 ,
    I have mistakenly created a three structures in 110 creating a transport in 110 .
    these below  were objects created under that transport in 110 after creation .
    Table Definition                 
          ZSD_PWR_RECOVERY_REPORT_ALV2 
         ZSD_PWR_RECOVERY_REPORT_ALV3 
         ZSD_PWR_RECOVERY_REPORT_ALV4 
    Table                            
         ZSD_PWR_RECOVERY_REPORT_ALV2 
         ZSD_PWR_RECOVERY_REPORT_ALV3 
         ZSD_PWR_RECOVERY_REPORT_ALV4 
    Now I have been asked to create a transport in 100 for them , I deleted the transport in 110 and made changes to structures in 100 which created a transport for these in 100 .
    the objects created in 100 now are
    Table Definition                 
          ZSD_PWR_RECOVERY_REPORT_ALV2 
         ZSD_PWR_RECOVERY_REPORT_ALV3 
         ZSD_PWR_RECOVERY_REPORT_ALV4 
    and do not have objects for table .
    I want make  sure this will not effect the transportation of request  to QA.which should actaully create three new structures there .
    Thanks
    Vinay
    Edited by: vinay kolla on Jul 15, 2009 4:20 AM
    Edited by: vinay kolla on Jul 15, 2009 4:21 AM

    Hi Kiran ,
    Thanks for response ,
    when I created them in 110 (not the desired the client ) it has created in 100 as well as same system they are client indep)after deleting the transports in 110 , I made changes to structures in 100(which is desired client) and created transport there.
    the problem is , 
    there is onli the below objects in transport
    Table Definition
    ZSD_PWR_RECOVERY_REPORT_ALV2
    ZSD_PWR_RECOVERY_REPORT_ALV3
    ZSD_PWR_RECOVERY_REPORT_ALV4
    earlier in 110 the transport had
    Table Definition
    ZSD_PWR_RECOVERY_REPORT_ALV2
    ZSD_PWR_RECOVERY_REPORT_ALV3
    ZSD_PWR_RECOVERY_REPORT_ALV4
    table
    ZSD_PWR_RECOVERY_REPORT_ALV2
    ZSD_PWR_RECOVERY_REPORT_ALV3
    ZSD_PWR_RECOVERY_REPORT_ALV4
    I think when we create a table the transport have objects for "Table defination" and "table" , when we just make change to table it will onli the transport have onli object "Table defination" .
    Now I have a doubt that this new transport which does nt have "table" objects and has only "table defination" will succesfully create table in QA when moved .
    Thnaks
    Vinay Kolla

  • BRAIN416 InfoObject 1KYFNM is used in both structures of the query

    Hi Expert,
    I have some problem with MDXTEST on BW 3.5 which i select multiprovider to generate MDX Staement but it goes to ABAP Debugger "CX_RSR_PROG_ERROR" and message BRAIN 416 information said "InfoObject 1KYFNM is used in both structures of the query".
    Anyone please explain me what should i do????
    Thank you for your help
    =SJ=

    Dear RajNi,
      In This Multiprovider A, i use only 1 infoset which only 1 ODS B.
      I'm so confuse because i create new ODS like ODS B and do step like Multiprovider A.
    Please help me if you have ever seen like that.
    Many thanks
    =SJ=

  • Change in global structure in one query

    Hi,
    1. I have some five queries already developed. Here in all the five queries i am using one global structure. I have a requirement tp change the global structure, Now after i change the global structure in one query1 do i need to transport only that query1 or i have to transport all the five queries for the change to get reflected.
    2. There are five workbooks also developed for the corresponding queires.  After changing the queries do i need to update the output result in all the workbooks as well?
    Here in the global structure the keyfigures are replaced with new keyfigures?
    Little confused , need help? Please answer my two questions
    Thanks,
    rani

    >
    rani wrote:
    > Hi,
    >
    > 1. I have some five queries already developed. Here in all the five queries i am using one global structure. I have a requirement tp change the global structure, Now after i change the global structure in one query1 do i need to transport only that query1 or i have to transport all the five queries for the change to get reflected.
    >
    >
    >  Thanks,
    > rani
    If you changed the global structure then transport the structure not the query.
    Go to transport connection in RSA1 choose Query elements -
    >Structures.
    Select your structure and transport.
    That should do.As long as you use "Restore to initial query" in the dataprovider properties of the workbook it should reflect your changes else you need to change at workbook level too.
    Hope this helps.

  • Create new variable in a query using if

    Is it possible to create a new variable in a query based on an if statement.
    eg select A, B, C from table where condition
    C is the new variable and should have a value of 10 if A is > 100 and a value of one if A > 100 and B < 200 for example.

    Yes. Why not.
    select a,
             b,
             case
                 when a> 100 then
                    10
                 when a> 100 and b<200 then
                   1
              end c
    from table
    where <condition>;Regards.
    Satyaki De.

  • Can I Create a New Structured App that's a Copy of a Current One?

    Here's the situation:  I am new to using Dita in Framemaker, but have become competent with the authoring process. I do not understand the development end of things very well, however. What I want to do is to have a second dita structured application that is identical to the first in every way except that in topic.template.fm, the page size will be set to 11x17, not 8.5x11.  And I want to be able to apply that structured application to some of my DITA documents, but not all of them.
    I tried to create such a situation, first by copying and then renaming the DITA folder (I called the new one DITA-BIG) in Adobe FrameMaker 8\structure\xml\ and, within DITA-BIG, making that small change to topic.template.fm.
    I then added the renamed structured app to structuredapps.fm (again, I did a copy and paste of the DITA-Topic-FM element already there), changing the name of the element to Dita-TopicBig-FM and the URLs to point to those in the DITA-BIG directory.
    The new structured application appears in Framemaker when I select StructureTools --> Set Structured Application, and I can select/apply it to one of my documents. However, the document's page size doesn't change. I tried saving the document, closing and reopening the document, closing and reopening Framemaker. The new, larger page size set in topic.template.fm in the DITA-BIG structured app. is ignored.
    If I change the page size in the original topic.template.fm file, the document that is supposedly using the new structured app changes size to correspond to the template in the old structured app.  But I need that original template to stay at its original 8.5x11 page size.
    I am new to working with such files so I don't know if I missed something or if what I am attempting cannot be done.
    Any advice?

    Ok, it worked.
    Thank you very much for your help and patience with my followup questions.
    I want to describe one more thing that was not obvious to me.  When I got all of this done and tried to get a help topic to use the new template, I did it wrong at first. What I tried was to open the xml file, then open the StructureTools menu and select "Set StructuredApplication."  From the long list of applications that appears, I chose Dita-Topic-Bigpage-Fm (my applicaiton clone that contained the modified template).  Then I saved the file, but didn't notice any changes in my page size. Even closing and reopening the file and closing and reopening Framemaker, didn't seem to have an effect. When I chose any other structured application (do not try this at home!) I got pretty spectacular results: many error messages, and one time it crashed Framemaker. But nothing happened when I chose my "bigpage" clone application.
    Eventually I tried to set the structured application when I opened up the xml file. At File - Open, a little window always appears that lets you select a few structured application choices among the many available.When I did this, the file finally opened with the large page size specified in my cloned application.
    Keywords:
    clone a template
    clone a structured template
    cloning a template
    copy a template
    copying a template
    use a different structured template
    use two structured templates
    use another template
    apply another structured template
    copy a structured application
    clone structured application
    apply my own structured application
    use two structured templates
    use two structured applications
    dita structured applications

  • Creating a new Structure in SAP

    Dear all,
    I am patching a BAPI and need to create a new structure BAIPKOMFKTX as instructed by SAP Note 581263.
    The instructions are clear except that it does not indicate what delivery class to use for this new structure. Could anybody please advice what delivery class to use? Should I use delivery class 'S' - System Table, Maint only by SAP, change = modification
    Best Regards,
    Junwen

    Hello Klaus,
    Thank you for pointing this out. This was my first attempt at creating a structure. After exploring with the various options in SE11, it seems i should create a 'structure' by selecting the radio button 'DataType'.
    Best Regards,
    Junwen

Maybe you are looking for