SQL for inventory report

Hi,
Does any how any SQL so I can create a report from inventory ledger as below:
Txn Date Item Description Source Type Source Subinv Quantity UOM Unit Cost Txn Value
14-JAN-10 159549 TEST Move order 62143 Prosthesis 1.00 EA 94.08200 94.08
Any help would be great.

I am trying to recreate the Material account distribution report.

Similar Messages

  • Help with Sql for Annual Report per month

    Hi, I have been given the task to create an annual report by month that would show company's profits per month and totals in the last column to show which branch had the hightest income.
    Branch||January||February||March||April||May||June....||Total||     
    ABC ||$0.00 ||$0.00 ||$0.00||$0.00||$0.00||$0.00||Total Amt||
    DEF ||$18.01 ||$3.88 ||$18.01||$4.12||$18.01||$3.97||Total Amt||
    Can anyone please help me in giving an idea of how to write sql for this report..? I am building sub-queries for everymonth by giving the dates for Jan/Feb/March..but I think this is not the right way to do this....
    SELECT
    sum(a.commission) December,
    sum(b.commission) November
    FROM
    Select
    c.account_id,
    c.officer,
    c.account_product_class_id,
    sum(c.dp_monthly_premium) Commission
    From
    contract c
    Where
    c.account_id=109 and
    c.status='APPROVED' and
    c.protection_effective between '01-DEC-2009' and '31-DEC-2009'
    Group by
    c.account_id,
    c.officer,
    c.account_product_class_id
    ) a,
    Select
    c.account_id,
    c.officer,
    c.account_product_class_id,
    sum(c.dp_monthly_premium) Commission
    From
    contract c
    Where
    c.account_id=109 and
    c.status='APPROVED' and
    c.protection_effective between '01-NOV-2009' and '30-NOV-2009'
    Group by
    c.account_id,
    c.officer,
    c.account_product_class_id
    ) b
    I always have hight hope from this forum. So please help. Thanks in advance.
    Edited by: Aditi_Seth on Jan 26, 2010 2:29 PM

    You may try a group report on one simple query like:
    Select
    c.account_id, c.officer, to_char(c.protection_effective, 'MM') month
    sum(c.dp_monthly_premium) Commission
    From
    contract c
    Where
    c.status='APPROVED' and .....
    Group by
    c.account_id
    c.officer,
    to_char(c.protection_effective, 'MM')
    break/gropu on account_id, c.officer, to_char(c.protection_effective, 'MM') and total will be automatically calculated by Reports.

  • SQL for a report in Reports Builder

    I have a long query that is for all the variables for a report I am building in Reports Builder. So far everything is correct except one column in behaving pretty strangely. For some reason the value in each row is showing up as the same as the value at the bottom of the column which is the column's total. All the values above that should equal the lower value when you add them together.
    What I've got is SUM statements. I figured out what I want the statement to do that's causing the problem I just can't make it do that. I want it to give me a count of how many times one value shows up when another value is equal to a certain value. Here is one line of the code that I've tried to change but SQL keeps giving me errors.
    SUM(case when contract_type = '1' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_1,
    I did change it to COUNT but then it gave me a different incorrect value.

    SELECT component_name||' ( '||component_code||' )' component_code,agency_name||' ( '||agency_num||' )' agency_num,
    COUNT(contract_num_ng) total_cnt,
    SUM(dollars_obligated) total_amt,
    COUNT(case when contract_type = '1' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 end) TOTAL_CNT_1,
    SUM(case when contract_type = '1' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_1,
    SUM(case when contract_type = '2' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_2,
    SUM(case when contract_type = '2' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_2,
    SUM(case when contract_type = '3' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_3,
    SUM(case when contract_type = '3' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_3,
    SUM(case when contract_type = 'A' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_A,
    SUM(case when contract_type = 'A' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_A,
    SUM(case when contract_type = 'B' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_B,
    SUM(case when contract_type = 'B' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_B,
    SUM(case when contract_type = 'J' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_J,
    SUM(case when contract_type = 'J' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_J,
    SUM(case when contract_type = 'K' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_K,
    SUM(case when contract_type = 'K' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_K,
    SUM(case when contract_type = 'L' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_L,
    SUM(case when contract_type = 'L' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_L,
    SUM(case when contract_type = 'M' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_M,
    SUM(case when contract_type = 'M' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_M,
    SUM(case when contract_type = 'R' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_R,
    SUM(case when contract_type = 'R' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_R,
    SUM(case when contract_type = 'S' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_S,
    SUM(case when contract_type = 'S' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_S,
    SUM(case when contract_type = 'T' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_T,
    SUM(case when contract_type = 'T' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_T,
    SUM(case when contract_type = 'U' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_U,
    SUM(case when contract_type = 'U' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_U,
    SUM(case when contract_type = 'V' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_V,
    SUM(case when contract_type = 'V' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_V,
    SUM(case when contract_type = 'Y' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_Y,
    SUM(case when contract_type = 'Y' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_Y,
    SUM(case when contract_type = 'Z' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then 1 else 0 end) TOTAL_CNT_Z,
    SUM(case when contract_type = 'Z' and RPAD(TRIM(' ' from mod_num_ng), 6, '0') = '000000' then dollars_obligated else 0 end) TOTAL_AMT_Z
    FROM contract_actions_dw
    WHERE date_signed BETWEEN :P_DATE_SIGNED_START AND :P_DATE_SIGNED_END
    &P_CRITERIA
    GROUP BY component_name||' ( '||component_code||' )',agency_name||' ( '||agency_num||' )'

  • Edit SQL for Infoprovider report

    Hi,
    i have a small question, since i never interfaced the BO XI 3.1 with SAP BW. Can we edit the SQL for the webi report created on the SAP Infoprovider (say for example : InfoCube - cube1).
    Regards,
    Siva

    Hi Siva,
    No you can not!
    When you create a webi report based on a SAP BW cube there is no SQL generated, but an MDX statement. Currently it is not even possible to view the MDX statement on the BO side. You need to put a trace on it on the SAP BW side.
    Regards,
    Harry

  • SQL for oracle Reports

    Hi, I am having trouble developing an oracle report to return information from several tables. The information to be returned is an aggregate operator "Count" and several fields from the tables. I cannot get the sql to compile without error.
    Does anyone know of a good website for oracle reports design with sql?

    Hi,
    Why not paste the SQL code along with the
    error or send it to : [email protected]
    Naresh
    null

  • Values are not matching for inventory report

    Hi all,
    we are running the report stock over view, in that there is a key figure total stock which is having the non cumulative option
    inflow and outflow
    data has been loaded correctly but when we are executing the report it is giving the values cumulatively
    that means
    report containing material, plant and calmonth
    we have the data loading from october onwords
    suppose total stock is
    10.2007= 10ST
    11.2007=20ST
    12.2007= 50 ST
    it is giving the output
    10.2007 = 10ST
    11.2007 = 30ST
    12.2007 = 80ST
    it is cumulating the values
    TOTAL STOCK is the business content object which is having the options
    aggregation = sum
    exception aggregation = Last Value.
    can any one helps me on this issue.
    Thanks & Regards,
    Suresh.

    HI,
    Thanks for your reply,
    we are not done any compression on the requests, but now deltas are running
    is this is the problem cause for the report
    if it is the problem hw we can resove it
    can you please reply
    Thanks & Regards
    Suresh

  • Dynamic SQL for creating report in portal

    Has anyone had to create report in Portal using dynamic sql. That is you build up the query commands depending on the parameters entered by the user.
    E.g the columns displayed will be what the users has selected in the parameter form.
    Urgent reply please,
    Femi

    Hi,
    You can use SQL based reports to do this. The report should have a bind variable. The bind variable is used for the users to enter their values and query is built using the value in the bind variable. The user should enter the value of the bind variable from the customization screen.
    Here is an example
    select * from scott.emp
    where deptno = :vdept
    Here vdept appears in the customization screen and user should enter a value for this and run the report.
    Thanks,
    Sharmila

  • Tables for inventory report(proper sequence)---urgent

    Hi all,
    i want to write a report for physical inventory for both raw  & finished goods.
    in selection screen there will be customer, plant & date.
    for this customer & current date, i have to extract the raw & finish goods (material & qty) from all storage locations under that plant.
    can u plz tell me the proper sequence of the database tables , i need to use to achieve the above things?
    it is urgent.
    Thanks for ur help.
    ur help will be appreaciated.
    reagards
    pabitra

    Hi,
    Please have a look at table:
    LQUA - Quants
    Krzys

  • Multiple Physical SQL for one report

    Hi,
    Can someone please explain me why i am seeing multiple physical Queries generated for a single report.
    Please find below the physical sql.
    select sum(T314772.MONTHLY_BUDGET_AMT) as c1,
    T157680.NAME as c2
    from
    W_PARTY_D T157680,
    XXKC_CUSTSITE_SHIPTO_BUDGET_F T314772 / Fact_XXKC_CUSTSITE_SHIPTO_BUDGET_F */*
    where  ( T157680.ROW_WID = T314772.CUSTOMER_WID )
    group by T157680.NAME
    and
    select sum(case  when T97600.W_XACT_TYPE_CODE = 'Chargeback' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c1,*
    sum(case  when T97600.W_XACT_TYPE_CODE = 'Credit Memo' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c2,*
    sum(case  when T97600.W_XACT_TYPE_CODE = 'Debit Memo' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c3,*
    sum(case  when T97600.W_XACT_TYPE_CODE = 'Standard Invoice' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE when T97600.W_XACT_TYPE_CODE = 'Invoice Cancellation' then T93664.NET_AMT * -1 * T93664.GLOBAL1_EXCHANGE_RATE end ) as c4,*
    T157680.NAME as c5
    from
    W_PARTY_D T157680,
    W_SALES_INVOICE_LINE_F T93664 / Fact_W_SALES_INVOICE_LINE_F */ ,*
    W_XACT_TYPE_D T97600 / Dim_W_XACT_TYPE_D_Sales_Ivclns */*
    where  ( T93664.CUSTOMER_WID = T157680.ROW_WID and T93664.XACT_TYPE_WID = T97600.ROW_WID and T93664.DELETE_FLG = 'N' )
    group by T157680.NAME
    please let me know the reason and how to control this kind off behavior

    Combined request is like, within a report you can create multiple requests. You can either use it in case of combining different subject area or within the same subject area and in same report when different filters apply.
    For example
    Fire Marine Motor
    State No. Amt. No. Amt. No. Amt.
    Andra Pradesh 10 |20000 11 |100000 20 |200000
    TamilNadu 11 |40000 10 |120000 20 |200000
    The first request is for Andra, so we will apply the filter as 'state is equal to in 'andra pradesh''. We specify filter(No using Product_code in 'Fire') in the column formula. Then there is an option as 'combine' by which u create another request and now the filter is 'state is equal to in 'Tamil Nadu''. So when you execute the report, it will generate you two different queries.
    Regards,
    Anitha.B

  • Query for Inventory Report

    Hi Guys,
    We need to produce stock report for every month and in order to achieve that i have used this query and  also am getting those figures correctly.
    But we are maintaining different item groups and  we need to display all the items which comes under  the group in that particular warehouse or location even though there is no transactions in that given date range.
    whenever we generate the report this below query displaying only the items which has transactions on that particular give range.but we need all the items  which belongs to that itemgroup.
    Suppose,  there are 57 items in Item groupB in warehouse no-3.
    and i have a date range from 01/03/10 to 10/03/10 and item group B and warehouse no 3 as input.
    and the query displays only 11 items which has transactions. but we need other 46 items also to be displayed in the report eventhough it has no transactions in that   range and  for those items we need the previous closing balance(if possible).
    Pls guys help me in this.. its CRITICAL FOR US...
    ====================================================================================================
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Group nvarchar(10)
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Group = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam = '[%2]')
    Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = '[%3]'  )
    Select
    @Whse as 'Warehouse',     
    a.Itemcode,
    max(a.Dscription),
    sum(a.[Opening Balance]) as [Opening Balance],
    sum(a.[IN]) as [IN],
    sum(a.OUT) as OUT,max(a.Price) as 'Price',
    ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.Price,
    (sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],
    0 as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.price,
    0 as [Opening Balance],
    sum(N1.inqty) as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.price,
    0 as [Opening Balance],
    0 as [IN],
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode and
    I1.ItmsGrpCod = @Group
    Group By
    a.Itemcode
    Having sum(a.[Opening Balance]) + sum(a.[IN]) + sum(a.OUT) > 0
    Order By a.Itemcode
    ====================================================================================================
    Thanks in advance,
    Regards,
    Vamsi.

    Hi,
       For multi selection you have to try Crystal Reports. In Query Report you can choose particular range same as From Date,To Date..
    You may try this....
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Group nvarchar(10)
    Declare @Group1 nvarchar(10)
    Declare @Whse nvarchar(10)
    Declare @Whse1 nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Group = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam >= '[%2]')
    Set @Group1 = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam <= '[%2]')
    Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse <= '[%3]')
    Set @Whse1 = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse >= '[%3]')
    Select a.Warehouse as 'Warehouse', a.Itemcode, max(a.Dscription), sum(a.[Opening Balance]) as [Opening Balance],
    sum(a.[IN]) as [IN], sum(a.OUT) as OUT,max(a.Price) as 'Price',
    ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing from dbo.OITM I1
    Left JOIN (Select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.Price, (sum(N1.inqty)-sum(n1.outqty)) as
    [Opening Balance], 0 as [IN], 0 as OUT
    From dbo.OINM N1
    Where N1.DocDate < @FromDate and N1.Warehouse = @Whse and N1.Warehouse >= @Whse1
    Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
    Union All
    select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.price, 0 as [Opening Balance], sum(N1.inqty) as [IN],
    0 as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and N1.Inqty >0 and
    N1.Warehouse = @Whse and N1.Warehouse >= @Whse1
    Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price
    Union All
    select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.price, 0 as [Opening Balance], 0 as [IN],
    sum(N1.outqty) as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate
    and N1.OutQty > 0 and N1.Warehouse >= @Whse and N1.Warehouse >= @Whse1 Group By N1.Warehouse,
    N1.ItemCode,N1.Dscription,N1.price) a
    ON a.ItemCode=I1.ItemCode
    where  I1.ItmsGrpCod = @Group
    Group By a.Itemcode
    Order By a.Itemcode
    Regards,
    Priya

  • ALV Report for Inventory

    Hi All,
    Is there a way to make customized reports using ALV grid for Inventory reporting as like in Purchasing.
    Regards
    Ashok

    I think you need to have those developed.
    See threads below.
    http://scn.sap.com/thread/321656
    http://wiki.sdn.sap.com/wiki/display/Snippets/MM+Inventory+Report+ALV+GRID

  • Encoding for blank spaces in url in a sql statement in report

    1. What function or process do I use to encode for blank spaces in a url link in a report?
    I need to link from a report to a 2nd report and pass 5 variables. I believe that I need to do that by embedding my own url in the sql for the report, since the standard report sets up for only 3 variables to be passed.
    One of my variables PARTNER_FIRM has spaces in it, so how do I encode for that in the query. Currently, I have the following (... simplified).
    select partner_firm,
    count(distinct event) distinct_events,
    '<a href="f?p=18509:4:&SESSION.::NO:4:P4_PARTNER_FIRM,P4_QUARTER,P4_CATEGORY,P4_PRODUCT_CATEGORY,P4_EVENT:' ||
    partner_firm ||
    '%2C&P3_QUARTER.%2C&P3_CATEGORY.%2C&P3_PRODUCT_CATEGORY.%2C&P3_EVENT.">' ||
    count(distinct lower(attendee_email)) || '</a>' distinct_attendees
    from all_events ...
    but partner_firm has spaces which are returned. I think there is some way that I can encode for that?
    Thanks,
    Stephen

    Sure there is:
    select apex_util.url_encode('http://ww.oracle.com/') from dual
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Parameterized Views for User Reports

    I would like to be able to define a view such as:
    create view dept_emps(p_dept in varchar2) as
    select * from emps where dept = p_dept);
    and use this view to define a SQL Dev drilldown report with SQL such as:
    select * from dept_emps(:DEPT)
    where :DEPT is a bind variable passed from a selected depts report row.
    Oracle apparently does not support parameterized view definitions as suggested above, but I have found an article by Tom Kyte on the issue of parameterizing views, where Tom suggests using DBMS_SESSION.SET_CONTEXT (called within a user package) to set context values that can be retrieved in a view using the SYS_CONTEXT function. I can get this approach to work at the SQL prompt to work around the lack of formal view parameters. I have a package which defines a procedure which sets context values that I can then retrieve within a view using the SYS_CONTEXT function.
    To use this approach when defining a SQL Developer user report, the SQL for the report would need to be logically something like (which works fine at an SQL prompt):
    exec ssuper_context.set_ctx('DEPT', :DEPT) - - Call user procedure to assign context variable 'DEPT' with bind value from parent report
    select * from dept_emps
    where view dept_emps uses function SYS_CONTEXT to return the value for context variable 'DEPT'.
    SQL Developer complains about this as the SQL for a user-defined report. Can anyone suggest how I might pass a bind value from a selected parent record to a view which implements a drilldown report?
    TIA Jon

    I met CSI at a kongress a few weeks ago and pressed them a bit on how this works. Eventually they fezzed up about the table read but mentioned that in the next release being developed it would be different...
    Problems with this is that the FM has a couple of limitations, so you cannot read all tables correctly... so you end up reading some of the wrong ones or taking the easy ones.
    Another option is to let the database itself do the hard work, to get back to the performance aspect.
    Anyway, for neither of these two do you need any tcode, so indeed we are drifting off topic...

  • ABAP inventory report

    Hi ABAP developers,
    Where can I get Inventory Report examples or more information?
    Thanks in advance,
    Ol Pom.

    Hi Ol Pom,
    Please check this link...
    scenarios for inventory reporting ?
    It has ur answer
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Additional pl/sql on a report

    Hi
    Hope someone may be able to help.
    I have a report with a piece of pl/sql in the before displaying page area which calls a procedure and updates a field in a table, then when the report is displayed this value is shown on the screen as part of the report.
    I have then placed the report on a page and tried to run by passing a parameter but the report will not display on the page it is just blank. However if I take the additional pl/sql out of the report and run the page it displays fine.
    How do I get additional pl/sql to be called when the report is placed on a page?
    Jayne

    Hi
    This is the sql for the report
    select s.unique_id
    , s.submitter_name
    , s.property_address_1
    , s.property_address_2
    , s.property_address_3
    , s.property_address_4
    , s.property_address_5
    , s.property_post_code
    , s.application_date
    , s.required_fee
    , 'Return to homepage' homepage
    from online_lc_smh_details s
    where s.unique_id = :unique_id
    this is the additional plsql
    declare
    unique_id number(12);
    begin
    unique_id := portal.wwv_name_value.get_string(l_arg_names,
    l_arg_values, 'unique_id', 'YES');
    lc_online_fee(unique_id);
    end;
    This is how I am calling the report when it is placed on a page
    declare
    v_unique_id number(12);
    blk varchar2(12):='MASTER_BLOCK';
    begin
    v_unique_id:=p_session.get_value_as_number(p_block_name=>blk, p_attribute_name=>'A_UNIQUE_ID');
    call('http://ocella2.world/portal/page/portal/land/receipt/?UNIQUE_ID='||v_unique_id);
    end;
    Page parameter in the page is mapped I have tested by taking out the plsql from the report and it displays fine when when that is in the report is displays nothing
    Thanks
    Jayne

Maybe you are looking for

  • 80GB ipod Classic not showing any Music loaded on it

    I have an 80GB Classic Model No A1238. Suddenly the ipod has stopped showing any playlist or music that was there on it. But the ipod shows 56.4gb used and 17.9GB Free which means it still has the data but in the summary it shows Songs 0, Videos 0, P

  • Finder Crash in 10.9

    First crash of the Finder under 10.9 after 3 weeks of Mavericks. Minutes before I had the new "WD_Drive_Manager_Installer_3_1_0_14" installed. The restart was done, I open the finder and every Icon on the right disappeared in addition to the Finder W

  • A General FTP Question  - Interesting One?

    Hi, We have a domain hosted through a hosting company and can access the ftp in two ways... ftp.mydomain.co.uk - user/pass ftp.hostingcompany - user/pass We have a OS X Server (email) in house and an iMac running PureFTP. I need to allow a 3rd party

  • Outlook 2007 entryid error

    Hello, After the last from my iPhone to my laptop PC, all the contacts I had created on the iphone returned an error in contact list making outlook being stuck into an infinite loop when sending an email using these new contacts. After an edition of

  • Netgear WNDR3400 - drive share issues with MacBook Pro 10.9

    Hello, I have a Seagate drive connected to a Netgear WNDR3400 router and it has two partitions: 1Tb for Mac (Mac_Storage) and 1Tb for Windows (Win_Storage). When I connect to it as smb://readyshare from my Mac, the Mac_Storage is mounted correctly, b