Creating a query for a custom report layout

hello guys,
i am really stuck with this task - i need to populate a report with rows with "0" values based on a particular criteria, here is the example: lets say we have a table BROKERS with company names, their transaction types and cumulative amounts for a current month and all months ever.
COMPANY TRAN_TYPE CURR_MNTH ALL_MNTH
Broker1 CURRENCY_SELL $1000.00 $1500000.00
Broker1 GOLD_SELL $50000.00 $2500000.00
Broker1 GOLD_BUY $80000.00 $8500000.00
Broker1 STOCKS_SELL $35000.00 $3500000.00
table BROKERS does not have a field TRAN_TYPE, but has a field TRAN_TYPE_CD which reffers to another table called TRAN_TYPE_CD_EXPL, where all the codes are explained:
TRAN_TYPE_CD TRAN_TYPE_CD_EXPLD
1 STOCKS_SELL
2 STOCKS_BUY
3 GOLD_SELL
4 GOLD_BUY
5 SILVER_SELL
6 SILVER_BUY
7 COPPER_SELL
8 COPPER_BUY
9 CURRENCY_SELL
10 CURRENCY_BUY
so the results shown above is just a simple join of those two tables:
select b.COMPANY, tt.TRAN_TYPE, b.CURR_MONTH, b.ALL_MNTH
from BROKERS b, TRAN_TYPE_CD_EXPL tt
where b.TRAN_TYPE_CD = tt.TRAN_TYPE_CD;
everything is pretty simple, but here is where the problem starts : the report i am working on should look like this:
COMPANY MARKET TRAN_TYPE CURR_MNTH ALL_MNTH
Broker1 FOREX CURRENCY_SELL $1000.00 $1500000.00
Broker1 FOREX CURRENCY_BUY $0.00 $5500000.00
Broker1 CONTRACTS GOLD_SELL $50000.00 $2500000.00
Broker1 CONTRACTS GOLD_BUY $80000.00 $8500000.00
Broker1 STOCKMARKET STOCKS_SELL $35000.00 $3500000.00
Broker1 STOCKMARKET STOCKS_BUY $0.00 $9500000.00
so let me explain :
firstable, report should contains a column MARKET, which should be populated based on the values in the column TRAN_TYPE, but the thing is there is no table MARKET in database, so each time when you need to populate it in a report or somewhere else, you need to use decode like this (assumed everybody knows where all kind of tran_types belong to):
SELECT DECODE (TRAN_TYPE_CD_EXPL.TRAN_TYPE_CD_EXPLD,
'CURRENCY_SELL', 'FOREX',
'CURRENCY_BUY', 'FOREX',
'STOCKS_SELL', 'STOCKMARKET',
'STOCKS_BUY', 'STOCKMARKET') AS MARKET,
or based on TRAN_TYPE_CD value:
SELECT DECODE (BROKERS.TRAN_TYPE_CD,
9, 'FOREX',
10, 'FOREX',
1, 'STOCKMARKET',
2, 'STOCKMARKET') AS MARKET,
2) problem number 2 is more complicated : the report logic says - is a company has at least one transaction in a particular group (lets say CURRENCY_SELL for market type 'FOREX'), the report should be populated with other tran_types from the market type group with $0 even thou this company did not have any of those transactions during current month. so in this case it should be populated with the rows
Broker1 FOREX CURRENCY_BUY $0.00 $5500000.00
and
Broker1 STOCKMARKET STOCKS_BUY $0.00 $9500000.00
The thing is that it will be executed thru plsql batch on unix, so it must be a single query.
Any ideas and/or suggestions are very appreciated!
Thanks
P.S.
Its oracle 11gr2, with read-only role.

Hi,
This sounds like a jo for a partitioned outer join.
Here's one way:
WITH     broker_summary     AS
     SELECT     b.company
     ,      tt.tran_type
     ,      b.curr_mnth
     ,      b.all_mnth
     FROM     broker               b
     JOIN      tran_type_cd_expl     tt  ON     WHERE     b.tran_type_cd     = tt.tran_type_cd
