Report without saving the records

Hello all of you,
i have a master detail block,, and i want to take a print from oracle report 6i without saving the record,, i just enter the record in the text boxes and then press the report button to generate the report
i am using oracle forms and report 6i with oracle 9i database
thanks in advance

Hi i put the code for testing for one block and its not inserting the records and mainly its a non database block and i want to insert only the selected check box' record.I tried following code but its not inserting
DECLARE
Num_Tot NUMBER;
Num_Loop NUMBER;
BEGIN
GO_BLOCK('FLX');
LAST_RECORD;
Num_Tot := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
FIRST_RECORD;
FOR Num_Loop IN 1..Num_Tot LOOP
IF :TR.CHK = 1 THEN -- 1 is the value when checked.
INSERT INTO REC_HIST
values(:TR.RN_DT,:TR.AC,:TR.Amt,sysdate);
commit;
IF :SYSTEM.LAST_RECORD = 'TRUE' THEN
EXIT;
END IF;
end if;
NEXT_RECORD;
END LOOP;
end;
rgds
sandya
Edited by: user10642220 on May 25, 2009 11:56 PM

Similar Messages

  • Saving report layout views without saving the filter criteria.

    We have a requirement from the client where after the user changes the layout of a report (ex. by adding/removing characteristics), the user wants to save the layout of the report without saving the filters of report. 
    I have two scenarios where I can get this to work.
    1. Pressing the u2018Save Viewu2019 button in the web report. And changing the query in Query Designer so that it does not have any filter variables in the u2018Default Valueu2019 section (all filters have to be in the u2018Characteristic Restrictionu2019 section). And in WAD turn 'On' the setting for u2018Reset Variable Values to Defaultu2019. I do not want to use this method because it means I have to change all queries that are in production.
    2.  The second way I get it to work is by Pressing the u2018Save Viewu2019 button and forcing the query to use a customized web template that references a master web template. In WAD neither the parent nor child web template has u2018Reset Variable Values to Defaultu2019 set to 'On', it is set to 'Off (Default)'.  I would like to figure out why this method works because no changes need to be made to the queries (filters can be on either side, u2018Characteristic Restrictionsu2019 or u2018Default Valuesu2019).  I do not want to use this customized web template for all queries because there are special layouts and labels that are not needed for the all other reports.
    So I know that there is a solution on the web template side, but Iu2019m not sure where the solution is. I want to figure out why scenario 2 works, and apply that to the default web template that runs for all queries. I compared the setting of both templates and I cannot find a difference. Please help!!
    We are running:
    SAP BW 7.0 Service Pack 22
    Web Application Designer 7.0
    Query Designer 7.0
    Thanks in advance, Points will be awarded!!

    Hi Sathish!
    If your table data is less than 3 pages (2 pages) then new section will start from 3rd page only.
    Each table is less than one page actually. But as I wrote the 2-nd section starts from the 2-nd page (what is excellent), but the 3-rd section starts from the 2-nd page as well (right after the 2-nd section), but not from the 3-rd page.
    If each table in section is with different format , it is good to go with TAB wise tables.
    Could you give any link where I could read about the TAB wise tables? Not sure I am familiar with it.
    Thank you!
    Andrey

  • Is data stored anywhere in the system without SAVEing the file manually

    Hello All,
    I need to know whether the data is saved anywhere even before I save the document manually ?
    If so, where can I find that temporarily saved data?
    Ex: While writing any WORD document, you can see the draft version of any file saved after 2 mins without save.
    Regards,
    Vijaya

    Hi, data is not stored in system without SAVEing the program.
    However, if you have pressed F8 ( executed the program without saving), then a message come REPS<reportname> temporarily saved (program gets buffered for temporary compilation) .
    If after this you close your session and try to open the report in new session, a popup would come giving you option of using saved version or temporary version.
    This is the closest SAP gets to MS WORD file crash recovery style.

  • Unbilled Revenue Reporting - without saving simulation billing documents

    Hi,
    I would like to know if anyone has ever run unbilled revenue reporting successfully from BI without saving the simulation billing documents that are generated from the Mass Simulation Run? Can the information be exported to BI without saving these documents? If yes, where is the total revenue calculated stored in SAP?
    In my past experience we had to save the generated billing documents to be able to load them in BI and run monthly report. This is affordable if the number of customers is low but is not a good practice in case of clients with very high customers.
    Transaction ESIMD can be used to delete these billing documents - how has your experience been with this report? What are the factors to be considered when using this report?
    Thanks,
    Shweta

    Gurus -
    I am still struggling with this.
    I am debugging the program REA_SIMINDICES_BILL.
    I see the biiling doc internal tables getting populated, but the internal tables for sending data to BW (and COPA, etc.) are empty.
    The simulation type clearly has transfer to BW set, and the datasource is the 0UC_SALES_SIMU_01 datasource defined in the subdialog.
    Is there a SAP NOTE that I am missing - we are on ECC 6.0 (IS-U).
    Is there ANY functional/technical reason why BW delta Q is not getting populated despite Simulation Docs being generated.
    Thanks!!!!

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • How having a where-clause in a report without affecting the actions button

    Hi,
    let's suppose I have a simple report built on a table where I have a date field.
    If I want the report to get the records of the table when you login ao as to have only those of the current month, I could modify the region source in the page rendering of the report in this way:
    select
    “COLUMN1"
    "COLUMN2",
    "COLUMN3"
    from   "MYTABLE"
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    order by COLUMN2
    The problem is that if I try to choose another range of date on the application by using the filter of the Actions button, I get no records and I suppose that is 'cause the report applies the filter to the query where I have
    where to_char(COLUMN2,'mm-yyyy') = to_char(trunc(sysdate),'mm-yyyy')
    and so I doesn't work.
    How should I do?
    Thanks!

    try this...
    select  
    “COLUMN1" 
    "to_char(COLUMN2,'mm-yyyy') ", 
    "COLUMN3" 
    from   "MYTABLE"  
    where COLUMN2 between to_char(COLUMN2,'mm-yyyy') and  to_char(trunc(sysdate),'mm-yyyy') 
    order by COLUMN2

  • Creating a Mavericks USB boot drive after the horse has bolted.  Can I create a bootable USB drive from my iMac after installing Mavericks without saving the Install OS X Mavericks.app file?  Do I need to re- download the whole 5.29 Gb again?

    Creating a Mavericks USB boot drive after the horse has bolted.  Can I create a bootable USB drive from my iMac after installing Mavericks without saving the Install OS X Mavericks.app file?  Do I need to re- download the whole 5.29 Gb from the App Store again?  My problem is my 4Gb/month allowance on a 12 month contract.  I cannot purchase a data block from my ISP and although my speed is theoretically slowed to 64k after reaching my 4Gb, it actually ceases to download in reality.

    HI tasclix, it depends what you mean by an OS X boot drive.
    If you want a recovery disk from which you can reinstall (by re-downloading) or recover from a time machine backup, then nbar is correct.
    If, however, you want to boot and run the OS X installer from the USB drive (so that you don't need to download again), then you will need a copy of "Install OS X  Mavericks.app"; see this article:
    http://support.apple.com/kb/HT5856
    Before downloading again, search your system to see if the installer is still there - it's usually in the /Applications folder unless it has been deleted, but check your whole system for it anyway, you never know, you might still have it somewhere.
    Message was edited by: SilverSkyRat

  • Ho to Generate the Numeric Values Automatically before saving the records

    Hello to everybody,
    I have a data block naming “BILL” consisting of the following 3 field.
    1. Sr_No
    2. Bill_Amount
    3. Description
    This Data Block consist 10 records at a time.
    I want that whenever I insert records in the above data block.
    Serial No should automatically be generated.
    For this I have applied the following code in “WHEN-NEW-ITEM-INSTANCE” trigger.
    <CODE>
    SELECT NVL(MAX(Sr_No),0)+1 INTO :BILL.Sr_No FROM BILL;
    </CODE>
    Whenever I insert records in the BILL data block, the first row automatically generates the “Sr_No”, but when I move to the next record, (remember currently I have not saved the record), the same value which appeared in the previous record appears in the Sr_No field.
    For example, when I insert records for the first time in the BILL, the Sr_No field automatically generates value “1”, but when I move to the next record while not saving the first record the next row still generating value “1”, while it should be value “2” and so on.
    Note that I want that before saving the previous record when I move to the next row, the Sr_No should generate the next continuous value like in example.
    Please help me to solve out this problem.

    You have practically scratched you left ear with your right foot while jumping on the left foot :-)
    Seriously, you guys don't need to go to all this trouble.
    If you want a serial number incrementation, all you need to do is to either select the max value + 1 from the table or select the next value from a sequence in an PRE-INSERT trigger on block level, and that's it!!!!
    Tony

  • Index document with Oracle Text from an ECM without saving the content

    Hi,
    I have documents in a ECM (Alfresco, UCM and more) and I would like Oracle Text to index the document without saving the content. I want to save space and not have redundant information. I would use Oracle Text to search for document's identification (ID) and fetch the document from the ECM using the ID.
    Is it possible ?
    Do I have to use Secure Enterprise Search ?
    Thanks
    Simon

    I want to save space and not have redundant information.The database space or the disk space (in OS)?
    If it the database space, it is not possible to index/serach without storing the file conetents.
    using , FILE_DATASTORE you can save the file in the disk (OS) and index them.
    When you remove the file, you need to re-index it.
    I donot see any other ways.
    Do I have to use Secure Enterprise Search ?SES also uses Oracle Text as its base. It also uses FILE_DATASTORE. But the re-indexing part is automated using crawlers.

  • I opened a Sync account before, and without saving the code I uninstalled it. But now using installed it again but do not have my Sync code to add the device. Is there anyway I can retrieve the code, without creating another account? Thanks!

    I created a Sync account before but uninstalled it without saving the code. But now installed it again and having trouble finding my account code to setup my Sync. Is there a way to retrieve my Sync code without creating another account?
    Thanks!

    Contact iTunes:
    Apple - Support - iTunes - Contact Us

  • Is there a way to work with AutoCAD files in Illustrator without saving the autoCAD file back to a 2

    Is there a way to work with AutoCAD files in Illustrator without saving the autoCAD file back to a 2007 .dxf file format?

    Different versions of Illustrator can import different versions of DXF.
    Maybe there's a plugin by hotdoor that might enable you to import the latest version of the file format.

  • Error while saving the records in the database

    Hi,
    I am running into a wierd error.
    I have built a new page which contains the information about the employees. Some of the fields are updatable fields. The page shows the details of the person who logs into the page.
    I am not using EO in this page. The data is queried from the database from VO and displayed in the page and when the records are updated, they are saved in the databased using pl/sql procedure which is
    being called from AM. So i am basically not using VO to save the records in the database.
    The error which i am getting is,
    If 2 users are trying to update the page at the same time, user A's details are updated in user B's page.
    This is really causing the issue. Any help is greatly appreciated.
    Thanks in advance.
    PK

    I have posted the code used along with the dialog page. Please review.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Pavan, Start1",OAFwkConstants.STATEMENT);
    if (pageContext.getParameter("XYZBack")!=null)
    pageContext.setForwardURL("OA.jsp?OAFunc=OAHOMEPAGE"// OAWebBeanConstants.RETURN_TO_MENU_URL also tryed this , same error
    ,null
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null //not needed as we are retaining menu context
    ,null // no parameters are needed,true //retain AM,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    ,true
    ,null
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    if(pageContext.getParameter("XYZUpdate") !=null)//The fields and their values are loaded as soon as the update button is clicked. We do this before calling the oadialog page so that the values are not lost
    OAViewObject EmpDetailsVO3 = (OAViewObject)OAAppl.findViewObject("XYZPersInfoVO");
    OARow EmpDetailsRow3 = (OARow)EmpDetailsVO3.first(); //Bringing the control over to the first row which is nothing but the displayed row.
    if(EmpDetailsRow3 !=null)
    s_workphone = EmpDetailsRow3.getAttribute("WorkPhone").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workphone is: "+s_workphone,OAFwkConstants.STATEMENT);
    s_fax = EmpDetailsRow3.getAttribute("WorkFax").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Fax is: "+s_fax,OAFwkConstants.STATEMENT);
    s_building = EmpDetailsRow3.getAttribute("Building").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Building is: "+s_building,OAFwkConstants.STATEMENT);
    s_room = EmpDetailsRow3.getAttribute("Room").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Room is: "+s_room,OAFwkConstants.STATEMENT);
    s_box = EmpDetailsRow3.getAttribute("Box").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Box is: "+s_box,OAFwkConstants.STATEMENT);
    s_preferedname = EmpDetailsRow3.getAttribute("KnownAs").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Preferred name is: "+s_preferedname,OAFwkConstants.STATEMENT);
    OAException OAExcep1 = new OAException("PER","XYZ_UPDATE_DETAILS");
    OAException OAExcep2 = new OAException("PER","XYZ_UPDATE_MESSAGE");
    OADialogPage OADialogPG1 = new OADialogPage(OAException.WARNING,OAExcep1,OAExcep2,
    OADialogPG1.setOkButtonToPost(true);
    OADialogPG1.setNoButtonToPost(true);
    OADialogPG1.setOkButtonLabel("Yes");
    OADialogPG1.setNoButtonLabel("No");
    OADialogPG1.setOkButtonItemName("DoOk");
    OADialogPG1.setNoButtonItemName("DoNo");
    OADialogPG1.setPostToCallingPage(true);
    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(OADialogPG1);
    else if(pageContext.getParameter("DoOk") != null)
    OAApplicationModule EmpDetailsAM = pageContext.getApplicationModule(webBean);
    Class[] paramtypes = {String.class, String.class, String.class, String.class,String.class,String.class,String.class};
    Serializable[] params = {s_personid,s_workphone,s_fax,s_building,s_room,s_box,s_preferedname};
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"personid is :"+s_personid,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workphone is :"+s_workphone,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workfax is :"+s_fax,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"building is :"+s_building,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"room is :"+s_room,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"preferredname is :"+s_preferedname,OAFwkConstants.STATEMENT);
    pageContext.releaseRootApplicationModule();
    OAAppl.invokeMethod("TransactionCommit",params,paramtypes);
    OAAppl.invokeMethod("initDetails");
    throw new OAException("The Building and Phone Information have been saved successfully"
    ,OAException.INFORMATION);
    thank you

  • Is there a way to have autogenerated columns in SSRS Report without declaring the column defination at design time.

    I just have a procedure in which i do have a dynamic query.It has certain parameter on the basis of which different set of columns will be returned in the result set. Now I want a SSRS report which can automatically pick up the columns from the Procedure
    result.without declaring column Names at Design Time(As i don't know which columns will come in the result set)
    PS:- I can't make separate matrix/table with their respective column names and show/hide them as I don't know which columns will come from procedure.
    Thanks
    Kanwar

    Can you please give a reference.I want a matrix or table to display the result set as is returned from the procedure.(Lets just say you keep the columns fixed).How without writing the column Names in table/matrix it automatically generates
    the columns similar to resultset.
    A bit of background for Understanding scenario:
    We want to give users the column names, arithmetic operators,etc.(From UI) and then send the query to SSRS. This query will be sent to SQL procedure(which is being used in RDL).What after that ??? . SSRS is not changing the result set dynamically.So as the
    result set is not definite i want table/matrix to populate the data returned from procedure automatically (without defining columns at design - time).
    Thanks
    Kanwar

  • Print report in excel report without modifying the layout

    Offcourse we can print or view report in excel format by setting parameter desformat=delimited.But the o/p generated is not in proper format , with bolierplates repeating ???.And the o/p is more worse in case of complex report.Is there anyway to have proper excel o/p without modifying the layout

    See the responses to the separate thread
    "Send data to excel". The quick answer is
    "no", but there are ways to get pretty
    Excel outputs. Not from Reports, though,
    as best I can tell.
    -- Allan Plumb

  • See PDF attachments without saving the file

    Until a couple of weeks ago, I click on the attachment and the Adobe program will open the file and after that I decided if want to save the file.
    Now, when I click on the attachment, I get the "Save file" screen.
    then I have to open Adobe and go to where the file was saved to see the attachment.
    How can I see an attachment without saving it?

    Have you checked Application setting for PDF in Firefox? See https://support.mozilla.com/en-US/kb/Managing%20file%20types
    Update your Java: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java]

Maybe you are looking for

  • Profit center Detremination in Document Spliting(New Gl )

    Hello Gurus About the problem, I have some line items in AR against which I have to W/Off certain amount.T Code used here is F-32 and we have some reason codes defined for accounting the Bad Debta W/offs. Thru this combination we are passing the tran

  • MR11 Clearing Problem

    When i am clearing MR11 i am am getting the following problem You cannot post to this asset (Asset 000082000008 0000 deactivated) Message no. AA303 Diagnosis A complete retirement or a complete transfer was already posted to the asset. System Respons

  • Answer machine not working on BT Freestyle 335

    This feature on my BT Freestyle BT 335 has suddenly stopped working. Please help? I've tried phone numbers 08702403692 and 09068020198, and they do not dial out. Other personal numbers are ok . giraffe

  • Execute function from custom table value ?

    Hi, I have custom table with following field FUNNAME        CHAR    1000 That contains records like the following CALL FUNCTION 'ZMATF' EXPORTING MATNR = P_MATNR IMPORTING MATDESCRIPTION = V_MATERIALDESC. CALL FUNCTION 'Y_CHECK_EXIT' EXPORTING USEREX

  • Captivate 4 publishing issue?--very strange results with embedded swfs

    I have a captivate file with some swf's created in flash, and some simple swf's created in Captivate 4.  When I publish, the swf's created in Flash pause if you pause the player, but the captivate published swfs do not.  Also, I have a captivate publ