Steps to create a planning folder in detail.

hai friends,
             i am new to BPS .i want to create a planning folder.so i need detail steps and documentation.
Thankyou,
shankar.

Hi,
T.code : UPSPM
1. Go to that  t.code and  create a planning folder . (tech name & description)
2.  once you given the details then it will you take the next screen there you will find all your planning area , level , variable , layout and function.
  3. In the Right hand side , you will find the planning folder under the planning folder you will find variable , global planning function and input layout.
4. Drag and drop your variable to Right hand side from the particular planning area which you want to make a planning folder.
5. then drag and drop the layout and function under the the planning area to Right hand side of input layout folder.
To execute the planning folder you can use t.code UPSPL.
hope this helps.
Regards,
Siva.

Similar Messages

  • Simple steps for creating a planning application

    Hi all,
         I am trying to create a simple planning application. I need to show the actuals by hierarchies on characteristics and allow the users to plan on various levels of the hierarchy. Then, I have to generate a report comparing the previous year actuals and present plans. Please let me know the simple steps to achieve this.
    Thanks.

    hi Uma,
      Create planning applications ,Go THru This LInkS .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently asked questions - planning with sap netweaver bi.faq#q-6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap bw business planning and simulation - how to guides list.htm
    Hope this links help you to create simple planning applications.
    THnaks
    Varun CN

  • Step by step to create planning book & Macro's behind it   I am a ABAPer

    Recently I have been shifted  from R/3 to Apo ; Want to know the creation of planing book & the creation of Macro workbench playing behind planning book .
    To create planning book.
    To create Macro  & how to relate a planning book with the macro.
    Step by step process from simple to complex .
    Different process to programe a macro .
    I can understant ( rather I know ) how to relate  a badi (Enhancement spot ) to a macro & but please guide me how to define a row of a planing book : such as how to define the row 'Avg Weekly Forcast' of planing book in a single varriable as  'ZAVGWKFST' to capture it at badi in the  parameter I_T_LINES[]
    (component - FELDH).
    To create  a custom Button in a planning book & how to program.
    I have many broken links while I try to know it by myself.

    Hi amitabha,
    Please find below the detailed steps to define a planning book:
    A planning book defines the content and the layout of the interactive planning screen. Planning books are used in Demand Planning and Supply Network Planning. They allow you to design the screen to suit individual planning tasks. A planning book is based on a planning area. You can create several user-specific data views in a planning book. In this step, you create a planning book for Demand Planning.
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP SCM menu     Advanced Planning and Optimization  Demand Planning  Environment  Current settings  Define Planning Book
    Transaction code     /SAPAPO/SDP8B
    2.     Enter the planning book DP_001 and choose Create.
    The Planning Book Wizard dialog box is displayed.
    3.     Make the following entries:
    Field name     User action and values
    Planning Book     Enter the planning book DP_001
    Planning book text     Demand Planning
    Planning area     Select the planning area DP_001 and choose Enter
    Manual Proportion Maintenance     X
    Promotion     X
    Univariate forecast     X
    4.     Choose Continue.
    5.     Assign the following key figures from planning area to the planning book by using drag and drop or choose Add all new Key Figures to add all key figures:
    Description     Value     Comment
    History     9AVHISTORY     Relevant for Scenario MTS
    Forecast     9ADFCST     Relevant for Scenario MTS and VMI
    Promotion 1     9APROM1     Relevant for Scenario MTS
    Forecast (addition.)     9AAFCST     Relevant for Scenario MTS
    Planned Price     9APRICEFC     Relevant for Scenario MTS
    Sales Forecast     9AREVFC     Relevant for Scenario MTS
    Production (Planned)     9APPROD     Relevant for Scenario MTS
    Manual Correction     9AMANUP     Relevant for Scenario MTS
    Additional Field 1     9AADDKF1     Relevant for Scenario VMI
    Additional Field 2     9AADDKF2     Relevant for Scenario VMI
    Additional Field 3     9AADDKF3     Relevant for Scenario MTS
    Additional Field 4     9AADDKF4     Relevant for Scenario MTS
    Additional Field 5     9AADDKF5     Relevant for Scenario MTS
    The Proportional factor APODPDANT key figure is automatically added to your planning area when you create the planning area. You do not have to add this key figure yourself and assign it to the planning book in this step. When you create the respective view, this key figure will be automatically there for your selection.
    6.     Choose Continue.
    7.     Assign the following characteristics from the planning area to the planning book by using drag and drop:
    Description     Value
    APO Location     9ALOCNO
    APO Product     9AMATNR
    Brand     9ABRAND
    Sales Organization     9AVKORG
    APO Destination Loc.     9ALOCTO
         The characteristic 9AVERSION (APO Planning Version) will be added to the planning book automatically after you complete this step.
    9.     Choose Continue to go to the Data View tab (the Key Fig. Attrib tab is available in the change mode only after you have completed the planning book).
    10.     On the Data view tab; enter the following values:
    Field name     User action (Scenario MTS)     User action (Scenario VMI)
    Data view     DP_Standard     VMI_Standard
    Data view description     Demand Planning     Demand Planning
    TB profile ID (future)     DP_4Weeks_5Month     DP_4Weeks_5Month
    TB profile ID (history)     DP_12Month     DP_12Month
    Status     3 (Changeable)     3 (Changeable)
    11.     Choose Enter.
    12.     Select Visible and select the date as of which you wish the past planning horizon to be visible when this data view is opened.
    13.     Choose Continue, and assign the following key figures from the planning book to the data view for either the MTS or the VMI scenario, keeping the same order as in the table:
    Make-to-Stock
    Key Figures      Description
    9AVHISTORY     History
    9ADFCST     Forecast
    9APROM1     Promotion 1
    9AAFCST     Forecast (additional)
    9APRICEFC     Planned Price
    9AREVFC     Sales Forecast
    9APPROD     Production (Planned)
    9AMANUP     Manual Correction
    9AADDKF4     Additional Field 4
    Vendor-Managed Inventory
    Key Figures      Description
    9AADDKF1     Additional Field 1
    9AADDKF2     Additional Field 2
    9ADFCST     Forecast
    14.     Choose Complete.
    15.     When the Planning Wizard prompt appears, choose Yes to complete the planning book and data view.
    16.     On the initial screen, change the planning book you have just created by choosing Edit.
    17.     If you are installing the VMI scenario, continue with step 21 (entering a free text for the key figures).
    If you are installing the Make-to-Stock scenario, repeat steps 9 to 12 to create the following views:
    Views     View Description     Key Figures
    DP_CLP     COLLABORATIVE DEMAND PLANNING     
              History
              Forecast
              Forecast (additional)
    DP_RELEASE     DEMAND PLANNING - RELEASE VIEW     
              Manual Correction
    18.     On the Data View tab page, specify the following TB profile IDs for the DP_RELEASE view,
    Field name     User action and values
    TB profile ID (future)     DP_12Month
    TB profile ID (history)     blank
    19.     Create the remaining views for the Make-to-Stock scenario according to the steps 9-12:
    Views     View Description     Key Figures
    DP_LOGISTICS     DEMAND PLANNING - LOGISTICS VIEW     
              Forecast
              Production (Planned)
    DP_SALES     DEMAND PLANNING - SALES VIEW     
              History
              Forecast
              Forecast (addition.)
              Planned Price
              Sales Forecast
              Manual Correction
    DP_PROP     DEMAND PLANNING - PROPORTIONAL FACTOR VIEW     Proportional Factor
    To modify the proportional factors manually, you need to create a separate data view containing only the APODPDANT key figure to control the authorization to change these factors. This key figure is a default value in the view and is thus invisible, so you do not need to assign any key figure from the right list in this view.
    20.     Choose Complete.
    21.     Go to the Key fig. attributes tab, select the FreeText radio button and make the following entries for each key figure. Choose Save Setting after entering the data for each key figure (depending on your scenario).
    Key Figures     Free Text     Relevant for scenario
    9AVHISTORY     Historical Data     MTS
    9ADFCST     Statistical Forecast     MTS and VMI
    9APROM1     Promotion     MTS
    9AAFCST     Sales Forecast     MTS
    9APRICEFC     Planning Price     MTS
    9AREVFC     Sales Revenue Forecast     MTS
    9APPROD     Logistics Forecast     MTS
    9AMANUP     Final Forecast     MTS
    9AADDKF1     VMI Historical Data     VMI
    9AADDKF2     VMI Customer Forecast     VMI
    9AADDKF3     u2013     MTS
    9AADDKF4     Forecast Deviation     MTS
    9AADDKF5     Customer Forecast     MTS
    22.     Choose Complete and exit the planning book maintenance.
    Steps to create macros in macro wrokbench:
    3.7     Creating Macros (SAP APO)
    Use
    You can use advanced macros to perform complex calculations quickly and easily. Macros are executed either directly by the user or automatically at a predefined point in time. When defining advanced macros, you work in a special desktop environment known as the MacroBuilder.
    In total, four macros are created in the Demand Planning building block. They are all defined for the planning book DP_001. You create three macros for forecast calculation according to the following instruction. The chapter Creating the Macro for Consensus-Based Planning describes how to create the alert macro for consensus-based planning.
    In the DP_STANDARD view of the planning book DP_001, you create two macros:
    The first macro is used for the standard and consensus-based planning. The system calculates the arithmetic average of Statistical Forecast, Sales Forecast and Logistics Forecast, the result of average forecast data plus Promotion Data is inserted in the Final Forecast cell. It enables the user to consider the forecast input and the promotion plan from different departments within the company. The planner can make manual adjustments and enter the final agreed forecast into the Final Forecast cell. All of this information can be shown in the planning book screen.
    The second macro multiplies the Final forecast data with the Planned price to calculate the sales volume. The third macro is an alert macro used for highlighting exceptional situations in consensus-based planning.
    In the DP_SALES view of the planning book DP_001, you create the fourth macro. This macro multiplies the Final forecast data with the Planned price to calculate the sales volume, which is the same as the one in the standard view.
    3.7.1     Creating Macros for the Standard View
    1.     Access the activity using one of the following navigation options:
    SAP SCM menu     Advanced Planning and Optimization  Demand Planning à Environment à Current settings à Define Planning Book
    Transaction code     /SAPAPO/SDP8B
    2.     Enter the name of the planning book: DP_001
    3.     Select Data view DP_standard.
    4.     Choose Edit.
    5.     Choose    MacroBuilder  MacroBuilder   Data view.
    3.7.1.1     Creating the Macro for Consensus-Based Planning
    1.     Right-click the macro node below the planning table and choose Create New Macro  Add macro. In the APO Macro Builder dialog box, enter a descriptive text for the macro, for example, Forecast + Promotion  Final Forecast. Choose Continue.
    2.     Right-click the macro and choose Add macro Element  Step.
    In the APO Macro Builder dialog box, in the descriptive text section, enter a name for the macro step, for example, First Step and choose Continue.
    3.     Right-click the macro step and choose Add Element (Result Level) à Add results row.
    In the APO Macro Builder dialog box, choose Final Forecast in the Row field. Choose Adopt.
    4.     Right-click the result row you have just created and choose
    Add Element (Argument Level) à Add Operator/Function.
    In the APO Macro Builder dialog box, choose u201C(u201C.
    5.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level) à Planning Table Element à Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
    6.     Right-click the argument row you have just created and choose
    Add Element (Argument Level) à Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    7.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
    8.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    9.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box choose Logistics Forecast in the Row field.
    10.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    11.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C/u201D.
    12.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, enter u201C(u201D.
    13.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
    14.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
    15.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    16.     Right-click the operator/function you have just created and choose
    Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    17.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
    18.     Right-click the operator/function you have just created and choose Add Element (Argument Level )  Planning Table Element  Append argument row.
    In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
    19.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    20.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    21.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box choose the character u201CSIGN()u201D and change to u201CSIGN(u201C.
    22.     Right-click the operator/function you have just created and choose Append argument row. In the APO Macro Builder dialog box, choose Logistics Forecast in the Row field.
    23.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    24.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    25.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, enter u201C+u201D.
    26.     Right-click the operator/function you have just created and choose
    Append argument row.
    In the APO Macro Builder dialog box, choose Promotion in the Row field.
    27.     Select the macro and choose   Check to check it. Generate the macro by choosing   Generate.
    28.     Move the macro by using drag and drop to the Events section and to the Default folder in the upper right screen area.
    29.     If you want to continue with the configuration, proceed with the next activity to create the Sales Volume Macro (see below).
    If you want to discontinue the configuration at this point, we recommend that you save your settings. To do this, go back to the Planning book Design screen and choose Save. Choose All Functional Areas when the confirmation prompt appears.
    Hope this should help you.
    Regards,
    Umesh

  • Create ne Planning function in planning folder

    Hi Experts,
    I have one planning function A  in X folder and my requirement is i need to create same planning function like A in planning floder Y.   Please give me steps for creating planning function in planning folder.
    I know how to create a planning function in planning level but i don't know how to create to a planning function in planning folder.
    Please help me on this.
    Thanks
    SAP

    Hi Mynak,
    Thanks for your reply. Yes ur r correct, we cdon't create planning function in the planning folder insted o this we can drag the created planning function into planning folder.
    How to drag this from left side to right side and place into global planning function area.
    I am missing some thing. I couldn't slect the planning package and parameter group.
    Can u let me know how to do this one.
    It would be great help for me.
    Thanks
    SAP

  • Steps to create Planning Sample Application in EPM11.1.2

    Hi,
    Can anybody provide me any helpful sources for the steps to create Planning sample application in EPM11.1.2.
    I tried in OBE and couldn't get step by step process for EPM11.1.2.
    If Possible please provide a link where I can follow step by step process.
    Thank you
    Venky

    John,
    Thank you for the reply. I created the data sourceusing workspace.
    I have few questions while creating the application.
    1. Do I need to create a blank application or follow the steps
    2. Folow the steps means with out selecting blank application click next and define all new dimensions that are there in .ads file
    scenario
    year
    period
    Entity
    Account
    Version
    Segments
    Currency
    with these create the application. Then I validated and got 4 errors. I am not able to deploy it.
    While creating the application it never asked me datasource details.
    Where I shoud provide the datasource details?
    Thank you
    vijay

  • How to view the input and output layouts created in the planning folder?

    Hi all,
    How to view the input and output layouts created in the planning folder in the bw 3.5?
    Thanks
    Pooja

    Hi,
    You can refer to this link. How to create planning folder and executing the planning folder.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
    Hope this helps

  • Steps to create the counter based Maintenance plan

    Hi!
    Can any body give "Steps to create the counter based Maintenance plan"
    (Mater Data,Transactional Data and Customizing Data creation)
    Regards,
    MDSFR

    hi
    please refer the following link
    http://help.sap.com/saphelp_46c/helpdata/en/fe/67ef189d6f11d189b60000e829fbbd/content.htm
    regards
    thyagarajan

  • How to create infospokes   please  give me details steps screeenshots

    how to create infospokes   please  give me details steps screeenshots

    hi,
    Document on Infospoke with screeshots: [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/eb462104-0701-0010-07ae-d866630e0989]
    [https://websmp209.sap-ag.de/~sapidb/011000358700002201112003]
    [https://download.microsoft.com/download/f/3/7/f371bbba-2341-41bf-822d-2c7dd4174756/IT_SAPBW.ppt ]
    Procedure
           1.      In the main menu of the Data Warehousing Workbench, choose
                Tools ->Open Hub Service ->Edit InfoSpoke
    Enter a technical name for your InfoSpoke.
    You can also select a template.
           2.      Choose  Create InfoSpoke.
           3.      Enter a description for your InfoSpoke
    [http://help.sap.com/saphelp_nw70/helpdata/EN/66/76473c3502e640e10000000a114084/frameset.htm]
    regards,
    NR
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:36 AM
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:39 AM

  • List of steps required to create simple planning example

    Hello
    I am new to BPS
    Could you please give me a list of steps required to create simple planning example.
    Thanks
    Message was edited by: Aleksandrs Frolovs

    Hi Aleksandrs,
    Here is some good info:
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/7c4b52691011d4b2f00050dadfb23f/content.htm

  • I would like to create the a swatch, add it to the library and import to the swatch panel.  The help pages available relate to earlier versions of Muse, which does not work with the 2014.2 release version that I have.  I have created a library folder, imp

    I would like to create the a swatch, add it to the library and import to the swatch panel.  The help pages available relate to earlier versions of Muse, which does not work with the 2014.2 release version that I have.  I have created a library folder, imported the colour swatch as just 4 colours as a mulib file.  I drag the four colours on to the muse page in design view but that is as far as I get.  Can anyone help?  Thanks

    I don't know since I don't share anything. You'll have to peruse the help files and check the permissions and ACLs on the Shared folder. According to the permissions on the Shared folder everyone can R&W. If you want those to be inherited by everything dropped into the folder, add an ACL for
    everyone allow read, write
    Details in the manpage for chmod. The actual steps are left as an exercise.

  • BPS planning folder; Scroll to top after execution of planning function

    Hi All,
    After execution of a planning function, or after saving data in a planning folder, the layout jumps back to the top and displays the first row, even if the user was positioned on another row.
    I know BPS does this because it recalculates the data and tries to display it.
    However, it is not very user friendly.
    Did anyone ever solve this ?
    How do you remain positionned on the line you are working on after saving or execution a BPS planning function?
    Thanks in advance for your answer,
    Points will be rewarded to solutions.
    Filip Ledoux

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    There are some APIs which BPS uses internally to save data. You can make a Planning Function of Type EXIT using function moule of your own calling API_SEMBPS_POST (to save data). <br><br>
    You can call this EXIT Function as a step next to your copy function in your Global Planning Sequence.<br>
    Please refer to Note 422998 - SEM-BPS processing large data volumes if you need further details for implementing this solution.
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Steps to migrate Hyperion Planning application from 9.2.0 to new 9.3.1 env

    We currently have 9.2.0 Hyperion planning installed in a windows env. We are planning to setup a new Hyperion planning env on a totally new hardware upgraded env. Would be appreciate if some can outline steps invloved to migrate Hyperion Planning apps, forms, BR ect from 9.2.0 to the newly setip 9.3.1 env. Is there any documentation, URL's to do the above. Any help would be greatly appreciated. Any issue to look out for, setbacks details would be helpful.
    Thanks..

    Hi,
    One way of doing it would be :-
    Create a new database for your planning application 9.3.1
    Create a datasource to the database
    Create a fresh planning application on version 9.3.1 make sure the admin is the same name as your old 9.2 planning app
    Go into the database tables for the planning app and look at table HSP_USERS, store the SID value against user 50001
    Go into the database planning system tables and HSPSYS_APPLICATION, clear out the version field for the application you have created
    Stop Planning
    Restore the 9.2 planning application database over the one created in the first step
    Go into the HSP_USERS table and update the SID for user id 50001
    Start planning
    Go to planning web and you should see your application when you try and log in it should take you to a migrate screen.
    If you are requiring to migrate users as well, you will have to make sure you create them in Shared Services and then use the updateusers utility in the planning bin directory.
    Or you could try using the copy app utility though I don't believe it is the best utility about and not sure how it handles between different versions(http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch09s01.html)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Db file in Replica was created in wrong folder

    Hello!
    I created db file at \BDB_HOME\BDB_SUBx in Master, but in Replica site db file was created in wrong folder which is BDB_HOME.
    Do I miss something than setting path to DatabaseEnvironmentConfig.CreationDir ?
    \BDB_HOME
    |
    -BDB_SUB1
    -BDB_SUB2
    -BDB_SUB3
    FYI
    Ver.5.1.19 (HA)
    C#
    VisualStudio.Net 2010
    Thanks,
    Osamu

    Hi Osamu,
    This is a known limitation with BDB HA at the moment. This issue is tracked internally in SR #19041. We hope to fix it, but do not guarantee that it will make it, in the next BDB release, 5.2.
    Osamu, if you have access to MOS (MyOracle Support) please consult Note 1250654.1 (Doc ID 1250654.1) -- How to Correctly Replicate a Directory Structure Involving Subdirectories Between Master and Client. This article explains in detail this issue and how to work around it for now.
    For reference, to explain the issue in more detail, suppose on the master the environment directory structure looks something like this:
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         \BDB_SUBDIR_2
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         \BDB_SUBDIR_M
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbOn the client site, the environment directory structure will be incorrectly replicated and will look something similar to this (with all database files ending up under one of the subdirectories):
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         \BDB_SUBDIR_2
         \BDB_SUBDIR_M
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbThe workaround to resolve this issue depends on a manual hot backup. AUTOINIT should be turned off via rep_set_config with DB_REP_CONF_AUTOINIT and 0. Than the client should be bootstrapped with the databases and logs from the master and recovery should be run as described in the Berkeley DB Programmer's Reference Guide, in the Hot failover section.
    Basically, copy all the databases, copy the logs, run catastrophic recovery on the new client environment directory, and start the application. By turning off AUTOINIT you might need to take care of handling the REP_JOIN_FAILURE event error.
    To summarize, the workaround implies the following actions:
    1. On the client environment call DbEnv::rep_set_config like this:
    DbEnv::rep_set_config(DB_REP_CONF_AUTOINIT, 0);With the C# API it's something like:
    DatabaseEnvironmentConfig envConfig = new DatabaseEnvironmentConfig();
    envConfig.RepSystemCfg = new ReplicationConfig();
    envConfig.RepSystemCfg.AutoInit = false;
    DatabaseEnvironment env = DatabaseEnvironment.Open(envHomeDir, envConfig);or you could use the DatabaseEnvironment's class RepAutoInit property.
    2. Handle DB_REP_JOIN_FAILURE on the client environment, which could be returned from DbEnv::rep_process_message. Handling implies setting an event callback function via set_event_notify for DB_EVENT_REP_JOIN_FAILURE like this:
    DbEnv::set_event_notify(eventsHandler);where eventsHandler is a callback function that respects this signature:
    void (*db_event_fcn)(DB_ENV *dbenv, u_int32_t event, void *event_info)and internally checks to see if event is DB_EVENT_REP_JOIN_FAILURE. If it is, it may trigger copying of the backup files from the master onto the client.
    With the C# API you will set an EventNotifyDelegate delegate using the EventNotify property and check the NotificationEvent.
    3. Start the client. Because AUTOINIT is turned off, internal init will not be performed, hence it will not remove the directory structure on the client environment.
    4. If the event callback function gets notified of the DB_EVENT_REP_JOIN_FAILURE it means that the backup of the master (databases and log files of the master) is required on the client. Take a manual hot backup as per the guidelines in the Hot failover section, and copy the database and log files onto the client; this is something that the event callback function can do, when it handles DB_EVENT_REP_JOIN_FAILURE by using something like rsync to copy the files between the machines.
    5. If a backup was copied onto the client, run a catastrophic recovery in the client environment either manually via db_recover -c, or programmatically by specifying the DB_RECOVER_FATAL flag to the client's DbEnv::open call (with the C# API you specify it via RunFatalRecovery)
    6. After the catastrophic recovery will have been performed and the client will have started, all the replication synchronization will work as expected, replication messages will be processed correctly, and the directory structure will be maintained.
    Regards,
    Andrei

  • Unable to create the temporary folder. Error 183 when starting Distiller

    New information discovered - see end of message!
    Full error message is (window title is Acrobat Distiller):
    "Unable to create the temporary folder
    Error: 183 - cannot create a file when that file already exists."
    I have no idea what file or what folder it is referring to. This is on an x86 Vista notebook and the message comes up when starting the notebook and also if you manually start Distiller 8. Updating did not help, nor did turning off the UAC, or running Distiller as Administrator. In the latter case, Distiller will open correctly, but the next time you need to use it, it fails. With the UAC turned off, the behavior is for it to show the Distiller window for a fraction of a second and close immediately. I also gave the user full rights to the C:\Program Files\Adobe folder and lower. Made no difference.
    Coincidental with this is that the PDFMOfficeAddIn.dll add-in will not enable in Word - when it is checked, and I hit OK, I get the message:
    "The connected state of Office Add-Ins registered in HKEY_LOCAL_MACHINE cannot be changed."
    All of this is going on when logged in as an administrator. I have seen folks post about this issue, but no answers that actually fiux the problem, just suggest what I have already tried. Anyone seen this one?
    The user is highly mobile, so I am not going to have a chance to work on her computer again until next week.
    NEW INFO
    I tried removing and reinstalling as administrator and the problem remains. However while trying to troubleshoot, I discovered some more details.
    The message is being thrown when acrotray.exe is started as a process in HKLM\Software\Microsoft\Windows\Current Control Set\Run and then tries to run acrodist.exe (which fails, BTW). If I don't let it run there and run acrotray,exe as administrator, then acrodist.exe runs as a process without an error. Additionally, stopping it from running in the registry, and then starting MS Word, the Acrobat add-in does load and even though there is an error thown, it still creates the PDF! I have other Vista 32 notebooks running various Acrobat versions with no problems.
    Another key thing I found out is that Acrobat started throwing the error after an HP Scanjet 8400 and its software were installed. I tried explicitly giving the user (already an administrator) full rights to the Acrobat, HP and Read IRIS directories. Did not help the problem. I have to think that there is some interaction there, but sure don't know what it is.

    what i did to eliminate that error message, i don't think it eliminated th
    e problem but now i can reboot and log in OK, was 2 things:
    i went into my system registry and unchecked to start at startup and then disavled it.
    i also had to go to each adobe icon, right click, go to properites, and than make all selections set to be administator.

  • How do i create a mail folder for my iphone 5c

    I need to make multiple folders in mail but I do not know how to do this.  Can anyone help me?  I appreciate your time.

    Hello Husker2759,
    The iPhone User Guide details the steps for creating mailboxes on your iPhone.
    Organize your mail with mailboxes. Tap Edit in the mailboxes list to create a new one, or to rename or delete one. (Some built-in mailboxes can’t be changed.) There are several smart mailboxes, such as Unread, that show messages from all your accounts. Tap the ones you want to use.
    iPhone User Guide - Work with multiple messages
    http://help.apple.com/iphone/7/
    Cheers,
    Allen

Maybe you are looking for

  • Material number is not populating in PO in tcode ME23N

    Hi, The material number is not populating in PO in transaction ME23N. The coloumns is displaying as blank and supressed(Gray). This problem occured during the upgradation from 4.6C to ECC6.0. We have checked the SPRO configuration for field selection

  • How long did your  23" LCD  last.

    I have a dead Apple 23" LCD, tech says its not repairable. Purchased in 2002 for over $5,000 (Canadian $). Canadian Law requires products to be durable for a reasonable period of time. Is 4 yrs 6 mths a reasonable period for such a product to last? I

  • Call Message Not Appearing

    Hello! I was using Skype for a few months, but about a week ago, I noticed a problem. When my friend calles me, I the  call message (the blue one at the top right corner) does not appear. When he writes to me, however, everything's fine, and the mess

  • 0FIGL_C10

    Hi How is it possible to get opening balance for a month of a particular GL Account on this cube in the report. Regards Annie

  • Export info about all images

    How can I export the following info about all images in an InDesign document: Page image is on Image name Image full path Image location on page (x, y) I would like to export this data to a txt or csv file with data for each image on a separate line.