Convert data link between one query's group and another querys group to SQL

Hi
I have a report where there are 2 query Groups. These 2 query groups r linked by data link. How do i combine these queries to One query so i can use it as a SQL query.
Thanks

Hi,
Assume that we have two queries Q1 and Q2 and the common column between the two queries is "comn".
Now we can convert the datalink into SQL as follows:-
SELECT *
FROM
(Query for Q1)a,
(Query for Q2)b
WHERE a.comn=b.comn(+)
Note: "a" and "b" are alias names for Q1 and Q2.

Similar Messages

  • Move a query to from one user group to another user group

    Hi,
    it's possible to move a query (SQ01) from one user group to another user group ??
    Thank you.

    Hi,
    You can copy queries only if you have the authorization to make changes. Within your current user group, you can copy all queries. However, queries of other user groups can only be copied if the InfoSet used to define the query is assigned to both user groups.
    To copy a query, proceed as follows:
    1. Choose the name of the query you want to copy on the initial screen.
    If you do not know the name, use the directory functions to display the query directories and then choose a query to copy from there.
    2. Choose Copy.
    3. Enter the name and the user group of the query that you want to copy in the dialog box. Furthermore, you must enter a name for the copied query. The system proposes values for this.
    4. Choose Continue.
    This takes you to the initial screen. The query is added and appears in the query directory. You can now continue.
    Regards,
    Amit

  • Link Between One PDF to another PDF

    Hi,
    Could you please explain on how can we link between one PDF to another PDF.
    I have 2 PDF files which are Online Interactive Adobe forms.
    Regards,
    Maruti

    Hi Maruthi,
    we can.....
    see the below links......
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/-1/articleContainer-18393415bdc39551ae
    https://www.sdn.sap.com/irj/sdn/adobe
    thanks
    swamy

  • Free Goods from One Material Group to Another Material Group

    Salute Masters!! 
    I need your valuble suggestion, please provide.
    I need to configure Free Goods of Material Group to Material Group.
    User want:
    1) Free Goods from one Material Group to another Material Group, like F010 to F040
    2) User should have option to change from one Material Group to Other Material Group, which He / She want, like F010 or F020, F030, F040 any one of them.
    Suppose;
    Line Item Material Belongs to One Group Quantity in Gallons Free Goods from Any Material Group Quantity in Gallons
          1            A                                              3                                    F010                                             4
          2            B                                              3                                     F020
          3            C                                              4                                     F040
    Any No. of Line Item Any No. of Material
                                       from One Group      Total 10                   From Any Material Group
    (Comprising of 3-4 Different Material from 1 Group, they should be able to choose/provide Free Goods from other Material Group)
    3) While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    How I can configure this scenario?
    Please suggest, is it  possible through KEY COMBINATION?
    Rgds.
    Srivastav
    +91 7829755109
    Skype ID: sanjai.srivastav1

    Hi,
    if you want to give free goods from other group it can be possible only for EXCLUSIVE free good type
    In exclusive free goods, a material different from the orignal material can be specified as the free goods.
    Example: A customer who buys 200 crates of beer, gets 5 boxes of glasses free.
    In VBN1 >> Exclusive
    See column ADD FREE MATERIAL
    While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    Maintain alternative units in material master >> Additional data >> Material master,BUT it is only main item
    Those item u want to give free that items unit is derived from free goods condition record and it CANNOT be change in order

  • What  is difference between user group and reference user group?

    hi
    guys,
            what  is difference between user group and reference user group? 
    your regards
      p.suresh

    Hi ,
    Chk the link below for your clarifiacation.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/5c/c1c81c445f11d189f00000e81ddfac/frameset.htm
    Hope it helps.
    Regards,
    Amit
    Edited by: Amit Kotwani on Sep 2, 2008 2:15 PM

  • How to transfer the tables from one file group to another file group in SQL 2008.?

    Hello all,
    I have few issues regarding the transfer of the tables from one file group to another file group  in SQL 2008 and also How can we  backup
    and restore the particular database based on file group level.
    Let’s say I have a tables stored within the different FG. such as
    Tables                                                    
      File group
    Dimension tables                                              
                                                                     Primary
    Fact tables                                               
                                                                              FG1
               FG2…
    zzz_tables                                               
                                                                              DEFAULT_FG    
    dim.table1                                                                                                                          DEFAULT_FG
    dim.table2                                                                                                                          DEFAULT_FG
    Here all I want to transfer the dim.table1 ,dim.table2  from  DEFAULT_FG to the Primary File
    group .So is there simple methods for transfer the dim.table1,2  from one FG to another .I have tried somewhat but I couldn’t get the exact way .So if someone have better idea please share your knowledge that would be really appreciated.
    Secondly after moving those dim.table1 ,dim.table2 from DEFAULT_FG to Primary ,All I want to backup and restore the database only containing  the Primary and FG1,FG2… not
    a DEFAULT_FG.Is it possible or not.?
    Hope to hear from the one who knows better approach for this kind of task .Your simple help will be much appreciated.
    Regards,
    Anil Maharjan

    Well after all my full day research on this topic had paid off, I finally got the solution and am so happy to research on these things. It makes
    us feel really happy after all our research and hard work doesn't goes as waste.
    Finally I got what I am looking for and want to make sure that I am able to transfer the tables from DEFAULT_FG to another FG without tables
    having clustered index on that tables .
    With the help of the link below I finally got my solution where Roberto’s coded store procedure simply works for this.
    Really thanks to him for his great post and thanks to all for your response and your valuable time.
    http://gallery.technet.microsoft.com/scriptcenter/c1da9334-2885-468c-a374-775da60f256f
    Regards,
    Anil Maharjan

  • Change of Company code from one Cons Group to another Cons Group.

    Dear All,
    Please advise on change of company code from one Cons Group to another Cons Group , we have Cons Structure - at present few companies are in one cons group and as a policy we have to move the companies to another cons group. So please advise me what will be the case if we move int he following senarios:
    1. if till period 012 year 2008,  company A is in Cons Group AA and we want  the same to Cons Group BB. How it  will move to Cons Group BB in a Company code with the opening balances? 
    2. if there is no data in SEM BCS total Cube - and we want to move the Company A from Cons Group AA to Cons Group BB.
    What will be the effect in both the scenarios.  How to do this? if you can specify some steps then I will try to analyze the situation.
    Thanks in advance

    The changes are not complicated but company A must be placed in cons group BB as of period 12 2008 and in the master data of the cons group it should be indicated that the first consolidation is at the end of the period (EOP). Likewise in cons group AA must continue to include company A but in the cons group master data it must be indicated that the period of divestiture is 12 2008 EOP.
    The cons group changes tasks must be executed to move the balances in period 12 2008.
    If there is not data for company A in the totals infocube you may simply drag-and-drop company A from cons group AA to cons group BB without any concerns.
    The affect in each scenario is different because if there is data that is to be reported as part of cons group AA company A must be included in cons group AA.

  • Link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH)

    Hi!
    Is it possible to find some link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH) without using batches, serial numbers and UDFs?
    Any ideas?
    Thanx!
    Regards,
    David

    Hi David,
    I only known of 1 link possibility.
    If you created the purchase order from the sales order (and the invoices are based on the orders) you can find the purchase invoice through the Purchase order, Sales Order, Sales Invoice.
    Regards
    Ad

  • Table containing link between SAP REFX Business Partner and Customer

    Hi,
    I am stuck up at a requirement wherein i need the name of the table in which i can pass REFX Business Partner number and get the corresponding Customer Code in the output.
    Can anyone help me in this regard.
    Thanks in advance
    Pankaj Wadhwa

    Hi Pankaj,
    release 470: table BD001 contains link between partner and customer
    SAP ERP: table CVI_CUST_LINK contains link between internal partner guid(!) and customer
    Partner guid is field in table BUT000.
    Hope that helps.
    Regards, Franz

  • Link between documentation for chars value and chars

    Hi,
    we need to find out sap transaction or report for link between documentation of chars value and chars.
    we know for specific chars through CT04 and going to VALUES sub-tab then selecting perticular chars value and clicking on the documentation for value.

    Go to transaction CT10 and select display option 'Allowed values'. You will have the characteristics along with their values.

  • When i hover on stuff with my mouse, i have to double click it for it to actually work, one click to hover and another to click on the link... can someone help me ?

    When i hover on stuff with my mouse, i have to double click it for it to actually work, one click to hover and another to click on the link... can someone help me ?

    What system are you using?

  • Difference between material group and external material group

    Hi,
    Can anybody let me know the difference between the material group and external materila group from the business perspective.
    Thanks

    Hi Raghunandan,
    Material Group : Materials having similar attributes will be goruped together and assigned to a Material Group.
    Material groups are Extensively useful during :
    Limit the Scope of Analysis
    Reporting Purpose
    External material group : Key that you can use to assign the material to an external material group or to a material group determined according to external systematics.
    In General, External material groups are nothing but external representation of group of material  which are extensively used in supply souce determination for provions materials related to retail and some other functions
    In short if your Internal material group for example bearing is 0001 you can group externally further based on manufacturer like FAG for NRB. No accounting activity is based on it
    Reg,
    Ashok

  • Add field group and Logical field group for ANLU

    Hi all,
    On my project, the table ANLU is containing many specifics fields.
    I would like to know how I could add a field group and logical field group corresponding to this specifics fields on ANLU, in order to be taking into account on my validation rule ?
    On the GGB0, Asset Accounting / master data, the check point includes the ANLU on the table fields. But, once my rule created, when I want to activate it on the TCODE OACV, the field group proposed don't include data from ANLU (only ANLA and ANLB)
    I found out the TCODE OAVM listing all different field linked to the field group. Does it possible to manage this view ?
    please help me !!

    Hi Rob,
    Can you tell me how can i solve this issue.
    Runtime Errors         MOVE_TO_LIT_NOTALLOWED
    Date and Time          09/11/2007 18:11:01
    Short text
        Assignment error: A constant was meant to be overwritten.
    Error analysis
        The field "<S1>" is to be assigned a new value although the field
        is partially or entirely protected against modifications.
        The following are protected against changes:
        - Character literals or numeric literals
        - Constants (CONSTANTS)
        - Parameters of the category IMPORTING REFERENCE for functions and
        methods
        - Untyped field symbols not yet assigned a field using ASSIGN
        - TABLES parameters if the actual parameter is protected against changes
        - USING reference parameters and CHANGING parameters for FORMs, if the
        actual parameter is protected against changes and
        - Accesses using field symbols if the field assigned using ASSIGN is
        protected (or partially protected, e.g. key components of an internal
        table with the type SORTED or HASHED TABLE) against changes
        - Accesses using references, if the field bound to the reference is
        protected (or partially protected) against changes
        - External write accesses to READ-ONLY attributes,
        - Content of a shared object area instance accessed using a shared lock
        (ATTACH_FOR_READ).
    Thanks
    Ashraf

  • Table name for Internal order group and Profit center group

    Hello Friends,
    Could any one provide me the table for Internal order group and Profit center group.
    We are developing new customized report and user requested internal order group and Profit center group in the selection criteria.
    I have checked for this tables but found only these fields in structures.
    Thanks in advance,
    Ravi Kiran.

    Or use FM [G_SET_TREE_IMPORT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=g_set_tree_import] to read the hierarchy/Group. (Read FM and FG documentation, you can also add break-point and call some S_ALRxxx transaction which use this FM for the objects you need).
    Regards,
    Raymond

  • Customer Groups and Customer Credit Groups

    Hello
      I was going through the documentation for Credit Management, but I was confused on what the difference was between customer groups and customer CREDIT Groups.. both of them sort of have the same definition, then what is the difference ?
    Please help me out.
    Regards,

    Hi Raj,
    For your info :
    The <b>credit group</b> groups together different business transactions which should be dealt with in the same manner with regard to the credit check.
    You enter the credit groups when you configure the sales document types for credit management and define the automatic credit check.
    Default settings
    The following credit groups are contained in the standard SAP R/3 System:
    01 = credit group for sales order
    02 = credit group for delivery
    03 = credit group for goods issue
    Actions
    1. Check whether you can use the credit groups in the standard system.
    2. If you need to create new credit groups, enter an alphanumeric key with two characters and a descripion for the credit group.
    A <b>customer group</b> tells to which a customer can belongs to.
    You specify the customer group for sales data in the customer master record for each sales area.
    The SAP System copies this specification automatically into the sales documents at header and item level. Here, you will find the customer group on the detail screen for general business data.
    Actions
    1. Specify an alphanumeric key which can have up to 2 characters and a description for the customer groups.
    2. Make sure that the customer groups are entered in the customer master records.
    Hope it helps. Pl reward if useful.
    Thanks & Regards
    Sadhu Kishore

Maybe you are looking for

  • How do I add multiple video clips at once to timeline

    I would like to add several short video clips to the iMovie (ios) timeline all at once.  Is there a way to accomplish this or do we have to select everything one clip at a time? Thanks

  • Error creating subsite from template - SharePoint 2010

    I appreciate the help from anyone who can help in my situation. I am trying to create a subsite whose parent is a SharePoint Server 2010 website. When I'm doing that, I go to: Site Actions > Create > Sites and Workspaces My purpose is to create a sub

  • Setting up a wireless network in my home

    We recently switched our IP service from sbc to Comcast.  I am in the process of trying to set a wireless network with all of our computers.  This is the equipment I have:  The old modem used from sbc, the new modem from Comcast and a Linksys wireles

  • Down payment processing error

    Hi, I am facing problems in down payment processing (ECC6.0) with and without billing plan. What I understand about the normal flow of down payment, once order is saved then down payment request FAZ is billed with reference to the order & it should r

  • Installing the northbrigde fan

    Heyo!  I'm finally installed (or tried to) my northbridge fan, but it's not working.  It does work, as I attached to my other computer.  However, on my board (KT6 Delta LSR) do I have to set it up in the bios?  However, I haven't found anywhere to do