Table Names in single report

Can I dynamically pass a table name in a single report if I have the same column in 10 different tables.
eg. would be: select from Col1, col2, col3......col10.. from table name.
In this eg. can I dynamically pass a table name in a single report.

Alias it...
select t.col1, t.col2,... from &p_table_name t
...

Similar Messages

  • Table name changed in Reports 3.0

    My DBA asked me to change the table name from SA_AWARDS to SAFETY_AWARDS.
    I had already developed a report using table name SA_AWARDS.
    When I change the table name in my report to SAFETY_AWARDS, I get compilation errors.
    How can I fix it ?
    Thanks.
    Suresh

    Hi
    As i understand your problem , you have changed the table name in the query wizard and then tried to compile and it is giving errors ....
    well anytime you modify the sql (even add a space) the column names are renamed ... ie if you originaly had column Customer_name it would be renamed as customer_name1 ....
    now if in the original report you are using the columns for any computation etc it will not find the old column and will give compilaiton errors .... one way is to change the column names back to original names ... or better modify the sql once more by adding space and you will get back the original names most of the times .....
    the best way to avoid this is give alias name in the sql first time around , so it dosnt create problems ....
    once you take care of this i think your problem should be solved .....
    if not do let me know in more detail
    bye
    sudhir

  • Table Name to take report of Open Sales Order items&its relevant GL Number.

    Hi,
    I wanted to take a report with Output as Open Sales Order Items and its relevant GL account numbers. is there any T Code in the Standard or atleast the table name.
    I have already fetched the Open Sales Order Items from T code VA05, but i need the relevant GL account numbers also.
    Any pointers on this will be appreciable.
    Rgds,

    Hi
    There are no standard reports where in you can fetch the data of the open sales order items and its G/L accounts with the output. But  by creating your own report using LIS then it is possible
    Regards
    Srinath

  • Field & Table Name of ER1 Report

    Dear Experts ,
    I am working on customisation of ER1 report, I wanted to know the field names & table name of the below given data.
    DETAILS OF GOODS OF GOODS MFGD
    1.PRODUCT DESCRIPTION
    2.CETSH
    3.OPENING BALANCE
    4 QTY MFGD
    5.QTY RECVD
    6.CLOSING BALANCE
    7.ON WHICH DUTY IS PAID
    8.OTHERS W/O PAYMENT OF DUTY -FOR EXPORTS
    REMOVAL:
    1.PRODUCT DESCRIPTION
    2.QTY REMOVED
    3.ASSESABLE VALUE
    4.RATE OF DUTY (INCLUDING NOTIFICATION & RELEVANT SERIAL NO.)
    5.TOTAL DUTY PAYABLE
    6.TOTAL DUTY PAID
    DUTY PAYMENT DETAILS
    1.DATE OF PAYMENT
    2.MODE OF PAYMENT
    3.CENVAT
    4.SDE
    5.TOTALDUTY PAID
    Thanks
    DGN

    Got no solution

  • Passing table name to a report.

    I am designing an application that will draw data from any of a number of different tables (all with different data formats, but the same column names), and wish for this data to be displayed in a report. In the table that contains the selection criteria, I have included columns for schema name and table name. How can I pass these values into the report, and in turn, into a graph?
    I've tried this, but it doesn't work.
    SELECT data_column FROM
    :schema_column.:data_column;

    HI ,
    the table name can be easily passed on to the sql use lexicaly parameter as below
    SELECT data_column FROM
    &table_name where &where_clause
    once you write this query it will give you a message that a bind variable was created . Now you can assign value to this through parameter form or write a code in the after parameter form trigger and also generate the where clause if required .
    do you have same column name in different tables with different data types ?? if so then i really dont know how to solve this problem other wise it should not be a problem
    bye
    sudhir

  • How to display a table name in the report

    Hi,
    I have a requirment about the display of pivot table. When we drag a column to see its result, we always see his column name, now what I want to show are both table name and column name..
    like:
    District_D
    Region District
    China Beijing
    India Chennai
    Regards,
    Anne
    Edited by: anne on Oct 25, 2011 2:39 AM

    Hi Anne,
    If you want to implement Dpka's solution (hardcoding table and column values in column heading and add line break in between), you will need to add the below entry in instanceconfig.xml file. Refer http://gerardnico.com/wiki/dat/obiee/hardenxss
    <HardenXSS>false</HardenXSS>
    This will enable the HTML elements to be treated as HTML and not plain text. After adding the above entry in the xml, restart your presentation services and test your solution.
    Thanks

  • How to use table name dynamically in report  procedure

    Hello every body
    I want to use table name dynamically means at runtime i want to pass table name.
    I can do this by lexical parameter in main query.
    But my problem is that i want to crate new format trigger or new function that use 1 cursor in which that lexical parameter : table name is used.
    so how to do that?
    i can not use that lexical parameter it is giving error.
    please help me how to do that.

    Call a database function which you pass the lexical parameter. Then in the database function you use dynamic sql or the execute immediate option to build the SQL string.
    Return the information from this function to build your business logic on in your format trigger.
    Marcos

  • Table name(s) to report on Sales Text

    Hi,
    I am searching a way to get a report of the Sales Text related to the material master per sales org. Ran through a bunch of tables, but none of them provide info on the Sales Text.
    Could anyone help me on which tables I need to combine to get to the desired result?
    Thanks!
    Geert

    Hiiiii
    go to the change mode in the Material Master s
    select the Long Text editor
    Select the menu option GOTO, select the header Option
    a pop up appears
    Goto se37 (Function module) give READ_TEXT
    CLICK ON EXECUTE
    give the Import parameters that are given in the Pop Up window
    CLIENT
    Text ID
    LANGUAGE
    NAME
    OBJECT mvke
    ARCHIVE_HANDLE
    LOCAL_CAT

  • Tables name for Customer Payment Report

    hiiiiiiiiii
    can anyone tell us the tables name for the report customer payment receive..?
    Thanks & Regards
    Rekha sharma

    Hi Rekha
    when you pass following entry
    Bank dr  
    to Customer
    All header data like co code currecy ref , period etc goes to BKPF,
    line item - Bank Dr ( its a GL  entry ) goes to BSIS
    line item- Customer Cr ( its a AR entry ) goes to BSID or BSAD depends it is cleared or still open
    Also both the line items goes to BSEG
    Hope this helps.
    Regds
    Rajiv

  • How to display results set of multiple reports into a single report table

    Our goal is to create a single report (or dashboard) that shows the "funnel" of object creations related to each campaign. The flow goes from Activity to Lead to Opportunity as well as multiple steps within each (ie. Unqualified Lead -> Qualified Lead, etc).
    We currently have 3 separate reports in three different subject areas, each reporting the different metrics and we would like to combine the output into a single Unified report.
    For example what we currently have is:
    Activities:
    Campaign Name # of Activities
    Campaign A 12
    Campaign B 26
    Leads:
    Campaign Name # of Leads # of Qualified Leads
    Campaign A 10 4
    Campaign B 20 18
    Opportunities:
    Campaign Name # of Opportunities # of Opps per Sales Stage ... # of Wins Closed Revenue
    Campaign A 3 2 1 $1,000.00
    Campaign B 10 8 3 $2,800.00
    What we want to see is:
    Combined:
    Campaign Name - Campaign Cost - # of Activities - # of Leads - # of Qualified Leads - # of Opportunities - # of Opps per Sales Stage - # of Wins - Closed Revenue
    Campaign A - $423.00 - 12 - 10 - 4 - 3 - 2 - 1 - $1,000.00
    Campaign B - $ 1,000.00 - 26 - 20 - 18 - 10 - 8 - 3 - $2,800.00
    We have tried using the "Combine with similar analysis" but the number of columns for each subject area differ. We also tried creating multiple UNION criteria (one for each column), but in the case of # of Opps per Sales Stage and Closed Revenue, those are not "Metrics" fields, so they won't combine.

    Hi, You may have to create some dummy fields to equate the no. of field in each of the report matching the data type too and get a one single report using combined analytics and then using the resultant data you can create a simple pivot like below. Haven't tried it before
    -- Venky CRMIT
    Hi Venky,
    I am facing the same problem. Can you please say Steps how to create resultant data and Combine in pivot Table .
    Please Help me .
    Thanks in Advance .
    My mail id is :
    [email protected]

  • SSRS Reports level how to find out All tables names & columns list to display dynamically SQL Query????

    Hi Team,
    I Have one requirement,In SSRS Reporsitory 3000 reports are available.
    My end user requirement All 3000 reports are used Table names & columns list of each wise to display single table or single result set.
    I find out all 3000 reports details are diplayed single results set like
    Report Id,Path,Dataset,Source Query Text,Datasource
    In Source Query Text  column level All reports Queries are available but I want Each Report wise Table name & columns List.If any solution Please share me.
    Regards
    Rama

    Hi Ramakoteswara,
    According your description, you want to show used tables and columns of each report, and display is into a single result set. Right?
    In this scenario, we don't know where to find a column contains the Source Query Text. With my understanding, in Reporting Services, we have Catalog table in ReportServer DataBase, it has a column called Content stores the report code (.xml). In the
    code we can find the Query and Fields. Then you need to use VB/C# code to parse each .xml code of each report and fetch out the table name and columns. We do not support writing any queries against SSRS DataBase or parsing data records in any
    table.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • How to find how name of view and table using in Discoverer report

    Hi all,
    Please help me, i have requirement, i need name of views and tables used in discoverer reports.
    plz help its urgent.
    regards,
    Vivek Gautam

    As per my knowledge goes, We can see from Administrator which Folder is associated with a Workbook. Else you may have to manually open each and every workbook and look for the objects.

  • Report Table name

    Hi
    Please suggest the table name for same functionality of  CJID report.
    Regards
    Rama

    Hello
    proj - Project definition
    vbap - Sales Document: Item Data
    aufk - Order master data
    cskb - Cost Elements (Data Dependent on Controlling Area)
    cobk - CO Object: Document header
    coep - CO Object: Line Items (by Period)
    cofp - Document Lines (project cash management)
    fmfpo - FIFM: Commitment Item
    tkkap - Results Analysis Versions for Results Analysis
    cooi - Commitments Management: Line Items

  • HOw can i show a table(name given in parameters) in a report program

    I made a report in which there is a paremeter asking for a table name ....
    PARAMETERS TBLLE_NAME(10) OBLIGATORY.
    Now when I enter the table namke then how can i show its values....
    HINT:- We have to use fiels symbols....AND THE USER CAN ENTER ANY DDIC TABLE NAME having some records ...........

    You can display the contents of the DB table inputted using ALV.
    Pass the Structure name as the DB table name inputted.
    Use CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE to create the dynamic table of the same structure as the DB table passed.
    Once the above steps are done, the internal table with data can be displayed using ALV.
    Reward points for all helpful answers.
    Thanks,
    Balaji

