GRPO QUERY WITH FREIGHT

Dear All
When i run the following GRPO query (with freight) it shows me 2 lines when there is multiple freight lines in the freight screen. Can anybody guide where the changes is to be made in this query.
SELECT T0.[DocNum] as 'GRPO Number',T0.[DocDate] as 'GRPO Date', t0.DocDueDate as 'Inspected Date',T0.[CardName]  as 'Vendor Name', T0.[Project] as 'JOB Number', T0.U_PRNo as 'PRS Number',T0.U_BILL as 'Bill Number',T0.U_DC as 'DC Number',t0.u_doc_ref as 'Document Reference 1',T1.[BaseRef] as 'PO Number',sum (t1.linetotal) as 'Basic', T2.LineTotal AS 'Freight & P&F',
SUM(T3.TAXSUM) AS 'BEDAmt',
sum(t4.taxsum) as 'ECessAmt',
sum(t5.taxsum) as 'HECess Amt',
sum(t6.taxsum) as 'BED on Freight',
sum(t7.taxsum) as 'CESS on Freight',
sum(t8.taxsum) as 'HECess on Freight',
sum(t9.taxsum) as 'VAT ON Freight Amt',
sum(t10.taxsum) as 'CST ON Freight Amt',
sum(t11.taxsum) as 'VAT Amt',
sum(t12.taxsum) as 'VAT along with Excise Amt',
sum(t13.taxsum) as 'CST Amt',
sum(t14.taxsum) as 'CST along with Excise Amt',
sum(t15.taxsum) as 'AED Amt',
T0.Doctotal as 'Total Amount of GRPO'
FROM OPDN T0 INNER JOIN PDN1  T1 ON T0.DocEntry = T1.DocEntry
LEFT OUTER JOIN PDN3 T2 ON T2.DocEntry = T1.DocEntry
LEFT OUTER JOIN PDN4 T3 ON T3.DocEntry=T0.DocEntry and T0.DocEntry=T3.DocEntry AND T3.staType=-90 AND T1.LineNum=T3.LineNum
LEFT OUTER JOIN PDN4 T4 ON T4.DocEntry=T0.DocEntry and T0.DocEntry=T4.DocEntry AND T4.staType=-60 AND T1.LineNum=T4.LineNum
LEFT OUTER JOIN PDN4 T5 ON T5.DocEntry=T0.DocEntry and T0.DocEntry=T5.DocEntry AND T5.staType=7 AND T1.LineNum=T5.LineNum
LEFT OUTER JOIN PDN4 T6 ON T6.DocEntry=T0.DocEntry and T0.DocEntry=T6.DocEntry AND T6.staType=22 AND T1.LineNum=T6.LineNum
LEFT OUTER JOIN PDN4 T7 ON T7.DocEntry=T0.DocEntry and T0.DocEntry=T7.DocEntry AND T7.staType=23 AND T1.LineNum=T7.LineNum
LEFT OUTER JOIN PDN4 T8 ON T8.DocEntry=T0.DocEntry and T0.DocEntry=T8.DocEntry AND T8.staType=24 AND T1.LineNum=T8.LineNum
LEFT OUTER JOIN PDN4 T9 ON T9.DocEntry=T0.DocEntry and T0.DocEntry=T9.DocEntry AND T9.staType=25 AND T1.LineNum=T9.LineNum
LEFT OUTER JOIN PDN4 T10 ON T10.DocEntry=T0.DocEntry and T0.DocEntry=T10.DocEntry AND T10.staType=26 AND T1.LineNum=T10.LineNum
LEFT OUTER JOIN PDN4 T11 ON T11.DocEntry=T0.DocEntry and T0.DocEntry=T11.DocEntry AND T11.staType=1 AND T1.LineNum=T11.LineNum
LEFT OUTER JOIN PDN4 T12 ON T12.DocEntry=T0.DocEntry and T0.DocEntry=T12.DocEntry AND T12.staType=14 AND T1.LineNum=T12.LineNum
LEFT OUTER JOIN PDN4 T13 ON T13.DocEntry=T0.DocEntry and T0.DocEntry=T13.DocEntry AND T13.staType=4 AND T1.LineNum=T13.LineNum
LEFT OUTER JOIN PDN4 T14 ON T14.DocEntry=T0.DocEntry and T0.DocEntry=T14.DocEntry AND T14.staType=13 AND T1.LineNum=T14.LineNum
LEFT OUTER JOIN PDN4 T15 ON T15.DocEntry=T0.DocEntry and T0.DocEntry=T15.DocEntry AND T15.staType=-80 AND T1.LineNum=T15.LineNum
WHERE T0.[Project] between '[%0]' and '[%1]' or T0.[DocDate] between '[%2]' and '[%3]'
GROUP BY T0.[DocDate], T0.[DocNum],T0.[CardName], T0.[Project], T1.[BaseRef], T2.[LineTotal],T0.U_PRNo,t0.DocDueDate,T0.U_BILL,T0.U_DC,t0.U_DOC_REF,T0.Doctotal
REGARDS
KARTHIK

