OLE Word , table not exists

hi, I use the following program to add table in word but in some system it's OK and in other system it's not.
Is there a configuration issue on it?
Best regards,
Blake Le
REPORT  ZLEB_TEST_WORD.
*--Include for OLE-enabling definitions
INCLUDE OLE2INCL .
*--Global variables
*--Variables to hold OLE object and entity handles
DATA GS_WORD TYPE OLE2_OBJECT . "OLE object handle
DATA GS_DOCUMENTS TYPE OLE2_OBJECT . "Documents
DATA GS_ACTDOC TYPE OLE2_OBJECT . "Active document
DATA GS_APPLICATION TYPE OLE2_OBJECT . "Application
DATA GS_OPTIONS TYPE OLE2_OBJECT . "Application options
DATA GS_ACTWIN TYPE OLE2_OBJECT . "Active window
DATA GS_ACTPAN TYPE OLE2_OBJECT . "Active pane
DATA GS_VIEW TYPE OLE2_OBJECT . "View
DATA GS_SELECTION TYPE OLE2_OBJECT . "Selection
DATA GS_FONT TYPE OLE2_OBJECT . "Font
DATA GS_PARFORMAT TYPE OLE2_OBJECT . "Paragraph format
DATA GS_TABLES TYPE OLE2_OBJECT . "Tables
DATA GS_RANGE TYPE OLE2_OBJECT . "Range handle for various ranges
DATA GS_TABLE TYPE OLE2_OBJECT . "One table
DATA GS_TABLE_BORDER TYPE OLE2_OBJECT . "Table border
DATA GS_CELL TYPE OLE2_OBJECT . "One cell of a table
DATA GS_PARAGRAPH TYPE OLE2_OBJECT . "Paragraph
DATA GV_POS(5) TYPE N . "Position information for table
CREATE OBJECT GS_WORD 'WORD.APPLICATION' .
IF SY-SUBRC NE 0.
MESSAGE S000(SU) WITH 'Error while creating OLE object!'.
LEAVE PROGRAM .
ENDIF .
*--Setting object's visibility property
SET PROPERTY OF GS_WORD 'Visible' = '1' .
*--Opening a new document
GET PROPERTY OF GS_WORD 'Documents' = GS_DOCUMENTS .
CALL METHOD OF GS_DOCUMENTS 'Add' .
*--Getting active document handle
GET PROPERTY OF GS_WORD 'ActiveDocument' = GS_ACTDOC .
*--Getting applications handle
GET PROPERTY OF GS_ACTDOC 'Application' = GS_APPLICATION .
*--Setting the measurement unit
GET PROPERTY OF GS_APPLICATION 'Options' = GS_OPTIONS .
SET PROPERTY OF GS_OPTIONS 'MeasurementUnit' = '1' . "CM
*--Getting handle for the selection which is here the character at the
*--cursor position
GET PROPERTY OF GS_APPLICATION 'Selection' = GS_SELECTION .
GET PROPERTY OF GS_SELECTION 'Font' = GS_FONT .
GET PROPERTY OF GS_SELECTION 'ParagraphFormat' = GS_PARFORMAT .
*--Setting font attributes
SET PROPERTY OF GS_FONT 'Name' = 'Arial' .
SET PROPERTY OF GS_FONT 'Size' = '10' .
SET PROPERTY OF GS_FONT 'Bold' = '0' . "Not bold
SET PROPERTY OF GS_FONT 'Italic' = '1' . "Italic
SET PROPERTY OF GS_FONT 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF GS_PARFORMAT 'Alignment' = '2' . "Right-justified
CALL METHOD OF GS_SELECTION 'TypeText'
EXPORTING
#1 = 'This is an OLE example!'.
*--Setting the view to the main document again
SET PROPERTY OF GS_VIEW 'SeekView' = '0' . "Main document view
*--Reseting font attributes for the title
SET PROPERTY OF GS_FONT 'Name' = 'Times New Roman' .
SET PROPERTY OF GS_FONT 'Size' = '16' .
SET PROPERTY OF GS_FONT 'Bold' = '1' . "Bold
SET PROPERTY OF GS_FONT 'Italic' = '0' . "Not Italic
SET PROPERTY OF GS_FONT 'Underline' = '0' . "Not underlined
*--Setting paragraph format attribute
SET PROPERTY OF GS_PARFORMAT 'Alignment' = '1' . "Centered
CALL METHOD OF GS_SELECTION 'TypeText'
EXPORTING
#1 = TEXT-000.
*--Advancing cursor to the new line
CALL METHOD OF GS_SELECTION 'TypeParagraph' .
*--Getting entity handles for the entities on the way
GET PROPERTY OF GS_ACTDOC 'Tables' = GS_TABLES .
GET PROPERTY OF GS_SELECTION 'Range' = GS_RANGE .
*--Adding a table with 3 rows and 2 columns
CALL METHOD OF GS_TABLES 'Add' = GS_TABLE
EXPORTING
#1 = GS_RANGE " Handle for range entity
#2 = '3' "Number of rows
#3 = '2'. "Number of columns
*--Setting border attribute for the table
GET PROPERTY OF GS_TABLE 'Borders' = GS_TABLE_BORDER .
SET PROPERTY OF GS_TABLE_BORDER 'Enable' = '1' . "With border
**--Filling the table with dummy data
**--Reseting font attributes for table content
*SET PROPERTY OF GS_FONT 'Name' = 'Garamond' .
*SET PROPERTY OF GS_FONT 'Size' = '11' .
*SET PROPERTY OF GS_FONT 'Bold' = '0' . "Not bold
*SET PROPERTY OF GS_FONT 'Italic' = '0' . "Not Italic
*SET PROPERTY OF GS_FONT 'Underline' = '0' . "Not underlined
**--Getting cell coordinates
*CALL METHOD OF GS_TABLE 'Cell'
*EXPORTING
*#1 = '1' "first row
*#2 = '1'. "first column
**--Getting the range handle to write the text
*GET PROPERTY OF GS_CELL 'Range' = GS_RANGE .
**--Filling the cell
*SET PROPERTY OF GS_RANGE 'Text' = 'abinash' .
**--Getting cell coordinates
*CALL METHOD OF GS_TABLE 'Cell' = GS_CELL
*EXPORTING
*#1 = '3' "third row
*#2 = '2'. "second column
**--Getting the range handle to write the text
*GET PROPERTY OF GS_CELL 'Range' = GS_RANGE .
**--Filling the cell
*SET PROPERTY OF GS_RANGE 'Text' = 'OLE' .
**--Advancing the cursor to the end of the table
*GET PROPERTY OF GS_TABLE 'Range' = GS_RANGE .
*GET PROPERTY OF GS_RANGE 'End' = GV_POS .
*SET PROPERTY OF GS_RANGE 'Start' = GV_POS .
*CALL METHOD OF GS_RANGE 'Select' .
**--Skip some lines
*DO 3 TIMES .
*CALL METHOD OF GS_SELECTION 'TypeParagraph' .
*ENDDO.
**--Reseting font attributes for ordinary text
*SET PROPERTY OF GS_FONT 'Name' = 'Times New Roman' .
*SET PROPERTY OF GS_FONT 'Size' = '12' .
*SET PROPERTY OF GS_FONT 'Bold' = '0' . "Not bold
*SET PROPERTY OF GS_FONT 'Italic' = '0' . "Not Italic
*SET PROPERTY OF GS_FONT 'Underline' = '0' . "Not underlined
**--Setting paragraph format attribute
*SET PROPERTY OF GS_PARFORMAT 'Alignment' = '3' . "Justified
**--Indent the paragraph once
*GET PROPERTY OF GS_SELECTION 'Paragraphs' = GS_PARAGRAPH .
*CALL METHOD OF GS_PARAGRAPH 'Indent' .
*CALL METHOD OF GS_SELECTION 'TypeText'
*EXPORTING
*#1 = TEXT-002.
FREE OBJECT GS_WORD .