Maybe you are looking for

  • Oracle 10g form builder

    Dear All I have installed 10g developer suite. Report builder is working but forms builder is not working. when ever i tried to open a .fmb file it show's the following error. i)frm-18108. failed to load the follwoing objects. ii) frm-10102 cannot at

  • Oracle 11g setup.exe

    I downloaded the files for windows 64bit and unzipped them. When I double clicked on the setup.exe all it did was flash the command prompt and that was it. Any ideas? Thanks

  • Opening Ports For a Gaming Server; Airport Utillity.

    Hi All, This is my very first post, and I'm not entirely sure if this is in the right Forum, but anyway, I am currently trying to Open port 25565 using Airport utility, So far I have Done: 1.Opened Airport Utility 2.Chosen Manual Setup 3. Entered Web

  • I have MSOffice 2010. Wish to invert a number of files scanned to PDF.

    I use MS Office 2010. I have erroneously scanned a number of files to the PDF format upside down. I realise now that PDF is not intended to be manipulated. Is there a way to change the orientation of the image on these pages, or do I rescan them the

  • Why does Leopard hate G4's???

    So i just installed leopard on my dual 1.0ghz MDD and everything works great so far..... except the screensavers. Off to the internet I go for clues, ideas, and hopefully a fix. After searching several mac-based forums and sites, the general consensu