Hello Karthik,
Try This
declare @todate as datetime
declare @enddate as datetime
SELECT @todate= /*min(T0.DocDate) FROM OINM T0 WHERE T0.DocDate=*/ '[%0]'
SELECT @enddate= /*max(T0.DocDate) FROM OINM T0 WHERE T0.DocDate=*/'[%1]'
select DISTINCT a.Docnum as "GRPO No" ,a.docdate AS "GRPO Date" ,
a.cardname as "Supplier Name" ,a.DocDueDate ,
(select sum(LineTotal) from PDN1 where docentry = a.docentry)as "Basic Value" ,
(select sum(LineTotal) from PDN3 where docentry = a.docentry)as "Freight & P&F Am" ,a.DiscSum as 'Discount',
(Select sum(taxsum) FROM PDN4 where docentry = a.docentry and statype=-90) as "BED" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=-60) as "Cess" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=7) as "HeCess" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=-80) as "AED" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=13) as "CST along with Excise Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=4) as "CST" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=1) as "VAT" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=14) as "VAT along with Excise Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=26) as "CST on Freight Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=25) as "VAT on Freight Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=22) as "BED on Freight Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=23) as "CESS on Freight Amt" ,
(Select SUM(taxsum) FROM PDN4 where docentry = a.docentry and statype=24) as "HECESS on Freight Amt" ,
A.DocTotal as "Net Value"
FROM OPDN A left OUTER JOIN PDN3 B ON A.DOCENTRY = B.DOCENTRY left OUTER JOIN PDN4 C
ON A.DOCENTRY = C.DOCENTRY left outer join PDN3 h on A.DocEntry = h.DocEntry left outer join
PDN1 d on a.docentry = d.docentry left outer join crd7 e on a.cardcode = e.cardcode Left Outer Join
oitm g On d.ItemCode=g.ItemCode left outer join ochp f on f.absentry= g.chapterid where a.Docdate >=@todate
and a.Docdate <=@enddate and g.itemcode=d.itemcode ORDER BY A.DOCNUM
Regards:
Balaji.S

