External reference of data in numbers

I wondered if it was possible to reference an external excel file into tables in numbers. Like the get external data option in excel.

No, it's not even possible to reference an external Numbers document. You can go to the Numbers menu and Submit feedback asking for this option in a future release.
Jerry

Similar Messages

  • How to make External Reference number and Ref Date Mandatory in Complaints

    Dear Experts,
    Greetings!!!.
    How to make External Reference number (EXT_REF_NUMBER ) and Ref Date ( EXT_REF_DATE ) Mandatory in Complaints.
    Regards,
    Sany

    HI,
    You can use Incompleteness Procedure to make those fields mandatory in complaint transaction.
    Regards,
    PP

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

  • ABAP Shared Objects - External Reference

    Hi,
    I am using ABAP SHared Objects (SHMA and SHMM) as data persistence between 2 BSP Applications
    I want to create a generic Root class with one attribute that is TYPE REF TO OBJECT. The idea is to store any class instance in this attribute of the Root class so as to AVOID creating a seperate Shared AREA for each Class...
    WHen I try to put this generic Root Class in the shared area via detach_commit(), it gives a exception that there are External references in the Shared area which should be closed first
    Does this mean u cannot have a instance variable as an attribute in your ROOT Class.
    Thanks
    SAP User

    Hi,
    Go through the below code, it's working fine....
    *& Report  Z13708_ABAPOBJECTS_INHER
    REPORT  Z13708_ABAPOBJECTS_INHER.
          CLASS C1 DEFINITION
    CLASS C1 DEFINITION.
      PUBLIC SECTION.
        data: var1 type ref to object.
        METHODS: METH1.
    ENDCLASS.                    "C1 DEFINITION
          CLASS C1 IMPLEMENTATION
    CLASS C1 IMPLEMENTATION.
      METHOD METH1.
        WRITE: / 'This is a method one'.
      ENDMETHOD.                                                "METH1
    ENDCLASS.                    "C1 IMPLEMENTATION
          CLASS C2 DEFINITION
    CLASS C2 DEFINITION.
      PUBLIC SECTION.
        METHODS: METH2.
    ENDCLASS.                    "C2 DEFINITION
          CLASS C2 IMPLEMENTATION
    CLASS C2 IMPLEMENTATION.
      METHOD METH2.
        WRITE: / 'This is a method two'.
      ENDMETHOD.                                                "METH2
    ENDCLASS.                    "C2 IMPLEMENTATION
    START-OF-SELECTION.
      DATA REF1 TYPE REF TO C1.
      DATA REF2 TYPE REF TO C2.
      CREATE OBJECT REF2.
      ref1->var1 ?= ref2.
    Regards,
    Azaz Ali.

  • 2012: Execute Package Task (external reference) Very Slow in SSDT

    Hi All,
    I have 4 packages which I've deployed using the package deployment model to the MSDB package store.
    Configuration setup is System Env Var pointing at SSIS Configurations table that populates the connection string of my SSISConfig data source. Source/Dest configurations are in the SSIS Configuration table.
    I have a  'master' package that executes the 4 packages in parallel using the Execute Package control flow task (external reference, SSIS Package Store)
    When I execute this master package in SSDT it takes 1minute 56 seconds to finish. All the execute package tasks seem to hang until the last few sec then finish one after the other. It's the same if execute one of the Execute Package Task items individually.
    It just hangs there for nearly 2 min then rushes through its work (i've verified by looking at the destination tables; nothing happens until the end).
    But the packages executed directly in ssdt take 2-3 sec to execute.
    I've deployed the master package to the server and executed it via SSMS. It takes <3 sec.
    I've RDPed into the ssis box and it's the same. Executing the packages individually or the master package in dtexecui takes less than 3 sec.
    Something's going wrong inside SSDT (some kind of timeout? but there are no error msgs or warning) that's making it take nearly 2 minutes.
    Have others experienced this? Have I misconfigured something? The env var has been working on my local machine since last week and i've restarted many times since then, so I'm positive SSDT is using the 'current' version of the env var.
    Jakub @ Adelaide, Australia

    Very strange. The sysssislogs are the same for any method of execution, but there's a 5 sec delay for each step when executing via SSDT
    endtime,message
    2014-02-06 09:37:15.000,Execute phase is beginning.
    2014-02-06 09:37:20.000,PrimeOutput will be called on a component. : 104 : Merge Join : Merge Join
    2014-02-06 09:37:20.000,PrimeOutput will be called on a component. : 213 : Unchanged : Unchanged
    2014-02-06 09:37:25.000,A component has returned from its PrimeOutput call. : 213 : Unchanged : Unchanged
    2014-02-06 09:37:25.000,A component has returned from its PrimeOutput call. : 104 : Merge Join : Merge Join
    2014-02-06 09:37:30.000,PrimeOutput will be called on a component. : 143 : ODS - Src - State : ODS - Src - State
    2014-02-06 09:37:30.000,PrimeOutput will be called on a component. : 17 : Src - dbo - State : Src - dbo - State
    2014-02-06 09:37:35.000,A component has returned from its PrimeOutput call. : 143 : ODS - Src - State : ODS - Src - State
    2014-02-06 09:37:35.000,A component has returned from its PrimeOutput call. : 17 : Src - dbo - State : Src - dbo - State
    2014-02-06 09:37:35.000,Rows were provided to a data flow component as input. : : 264 : OLE DB Source Output : 182 : Source Checksum : 185 : ChecksumInput : 7 : Source Checksum : Paths[Src - dbo - State.OLE DB Source Output] : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:35.000,Rows were provided to a data flow component as input. : : 263 : OLE DB Source Output : 53 : Destination Checksum : 56 : ChecksumInput : 7 : Destination Checksum : Paths[ODS - Src - State.OLE DB Source Output] : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:40.000,A component will be given the end of rowset signal. : 53 : Destination Checksum : 56 : ChecksumInput : Destination Checksum : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:40.000,Rows were provided to a data flow component as input. : : 258 : ChecksumOutput : 104 : Merge Join : 109 : Merge Join Left Input : 7 : Merge Join : Paths[Source Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:37:40.000,A component will be given the end of rowset signal. : 182 : Source Checksum : 185 : ChecksumInput : Source Checksum : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 259 : ChecksumOutput : 104 : Merge Join : 118 : Merge Join Right Input : 7 : Merge Join : Paths[Destination Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 264 : OLE DB Source Output : 182 : Source Checksum : 185 : ChecksumInput : 0 : Source Checksum : Paths[Src - dbo - State.OLE DB Source Output] : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:45.000,Rows were provided to a data flow component as input. : : 263 : OLE DB Source Output : 53 : Destination Checksum : 56 : ChecksumInput : 0 : Destination Checksum : Paths[ODS - Src - State.OLE DB Source Output] : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:50.000,A component has finished processing all of its rows. : 53 : Destination Checksum : 56 : ChecksumInput : Destination Checksum : Destination Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:50.000,A component has finished processing all of its rows. : 182 : Source Checksum : 185 : ChecksumInput : Source Checksum : Source Checksum.Inputs[ChecksumInput]
    2014-02-06 09:37:55.000,A component will be given the end of rowset signal. : 104 : Merge Join : 118 : Merge Join Right Input : Merge Join : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:00.000,Rows were provided to a data flow component as input. : : 259 : ChecksumOutput : 104 : Merge Join : 118 : Merge Join Right Input : 0 : Merge Join : Paths[Destination Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:05.000,A component has finished processing all of its rows. : 104 : Merge Join : 118 : Merge Join Right Input : Merge Join : Merge Join.Inputs[Merge Join Right Input]
    2014-02-06 09:38:10.000,A component will be given the end of rowset signal. : 104 : Merge Join : 109 : Merge Join Left Input : Merge Join : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:15.000,Rows were provided to a data flow component as input. : : 258 : ChecksumOutput : 104 : Merge Join : 109 : Merge Join Left Input : 0 : Merge Join : Paths[Source Checksum.ChecksumOutput] : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:20.000,A component has finished processing all of its rows. : 104 : Merge Join : 109 : Merge Join Left Input : Merge Join : Merge Join.Inputs[Merge Join Left Input]
    2014-02-06 09:38:20.000,Rows were provided to a data flow component as input. : : 261 : Merge Join Output : 2 : Add audit columns : 3 : Derived Column Input : 7 : Add audit columns : Paths[Merge Join.Merge Join Output] : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:25.000,A component will be given the end of rowset signal. : 2 : Add audit columns : 3 : Derived Column Input : Add audit columns : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:25.000,Rows were provided to a data flow component as input. : : 260 : Derived Column Output : 195 : Type 1 SCD : 196 : Conditional Split Input : 7 : Type 1 SCD : Paths[Add audit columns.Derived Column Output] : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:30.000,Rows were provided to a data flow component as input. : : 265 : Unchanged : 213 : Unchanged : 214 : Union All Input 1 : 7 : Unchanged : Paths[Type 1 SCD.Unchanged] : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:38:30.000,Rows were provided to a data flow component as input. : : 261 : Merge Join Output : 2 : Add audit columns : 3 : Derived Column Input : 0 : Add audit columns : Paths[Merge Join.Merge Join Output] : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:35.000,A component has finished processing all of its rows. : 2 : Add audit columns : 3 : Derived Column Input : Add audit columns : Add audit columns.Inputs[Derived Column Input]
    2014-02-06 09:38:40.000,A component will be given the end of rowset signal. : 195 : Type 1 SCD : 196 : Conditional Split Input : Type 1 SCD : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:45.000,Rows were provided to a data flow component as input. : : 260 : Derived Column Output : 195 : Type 1 SCD : 196 : Conditional Split Input : 0 : Type 1 SCD : Paths[Add audit columns.Derived Column Output] : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:50.000,A component has finished processing all of its rows. : 195 : Type 1 SCD : 196 : Conditional Split Input : Type 1 SCD : Type 1 SCD.Inputs[Conditional Split Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : Insert ODS - Src - State : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : Update ODS - Src - State : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:38:55.000,A component will be given the end of rowset signal. : 213 : Unchanged : 214 : Union All Input 1 : Unchanged : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 262 : New : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : 0 : Insert ODS - Src - State : Paths[Type 1 SCD.New] : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 257 : Changed : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : 0 : Update ODS - Src - State : Paths[Type 1 SCD.Changed] : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:39:00.000,"The final commit for the data insertion in ""Insert ODS - Src - State"" has started."
    2014-02-06 09:39:00.000,Rows were provided to a data flow component as input. : : 265 : Unchanged : 213 : Unchanged : 214 : Union All Input 1 : 0 : Unchanged : Paths[Type 1 SCD.Unchanged] : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:00.000,"The final commit for the data insertion in ""Insert ODS - Src - State"" has ended."
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 213 : Unchanged : 214 : Union All Input 1 : Unchanged : Unchanged.Inputs[Union All Input 1]
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 220 : Update ODS - Src - State : 225 : OLE DB Command Input : Update ODS - Src - State : Update ODS - Src - State.Inputs[OLE DB Command Input]
    2014-02-06 09:39:05.000,A component has finished processing all of its rows. : 66 : Insert ODS - Src - State : 79 : OLE DB Destination Input : Insert ODS - Src - State : Insert ODS - Src - State.Inputs[OLE DB Destination Input]
    2014-02-06 09:39:05.000,Post Execute phase is beginning.
    2014-02-06 09:39:05.000,Insert ODS - Src - State wrote 0 rows.
    2014-02-06 09:39:05.000,Cleanup phase is beginning.
    2014-02-06 09:39:05.000,End of package execution.
    2014-02-06 09:39:05.000,
    2014-02-06 09:39:05.000,"<?xml version=""1.0""?><DTS:ProcessMemoryUsage xmlns:DTS=""www.microsoft.com/SqlServer/Dts""><DTS:PeakWorkingSetSize>66457600</DTS:PeakWorkingSetSize></DTS:ProcessMemoryUsage>"
    2014-02-06 09:39:05.000,End of package execution.
    Look at the times. It's going up in exact 5sec increments! The package takes about 3 sec to run when the master package is executed via dtexecUI outside SSDT. The log looks "normal" in those instances as well; the end times are more randomised
    This is with SP1 CU8 installed.
    Jakub @ Adelaide, Australia

  • Importing WSDL with external references issue

    Hi guys,
    pls help me on this:
    I have a WSDL file which referes to external data types. Obviously, if I want to create a message mapping I can't see the WSDL data type. How are such situations resolved? How to import external types into PI?
    Thx, A.

    HI,
    You have to inport the WSDL  alongwith all its external references.
    You can refer the following threads:
    Import WSDL with external reference
    Re: PI 7.1: Importing a wsdl file with references to other xsd files
    http://help.sap.com/saphelp_nwesrce/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm

  • UOM internal external reference in classification

    How is  UoM  necessary for the calculation that supports your sourcing decisions as well as for your declarations to the authorities?
    Can anyone help with the UOM functionality for classification - why is it necessary to maintain Internal/external reference. Does the UOM overwrite UOM in ECC? What is the purpose of this UOM?

    Hi Padma,
    In each country, the Customs Tariff was primarily developed as a scale of charges for moving raw materials and traded goods across the borders.  However, and especially since the introduction of the Harmonised Tariff system (HS) in 1988, it has become a very convenient way of classifying and codifying goods in a language-independent way.
    For that reason, other uses have been found for the Tariff; notably the production of Trade Statistics.  Every country is able to - and indeed does - collect and publish statistics on the movement of goods to and from other regions and countries, based primarily on the Import and Export declarations made and the Tariff (or "Commodity") codes assigned therein.  The importance of these Trade Statistics is one of the main reasons why Commodity Codes are required when making Export Declarations, even though no duties are liable on those movements.
    The duty payable on Import is most usually based on the value of the goods.  But the value can (and does) vary greatly with time, so value is not necessarily a particularly good measure for statistical comparison.  Instead, the quantity of goods moved is a far better comparator for that purpose, and when you hear that "imports from China rose 23% last year", that figure is almost certainly based on quantity, not value.  For that reason, every Tariff Code is assigned at least one Unit of Measure.
    By far the most popular UoM is the net mass (or weight) of the commodity being moved.  For most commodities, net mass is the only measure requested, so for consistency, most countries require it to be declared for ALL imported and exported items.  Due to that, any other units of measure are generally referred to as "supplementary" or "special" units.  The two other popular UoM are volume (e.g. Litres) for liquids, and Number of Pieces.  The latter UoM is particularly used for high-technology goods where both the value and weight are falling over time.
    Coming back to Customs Duties; the most popular determination is by proportion of the assessed value - also known as "ad valorum" duty.  But for low-cost goods - particularly foodstuffs - duty may be chargeable according to the quantity imported - known as "specific" duty.  For some commodities, a combination of ad valorum and specific duties is charged.  Where the duty is not ad valorum, the quantity in the Customs UoM is needed in order to calculate the import duty, which often has a significant influence on sourcing decisions.
    SAP software - both ECC and GTS - provides functionality to handle Customs UoM.  Since the net weight is a standard field in all logistics transactions, most Tariff Codes do not need anything extra.  But where supplementary units are specified, those UoM need to be assigned to the codes so that the Customs Declarations respond by ensuring that the associated quantities are provided.  In some countries, more than one additional UoM may be specified for some codes.  For example, some years ago, batteries used to need a declaration of weight, number of pieces, and number of cells.  SAP ECC can accommodate up to 2 additional UoM, and SAP GTS can accommodate up to 3.
    In some countries, it is neccessary to state both the Quantity and the UoM in the Customs Declaration.  In others, the UoM for the supplementary unit is assumed, since it is mandated in the Tariff.  Where it must be stated, the UoM codes often do not correspond to the ISO codes so translation is needed.  SAP GTS provides that mechanism for matching Customs (external) UoM to SAP (internal) UoM.  If those relationships are maintained, then the system is able automatically to express the Product quantity in the Customs UoM.
    In SAP GTS, specifying a supplementary unit for a Tariff or Commodity Code automatically opens up an additional field in the Declaration item screen when the Product has been classified with that Code.  And the standard incompletion code can ensure that the field is populated before the Declaration may be sent to the Customs Authority.
    Data Providers understand the need for supplementary UoM, and their Tariff lists include them.  However, problems may occasionally arise when there are regional differences in the assigned units.  For example, in the EU, although the Customs Tariff is shared by all Member States, adjustments may be made on a national basis for Excise goods.  In those cases, it may be necessary to edit the data-files to meet the specific regional requirements.
    Hope that helps.
    Regards,
    Dave

  • Format of date and numbers

    Hi,
    in Italy the format of date is DD/MM/YYYY e the formato of numbers is NNN,DD (DD means Decimal).
    I use Excel for IPAD but when I write for instance 28/03/2015 the field shows 03/28/2015, the same problem is for numbers where the comma and the dot are inverted.
    How do I change the format of date and numbers?
    Thank you in advance.
    Max

    The general format of the date is tied to the language...use US english, get US date formatting.
    You may want to poke around in excel's settings. I know the desktop version allows you to alter the date formatting, but I'm not sure if the iPad app has that. Look for 'cell formatting' in the settings and see if it's alterable.
    If not, you can try to make your template on a PC, then put that excel onto your iPad and see if it honors the cell formatting already in place.

  • List View still displays dates as numbers after 2.1 Hotfix

    Hi
    Just tried the List View component after installing Fix Pack 2.1 Hot Fix.   I  put a list view component on the canvas, selected 3 datesone for each header, changed the Appearance - Header to Date and then hit preview.  The first header worksshows the dates but the other two headers show numbers, not dates.
    The documentation shows that this was fixed,  see below
    ADAPT01260598 (List View displays
    dates as numbers)
    Description:
    The header area of List View displays date values as numbers.
    New Behavior:
    This issue is resolved.

    No, I was just wondering since I have a second device on TMobile US and haven't gotten the update. I loaded this OS almost a month ago when it leaked on the Internet.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • External Reference number not copied in Service Confirmation

    Hi,
    We are on CRM 5.0 SP11. We have Mobile Service 5.0 SP11.
    In Mobile Service in the Service Order creation screen we have a window to input External reference number. When we create a Service Confirmation as a followup document of Service Order, SAP by default only allows to copy Reference Object,Subject and notes (both header and item level) to the Confirmation.
    Does anyone have idea how we can copy the External Reference number to Confirmation when we do followup to Service Orders on mobile.
    This functionality works fine on Enterprise.
    Thanks,
    Yatin

    Hello,
                 The external number won't be copied by standard as Wolhfard said they are different documents.
    You need to code this to make this copy from service order to Service confirmation.
    Open your Mobile Application Studio and make following changes.
    Open the BusinessObject "BOMSVHelper"  and view the code. Go to the Method "CopySrvTransHeader"  write the following code in it.
    Find the code
    UserName = _unwind(BusinessRootObject.UserDataDictionary.GetData("USERNAME"))
    and paste the following code below it.
            Dim servconfobj As BusinessObject = bocopysrvtrans.SalesInfo
            Dim servtransobj As BusinessObject = orderheaderobj.SalesInfo
            servconfobj.SetAttribute("PoNumberSold", servtransobj.GetAttribute("PoNumberSold"))
            servconfobj.SetAttribute("PoDateSold", servtransobj.GetAttribute("PoDateSold"))

  • How do I create a chart in Keynote that auto-updates from data in Numbers?

    Hello all!  So, there are lots of answer to this for iWork'09, but I haven't found them for the current version of Work.
    What I'd like to do is take data from Numbers and create a chart in Keynote that would then auto-update if I edited the data in Numbers.  Put another way, the Keynote chart data would 'live' in Numbers - every time I edit the Numbers data, I'd like those changes to reflect in Keynote.  Any thoughts on how to do this outside of always cutting and pasting from Numbers to Keynote?
    Thanks!!

    Thanks Gary.  I thought I was crazy.  I remember that it used to be available - bummer that it's not now.

  • How to check circular reference in data of millions of rows

    Hi all,
    I am new as an oracle developer.
    I have a table(say table1) of hierarchical data with columns child_id and parent_id. The table has around 0.5 million records. There are around 0.2 million root level records are present.
    I need to update some (the number variies on different conditions, might differ from 50K to 0.4 million) of the parent_ids from other table only if that do not cause any circular reference in data of table1.
    I am using Oracle9i.
    The approach I have tried is:
    I copied all data from table1 to a work table table3. Update the parent_id on columns that matches the condition and updated a column source_table to table2.
    I copied all the child_id from table2 that are to be updated into another table table4 and built tree for each of those childs. If it builds the tree successfully updated a column is_circular in the table3 to 0 and then deleted the child_id from table4.
    This whole process needs to run recursively until no tree is built successfully in an iteration.
    But this process is running slow and at the rate it is executing it would run for days for the 0.3 million records.
    Please suggest a better way to do this.
    The code I am using is :
    INSERT /*+ append parallel (target,5) */
    INTO table3 target
    select /*+ parallel (src,5) */
    child_id, parent_id, 'table1' source_table,null
    from table1 src;
    INSERT INTO table4
    select distinct child_id, parent_id
    from table2
    where status_cd is null;
    commit;
    Update dtable3 a
    set (parent_id,source_table) = (select parent_id,'table2' source_table
    from table4 b
    where b.child_id = a.child_id);
    WHILE v_loop_limit<>v_new_count
    LOOP
    select count(1)
    into v_loop_limit
         from table4;
    -+-----------------------------------------------------------
    --| You need to actually traverse the tree in order to
    --| detect circular dependencies.
    +-----------------------------------------------------------           
    For i in 1 .. v_new_count
    BEGIN
    select child_id
    into v_child_id from(
    select child_id, row_number() over (order by child_id) pri from table4)
    where pri = i;
    SELECT COUNT (*) cnt
    INTO v_cnt
    FROM table3 dl
    START WITH dl.child_id = v_child_id
    CONNECT BY PRIOR dl.child_id = dl.parent_id ;
    UPDATE table3SET is_circular = '0'
    where child_id= v_child_id
    and source_table = 'table2';
    delete from table3
    where child_id = v_child_id;
    select count(1)
    into v_new_count
         from table4;
    COMMIT;
    EXCEPTION WHEN e_infinite_loop
    THEN dbms_output.put_line ('Loop detected!'||v_child_id);
    WHEN OTHERS THEN
         dbms_output.put_line ('Other Exceptions!');
    END;
    END LOOP;
    END LOOP;
    Thanks & Regards,
    Ruchira

    Hello,
    First off, if you're so new to a technology why do you brush off the first thing an experienced, recognized "guru" tells you? Take out that WHEN OTHERS ! It is a bug in your code, period.
    Secondly, here is some code to try. Notice that the result depends on what order you do the updates, that's why I run the same code twice but in ASCENDING or DESCENDING order. You can get a circular reference from a PAIR of updates, and whichever comes second is the "bad" one.drop table tab1;
    create table TAB1(PARENT_ID number, CHILD_ID number);
    create index I1 on TAB1(CHILD_ID);
    create index I2 on TAB1(PARENT_ID);
    drop table tab2;
    create table TAB2(PARENT_NEW number, CHILD_ID number);
    insert into TAB1 values (1,2);
    insert into TAB1 values (1,3);
    insert into tab1 values (2,4);
    insert into TAB1 values (3,5);
    commit;
    insert into TAB2 values(4,3);
    insert into TAB2 values(3,2);
    commit;
    begin
    for REC in (select * from TAB2 order by child_id ASC) LOOP
      merge into TAB1 O
      using (select rec.child_id child_id, rec.parent_new parent_new from dual) n
      on (O.CHILD_ID = N.CHILD_ID)
      when matched then update set PARENT_ID = PARENT_NEW
      where (select COUNT(*) from TAB1
        where PARENT_ID = n.CHILD_ID
        start with CHILD_ID = n.PARENT_NEW
        connect by CHILD_ID = prior PARENT_ID
        and prior PARENT_ID <> n.CHILD_ID) = 0;
    end LOOP;
    end;
    select distinct * from TAB1
    connect by PARENT_ID = prior CHILD_ID
    order by 1, 2;
    rollback;
    begin
    for REC in (select * from TAB2 order by child_id DESC) LOOP
      merge into TAB1 O
      using (select rec.child_id child_id, rec.parent_new parent_new from dual) n
      on (O.CHILD_ID = N.CHILD_ID)
      when matched then update set PARENT_ID = PARENT_NEW
      where (select COUNT(*) from TAB1
        where PARENT_ID = n.CHILD_ID
        start with CHILD_ID = n.PARENT_NEW
        connect by CHILD_ID = prior PARENT_ID
        and prior PARENT_ID <> n.CHILD_ID) = 0;
    end LOOP;
    end;
    select distinct * from TAB1
    connect by PARENT_ID = prior CHILD_ID
    order by 1, 2;One last thing, be sure and have indexes on child_id and parent_id in your main table!

  • Using excel sheets with externa references

    I was hopping someone could point me somewhere to begin here.
    What if I am implementing CM solution in a financial department, which strongly uses excel spreadsheets, which means they're going to need external references from a file, to another .xls for example. Is there any thing about that matter in UCM?
    ty

    Post what you would like to do in Excel here
    http://www.microsoft.com/mac/support

  • How do you create a column of sequenced dates in Numbers

    How do you create a column of sequenced dates in Numbers without typing in each date? For example: 01/05/15, 01/12/15, 01/19/15, 01/26/15, 02/02/15, etc.

    Hi Cha Ling,
    Another way,
    Enter your first two dates that show the desired interval- i.e. 01/05/15 and 01/12/15.
    Select both cells and choose fill from the contextual menu.
    Drag down to fill your column.
    quinn

  • Resolving External References ....in a package

    hi all..
    Resolving External References in IR Subprogram
    CREATE PROCEDURE above_salary
    (emp_id IN NUMBER)
    AUTHID CURRENT_USER
    AS
    emps NUMBER;
    BEGIN
    -- External reference is resolved in schema of current user:
    SELECT * FROM employees
    WHERE employee_id = emp_actions.num_above_salary(emp_id);
    -- External reference is resolved in schema of owner of above_salary:
    emps := emp_actions.num_above_salary(emp_id);
    DBMS_OUTPUT.PUT_LINE
    ('Number of employees with higher salary: ' || TO_CHAR(emps));
    END;
    CALL above_salary(120);
    what are the security reasons for which the references is behaving as above..
    thanks in advance
    gud day

    SELECT * FROM employees
    WHERE employee_id = emp_actions.num_above_salary(emp_id);
    in the above statement package emp_actiosns called indirectly from a select statement ....and while executing the package above_salary which is calling emp_actions..
    the resolution of the name is by currentuser.emp_actions....(INVOKER RIGHTS)
    BUT..
    emps := emp_actions.num_above_salary(emp_id);
    DBMS_OUTPUT.PUT_LINE
    ('Number of employees with higher salary: ' || TO_CHAR(emps));
    in this statement while executing the above salary package .....the package empaction is resolved as owner.emp_action(DEFINER RIGHTS)
    WHY IS THIS DIFFERENCE IMPORTANT..WHAT ARE THE SECURITY REASONS BEHIND IT

Maybe you are looking for

  • Can not find master data in the cube

    ItemNo is an navigation attribute of 0Material. We are using 0material in a cube. When I display the cube data include ItemNo, I don't find the data I am looking for. For example: In 0Material: 0Material      ItemNo    Description AAA               

  • ORABPEL START-UP ERROR!!!!!!!! - Connection Pool Deployment failure

    I have installed BPEL Process Manager with Weblogic 8.1SP4. I am using Oracle Database 9.2.0.5.0 for Oracle BPEL Process Manager installation. Also i have made following changes for JDBC thin driver accordingly. <JDBCConnectionPool CapacityIncrement=

  • Canon Pixma MX300 Printer sharing through Windows PC

    I have a canon mx300 printer hooked up to a windows pc and share it wireless throught aiport extreme with a Macbook pro and Macbook. Thing is I can not use the CD that came with the printer to install the drivers on the MACS. They will not work when

  • Customizing Text, Color, and Images (Planning)

    I have read this link http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch13.html and traying to do it in my app but i can't found where HspCustomImgs_en.template loacted Any one know where is the position of this file in Hy

  • Function for Sending Mail Thru SAP

    Please let me know if there is any function available in SAP thru wich I can send Emails to other mail box . Please give me some example code if any available.