Query with tables of BKPF and BSEG and Structures COBL, RF05A

hi experts,
          I want to create query with the tables of BKPF and BSEG and  Structures COBL, RF05A
How can i proceed?
Please give me complete points
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 2:52 PM

check the common fields and required fields and the write SELECT query useing Inner Joins or For all entries
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 2:52 PM

Similar Messages

  • How can I create a query with tables in INFOSET?

    Dear Gurus,
    How can I create a query with tables in INFOSET?
    Just tables and fields INFOSET?
    Kind Regards,

    Hello
    Check following SCN Article for your understanding/reference:
    - [Using Infoset Query ,SAP Query and Quick Viewer|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5]
    Regards
    JP

  • Query with tables VEPVG, VBAK, VBAP AND KONV

    hi all,
    I have a requirement, that is Open Sale Orders which is having Special Discount. I am trying to write a Query, But KONV table is not coming into the joins. my execution plans is bellow
    VEPVG  -->  VBAK         vbak-knumv = konv-knumv and konv-kschl = Special Discount
                        VBAP
    Please explain me, how to design the query with conditions.
    Thanks & Regards,
    Srinivas

    Hi,
    Have you referred this help document.
    http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Regards - Shree

  • BEx query with keyfigure rank in row, chars and other keyfigures in columns

    Hi All,
        I have a BEx query with Plant and Region in rows and two keyfigures(% and rank calculation) in the column. Now my requirement is to display rank in the first column, plant and % cal. in the next columns in query output.
    Query ouput should look like :
    rank plant  %
    1     XYZ    63.00
      2    ABC   76.94 and soon.
    Is any way possible to achieve this and if yes can anyone explain in detail with steps, I apprecaite your help with points.
    Thanks
    Eric.

    Hi  Jerome,
       Thanks for quick response, is there any alternate way like customer exits or etc. This is my requirement and I need to provide the users the solution. I appreciate your valuable time.
    Regards
    Eric

  • Query with Tables from another Database

    Hi.
    I have a problem with a Query that executes a stored procedure that inserts data in a Table from another DataBase. The problem is when I try to execute a Query with the data related of that table using the user parameters of SBO ('[%0]'....'[%3]'). I use the following parameters for reference to the Table:
    "....FROM [-BDName-].[dbo].[-TableName-] T1..... "
    Any suggestions? Thanks a lot....
    (Suggestions in English or Spanish)

    None

  • SQL query against tables on MS SQL Server and Oracle using Oracle BI

    Hi All
    I have two databases Oracle and MS SQL Server. I want to write a query statement which will retrieve data from both databases and publish this data into one report. That is I want to join/merge data from tables in both database into one report with one SQL Statement something like:
    Select o.F1,o.F2, m.F1,m.F2
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1;
    Can Oracle BI Publisher do this?
    Basically I want to query simultaneously two heterogeneous data sources in one SQL statement. Is there such a tool? I don't want to build a warehouse by moving data from SQL Server into Oracle or vice-versa. I don't want to duplicate data. I want to be able to query data at its source via 1 SQL statement.
    How would one go about doing such a thing?
    Many Thanks
    Kubilay.

    Hi Matt and Thomas
    Many thanks for your replies.
    Yes I have to do the join. Even worse I have to write an Aggregate query like this!
    Select o.F1,o.F2, m.F1,m.F2, count(*)
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1
    group by o.F1,o.F2, m.F1,m.F2;
    These are 2 different systems (hardware & software) which actually do the same job, they produce transactions for a common business entity. Kind of, both sell tickets for the same ABC ferry company.
    I can not put them side by side on the dashboard, as I need to aggregate the data and present it maybe in a Oracle BI Report for Accounting and Financial reconciliation purposes.
    The truth is, as it is. I can't change it, is too late.
    I have to device a way to harvest both systems as they are. I don't want to move around data. I thought looking at Oracle BI I could write SQL against multiple Data Sources. I am struggling to find a way. As it seems that it can "SQL query" 1 data source at a time.
    I have been hinted on another forum (OracleTURK) to use Oracle Transparent Gateways and Generic Connectivity. http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    Shame, I have to pay licenses for OWB and Oracle Transparent Gateways. I thought DB vendors can do better. Why do I have to pay to access the other 50% of the market.
    I can understand the performance implications this might have. Because of it I might even be forced at the end to move data (ETL) into a separate database, slice it into partitions and manage it that way. Pitty because currenlty I only need one report out of these systems but seems like will be dear to get.
    Thank you for all your help.
    Kubilay

  • Query with the days of a period and the same days of last year

    I need a help.
    We have a sales cube with daily values.
    We have a query that restricts a month (0CALMONTH) and shows the daily values for this month.
    No problem, we have only to put 0CALDAY on the line and the value on the columns.
    But we need also to show the values of the same days from last year.
    Example:
    The restricted month is july/2011.
    0CALDAY is on the line, so the query shows the values for
    01.07.2011   110,00
    02.07.2011   108,00
    31.07.2011   109,00
    How can we show in the same line the values for july/2011 and july/2010?
    Example:
             July/2010    July/2011
    01     95,00            110,00
    02     96,00            108,00
    31    94,00             109,00.
    Thanks in advance
    César Menezes

    Thanks for the answers until now.
    Surely a Day characteristic (ex. CA_DAY, derived from 0CALDAY) would work.
    But we have this requirement in many other cubes (I posted only an example) and it's not feasible to create this characteristic now.
    I understood the other suggestions, but the problem is not on selecting the values.
    We have two restricted key figures, one for a period (filled by the users) and another one for this period - 12.
    They work OK and bring the correct results.
    The problem is on presenting the results, because as we have 0CALDAY in the line the results appear on two different lines.
    Example:
    15.07.2010    950,00
    15.07.2011    980,00.
    Is ther any way to present the results in the same line?
    Example:
    15.07.2011    950,00 (last year)     980,00 (today)
    or
    15.07             950,00 (last year)     980,00 (today)
    or any other way?
    César

  • Need help with table, xml files, click actions and visibility

    Hi.
    I am new to adobe livecycle and I need some guidance in a problem that I am facing.
    I have an XML. The main tag 'employee' has 4 tags in it, name, age, ph# and address.
    Address tag has 6 more tags in it.
    I have to create a table which has 4 columns initially (all text fields). The rows are populated acccording to the XML.
    1. S. No., which increments according to row number.
    2. Name from XML.
    3. Age from XML.
    4. ph# from XML.
    When any S. No. is clicked on, it should display the address details below that row, when it is clicked on again, it should hide those details and the original table view should be restored.
    I googled a lot but am still not able to get how to do this.
    Please help.

    I created a sample for you with what I think you want. Here is a file and the associated XML that goes with it.
    Paul

  • Slow query with a lot of Nav attr and filter with them,what can i do

    Hi Gurus,
    my problem is this and the reason why i m asking:
    i got a query that the 80% of the char that show in the query are Nav Attr of an Infoobject "A",  and i filter for some Attr Nav, this IO its like to say Invoice Number, but this "invoice number" has a lot of Attr that i need and change every day and i need the last value in the report, if i put it in the cube the Attr nav, this save a history and the values in the report are wrong, for that reason i am thinking  in put this IO in line item dimension but using its Nav attr, , i dont know guys, help me

    x

  • MDX query with DMV to get all cubes and aggregation row count on SSAS engine

    Hi All,
    How can I get all cube names  on a SSAS engine server and count of number of aggregation rows in each cube ?
    I got a DMV where it shows all catalogs names and description but where can I found aggregation row count of each cube.
    Please let me know, thanks in advance.
    Maruthi...

    Hi Maruthi,
    Please check below link, hope this will help you.
    SSAS 2008 CTP6 – new DMV $SYSTEM. DISCOVER_ OBJECT_ ACTIVITY
    lists the memory usage and CPU time for each object i.e. cube, dimension, cache, measure, partition, etc. They also show which aggregations were hit or missed, how many times these objects were read, and how many rows were returned by them:
    Discover_object_memory_usage and discover_object_activity
    select * from $system.discover_object_memory_usage
    select * from $system.discover_object_activity
    Thanks
    Suhas
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • Af:query with bind variables and Saved Search

    I have a VO and view criteria(VC).
    VC has a criteria item ObsoleteDate with range specified as bindVariables "dateFrm" and "dateTo" I dragged & dropped the named criteria as af:Query with table. Table toolbar has 2 buttons in which I set & clear the bind variables. Data is fetched as per as expected based on the VC & bind variables.
    The problem is,
    If I save my search with bind variables set and swap between the saved searches , all works fine. But the moment I clear bind variables & swap between searches.. "dateFrm" is populated and "dateTo" is null and I get an Exception oracle.jbo.AttrValException: JBO-27035: Attribute Obsolete Date: is required.
    Why is this happening?? Saved search is supposed to save the VC with all the bind values set while saving and clearing bind variables shouldn't affect the saved search, right?? Or I have understood it wrong?
    I am using JDeveloper 11.1.2.3.0
    Thanks

    Try
    like ? || '%'

  • Regarding BKPF ,BSID and BSEG

    Hello ,
    I want to know that the internal content differnece between the
    BKPF and BSEG and BSID Tables.
    Thank you

    hi,
    Transanctions posted to FI(from all Modules) will store the BKPF and BSEG tables. BKPF is the header table and BSEG is the line item table.
    BSID is the secondary index table for customer realated transactions. In BSID table most of the fileds avilable in BKPF and BSEG will be there.
    Customer related open item transaction will update in BKPF&BSEG, BSID tables.
    BSID = open items
    BSAD = not open items
    For kreditors it is BSIK and BSAK
    For G/l a BSIS and and BSAS
    When you make a posting it update's these tables.
    For this reason it is important to set up your G/L accounts correct. When you found a way to change G/L account (if balans value is 0) you get wrong information in your line item overview. For the G/L accounts you can use the ABAP's RFSEPA** to change the G/L account (you have to make a little change in the program that you can run it and it only working for old G/L. Before you do this have a look to the OSS note about this, there are some riscks about this).
    http://www.erpgenie.com/sap/abap/tables_fi.htm
    regards
    prasanth

  • Regarding link up b/w CHVW and BSEG

    Hi,
    i am making a report in which i have to make link up B/W CHVW AND
    BSEG and how should i do this so dat can be properly displayed.

    hi,
    yeah i know dat it is a cluster table and moreover i am using for all enteries but th thing is when i make link with CHVW there is a problem that the aufnr or vbeln which are present are not dere in bseg ,So what should i do to show in my reprt that the cost of  material had been paid to the vendor or not.
    plzzz help me out as it is really urgnent to me.

  • Link VTBFHAPO and BSEG

    Hello,
    I have a problem because field BELNR is not filled in table VTBFHAPO. In this way, i can't link VTBFHAPO and BSEG and get the rest of the information.
    Any idea how to link both tables?
    Thanks and Regards,
    Maria

    Hello,
    Through quick viewer in SQ00 - try to add tables VTBFHAPO and BKPF. Link these two tables, remove all other links, except BUKRS and BELNR in both tables.
    BSEG is not allowed here.
    Regards,
    Ravi

  • Query Form with Table - Table not stretching

    Gentlefolk
    I have a very simple JSF page.
    I have based this JSF page on Oracle quick start layout (stretched).
    I add a query component (including a table) to the page.
    When I run the page the Search Panel Re-sizes to fit the browser (stretches). The table below does not.
    p.s. the query component itself works fine. Its the table that returns the results that remains unstretchable.
    Any ideas appreciated
    Thx
    Darren Palmer

    Having the table in a stretchable component will stretch it (the panel group isn't such a component).
    So you can layout your page like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>
    <f:view>
      <af:document id="d1">
        <af:messages id="m1"/>
        <af:form id="f1">
          <af:panelStretchLayout id="psl1" topHeight="200px">
            <f:facet name="center">
                <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                          var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
                          emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                          rowBandingInterval="0"
                          filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          filterVisible="true" varStatus="vs"
                          selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="resId1">
                  <af:column sortProperty="DepartmentId" filterable="true"
                             sortable="true"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                             id="resId1c1">
                    <af:outputText value="#{row.DepartmentId}" id="ot1">
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                    </af:outputText>
                  </af:column>
                  <af:column sortProperty="DepartmentName" filterable="true"
                             sortable="true"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                             id="resId1c2">
                    <af:outputText value="#{row.DepartmentName}" id="ot2"/>
                  </af:column>
                  <af:column sortProperty="ManagerId" filterable="true"
                             sortable="true"
                             headerText="#{bindings.DepartmentsView1.hints.ManagerId.label}"
                             id="resId1c3">
                    <af:outputText value="#{row.ManagerId}" id="ot3">
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DepartmentsView1.hints.ManagerId.format}"/>
                    </af:outputText>
                  </af:column>
                  <af:column sortProperty="LocationId" filterable="true"
                             sortable="true"
                             headerText="#{bindings.DepartmentsView1.hints.LocationId.label}"
                             id="resId1c4">
                    <af:outputText value="#{row.LocationId}" id="ot4">
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DepartmentsView1.hints.LocationId.format}"/>
                    </af:outputText>
                  </af:column>
                </af:table>
              <!-- id="af_one_column_stretched"   -->
            </f:facet>
            <f:facet name="top">
              <af:panelHeader text="Departments" id="ph1">
                <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          resultComponentId="::resId1"/>
              </af:panelHeader>
            </f:facet>
          </af:panelStretchLayout>
        </af:form>
      </af:document>
    </f:view>Another option is to use a panel splitter - basically take the template you used - add a splitter (vertical) - drag the query with table to the top - then move the table to the bottom:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelStretchLayout id="psl1">
              <f:facet name="center">
                <af:panelSplitter id="ps1" orientation="vertical">
                  <f:facet name="first">
                    <af:panelGroupLayout layout="vertical" id="pgl1">
                      <af:panelHeader text="Departments" id="ph1">
                        <af:query id="qryId1" headerText="Search" disclosed="true"
                                  value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                                  model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                                  queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                                  queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                                  resultComponentId="::resId1"/>
                      </af:panelHeader>
                    </af:panelGroupLayout>
                  </f:facet>
                  <f:facet name="second">
                    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                              var="row"
                              rows="#{bindings.DepartmentsView1.rangeSize}"
                              emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                              rowBandingInterval="0"
                              filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                              queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                              filterVisible="true" varStatus="vs"
                              selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="resId1">
                      <af:column sortProperty="DepartmentId" filterable="true"
                                 sortable="true"
                                 headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                                 id="resId1c1">
                        <af:outputText value="#{row.DepartmentId}" id="ot2">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="DepartmentName" filterable="true"
                                 sortable="true"
                                 headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                                 id="resId1c2">
                        <af:outputText value="#{row.DepartmentName}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="ManagerId" filterable="true"
                                 sortable="true"
                                 headerText="#{bindings.DepartmentsView1.hints.ManagerId.label}"
                                 id="resId1c3">
                        <af:outputText value="#{row.ManagerId}" id="ot1">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.ManagerId.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="LocationId" filterable="true"
                                 sortable="true"
                                 headerText="#{bindings.DepartmentsView1.hints.LocationId.label}"
                                 id="resId1c4">
                        <af:outputText value="#{row.LocationId}" id="ot3">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.LocationId.format}"/>
                        </af:outputText>
                      </af:column>
                    </af:table>
                  </f:facet>
                </af:panelSplitter>
                <!-- id="af_one_column_stretched"   -->
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

Maybe you are looking for

  • PopUp with selectMany List Box in JSF

    Hi, am a newbie to JSF.... I have a page with a hyperlink which opens a popup that has two multi select list boxes (values need to be moved to and fro within select boxes). Then i have a select button in the popup which should send the selected value

  • Problem resizing application in SWFLoader content in DividedBox

    Hi all, I have some strange behavior in my application. I am extending the plugin system as described by Chris Cantrell, the problem I have might be of more general nature though. http://blogs.adobe.com/cantrell/archives/2010/03/extending_air_applica

  • 74ls153 -- trying to make a full adder

    I am trying to build a full adder using a 74ls153 chip. The chip was part of the specification. No luck so far. Any ideas? Randy [email protected] Attachments: Project3.ms13 ‏110 KB

  • Subcontracting report

    hello all, How we can configure report ie balance sheet and p&l a/c for subcontract process

  • Where are "documents to go" files stored when I perform a Hotsync with my windows xp system?

    I just upgraded my palm OS to the latest version on my Treo 755p.  Prior to upgrading I did a verizon wireless sync and a hotsync with my windows XP based PC.  I list all my "documents to go" files that were stored on my phone.  They did not reappear