Similar Messages

  • GRPO with Freight Report

    Hi All,
    we have written a Query to get the GRPO Register as per our client requirement.
    In GRPO, they are entering Freight, now the issue is we are unable to generate the report with Freight, the table shows INV3, but when i view the table through Query it shows 0 records.
    Please help me to reterive the Freight
    Regards
    Shanker

    Hi Steffen,
    Thanks for the reply.
    Below is the Query which i had written.
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[DocCur], T0.[DocRate], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[AcctCode],   T1.[WhsCode], T2.[DocEntry], T2.[ExpnsCode], T2.[LineTotal], T1.[OcrCode] FROM [dbo].[OPDN]  T0 INNER JOIN [dbo].[PDN1]  T1 ON T0.DocEntry = T1.DocEntry, [dbo].[INV3]  T2
    Please help me to resolve.
    Regards
    Shanker

  • GRPO with Freight gives an error ...

    Hello Experts,
    When I post a GRPO without Freight it gives no error, but when I try to add with Freight Amount it gives an ERROR.
    Inventory Account is not defined [Goods Receipt PO - Rows - Warehouse Code] Message 173-77.
    Freight Setup: for that perticulat Freight that I am using... is Revenue and Expense Accounts are defined... Distribution and Drawing Methods are Quantity and Stock Check Box is CHECKED.
    Help Required...
    Thanks & Regards

    Hello Nazir,
    If your the items are set up with 'GL accounts managed by warehouse' (this is defined under the Inventory Tab of the Item Master Data), you should check that all the accounts for the warehouse have been set up under Administration => Set Up => Inventory => Warehouses => Accounting Tab.
    In particulary you should check that you have defined an Expense Account for the specific warehouse in the GRPO document.
    Also since you have chosen to affect the stock with additional expenses you need to specify an offsetting G/L account to the Stock account for clearing journal entries created by A/P Invoices and Goods Receipt POs.                                           
    I hope it solves your issue.
    Kind Regards,
    Magalie Grolleau
    SAP Business One Forums Team

  • Query regarding Freight

    Hi! Gurus,
    I am having a query regarding Freight .
    Consider PO having 100 Quantity and freight applicable WRT quantity Condition
    type FRC1.Rs 1 /1 Quantity.
    Freight amount = Rs 100.
    Consider 5 Good Receipt WRT purchase order.
    GR1- 20 Quantity ,Freight = 20 RS
    GR2 -20 Quantity ,Freight = 20 Rs
    GR3- 20 Quantity ,Freight = 20 RS
    GR4 -20 Quantity ,Freight = 20 Rs
    GR5- 20 Quantity ,Freight = 20 RS
    Well my question is can i do miro with respect to delivery note(GR1,GR2,GR3,GR4,GR5) wherein i will get only freight amount that i have to pay to vendor
    secondly if i  do MIRO WRT purchase order ,
    I getting 5 GR line items and 1item Rs 100 Freight.
    We require 5 GR line item and 5 Freight items.
    How this can be done.
    Thanks and Regards,
    shailesh

    If you vendor is sending you a five invoice with each having the freight then post invoice against the delivery note so you will get only that GR qty with freight amount.
    but if you get 5 GR and 1 invoice then you can not post separately

  • How to create an ABAP Query with OR logical expression in the select-where

    Hi,
    In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
    Please help me on this.. Points will be rewarded.
    Thanks a lot.
    Regards,
    Question Man

    Hi Bhupal, Shanthi, and Saipriya,
    Thanks for your replies. But that didn't answer my question.
    Bhupal,
    You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
    Shanthi,
    Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
    Saipriya,
    Like what I have said, this is a standard SAP code so we can't do your suggestion.
    I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
    Thanks a lot.
    Points will be rewarded.
    Regards,
    Question Man

  • Error while trying to Execute the Query with Customer Exit

    Hi Experts,
           I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting.
    system error in program SAPLLRK0 and form RSRDR; CHECK_NAV_INIT_BACK
    Thanks,
    Kris.

    Hello Kris,
    Are you working with multiprovider? Please check if OSS notes 813454,840080 or 578948 are applicable in your case.
    Regards,
    Praveen

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • Query with bind variable, how can use it in managed bean ?

    Hi
    I create query with bind variable (BindControlTextValue), this query return description of value that i set in BindControlTextValue variable, how can i use this query in managed bean? I need to set this value in String parameter in managed bean.
    Thanks

    Put the query in a VO and execute it the usual way.
    If you need to, you can write a parameterized method in VOImpl that executes the VO query with the parameter and then call that method from the UI (as a methodAction binding) either through the managed bean or via a direct button click on the page.

  • Report query with bind variable

    Trying to create a report query for xsl-fo print. For output format I pick "derive from item" then pick the item name from the list, on the next screen, I paste the query with the bind variable. on the next step test query, I always get "data not found" regardless what value I type in. This is the same query that I ran under sql commands without any issues.
    Does anyone run into the same issue as I have when attempted to create a query with bind var ? There is no problem creating a query without bind varibles. . thanks.
    Munshar

    Hi, please did you get any solution to this issue? I am having similar challenge right now.
    select     EMP.DEPTNO as DEPTNO,
         DEPT.DNAME as DNAME,
         EMP.EMPNO as EMPNO,
         EMP.ENAME as ENAME,
         EMP.JOB as JOB,
         EMP.MGR as MGR,
         EMP.HIREDATE as HIREDATE,
         EMP.SAL as SAL
    from     SCOTT.DEPT DEPT,
         SCOTT.EMP EMP
    where EMP.DEPTNO=DEPT.DEPTNO
    and      DEPT.DNAME =upper(:dname)
    This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
    Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

  • SQL query with Bind variable with slower execution plan

    I have a 'normal' sql select-insert statement (not using bind variable) and it yields the following execution plan:-
    Execution Plan
    0 INSERT STATEMENT Optimizer=CHOOSE (Cost=7 Card=1 Bytes=148)
    1 0 HASH JOIN (Cost=7 Card=1 Bytes=148)
    2 1 TABLE ACCESS (BY INDEX ROWID) OF 'TABLEA' (Cost=4 Card=1 Bytes=100)
    3 2 INDEX (RANGE SCAN) OF 'TABLEA_IDX_2' (NON-UNIQUE) (Cost=3 Card=1)
    4 1 INDEX (FAST FULL SCAN) OF 'TABLEB_IDX_003' (NON-UNIQUE)
    (Cost=2 Card=135 Bytes=6480)
    Statistics
    0 recursive calls
    18 db block gets
    15558 consistent gets
    47 physical reads
    9896 redo size
    423 bytes sent via SQL*Net to client
    1095 bytes received via SQL*Net from client
    3 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    55 rows processed
    I have the same query but instead running using bind variable (I test it with both oracle form and SQL*plus), it takes considerably longer with a different execution plan:-
    Execution Plan
    0 INSERT STATEMENT Optimizer=CHOOSE (Cost=407 Card=1 Bytes=148)
    1 0 TABLE ACCESS (BY INDEX ROWID) OF 'TABLEA' (Cost=3 Card=1 Bytes=100)
    2 1 NESTED LOOPS (Cost=407 Card=1 Bytes=148)
    3 2 INDEX (FAST FULL SCAN) OF TABLEB_IDX_003' (NON-UNIQUE) (Cost=2 Card=135 Bytes=6480)
    4 2 INDEX (RANGE SCAN) OF 'TABLEA_IDX_2' (NON-UNIQUE) (Cost=2 Card=1)
    Statistics
    0 recursive calls
    12 db block gets
    3003199 consistent gets
    54 physical reads
    9448 redo size
    423 bytes sent via SQL*Net to client
    1258 bytes received via SQL*Net from client
    3 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    55 rows processed
    TABLEA has around 3million record while TABLEB has 300 records. Is there anyway I can improve the speed of the sql query with bind variable? I have DBA Access to the database
    Regards
    Ivan

    Many thanks for your reply.
    I have run the statistic already for the both tableA and tableB as well all the indexes associated with both table (using dbms_stats, I am on 9i db ) but not the indexed columns.
    for table I use:-
    begin
    dbms_stats.gather_table_stats(ownname=> 'IVAN', tabname=> 'TABLEA', partname=> NULL);
    end;
    for index I use:-
    begin
    dbms_stats.gather_index_stats(ownname=> 'IVAN', indname=> 'TABLEB_IDX_003', partname=> NULL);
    end;
    Is it possible to show me a sample of how to collect statisc for INDEX columns stats?
    regards
    Ivan

  • 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

  • SQL Report query with condition (multiple parameters) in apex item?

    Hello all,
    I have a little problem and can't find a solution.
    I need to create reports based on a SQL query or I.R. Nothing hard there.
    Then I need to add the WHERE clause dynamically with javascript from an Apex item.
    Again not very hard. I defined an Apex item, set my query like this "SELECT * FROM MYTAB WHERE COL1 = :P1_SEARCH" and then I call the page setting the P1_SEARCH value. For instance COL1 is rowid. It works fine.
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.
    How could I do that, please?
    Thanks for your help.
    Max

    mnoscars wrote:
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.For a standard report, see +{message:id=9609120}+
    For an IR&mdash;and improved security avoiding the risk of SQL Injection&mdash;use a <a href="http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm#CACFAICJ">collection</a> containing the values in a column instead of a CSV list:
    {code}
    SELECT * FROM MYTAB WHERE ROWID IN (SELECT c001 FROM apex_collections WHERE collection_name = 'P1_SEARCH')
    {code}
    (Please close duplicate threads spawned by your original question.)

  • Broadcast a BW 7.0 query with BW 3.5 broadcaster?

    Hi Folks,
    is there a trick that allows to broadcast a BW 7.0 query with the BW 3.5 broadcaster?
    On the precal server BEX 3.5 / 7.0 is installed so in theory there shouldn't be an issue.
    But in the BW 3.5 broadcaster I don't see BEX 7.0 queries as all (for html)  nor BEX 7.0 workbooks.
    As we don't have BI JAVA stack we don't have BW 7.0 broadcaster ...
    Any ideas / workarounds / tricks?
    Thanks,
    Axel

    Hi,
    Pls check the links----
    Issues with broadcasting 3.5 workbooks after migration to 7.1
    Broadcaster not working from BEX Analyzer 7.0
    Not able to broadcast query.
    Regards,
    Suman

  • Report and ready for input Query, with similar shadings are confusing

    Some customers mix report and planning queries in their templates.
    usually the shades for PLAN Queries are
    o white - ready vor input
    o blue- display data (e.g. LY, calc KPI)
    In a Query with NO INPUT ready Cells the query has a zebra shading, blue and white, row by row.
    That is confusion for users if they believe every Number on a white background can be changed.
    Is it possible to change the shading for reporting queries to blue only?
    Best Regards,
    Georg

    Hi.
    You can cancel zebra by setting off for ALTERNATE_STYLES in properties if analysis item in WAD, BUT it sets all cells as WHITE and not blue.
    I dont know how it will be usefull, but you may try ...
    Regards.

  • Query with parameter as Array (UDT) very slow

    Hi.
    I have following Problem. I try to use Oracle Instant Client 11 and ODP.NET to pass Arrays in SELECT statements as Bind Parameters. I did it, but it runs very-very slow. Example:
    - Inittial Query:
    SELECT tbl1.field1, tbl1.field2, tbl2.field1, tbl2.field2 ... FROM tbl1
    LEFT JOIN tbl2 ON tbl1.field11=tbl2.field0
    LEFT JOIN tbl3 ON tbl2.field11=tbl3.field0 AND tbll1.field5=tbl3.field1
    ...and another LEFT JOINS
    WHERE
    tbl1.field0 IN ('id01', 'id02', 'id03'...)
    this query with 100 elements in "IN" on my database takes 3 seconds.
    - Query with Array bind:
    in Oracle I did UDT: create or replace type myschema.mytype as table of varchar2(1000)
    than, as described in Oracle Example I did few classes (Factory and implementing IOracleCustomType) and use it in Query,
    instead of IN ('id01', 'id02', 'id03'...) I have tbl1.field0 IN (select column_value from table(:prmTable)), and :prmTable is bound array.
    this query takes 190 seconds!!! Why? I works, but the HDD of Oracle server works very hard, and it takes too long.
    Oracle server we habe 10g.
    PS: I tried to use only 5 elements in array - the same result, it takes also 190 seconds...
    Please help!

    I did (some time ago and it was a packaged procedure) something like
    Procedure p(p_one in datatype,p_two in datatype,p_dataset out sys_refcursor) is
      the_sql varchar2(32000);
      the_cursor sys_refcursor;
    begin
      the_sql = 'WITH NOTIFICACAO AS( ' ||
                '      SELECT ' ||
                '       t1.cd_consultora, ' ||
                '                               where       t1.dt_notificacao_cn >= to_date(''01/09/2006'',''dd/mm/yyyy'') ' ||  -- note the ''
                '           where rownum <= :W_TO_REC) ' ||   -- parameter 1
                '         where r_linha >= :W_FROM_REC ';     -- parameter 2
      open the_cursor for the_sql using p_one,p_two;  -- just by the book
    end p;if I remember correctly
    Regards
    Etbin

Maybe you are looking for

  • My apple tv is not working, the front light its blinking

    my apple tv is not working the front light its blinking the only image on my tv is the apple picture

  • KanaaN Mini DisplayPort to HDMI doesn't work on 2013 MBA but does for 2011 Air?

    This cable has worked well with my wife's 2011 air for ouputing audio and video through our Onkyo receiver: http://www.amazon.co.uk/KanaaN-Mini-...pr_product_top However, I can't get it to work on my new 2013 Air. My Air's display will flash like oth

  • Download itunes 12.0.1 and now it wont let me sync

    Download new itunes update and now it wont let me sync. Keeps saying I need 26gb of free space which it didn't say before I downloaded the update. It doesn't make sense. It keeps saying: The iPod cannot be synced because there is not enough free spac

  • Skip the header in sender FCC

    Hello friends, In my source file ,  the first line is the header i want to ignore the first line(header) in FCC i tried with document-offset  : 1  in FCC But it is not working any suggestions. Thanks Srinivas

  • Bootcamp vs. Parallel

    I need windows for a computer programming class......but I've heard some bad stuff about both these app's....do any of you know which ones runs better, and faster?..... Also...my istat pro says that I've used 18.32 GB of HD and I have 93.15GB of HD l