ASCP Instance setup - DB LInk Creation in decentralized configuration

I came across this question on setting up the APS for decentralized configuration and really couldn't find why? The question was why do we need to create two DB links (One in Source for destination db and other one in destination for source db) and can we setup ASCP instance by creating only one DB Link, either at destination or at source?
Thanks
Madhavi

Hello,
The reason for this is that there is 2 way communication for the planning products.
On the planning instance the dblink is required when you run collections and release recommendations from the workbench (amongst other actions)
on the source, when you perform for instance an ATP inquiry, data is being read from the aps instance.
This is the design of ASCP. Both links are required.
regards
Geert

Similar Messages

  • ASCP Instance Setup

    Hi,
    I am in a position to do Setups for ASCP instance
    Environment : Decentralized Environment
    Number of Organization : One
    I did Database Link properly and Attached the current Organization in the Organizations in the (N) Admin>Instances.
    Further when I launch the Data collection process (Complete Refresh), it ends with Phase = Inactive; Status=No Manager error.
    How to activate the manager in ASCP instance?
    And Please suggest me what are all the other Initial setups I need to do.
    Your Answer will be most appreciable.
    Regards,
    Ramesh

    Dear Sandeep,
    Thank you very much,
    When I checked the "Standard Manager" in the System Administrator Responsibility, It was not Activated.
    I tried to activate but It doesn't activated, then that was activated by DBA level.. Then Standard Manager is working fine now.
    But After this,
    When I launched "Planning ODS Load", this set is launching the concurrent program "Generate Items and Category Sets Keys".
    The concurrent "Generate Items and Category Sets Keys" completed with the below Error.
    ORACLE error 1400 in FDPSTP
    Cause: FDPSTP failed due to ORA-01400: cannot insert NULL into ("MSC"."MSC_ITEMS"."ITEM_NAME")
    ORA-06512: at "APPS.MSC_CL_ITEM_ODS_LOAD", line 1955
    ORA-06512: at "APPS.MSC_CL_COLLECTION", line 6853
    ORA-06512: at line 1
    The
    Start of log messages from FND_FILE
    28-DEC 12:10:47 : ========================================
    28-DEC 12:10:47 : Error in PROCEDURE=GENERATE_ITEM_KEYS, TABLE=MSC_ITEMS
    28-DEC 12:10:47 : COLUMN=ITEM_NAME, VALUE=
    28-DEC 12:10:47 : ORA-01400: cannot insert NULL into ("MSC"."MSC_ITEMS"."ITEM_NAME")
    28-DEC 12:10:47 : ORA-01400: cannot insert NULL into ("MSC"."MSC_ITEMS"."ITEM_NAME")
    What setup I need to do?
    For your information, I launched "Create Planning flexfields" in source Instance. But this Issue is not yet resolved
    Your answer will be most appreciable
    Regards,
    Ramesh

  • Centralized ASCP Instance

    Gurus,
    We have a 11.5.10 CU2 (9208-RAC/PCP) instance running SCM_PF.J
    Management is planning to implement APS/Demand Planning. I have worked in distributed environments where we have a source ERP instance and a target ASCP instance and do a data pull via DB link and run collection/memory based planner programs.
    However, management wants to consider the idea of running both in a single environment/instance since its theoretically possible.
    -- Can someone share your views on the gotchas of this setup?
    -- I am aware that the planner programs are resource intensive. Is there a benchmark of the hardware capacity needed for this setup?
    -- Is Express server extinct now or do we still need it ?
    -- What are the extra patches that we need for this implementation.Any general docs/papers concentrating on the architecture ?
    -- Any special considerations for RAC ?
    Regards,
    Arun

    Since you have PCP, you have everything you need for RAC'd ASCP. Just create a Standard Manager 1 and Standard Manager 2, and use include/exclude to force the ASCP processes onto one node:
    RAC Configuration Setup For Running MRP Planning, APS Planning, and Data Collection Processes
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=279156.1
    Advanced Planning and Scheduling (APS) Implementation Notes & White Papers
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=280052.1
    Express server has been obsoleted in 11.5.10. Oracle Demand Planning uses the OLAP engine in 9i or higher databases. Oracle will charge you additional licenses fees for database OLAP if you use Oracle Demand Planning, even though you already purchased Oracle Demand Planning licenses. You can however implement Oracle Demantra Demand Planning which does not use the OLAP engine. There was a one for one license swap from Oracle Demand Planning to Oracle Demantra Demand Planning, but I would check with your Account Representative to make sure.
    Demantra, OracleAS 10.1.3 and the E-Business Suite
    http://blogs.oracle.com/schan/2007/05/22#a1585
    Oracle Unveils Demantra 7.1.1
    http://www.oracle.com/corporate/press/2007_jun/demantra.7.html?rssid=rss_ocom_pr
    EBS-Demantra Integration Installation Overview and Diagram
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=434991.1
    Oracle Demantra Installation for Release 7.1.1
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=428495.1
    About Oracle Demantra Supply Chain Planning for Release 7.1.1
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416107.1
    Oracle Demantra V7.1 Demand Management Documentation Library
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=421343.1
    A Centralized ASCP/DP instance is simpler in a non-RAC environment. I have a RAC customer that recently switched from Centralized RAC 11.5.10.2 to decentralized with the planning instance on HP-UX 64-bit and the source instance on 64-bit Linux. This enabled them to move away from PCP since they were on ATG.H RUP 4 and could use Queues in stead of Pipes for transaction manager communication via the Concurrent:TM Transport Type profile option:
    FAQ: PO Document Approval Manager / Real Application Cluster (RAC) Frequently Asked Questions
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=419609.1

  • Error when Trying to Run Concurrent Request on ASCP Instance

    Hi Experts,
    I have an issue when trying to run custom concurrent program in ASCP production.
    The error message is:
    oracle error 20001
    ORA-20001: APP-FND-02901
    You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option MO: Operating Unit is set has been detected in MO_GLOBAL.INIT
    I have searched through metalink regarding this issue and the solution is I should define the "MO: Security Profile" and "MO: Operating Unit" profiles.
    But the problem is my ASCP instance is not have any OU, it just defined for Inv Orgs. So, when I tried to define the profile, the LOV is empty.
    FYI, in my ASCP dev instance is working fine. I can run my concurrent request into it.
    In this instance, the profiles of "MO: Security Profile" and "MO: Operating Unit" are blank too.
    From this node:
    XLAACCPB - Create Accounting Program fails with Oracle error -20001: ORA-20001: APP-FND-02901: You do not have access privilege to any operating unit [ID 753824.1]
    It provided 2 actions, and when I tried to run query in the 2nd action, the result is:
    /* $Header: AFPFPROB.pls 120.18.12010000.10 2009/04/24 19:33:53 pdeluna ship $ */
    Any help would be really appreciated.
    Thanks & Regards,
    Rheza

    Hello Rheza,
    We are also facing the same issue in Self Service HR, We also do not have any Operating Unit setup.
    We are trying to run seeded "Active Users" concurrent program. Are you sure without setup of MO: Security Profile / MO: Operating Unit, It will work?
    Regards,
    Saurabh

  • How to setup a link that is of the type "Go to a page in another document"?

    Is there a direct way for a javascript to setup a link that is equivalent to the acrobat link type  you get when you add a link of the type “Go to a page in another document”?
    Tools-Advanced Editing-Link tool, make a box
    Check: Go to page view, Next (Create go to view dialog opens)
    Open second document and go to page
    Click “Create go to view dialog” to set up link
    Result is a link, when view by link properties, with an action of
    Go to a page in another document
    File: C:\My Documents\File2.pdf
    Page: 43
    Zoom level: Custom
    I have a java script in a setAction of a link that I think does the job:
    l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 1 - 1;");
    But is there a more direct way that actual sets up a “a link of the type Go to a page in another document” so if it's "advanced edited" its the same as the manual set links?
    I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
    John
    Code example in more detail:
    /* Insert document level JavaScript to set disclosed = true.
       This will run when the document is opened.*/
    this.addScript("setDisclosed", "this.disclosed = true;");
    // Search through the document for the word “Acrobat” and create a link around that word.
    for (var p = 0; p < this.numPages; p++)
        var numWords = this.getPageNumWords(p);
        for (var i=0; i<numWords; i++)
            var ckWord = this.getPageNthWord(p, i, true);
            if ( ckWord == "Acrobat")
                var q = this.getPageNthWordQuads(p, i);
                // Convert quads in default user space to rotated
                // User space used by Links.
                m = (new Matrix2D).fromRotated(this,p);
                mInv = m.invert()
                r = mInv.transform(q)
                r=r.toString()
                r = r.split(",");
                l = addLink(p, [r[4], r[5], r[2], r[3]]);
                l.borderColor = color.blue
                l.borderWidth = 1
                //l.setAction("this.getURL('http://www.adobe.com/');");
               l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 3 - 1;");
    Current Systems in use to create documents with links and view them:
    Windows XP SP3
    Word 2003 SP3
    Acrobat 9 pro version 9.4.4
    Or just to view them:
    Mac OS 10 Lion version 10.7.4
    Acrobat 9 pro version 9.5.1
    (note I have limited understanding of Mac’s)

    If you use buttons instead, it is possible to script adding the actions that you want. It involves creating a properly constructed FDF, saving it, and then importing it into the document. Buttons can be made to appear just like links. For more information, see: http://www.planetpdf.com/developer/article.asp?ContentID=6338

  • E71 how to remove setup email link from main page

    Recently got a E71 - very pleased with it.    Have installed nokia email and exchange mail - all working fine.   I ended up with 2 "setup email" links on the main page.  One i could select and hide,  the other I cannot.   When ever i boot the phone it trys to start the email setup wizard by default.     I notice from installations I can remove the email setup - will this affect existing mail accounts and would this mean I can't set up any new accounts in the future?
    surely there must be an easy way to remove the icon.    I tried deselcting the wizard from the Modes -> home screen application page but it just comes back after a few minutes.
    very annoying.

    spooky! i found the same solution today, checked back here and you'd beaten me to it!!! DOH!
    posted the following elsewhere.
    i found another solution for removing the email setup link on the homepage (still have the wizard start on boot).  
    MENU -> MODES -> HOME SCREEN APPLICATIONS ->enabled applications ->  untick Intellisync
    the email setup icon now dissapears on my E71.
    I can't find a decent explanation of what intellisync actually does, but all my email is working as before.
    To be honest i could probably just remove the set up program as I won't ever need to add another email account..
    just thought I'd post this anyway."

  • "a placed instance of this link is modified" though I tried to re-link the same file.

    "a placed instance of this link is modified" though I tried to re-link the same file. Problem does not occur when I place the same file in a new indesign document

    I'm going to repeat what I said previously, but in a different way to make it clearer, I hope. You have more than one instance of the same placed file. The file was modified after it was placed for at least one of these instances and that instance has not been updated. Updating that instance should resolve the issue.
    If there is no instance of the link in the links panel that shows the modified warning, then the file is probably damaged in some minor way and you should see Remove minor corruption by exporting

  • Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository
    asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle )
    as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE
    ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :prashant
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
    Cwm Error: SQL Exception
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
    Method Name: createDBLink(String, String, String, String)
    Method Name: -1
    Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
    ==================
    ==================
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected] or this OTN Network
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Problem in DB Link creation ( Oracle warehouse builder 3i  )

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle ) as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :scott
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    ORA-02085 Database link %s connects to %s
    *Cause:   a database link connected to a database with a different name.
    The connection is rejected.
    *Action:   create a database link with the same name as the database it
    connects to, or set global_names=false.
    Please change it to false by doing :
    first option:
    Log in the database with DBA privilege and use the command:
    alter system set GLOBAL_NAMES = false
    second option:
    Change the GLOBAL_NAMES to false in database system parameter file, init.ora
    ==================
    Options tried:
    ==================
    1. I tried to change GLOBAL_NAMES = false but still not able to create the DB LINK.
    2. As per suggestion of one the friend
    "A file named "Logon.Properties" under the directory $OWB_HOME/wbapp
    in this file please set the property
    OWBSingleUserLockUsage = false"
    I tried the same but it is still not working.
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected]
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Newbie: How to automate link creation from a map index grid?

    We would like the user to jump to an atlas page from the index page (similar to table of contents in a book). There are more than 135 pages in the map atlas. we would like to automate the link creation.

    It might be possible to do this with a script, but it depends very much how the file was created and what the contents of it are.
    If you wish, you can send me the file to try6767 at gmail dot com and I'll have a look at it.

  • Deleting all instances of a link

    Hi,
    I have a lot of instances of a link spread over a number of pages and I want to delete all of them without having to go to each page, select each one and delete it. I thought there'd be a way using the links pallet such as right clicking the link group and "delete all" but there doens't seem to be.
    The links don't have a specific object style applied so I can't (I think) use Find/Change Object.
    Is there another way around this?
    Thanks in advance.
    (CS4 6.0.5)

    This version removes frames.
    if (app.documents.length == 0) ErrorExit("No documents are open. Please open a document and try again.", true);
    var doc = app.activeDocument;
    var links = doc.links;
    if (app.selection.length != 1) ErrorExit("Select a graphic frame with image.", true);
    var sel = app.selection[0];
    if (sel.images.length != 1) ErrorExit("Selected graphic frame should contain an image.", true);
    var selectedLink = sel.images[0].itemLink;
    var selectedLinkPath = selectedLink.filePath + "";
    if (selectedLink == null) ErrorExit("Selected item doesn't contain a link.", true);
    var allInstances = [];
    var counter = 0;
    for (var j = 0; j < links.length; j++) {
         if (links[j].filePath == selectedLink.filePath) {
              allInstances.push(links[j]);
    if (allInstances.length == 1) {
         if (!confirm("This link has only one instance. Do you want to delete it?", false, "Delete all instances of a link")) exit();
    for (var i = allInstances.length-1; i >= 0; i--) {
         try {
              var link = allInstances[i];
              var image = link.parent;
              var frame = image.parent;
              frame.remove();
              counter++;
         catch(err) {
              $.writeln(i + " - " + err);
    if (counter == 0) {
         alert("No links have been removed", "Delete all instances of a link");
    else if (counter == 1) {
         alert("One clink has been removed", "Delete all instances of a link");
    else if (counter > 1) {
         alert(counter  + " links have been removed", "Delete all instances of a link");
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, "Error", myIcon);
         exit();

  • DB link creation

    Dear
    please explain me the process of database link creation and making entry into tnsnames.ora.
    I have two databases PCDB and IASDB on same server KSPCB.ORG, I want to access the IASDB database from PCDB database.what is the entry that i should make into the tnsnames.ora file before creating the db link.
    I 'll be very thankfull to you if you can write down the process.
    thanks

    hi
    the following script will create a dblink in first database whose name is local and it will be able to connect a database seconddb. you should be able to connect to second db on the first place. Donot forget to set initialization parameter global_names=false before using the dblink.
    create database link LOCAL.WORLD
    connect to SCOTT
    using 'secondDB';
    you will extract data from second db like this.
    select * from scott.emp@secondDB;

  • Databse link creation from 9i to 10g

    hii all
    i just want to create databse link as below"create databse link linkname connect to remoteuserid identified by remote password using "........"
    thats where iam getting confused what should we place if my tnsnames looks like "orcl.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    well after puting db name as using in statement i am getin error when i execute any table in remote db.
    1.tns -nolistener
    2.ORA-12545-Connect failed becos target host or object does not exit
    above r some of errors i get while iam trying to create databse link
    please put on some thoughts on this kindly..
    thanks

    copy, paste and post here for db link creation and the error returned. you can replace the username/password/host with dummy ones.
    Sean

  • How to get DFF data from ERP to ASCP instance using collections

    Hi Everyone,
    I have requirement that there is DFF fields defined in ERP on resource definition. I need to collect this DFF fields data information and use in ASCP instance. Is anybody worked on similar requirement or is there any possibility for getting DFF data using collection program.
    Thanks,
    Suresh

    In IHPA you will only get the KUNNR field, KNA1-KUNNR = IHPA-PARNR+0(10) for adequate partner function of course. For the other keys of KNVV you will have to look in the master table of the maintenance object (Look at IHPA-OBTYP or at first two characters of IHPA-OBJNR to get the object type)
    e.g. maintenance order (OBTYP = 'ORI', OBJNR begins with OR) in AUFK
    * From order main table AUFK
      AUFK-OBJNR = IHPA-OBJNR.
    * then order header AFIH
      AFIH-AUFNR = AUFK-AUFNR.
    * then localization in ILOA
      ILOA-ILOAN = AFIH-ILOAN.
    * Then KNVV
      KNVV-KUNNR = IHPA-PARNR+0(10).
      KNVV-VKORG = ILOA-VKORG.
      KNVV-VTWEG = ILOA-VTWEG.
      KNVV-SPART = ILOA-SPART.
    Regards,
    Raymond

  • When I click on a link to a file, (for instance a Filesonic link) I used to get asked if I wanted to run or download the file. Now it just goes straight to download. How can I stop it doing this? Thank you.

    When I click on a link to a file, (for instance a Filesonic link) I used to get asked if I wanted to run or download the file. Now it just goes straight to download. How can I stop it doing this? Thank you.

    Go to Tools -> Options -> Applications -> Search for your file format, .zip,for instance,
    Select ''' Always ask''' from drop down menu.

Maybe you are looking for