,     market          AS
     SELECT     'CURRENCY_SELL' AS tran_type,       'FOREX' AS market     from DUAL  UNION ALL
     SELECT     'CURRENCY_BUY',               'FOREX'           from DUAL  UNION ALL
     SELECT     'STOCKS_SELL',               'STOCKMARKET'          from DUAL  UNION ALL
,     got_market_cnt     AS
     SELECT     bs.company
     ,     m.market
     ,     m.tran_type
     ,     b.curr_mnth
     ,     b.all_mnth
     ,     COUNT (*) OVER ( PARTITION BY       bs.company
                     ,          m.market
                      )     AS market_cnt
     FROM           market          m
     LEFT OUTER JOIN     broker_summary     bs   PARTITION BY (bs.company)
                         ON   bs.tran_type     = m.tran_type
SELECT       company
,       market
,       tran_type
,       NVL (curr_mnth, 0)     AS curr_mnth
,       NVL (all_mnth,  0)     AS all_mnth
FROM       got_market_cnt
WHERE       market_cnt     > 0
ORDER BY  company
,       market
,       tran_type
;If you'd care to post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data, then I could test it.
You should create a market table. Do it once, then you won't have to do it over and over again in every query that needs it.

Similar Messages

  • Error while creating a query for my custom infotype

    Hi,
    I have created a custom infotype with fields currency amount and currency field .
    While I am creating a query for it its giving an error
    Message no. AQ_AD_HOC221 Error when generating the report(see long text )
    I tried to execute the standard program RPUMS40CCI but still I am facing same error .
    I have also maintained table T777i for my infotype but still problem exists.
    Please help.
    P

    Hi
    Check in PM01

  • Handling DST in SQL Query for UCCX Custom Report

    We wrote all custom reports for one of the call centers using our UCCX deployment.  One problem we see we will hit in the future is DST.  We suggested they use UTC but they wanted to see the call data based off of EST timezone.  Right now we are okay because we use -5 to get the correct data but come March we are wondering how to address the issue.  What options do we have?  How are other people handling DST with the SQL queries for custom reporting?  I see that the HR client will determine this based off of the local computer time then gives you the option to use UTC.  We have all of our queries in an Excel document that the customer just needs to open and select Refresh All to update their data.
    Thanks

    "case-when" statements are evaluated in order.
    so you must do something like this:
    SELECT
    CASE WHEN <is not number>THEN 'N'
    CASE WHEN <is greater than 0>THEN 'Y'
    Now "<is greater than 0>" will always have number for input, can't get "not number" error there.
    See this thread:
    Re: regular expression: integer is between N..M
    Edited by: CharlesRoos on May 27, 2010 5:03 AM

  • Problem with creating customized report layout

    Hello,
    I want to create customized report layout. However, it doesn't work. Can somebody help me?
    I have a page 24 in apex.oracle.com(workspace: houbcm, username: apex, password: apex1). Here is the code in my .xslt.
    <?xml version="1.0"?>
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="content"
    page-width="210mm" page-height="297mm">
    <fo:region-body/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="content">
    <fo:flow flow-name="xsl-region-body">
    <fo:table table-layout="fixed" width="100%">
    <fo:table-body>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Product Name: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_NAME' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Description: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_DESCRIPTION' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Category: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//CATEGORY' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row >
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> Availability: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//PRODUCT_AVAIL' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell> <fo:block text-align='right' > <fo:inline> List Price: </fo:inline> </fo:block> </fo:table-cell>
    <fo:table-cell> <fo:block text-align='left' > <fo:inline> <xsl:value-of select='.//LIST_PRICE' /> </fo:inline> </fo:block> </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    Thanks,
    Jen

    Hi,
    Thanks for the reply. I have created following report definition.
    SELECT Call_Type.EnterpriseName, Call_Type.Description AS DNIS, Call_Type_Interval.CallTypeID,
    SUM(Call_Type_Interval.ServiceLevelCallsOffered) AS CallsOffered,
    SUM(Call_Type_Interval.CallsAnswered) AS CallsAnswered,
    SUM(Call_Type_Interval.TotalCallsAband) AS TotalCallsAband,
    SUM(Call_Type_Interval.ServiceLevelAband) AS ServiceLevelAband,
    SUM(Call_Type_Interval.ShortCalls) AS ShortCalls,
    SUM(Call_Type_Interval.CallDelayAbandTime) AS CallDelayAbandTime,
    SUM(Call_Type_Interval.AnswerWaitTime) AS AnswerWaitTime,
    SUM(Call_Type_Interval.AnsInterval1) AS AnsInterval1,
    SUM(Call_Type_Interval.AnsInterval2) AS AnsInterval2,
    SUM(Call_Type_Interval.AnsInterval3) AS AnsInterval3,
    SUM(Call_Type_Interval.AnsInterval4) AS AnsInterval4,
    SUM(Call_Type_Interval.AnsInterval5) AS AnsInterval5,
    SUM(Call_Type_Interval.AnsInterval6) AS AnsInterval6,
    SUM(Call_Type_Interval.AnsInterval7) AS AnsInterval7,
    SUM(Call_Type_Interval.AnsInterval8) AS AnsInterval8,
    SUM(Call_Type_Interval.AnsInterval9) AS AnsInterval9,
    SUM(Call_Type_Interval.AnsInterval10) AS AnsInterval10
    FROM        
    Call_Type (nolock),
    Call_Type_Interval (nolock)
    WHERE Call_Type.CallTypeID = Call_Type_Interval.CallTypeID
    AND Call_Type.CallTypeID in (:calltype_list)
    AND Call_Type_Interval.DateTime >= :start_date
    AND Call_Type_Interval.DateTime <= :end_date
    GROUP BY Call_Type.EnterpriseName,
    Call_Type.Description,
    Call_Type_Interval.CallTypeID
    For this definition i wanted to create a customized report which is apparently not possible.

  • Custom Report Layout with mutliple child tables

    I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
    for example:
    Table hierarchy:
    Jobs table
    Job Stops
    Job Days
    Job Day Service Providers
    Job Day Crew
    Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
    Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
    JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
    JobDayProviders.row3
    Thanks,
    Linda
    First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

  • Custom Report Layout in APEX 3.0 PDF

    How much freedom do we have when developing a custom report layout using BI Publisher when we create the template file using the Word XML add-on?
    Why I am asking is, I am trying to replicate several Crystal based reports that use multiple lines of for data. They group on several columns and display the grouped data on separate lines in the report.
    Grouping 1 Line one has customer detail information
    Next grouping 1 or more lines are provider of service line information
    Last Line count of detail lines for customer
    Or would I be better off porting these reports to Oracle Reports?
    Thank you!
    Tony Miller
    UTMB/EHN

    Marc, I was able to create reports based on a layout and a report query...Is it possible to let the end user (not apex developers) download the report layout, make modifications and load it again. They will only be changing the text and very rarely will modify the fields..
    Thanks
    Ashlee
    update: i found the following logic in the f4000 app on page 1405 for download
    declare
    l_report_document blob;
    l_file_ext varchar2(255);
    l_mime_type varchar2(255);
    begin
    for c1 in (
    select *
    from wwv_flow_report_layouts
    where id = :P1405_ID
    ) loop
    if c1.report_layout_type = 'RTF_FILE' then
    l_mime_type := 'application/rtf';
    l_file_ext := 'rtf';
    else
    l_mime_type := 'application/xml';
    l_file_ext := 'xml';
    end if;
    l_report_document := wwv_flow_utilities.clob_to_blob(c1.page_template,wwv_flow_lang.get_db_charset);
    sys.owa_util.mime_header (l_mime_type ,false);
    sys.htp.p('Content-Disposition: attachment; filename='||lower(replace(c1.report_layout_name,' ','_'))||'.'||l_file_ext);
    wpg_docload.download_file( l_report_document );
    end loop;
    end;
    and 1406 for upload
    declare
    l_report_layout clob;
    l_report_layout_id number;
    begin
    for c1 in (
    select blob_content from wwv_flow_files
    where name = :P1406_LAYOUT_FILE
    ) loop
    l_report_layout_id := wwv_flow_id.next_val;
    l_report_layout := wwv_flow_utilities.blob_to_clob(c1.blob_content);
    insert into wwv_flow_report_layouts (
    id,
    flow_id,
    report_layout_name,
    report_layout_type,
    page_template
    ) values (
    l_report_layout_id,
    :FB_FLOW_ID,
    :P1406_REPORT_LAYOUT_NAME,
    'RTF_FILE',
    l_report_layout
    end loop;
    end;
    are these the tables/apis i could use ?

  • Custom report layout question...can't find any answers anywhere

    I am trying to build a report in Portal, using the custom report layout. The report displays like so, before I do any customization:
    COLUMN1 COLUMN2 COLUMN3
    COLUMN1 COLUMN2 COLUMN3
    COLUMN1 COLUMN2 COLUMN3
    COLUMN1 COLUMN2 COLUMN3
    where COLUMN1 is the same value, always per report; COLUMN2 and COLUMN3 vary.
    What I want is:
    COLUMN1
    COLUMN2 COLUMN3
    COLUMN2 COLUMN3
    COLUMN2 COLUMN3
    COLUMN2 COLUMN3
    In the report layout editor, Body section, this is what I see:
    <TD ALIGN="LEFT"><#COLUMN1.FIELD#></TD>
    <TD ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    so #COLUMN1.FIELD# must be some kind of array, but I am not finding any documentation anywhere on how to reference the individual values. All I need is the very first value of the COLUMN1 variable. Once I have that value, I can put it where I need it, but I can't get at that value, just the array.
    I have searched portal center, the app server documentation, html documentation. I have googled everything I could think of, but came up with nothing. I found a similar question on this forum, but no one responded with an answer. Any help would be greatly appreciated.

    Helen,
    The best way for your case is to use a content folder and customize it whichever way you like.
    however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
    anyway. something similar but not exactly the same as what you wanted do is the following.
    use a query like the following: (with a union in between)
    SELECT COLUMN1,NULL , NULL ,NULL ,NULL
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    UNION
    SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
    FROM my_source_table
    WHERE myCriteria LIKE 'SoAndSo%'
    ---------- Now, have the following codes in the layout segments:
    <!--- header --->
    <table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
    <!--- body --->
    <tr align="center">
    <td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
    <tr align="center">
    <TH><#COLUMN1.FIELD#></TH>
    </tr>
    </table>
    </td>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
    <TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
    </tr>
    <!--- footer --->
    <TR><TD></TD></TR>
    this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
    with kind regards,
    naqvi

  • Create a Link to another (custom) Report

    Hi guys,
    I'm back again as I'm stuck with trying to create a link between two custom reports.
    I'll make it simple, this is the current result when I run the main custom report:
    This is its query (I removed all the exlusions to make it short):
    SELECT distinct ARPDisplayName0, Count(rsv.ResourceID) AS 'Count' , Publisher0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE fcm.CollectionID = @CollectionID
    --- List of Software ---
    and (
    ARPDisplayName0 LIKE '%Access%'
    or ARPDisplayName0 LIKE '%office%'
    --- Run the query only on any vendor which includes the word Microsoft ---
    and Publisher0 LIKE '%Microsoft%'
    --- Exclude/Include any hostnames which contains the following ---
    and (rsv.Netbios_Name0 NOT LIKE '%STC%')
    GROUP BY ARPDisplayName0, Publisher0
    ORDER BY count desc, Publisher0
    Now, I'd like to click on the Software name and run this query against it:
    SELECT Netbios_Name0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE ARPDisplayName0 LIKE 'Microsoft Visual Studio 2005'
    GROUP BY Netbios_Name0
    ORDER BY Netbios_Name0
    Where "Microsoft Visual Studio 2005" is going to be the variable passed once clicked on it. The above will return a list of hostnames where that software is installed to.
    I appreciate any help. Thanks :)

    Can you also explain me the alias part aside please? Thanks a lot.
    Using your Query above. Notice the Count(rsv.ResourceID) statement.
    rsv is an alias for v_R_System_Valid
    Each column should have an alias. so ARPDisplayName0 should be arp.ARPDisplayName0, etc. This will prevent conflicts between the various views and ensure that you get the right data returned.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Transaction Variant for a Custom Report

    Hi Folks...
    I am trying to create a transaction variant for a custom report...and i am unable to do it. Have any one tried that before and got it worked..please let me know.
    Thanks in advance.
    Rajeev

    hi,
    i also used a different approach based on the requirement.  this might be helpful to someone:
    requirement: to make one of the parameter fields as display only.  other users should not be allowed to edit this field & make it modifiable again.
    _solution1:_ in the program, assign the parameter field to a modification id and make it protected (screen-input=0). 
    limitation: needs program modification incase there is a future requirement to change the parameter field value.
    solution2: [1]create & save a variant and protect that parameter field. [2] go to SE93 & create a report transaction, put your saved variant in the 'start with variant'. [3] go to SU21 & create an authorization object for controlling the access to the variant. [4] ask your basis to attach this authorization object to the user id responsible for maintaining the variants for that program. [5] add a logic to check the authorization object in your program whenever the user tries to save or delete variants.
    remarks: in production, make sure the authorization object & the update profile are transported.  create also the same variant name as what you have defined in your report transaction code.

  • Bex query for BW abap report/ transaction

    Hi Experts, Here is a scenario: I developed ABAP program in BW using multiple DSOs for complex logic. Since I cannot use abap program directly in BO reports, I need to develop a query in BW for my abap program. Is it possible to develop a bex query for BW abap report / transaction in BW? I have limited knowledge on BW and BO. Please help me. Thanks in advance Raghu

    First of all thanks for your suggestion Matthew..!
    As you said, I created virtual info cube based on function module.
    In the info cube, I defined (4)dimensions and (1)key figure.
    In the fucntion module, appropriate below parameters defined and code written for the data table (e_t_data)
    CALL ZFM_XXXXXXX 
    EXPORTING   
    i_infoprov =                " Name of InfoProvider   
    i_th_sfc =                  " rsdri_th_sfc: List of Characteristics    
    i_th_sfk =                  " rsdri_th_sfk: List of Key Figures
    *   i_t_range =                 " rsdri_t_range: Range List
    *   i_tx_rangetab =             " rsdri_tx_rangetab: Table from Range List
    *   i_first_call =              " rs_bool       First Call
    *   i_packagesize = 100000      " i             Package Size 
    IMPORTING   
    e_t_data =                  " standard table:  Data Table   
    e_end_of_data =             " rs_bool       :End of Data Reached   
    e_t_msg =                   " rs_t_msg      : BW: Table with Messages
    Test:
    Right click the info cube and choose "displayed data", immediately it triggered above function module.
    when I see the import parameters data,
    no characteristcs data in i_th_sfc. But, key figures has data (1 record) in i_th_sfk.
    Not sure, Did I missed anything? Please help me.
    Thanks in advance

  • I have created two tables for my new  report under one transport request.

    Unwanted table transported
    I have created two tables for my new  report under one transport request.
    But I only need one table and the second table I was supposed to delete.
    However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
    how to handle this issue. 
    I am not sure any additional changes for this program.
    Could you please suggest me an idea.
    Thanks in adv

    >
    sam kumar wrote:
    > Unwanted table transported
    > I have created two tables for my new  report under one transport request.
    > But I only need one table and the second table I was supposed to delete.
    > However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
    >
    > how to handle this issue. 
    >
    > I am not sure any additional changes for this program.
    > Could you please suggest me an idea.
    >
    > Thanks in adv
    Does one custom table more or less really matter?  If you really want delete it, delete the table in DEV which will put it into a new transport and get that transport moved to TEST.

  • How to find the name of query for a given report

    Hi All,
    I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
    Thanks.
    Regards,
    Pooja Joshi.

    Use this FM
    RSAQ_DECODE_REPORT_NAME
    This FM takes program name as I/P and gives Query Name as O/P.
    This FM uses the structure AQADEF to fetch the data.
    Hope this helps.
    Regards
    Vinayak

  • Extracting the Logical sql query for the specified report  in OBIEE 11g

    Hi ,
    I want to extract the logical SQL Query for the Particular report in OBIEE 11.1.1.5.
    Any pointers related to this will be very helpful.
    Thanks,
    Sonali

    for a try please add Logical sql view to ur report it will dispaly the Logical sql for that Report..
    Hope it will helps you.

  • Duplication of Purchase Order while creating sales orders for a customer

    when we try to create sales order for one customer it have to create by picking up the purchase order from the table linearly.
    But the problem is that here when we are trying to create multiple sales orders the same purchase order is being picked.
    for example..when we create sales order 1 the purchase order picked is PO1 and
    for creation of sales order 2 the same purchase order PO1 is being picked up instead of PO2.
    No idocs are being generated in this, even to check them..
    How shall i resolve this...? Please help me out ASAP

    Hi Kumar,
    Thanks for the reply. But actually the problem is that this is related to some customized table in the project. When a EDI Batch job runs in the background then automatically the SO is created and the PO is being picked from the table(custom table) and then posted against the respective SO. we are not aware of that job which is triggering this to debug. Once if we can know that particular batch job or pgm or edi or idoc what ever it is then we can debug.
    Do you have any idea how can we find that particular pgm/edi/idoc/job name which triggers this creation of SO?

  • How to create ABAP Query for vendor open items

    HI,
    My client has requested me to create ABAP Query for vendor open items . So that it will be usefull for the users . Could anyone help me with this. I will assign you points.Thanks in advance.

    Hello,
    Use Table BSIK <Open Items of AP > & BSAK <AP Cleared items>......
    For Query you can use SQ01.
    USE BSID & BSAD for AR open/clear items...
    LFA1, LFB1 are vendor master data tables
    This is FYI
    Hope this helps.
    Rgds
    Rajendra

Maybe you are looking for

  • Problems with saving edited photos using Photoshop Elements 5.0 on WIndows 8.

    Since a week I can not save the edited photos - when I try the communicate: "Caould not complete your request because of a program error" appeares. I had no problem with saving edited photos before, with the same software. My computer runs on Windows

  • [BIOS REQUEST] GTX 970 Gaming 4G

    S/N: 602-V316-09SB1411061314 Current Bios Attached to post GPU-Z

  • I7 Struggling with Streaming

    I finally got my i7 after 2 months of waiting for apple to get them sorted out, and have been 100% satisfied with the performance up until now. It seems I am incapable of streaming nearly anything. Here is my set up. My iMac is located in my room, co

  • Camera Metadata and Aperture ?

    Hello A2 testers , Does the lens info appear in the A2 metadata panel now ? Or do we still have to had it by hand even if the info is inside the exif ? Regards,

  • Setting up sounds on SB Live

    Hi, I am completely new to using midi and would really appreciate some advice. I have installed Band in a Box but the played sounds are really poor, each guitar sound is just like a toy keyboard sound. I have gone into Creative HQ on my PC and tried