Now try your code on a system which dose not have word installed. It should fail.
To fix the problem every system should have word components installed.
Thanks,
Francis

Similar Messages

  • DAC, ETL failed due to Post-Etl Script not exist and table not exist.

    When execute the ETL in DAC, it failed when execute the "Change Capture For Siebel OLTP"
    encounterred the following two type errors.
    how to fix these errors?
    The first is the table not exist:
    ======================================================================
    MESSAGE:::Could not truncate table 'S_ETL_I_IMG_38' because this table does not exist in database 'OLTP_SIA'.
    EXCEPTION CLASS::: com.microsoft.sqlserver.jdbc.SQLServerException
    com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    ======================================================================
    The second is the Post-Etl not exist.
    I have copied the Copy Source Files and Lookup Files. What else should I do? What script it not find? have no idea.
    ======================================================================
    Jan 20, 2009 4:11:06 PM com.siebel.etl.etlmanager.EtlExecutionManager finishEtl
    SEVERE: Incorrectly specified Post-Etl Script/Executable. The file either does n
    ot exist, or is not readable
    UNREGISTERING: com.siebel.etl.engine.bore.FixedFailedNodesFacility
    686 SEVERE Tue Jan 20 16:11:06 CST 2009
    END OF ETL
    687 SEVERE Tue Jan 20 16:11:06 CST 2009 Incorrectly specified Post-Etl Script
    /Executable. The file either does not exist, or is not readable
    UNREGISTERING: com.siebel.etl.engine.core.SessionHandler
    UNREGISTERING: com.siebel.etl.engine.bore.ServerTokenPool
    UNREGISTERING: com.siebel.etl.engine.core.TableIndexHandler
    UNREGISTERING: com.siebel.etl.engine.bore.NewDispatcher
    Stopping EtlParameters 9550256
    UNREGISTERING: com.siebel.etl.engine.bore.EtlParameters
    UNREGISTERING: com.siebel.etl.engine.bore.ExternalTaskTokenPool
    UNREGISTERING: com.siebel.analytics.etl.execution.RefreshDateHandler

    Hi tigger,
    ad scripts:
    http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef9.html#wp1005877
    http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef8.html
    ad tables:
    Without data change capture tables nothing will work. Have you looked at the actual documentaiotn? It contains everythign step by step.
    http://www.oracle.com/technology/documentation/bi_apps.html
    --> Oracle Business Intelligence Applications Fusion Edition Installation and Configuration Guide -> 4.15.3 How to Update Siebel Transactional Database Schema Definitions

  • Error saying Microsoft Word does not exist

    I have Microsoft Office 2007 on my computer, and RoboHelp X3.
    When I try to create a manual in Word, it gives me an error message
    saying, "Printed Documentation: Microsoft Word does not exist.
    Please install Microsoft Word 2000 or later." How do I get the two
    applications to recognize each other?

    Welcome to the forum.
    You won't get them to recognise each other. The first version
    of RH to work with Word 2007 is Adobe RH7.
    You can dual install an earlier version of Word if you still
    have a licence. How is on my site.
    RH has to be installed after Word and you should install the
    versions of Word in the order of release. Don't be too surprised if
    you hit some issues.
    I would recommend upgrading RH. X3 is pretty old now.

  • RH HTML v9.0.2: Supported Version of Word Does Not Exist Error

    Hello,
    I am running RoboHelp HTML v 9.0.2.271 on a Windows 7 64-bit machine, with Microsoft Office 2013 32-bit installed.
    When I try to generate printed output, I get a message box stating that "A supported version of Microsoft Word does not exist.  Please install Microsoft Word 2000 or newer."  I have tried different projects, including the sample RoboHelp projects, and get the same message.
    I have read other similar questions, but for many of the people the problem was due to running a 64-bit version of Word.
    1) Is there somewhere in the RH interface that I can "select" the version of Word I am running or set the path to my Word install folder?
    2) Is there a fix available?
    3) Will upgrading to RH 11 fix the problem?
    Thank you for your input....

    No.
    Well, it's not supported and it's a hack... But you may want to try: Re: Importing Word 2013 files into existing projects in RH10
    Yes. Office 2013 is fully supported in RoboHelp 11. Upgrading will also solve browser compatibility options as well give you lots of new features. See Peter's RoboHelp Tour.
    Kind regards,
    Willam

  • RH9, 32-bit Word 10, "A supported version of Microsoft Word does not exist."

    I upgraded to RH9 to try to get past this problem, but I'm still getting the error.
    Printed Documentation
    A supported version of Microsoft Word does not exist. Please install Microsoft Word 2000 or newer.
    OK  

    My bad, I didn't realize that upgrading to TCS 3.5 didn't remove RoboHelp 8.

  • The namespace microsoft.interop.word does not exist in sharepoint custom pages

    Hi,
    I wrote a code in sharepoint custom pages in which generates pdf from gridview .
    BUt in namespace only i am getting errror like namespasce of microsoft.interop.word does not exist.
    But in vs 2010 it works. how to reference dll for custom pages?

    If you are trying to generate pdf directly from html then i dont think you need Interop.word, but yes if in case you are utilizing office 2010 feature save as pdf from word document then you need the dll referenced in your project.
    However you might want to look at these options
    1) Create an rdlc report, render it in report viewer, you will get export to pdf option or you can also dynamically generate the report in pdf
    OR
    2) take a look at this link, you can export your grid view into pdf
    http://www.aspsnippets.com/Articles/How-to-export-GridView-data-to-PDF-file-in-ASPNet.aspx
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • "A supported version of Microsoft Word does not exist. Please install Microsoft Word 2000 or newer."

    I am a new RoboHelp user und I want to import content written with Word 2013 into RoboHelp.
    I'm using RH HTML 9.0.2 and MS Word 2013 (Office 2013) on a Windows 7 professional computer.
    When I try to import a Word-Document (I downloaded and used the example document from Peter Grainge and also tried other Word-documents) I get the following message:
    "A supported version of Microsoft Word does not exist. Please install Microsoft Word 2000 or newer."
    What can I do?

    The error message is wrong as regards the version you need to install. It should state that you need a compatible version and the latest is Office 2010. Even Rh10 does not support Office 2013.
    There is a workaround when generating printed documentation but not when importing. You need to install Word 2010 which can co-exist with Word 2013 if you want to retain that for other purposes. Before using Rh to import, run Word 2010 first.
    To generate printed documentation using Word 2013, right click Properties in the layout, it works from there.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • *ExceptionCondition   ' Table Not Exists' raised.*

    Dear Gurus,
    We are facing a problem in lot of our queries after EHP1 SP4 upgrade.
    ExceptionCondition   ' Table Not Exists' raised.
    If somebody has any vague idea on how to resovle this. Kindly help.
    Regards,
    Dennis

    Hi Dennis,
    We ran into the same error.
    You need to run the program called SAP_DROP_TMPTABLES. Click on the parameters called Temporary Tables and Temporary Hierarchy.
    If the query is still getting this message, then you need to regenerate the query in RSRT.
    Good Luck! Bill

  • Tables not exist in BW

    Hello,
    Someone can help with this?, when I check the largest tables on my SAP BW, some tables have suffix with "@kj" and when I try to check it does not exist on dictionary, what can I do to delete its content or verify is not growing space on hard disc?
    Regards
    DBA

    Thanks Raf,
    Looks like this is my problem and this note help to solve:
    The consistency check between the database objects and dictionary objects in DB02 or DBACockpit reports tables with the following pattern in section "Unknown objects in ABAP Dictionary" (the <*> means multiple alphanumeric characters and the # is one numeric character):
    /BI0/<*>@k# (e.g., /BI0/F0BE_C01@k0)
    /BIC/<*>@k# (e.g., /BIC/FZSALES@k3 or /BIC/B0000200@k9)
    You see large tables in DB02 with the above naming convention
    The attempt to delete a PSA Request fails with one of the following errors:
               RSDU_TABLE_DROP_PARTITION_MSS: Error While Creating Clone Table
               RSDU_TABLE_TRUNC_PARTITION_MSS: Error While Calling Module MSS_TRUNC_PARTITION_FROM_TABLE
    The attempt to delete Infocube requests or compress an Infocube fails with the error:  CL_RSDRD_REQ_PHYS_DEL:REQUEST_DELETE RSDU_FACT_REQUID_DELETE SQL-ERROR
    I follow note and fix the problem successfully
    Regards
    DBA

  • Table not exist

    Hello All, 
    Here is the weird issue I have.
    Last night, for some reason, the server was forced to restart. When it came back, I opened Tabular project BIM file with my windows account(it is in local Admin Group), it complained "you cannot open the bim file because you are not the administrator
    in localhost". 
    Then I was trying to use another account, which is local admin in windows and the admin in SSAS Tabular instance. 
    When I opened the SSMS to connect SSAS Tabular instance with the admin account, it was good. But when I right click on the instance level, it pops an error the table "XXX" not exists, which stops me doing anything further. 
    Later on, even I tried the admin account to open Tabular project, it also complains the same "you cannot open the bim file you are not the admin for localhost"
    Anyone knows how to resolve this?
    Thanks in advance.
    Derek

    Hi Derek,
    According to your description, the Tabular Model Services was forced to restart because of some reasons, and then you counter the error when right click on Tabular instance.
    The table with name of 'XXX' doesn't exist.
    An error occurred when loading the model(Micorsoft.AnalysisServices)
    The error might be caused by that the data file is corrupted. You can redeploy the project to AS server with another name and check the issue is persists. However, we cannot give you the exact reason that cause this issue. You can troubleshoot
    this issue by using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Some tables Not existing in Siebel OLTP Database

    Hi,
    I have run the execution plan in DAC for Siebel Pricing analytics, But an error ocurred that two tables : S_ETL_PRD_REL & S_ETL_PRD_ATTR do not exist in the source database.
    My Siebel source Db is Mssql server and Target is Oracle.
    So, Can anyone help me out with this issue .
    Do i need to create table manually or is there some other way out to handle this?
    plz help.
    thanx in advance.
    cheers!!!
    Edited by: Nikhil.S on Jul 7, 2011 6:38 AM

    You need to create those tables:
    c:\OracleBI\dwrep\Bin>ddlimp /u siebel /p siebel /c odbc_oltp /g sse_role /f c:\oraclebi\dwrep\ddl_oltp.ctl /l \oraclebi\dwrep\ddl_oltp.log
    Regards

  • Tables not existing in DD03T?

    Hi,
    I have come across a very annoying issue yesterday and I just want to confirm whether this is still so or it's just because our system is outdated: I have a code querying several DD tables, among them DD03L (fields) and DD03T (field_texts). Now, some tables - well, I came across only one, BKPF - do exist in DD03L, so I can get a list of all the fields in BKPF - but don't exist in DD03T, so I cannot get any field_texts for the fields in BKPF there. The field_names exist in DD03T, but several times in several other tables, so I have duplicates - there are e.g. 3 different fields 'BUDAT' in 3 different tables with 3 different texts - so I cannot easily get rid of duplicates or be sure which is the correct text for the field BUDAT in table BKPF.
    Is this still so with an up-to-date IDES system?
    Thanks a lot!
    Best regards,
    Sapperdapper

    DD03L contains the list of fields of the table, DD03T only contains fields that are defined as "Predefined Type", it will not contain fields defined via "Data Element".
    So depending on Component Type (DD03L-COMPTYPE)
    So for "Data Element" you MUST either
    - Read DD04T for data element text as ramya lakshmanan wrote, but use the data element name NOT the field name to access this table (DD03L-ROLLNAME)
    - Use a FM like DDIF_FIELDINFO_GET
    - Use a Class like cl_abap_structdescr=>describe_by_name( 'TABLENAME' ).
    And for "Predefined Type"
    - Read DD03T with both fields table AND field names (also filter with AS4LOCAL = 'A' activated)
    - or use previous tools (FM/Class)
    Also, if you don't use FM or Class, there can be other objects in table definition like included/appended structures.
    Regards,
    Raymond

  • Microsoft word does not exist. Please installe Microsoft Word 2000 or later

    Hi,
    I am running RoboHelp X3 and recently upgraded to Windows XP
    running Word 2003 and now cannot generate printed documentatation
    because of problems with Word. Despite changing the registry as
    suggested in another forum post (which I think was actually about
    importing, but sounded similar)
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=rb_61483
    the error still occurs.
    Winword.exe only appears in C:\Program Files\Microsoft
    Office\OFFICE11 if I enable access to hidden files. Could this have
    anything to do with the problems I am having?
    Can anyone help with this problem?
    Thanks

    Unfortunately not. Peter's advice is spot on. I knew an
    engineer once who put a very large 3 litre engine on the chasis of
    a Ford Fiesta. It worked until he went over a bump one day and the
    engine fell out on the floor. Moral: Beware of backward
    engineering. Or should that be backward engineers

  • Insert OLE Word doc not showing all pages

    Hi All,
    I'm running a test on this before I get all involved in it.
    I insert a multi page Word doc into my report.
    When I run it, it only shows the first page.
    That's the first problem.
    When I export it as a Word doc, it exports only that page
    and now it's become a non editable graphic. 
    I need it to be exportable to Word and editable.
    That's the second problem.
    Am I attempting the impossible ?
    Thank you,
    Jimmy

    Hi Jamie,
    Thanks for your reply.
    We have a Word document that gets sent out to about 400 schools.
    I'm trying to take some of the redundancy out of the task by inserting
    Institution Name
    Director
    Address
    etc on the header of the document so that my colleges
    won't have to look up each school, find the director, address,
    etc and manually type it all in.  Then the report gets exported
    to Word, where further editing is done.
    Also, the tables that they have built in Word must also
    retain their integrity, being imported into AND being exported
    from Crystal, as a Word document.
    I could do this easily, and have, using text boxes, etc.  Problem
    is, it has to be done in Word. (That's what they're use to working with 
    Oh, my set up is:
    Crystal 11.5
    Stand alone desktop, no network.  (Just me and the lone prairie ...)
    Am I expecting too much ?
    Thanks for the 3rd party info.  That explains a lot.
    Jimmy

  • How do I CREATE IF NOT EXISTS Temp table in PLSQL?

    hello, how do I CREATE IF NOT EXISTS Temp table in PLSQL? The following table is to be created in FIRST call inside a recursive function (which you'll see in QUESTION 2).
    QUESTION 1:
    CREATE GLOBAL TEMPORARY TABLE TmpHierarchyMap
                                  Id numeric(19,0) NOT NULL,
                                  ParentId numeric(19,0) NOT NULL,
                                  ChildId numeric(19,0) NOT NULL,
    ... more ...
                             ) on commit delete rows');
    QUESTION 2: How to return a temp table from a function?
    For example, this is how I'm doing it at the moment, using Nested Table.
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE TmpHierarchyMapObjType AS OBJECT
                   Id numeric(19,0) ,
                   ParentId numeric(19,0),
                   ChildId numeric(19,0),
    ... more ...
         EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE TmpHierarchyMapTableType AS TABLE OF TmpHierarchyMapObjType;';
    CREATE OR REPLACE FUNCTION fnGetParentsTable
    ObjectId number,
    ObjectClassifier varchar2
    RETURN TmpHierarchyMapTableType
    IS
    TmpHierarchyMap TmpHierarchyMapTableType := TmpHierarchyMapTableType();
    ThisTempId varchar2(32);
    CURSOR spGetParents_cursor IS
    SELECT
    Id,
    ParentId,
    ChildId,
    FROM TMP_HIERARCHYMAP
    WHERE TempId = ThisTempId;
    BEGIN
    SELECT sys_guid() INTO ThisTempId FROM dual;
    spRecursiveGetParents(ObjectId, ObjectClassifier, ThisTempId);
    FOR oMap in spGetParents_cursor LOOP
    TmpHierarchyMap.Extend();
    TmpHierarchyMap(TmpHierarchyMap.Count) := TmpHierarchyMapObjType( oMap.Id
    , oMap.ParentId
    , oMap.ChildId
    END LOOP;
    DELETE FROM TMP_HIERARCHYMAP WHERE TempId = ThisTempId;
    RETURN TmpHierarchyMap;
    END fnGetParentsTable;
    QUESTION 3: what does the word GLOBAL means? I read that temp table is visible only to a particular database connection/session and will be dropped automatically on termination of the session. i can only find this information in some forum discussion but failed to locate this in Oracle doc, can someone point me in right direction please?
    Many thanks!
    REF:
    http://stackoverflow.com/questions/221822/sybase-developer-asks-how-to-create-a-temporary-table-in-oracle
    http://www.oracle-base.com/articles/8i/TemporaryTables.php

    devvvy wrote:
    so if I CREATE GLOBAL TEMPORARY TABLE twice on second pass of my recursive function what then...?You don't create it inside your function.
    You create the GTT once on your database outside of the function and then just leave it there and use it.
    Tables should not be dynamically created and dropped.
    Only other database engines such as SQL Server use the concept of creating temporary tables during the execution of code. Oracle uses a "create once, use whenever" methodology.

Maybe you are looking for

  • F110-Pay vendor item with special G/L indicador type "Others"

    Hi, Is it posible to pay a vendor ítem  by F110 with special G/L indicator type "Others"? I am trying to pay it by F110 and the system does not find the item. If I use the same vendor w/o any special G/L indicator or with special G/L indicator type "

  • Auto Pay Program : query in Additional Log Tab page in F110

    Hello Experts, In T-Code F110, on Additional Log Tab page, could you please explain for whats the purpose these check boxes, their meaning/importance & when all/each one of them could be used : 1. Due date check 2. Payment method selection in all cas

  • Postscript Printer and PDF

    hi, We have a kyocera printer and want to use ADS. The ADS works fine. FP_TEST_00 shows no error. It seems to be alright when i preview the PDF. But the printout shows only code. It´s like this: %!PS-Adobe save % simple drawing functions /edge {/y2 e

  • Is there a number I can call to help with my issue? I would like to speak with a real person!

    I am not having any luck resolving my issue and i need tech support. Is there a number I can call?

  • Oracle GL Accounts not put down to FDM

    Hi I try to load data from Oracle eBS GL 11.5 to Hyperion Planning 11.1.2.1 with FDM ERPI. In Oracle GL, I have classical accounts (classes 1 to 9) and accounts like quantities : QTEPROD, .. In the GL balances, I have data on both types of accounts.