Steps to create a Network!

Hello guys!
I have a road table...
And I created 2 tables: node_topo and link_topo, using scripts from lucvanlinden:
Re: Spatial Network constraints
Everthing is all right, but I stucked now...
What is the next step ? In the end I need calculate the shortpath algorithm...
Can anyone help me?
Thank you

Paul
basically there are 2 ways to proceed:
- a Java way (10gR1 and higher)
- a PL/SQL way (10gR2 and higher)
the online topo network doc http://download.oracle.com/docs/html/B14256_01/sdo_net_concepts.htm#sthref867 is a good place to start. It contains a lot of examples mainly for the PL/SQL way.
of course, also the Pro Oracle Spatial Pro Book is a good place to start learning, chapter 10 has a set of examples how to work the java way.
There is also a good java example file called LoadAndAnalyze.java,
In the 10g (companion cd)$ORACLE_HOME/md/demo/network/examples/java/LoadAndAnalyze.java.
This should give you a good direction.
Luc

Similar Messages

  • URGENT:Diagnose The Steps for Creating a Standby Database

    Why Following Steps Can Not Succeed? What are the problems?
    The Steps of Creating a Physical Standby Database
    SQL>alter system set db_recovery_file_dest_size=2000m scope=both;
    SQL>alter system set db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area' scope=both;
    SQL> shutdown immediate
    SQL> startup mount
    SQL> alter database archivelog;
    SQL>alter system set db_flashback_retention_target=120 scope=both;
    SQL> alter database flashback on;
    SQL> alter database force logging;
    #The Primary Database Pfile after being edited
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # SGA Memory
    sga_target=370147328
    # Job Queues
    job_queue_processes=10
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=orcl10XDB)"
    # Miscellaneous
    compatible=10.2.0.1.0
    # Security and Auditing
    audit_file_dest=C:\oracle\product\10.2.0/admin/orcl10/adump
    remote_login_passwordfile=EXCLUSIVE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=122683392
    # Database Identification
    db_domain=""
    db_name=orcl10
    # File Configuration
    control_files=("C:\oracle\product\10.2.0\oradata\orcl10\control01.ctl", "C:\oracle\product\10.2.0\oradata\orcl10\control02.ctl", "C:\oracle\product\10.2.0\oradata\orcl10\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Cursors and Library Cache
    open_cursors=300
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.2.0/admin/orcl10/bdump
    core_dump_dest=C:\oracle\product\10.2.0/admin/orcl10/cdump
    user_dump_dest=C:\oracle\product\10.2.0/admin/orcl10/udump
    # Processes and Sessions
    processes=150
    # Cache and I/O
    db_block_size=8192
    db_file_multiblock_read_count=16
    DB_NAME=orcl10
    DB_UNIQUE_NAME=orcl10
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcl10,stdby4)'
    LOG_ARCHIVE_DEST_1=
    'LOCATION=/arch1/orcl10/
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=orcl10'
    LOG_ARCHIVE_DEST_2=
    'SERVICE=stdby4 LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=stdby4'
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=ENABLE
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    LOG_ARCHIVE_MAX_PROCESSES=30
    FAL_SERVER=stdby4
    FAL_CLIENT=orcl10
    DB_FILE_NAME_CONVERT='stdby4','orcl10'
    LOG_FILE_NAME_CONVERT=
    '/arch1/stdby4/','/arch1/orcl10/','/arch2/stdby4/','/arch2/orcl10/'
    STANDBY_FILE_MANAGEMENT=AUTO
    SQL> create spfile from pfile;
    RMAN> connect target
    RMAN> backup database;
    ###TheBackupHandle==C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL10\BACKUPSET\2007_11_06\O1_MF_NCSNF_TAG20071106T064915_3LZ7LRN8_.BKP
    RMAN> backup datafile1,2,3,4,5;
    C:\DocumentsandSettings\Administrator>mkdir C:\ORACLE\PRODUCT\10.2.0\ORADATA\temp\stdby4
    SQL> alter database create standby controlfile as '/temp/stdby4.ctl';
    SQL> create pfile='/temp/initstdby4.ora' from spfile;
    #Pfile Edited for The Physical Standby Database
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # SGA Memory
    sga_target=370147328
    # Job Queues
    job_queue_processes=10
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=stdby4XDB)"
    # Miscellaneous
    compatible=10.2.0.1.0
    # Security and Auditing
    audit_file_dest=C:\oracle\product\10.2.0/admin/stdby4/adump
    remote_login_passwordfile=EXCLUSIVE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=122683392
    # Database Identification
    db_domain=""
    db_name=orcl9
    # File Configuration
    control_files=("C:\oracle\product\10.2.0\oradata\stdby4\control01.ctl", "C:\oracle\product\10.2.0\oradata\stdby4\control02.ctl", "C:\oracle\product\10.2.0\oradata\stdby4\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.2.0/stdby4/flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Cursors and Library Cache
    open_cursors=300
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.2.0/admin/stdby4/bdump
    core_dump_dest=C:\oracle\product\10.2.0/admin/stdby4/cdump
    user_dump_dest=C:\oracle\product\10.2.0/admin/stdby4/udump
    # Processes and Sessions
    processes=150
    # Cache and I/O
    db_block_size=8192
    db_file_multiblock_read_count=16
    DB_UNIQUE_NAME=stdby4
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcl10,stdby4)'
    DB_FILE_NAME_CONVERT='orcl10','stdby4'
    LOG_FILE_NAME_CONVERT=
    '/arch1/orcl10/','/arch1/stdby4/','/arch2/orcl10/','/arch2/stdby4/'
    LOG_ARCHIVE_FORMAT=log%t_%s_%r.arc
    LOG_ARCHIVE_DEST_1=
    'LOCATION=/arch1/stdby4/
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=stdby4'
    LOG_ARCHIVE_DEST_2=
    'SERVICE=orcl10 LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=orcl10'
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=ENABLE
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    STANDBY_FILE_MANAGEMENT=AUTO
    FAL_SERVER=orcl10
    FAL_CLIENT=stdby4
    C:\Documents and Settings\Administrator>oradim -new -sid stdby4 -startmode manual
    Create Listener and Network Service Name for Standby Database.Stop and start listener(not need)
    SQL>create spfile from pfile='/temp/initstdby4.ora';
    C:\Documents and Settings\Administrator>set oracle_sid=stdby4
    SQL> startup mount;
    ORA-01078: failure in processing system parameters
    LRM-00109: ???????????????? 'C:\ORACLE\PRODUCT\10.2.0\DB_10\DATABASE\INITSTDBY4.ORA'
    Message was edited by:
    frank.qian
    Message was edited by:
    frank.qian

    you have now two different pfiles: one in c:\temp\initstdby4.ora. and %ORACLE_HOME%\database\initstdby4.ora.
    You are using the latter, as you didn't specify pfile= in your startup mount.
    Also, if you are using a spfile, the only line in a pfile should be: spfile=....
    In your pfile you are mixing up Unix like file locations with \ and Windows file locations with /
    Could you please read the docs
    more closely
    more closely
    more closely
    and work
    more carefully
    more carefully
    more carefully
    It is very simple, but you must work carefully.
    Sybrand Bakker
    Senior Oracle DBA

  • Creating firewire network betw Mac OS 10.3.9 and PC laptop 4 internetting

    Hi,
    I've gone over a few articles but haven't found the right one for my situation so I'm shouting this out.
    How do I create a network (using firewire) between my Mac G4 and my cousin's PC laptop (also has a firewire)?
    Secondly, how do I do so in order to enable her to access the internet from her laptop?
    I have high-speed internet from an RCA broadband box. When the company installed it they said that if I wanted to have other computers in the house access the internet that I should get some kind of router. I'm not ready yet (financially) to buy a router, though I do have a firewire cable (or two).
    Can someone please advise?
    Thanks,
    Sheila

    I know on the Mac side of it you do the following steps:
    1. Connect a FireWire cable to the FireWire ports on the computers you want to connect.
    2. Open System Preferences and click Network on the computers you are connecting.
    3. Choose Built-in FireWire from the Show pop-up menu.
    4. Click Apply Now.
    If you have a firewall on the Mac you also will need to enable Web Sharing or open Port 80 on the firewall.
    As for the PC side of it I don't know the steps, but what you want to do is make a network port configuration to allow the firewire port in, then set firewire to be the port on which the PC accesses the net.
    Hope this helps
    Internet Wiz
    Source, Mac Help, Search- Firewire.

  • Creating a Network

    Hi,
    I am trying to create a network between a Mac Leopard and Windows Vista. I think my Leopard version has a bug or something because when I try to delete a Location option, the system preferences crashes and appears a dialog box saying: ignore, report or relaunch. When I try to create a Guest user on the mac, it doesnt create any guest user...and it doesn't give an error either. Besides that in the Sharing List Options it doesn't say Windows Sharing.
    What do you recommend me, to erase and reinstall Leopard?
    Its all weird and Leopard shouldn't give so many errors. I ran the Leopard update already.
    Where can I find a step by step guide on how to create a network between a mac and a pc?
    Thanks for your time and help,
    Sylvia
    Message was edited by: sbrom

    See if this helps. First, a list of articles followed by a helpful tutorial:
    Basic Windows Networking and File Sharing for Leopard
    The following articles cover the basics for file sharing and printer sharing between Macs and Windows PCs (Leopard):
    Setting up a Windows computer to share files with Mac users
    Setting up a Mac computer to share files with Windows users
    Can't print to a printer shared by Microsoft Windows
    GUIDE to Networking Windows with OS X
    Cannot locate a shared Windows printer
    Problems with networked Windows printers_ workaround
    Setting up to print to a printer shared by a Windows computer via SMB
    Some of this information is also available through online help. Select Mac Help from the Finder's Help menu and search on the appropriate keywords.
    Simple guide to Leopard/Windows Home Networking
    Written by Intercepter121 and originally posted on the Apple Discussions here.
    If your network complies to the minimum requirements described below you should be able to share resources without any need to enter commands in the terminal to modify configuration files in your mac.
    Requirements
    1. A decent router
    2. Mac Os x 10.5.1 installed on your macs
    3. Windows XP or Vista
    4. Number of network devices <10
    5. Some network printers or drives (NAS)
    6. A decent ISP offering a good DNS service
    General Settings
    If your router offers DHCP and any of the device has power saving features there is a risk that the IP addresses are renewed. This can be problematic as the devices keep changing IP addresses. As this is your network is strongly recommended to reserve IP addresses to the MAC (Machine Address Code) of the various devices so that they can power on and off and still keep the same IP.This simple suggestion will greatly improve the browsing of the local network.
    Accessing Windows Resources from Leopard with no authentication
    Windows
    1. Check the settings of the PC and ensure the IP addresses on the local LAN are trusted
    2. Activate sharing on the desired devices ensuring the shares are read and write. If you use Vista ensure password protected sharing is disabled.
    3. Try to access the windows share from another windows computer if available to confirm no authentication is required
    MAC
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go back into system preferences network. On the tab location click edit locations. Duplicate Automatic and call the new location Home. Now select the Home location and go into Advanced-WINS. In the workgroup field enter the same value that is on the other windows computers for example HOME. Now press enter then go back to the main screen. Select Edit locations and delete the location automatic. Now edit your location Home and rename it Automatic. This workaround is a leopard bug described here.
    3. Give 5 minutes to allow all the other machines to broadcast their IP address and the other computers should appear on the left side of your finder window. You can now select the shares you want to connect. As no authentication is active if you are prompted with a user name just press OK.
    The procedure to access a NAS is the same as above, just ensure permissions are set to files are read/write for anyone to avoid confusion.
    NOTE: There is no need to activate SMB sharing if you don't want to allow the PC to read folders on your MAC
    Troubleshooting
    After you have followed all the steps you don't see any windows PC.
    Identify the IP address of the machine you want to connect. In finder select Option+K and enter SMB://IPADDRESS. If you can connect you have a name resolution problem. Go into your router configuration and ensure that the option DNS assigned by ISP is selected and you don't have services like Open DNS in use and fixed IP addresses in that field. Apply the changes and reboot the router. You should start seeing windows PC in finder shortly after.
    Your ISP DNS service is poor and you must use Open DNS or similar
    If you are forced to use services like open dns you have the risk that the router propagates the DNS servers to your machines. As the implementation of SAMBA in Leopard effectively blocks the MAC to be a master browser for performance reasons you end in a situation in which tiger machines connect and leopard ones don't see a single share. Let's fix it.
    1. Go into System Preferences->Network then advanced DNS if you see here the IP addresses of the open dns servers this is the case. Unfortunately you will be forced to change the hosts file.
    2.Ensure you have reserved IP addresses to all your machines so that they always get the same IP.
    3. Now login into your mac as administrator and go into utilities=>terminal.
    4. Issue the following command sudo pico /etc/hosts
    5. Now scroll down and enter all the IP addresses and computer names of any device you want to browse
    6. Reboot your MAC
    The windows devices will now appear in finder and you will be able to connect with Option+K.
    You cannot access shares even entering the IP address
    You have not reserved IP addresses to each machine. Go into your router LAN set up and make sure that is the case.
    Accessing Leopard resources from Windows
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go into System preferences->accounts and click on Guest flag the option Enable guest account to access shared folders
    3. Now into System preferences->sharing select file sharing and then options here flag SMB and select the user that has to be logged into the computer when the share has to be accessed. Ensure that the folder you want to share has read/write or whatever permissions you like it to have set for Everyone
    You should now be able to see your MAC in the windows network resources and access the shared folder with a double click without any password request.
    Troubleshooting
    You don't see any MACs from Windows
    Check the firewall settings at the start of this post. Then go back to the Network configuration hit advanced and then TCPIP check is using DHCP and not a fixed address. Then check the sharing is set as above with SMB clicked. If SMB is not set you won't even see your mac from windows.
    You see the MAC and the shared folders but you can't read or write on it
    Ensure you have set the guest account to access shared folders. Then check on the sharing preferences that there is at least one folder with read permission for everyone. The classic case here is Dropbox that leopard sets as read and write for the user of the MAC but no access for other users. You try to click on drop box and receive an error but when you actually try to write a file you can do it. Check the permissions on the subfolders of the share as those permissions will prevail on the home shared folders
    FAQ
    You may want to do more complicated things, but first ensure you can actually share files without security in place so you can identify the root cause of your possible problems
    I want to password protect my windows shares: once you have done the relative set up in windows vista and ensured you can connect from another windows machine you will need to use user name and password of the Vista user to connect.
    I want to password protect my MAC shared folders: Go into user account and disable guest access to shared folders is no shared folder has to be accessed without password otherwise leave it checked. Create a new user for sharing (better than giving away your password) so that this user only accesses the folders you want to share. In System preferences network select file sharing SMB and flag only the new user you have defined. Then go back to the folder section and set the permissions you like on the folder you want to share for this newly defined user.
    Good Luck

  • 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

  • Steps to create LOGICAL DATABASE in sap

    hi guys,
    i have gone through many documents about LDB. But, i didnt get the steps to create a LDB.
    plz provide me with the steps to be followed to create a LDB.
    thnx,
    shivaa.

    Hi Shiva,
    This might help you!
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1. Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2. Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3. Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4. Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Watch out!
    The use of very large tables will degrade the performance of a logical database, so be aware of that trade-off. Remember that some tables in SAP are very complex, so they will be problematic in any user-defined logical database.
    Declaring a logical database
    Hereu2019s another surprising feature of logical databases: You do not assign them in your ABAP/4 Code. Instead, the system requires that you specify logical databases as attributes. So when you are creating a report, have your logical database identifier (the name you gave it) on hand when you are defining its attributes on the Program Attributes screen. The Attributes section of the screen (the lower half) will include a Logical database field, where you can declare your logical database.
    Logical databases for increasing efficiency
    Why else would you want to create a logical database? Consider that the logical databases already available to you begin with a root node and proceed downward from there. If the data object you wish to construct consists of items that are all below the root node, you can use an existing logical database program to extract the data, then trim away what you donu2019t want using SELECT statementsu2014or you can increase the speed of the logical database program considerably by redefining the logical database for your object and starting with a table down in the chain. Either way, youu2019ll eliminate a great deal of overhead.
    Reward if useful.
    Thankyou,
    Regards.

  • How do I create Local Network Home Folders for Users from an Active Directory binding?

    My situation is this... I run an iMac lab at my school.  I have a server set up to manage the network user accounts in the lab.  Currently, I can sucessfully create Local Network Users and log in to them from any of the iMacs.  My school has an Active Directory set up for all the students on campus.  What I'd like to be able to do is configure the server to allow the students to use their user names and passwords from their school accounts to log in to the iMacs and have it automatically build a network user folder on the server for them to use during the lab. 
    So far, I have been able to configure access for the Active Directory accounts to use the services on the server, mainly File Sharing, but I cannot figure out how to allow them to log into a user account on the client's machines using their same Active Directory credentials.  I have even attempted to allow the user accounts to create mobile accounts, but that's not working out either.  Entering indivual network user accounts into the server for every student every semester will be a nightmare.  I'm sure there's a way to do it automatically using the exisitng Active Directory structure.
    The live server is running 10.8.5 Server still, but I've also got a clone running OS X Server in case it matters.  Please help!

    ok reinstalled everything dns seems to be working have done sudo changeip -checkhostname and it says that both names match but then i started open directory and can't seem to get Kerberos started, i've tried changing it to stand alone then back again but it does nothing. I'm wondering why this would happen? i've tried adding a kerberos record but it doesn't do it just does nothing so i don't know what i'm doing wrong. I wondered if it might be a problem with the two network cards and dns as on ethernet one it is getting the dns name xserve.xxxx.ac.uk (which matches what the college server wants to call us) but on ethernet 2 gets xserve-2.local because it tells me that it already exists on ethernet one and renames it to this. I need to set up NAT so have ethernet coming in on port one and out again on port two. I wonder if my dns is backwards as its got the 192. address the NAT uses but its linked to the ethernet port one dns maybe this is the problem. would this cause open directory not to start kerberos?

  • Can I create a network object from CIDR format or do I need to use IP - netmask?

    Have a cisco ASA running ASA V 8.3
    Wondering what the correct syntax is or even if it is possible to create a network object from a list of IP's in CIDR format? 
    Typically just do this:
    Create network-object
    object-group network name
    network-object 1.2.3.0 255.255.255.0
    Would like to do this: 
    network-object 1.2.3.0/24
    thanks!

    Hi,
    As far as I know the ASA does not support entering a network/subnet mask in such format in any of its configurations.
    - Jouni

  • What are the basic steps for creating a content repository?

    I am trying to create a document store on a file system (fsdb) that will hold files that are ftp's to that location. Is this possible using KM? If so, what are the basic steps for creating a file system repository and using it through KM? I have found stuff on help.sap.com but that only tells you what each component does not what actual steps need to be taken to setup KM, such as user rights , creating an entry point, so that all of KM is not visible, etc...
    If anyone knows of any guides that show a step by step process that would be great too.
    Thanks
    Paul

    Hi Paul
    First of all you need to create a new repository
    Suppose you want to add all the documents under folder Paul under C: Drive
    (Even you can put whole documents of C: drive into Paul)
    Navigate to System Admin -> System Configuration -> Knowledge management -> Content Management -> Repository Manager -> File System Repository
    There you can create a new directory by clicking on button New
    Give the parameters as follows :-
    Name               :           Anything you like
    Description       :           Anything you want
    Prefix (must start with /)  :  Probably same as your repository name like \Paul
    Lookup mode : caseless
    Root Directory   :  C:\Paul
    NOTE:  This is the trick. You need to give the proper path means folder path which you want use as repository)
    Repository Services  :  Any services you want
    Property Search : Managercom.sapportals.wcm.repository.manager.generic.search.SimplePropertySearchManager
    Security Manager         :           AclSecurityManager
    ACL Manager Cache   :           ca_cm_rep_acl
    The save it
    Now see whether the same repository is coming under KM Content or not, if not may be after restart it will come.
    I think the above information will help you. If still you have problem, please feel free to contect me.
    Regards,
    Chamkaur

  • Error in Solution Manager 4.0 Installation u0096 Step 32 Create JAVE users

    Hi All,
    I am installing Solution Manager 4.0 on WIN server 2003 & Oracle10g. The installation has been successful so far but at Step 32 (Create JAVA users) the installation errors and the error log is as follows:
    ERROR 2016-09-10 06:39:28
    CJS-30197  . For more details see output of logfile:
    ERROR 2016-09-10 06:39:28
    FCO-00011  The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|2|0|createJSF was executed with status ERROR .
    Critical Error
    Launching program failed
    -> Invalid JDK (rc = -17)
    Entries in the log file (UserCheck.log)
    Critical Error
    Launching program failed
    -> Invalid JDK (rc = -17)
    The Java version I’m using is - j2re1.4.2_12 – windows.
    Any guidance will be appreciated
    Thanks
    Frank

    Dear all
    use j2re1.4.2_16 – windows.
    case1-if sapjsf user not craeted  login to 001 clint with sap* delete
    case2- if sapjsf user not craete a sapjsf user createand then  delete  
    agin proceed
    i am trouble this problem within week
    but at last complte of the installation
    thanks
    regards
    venkat

  • Airport has stopped working -- Now Can't Create a Network

    We're using a wireless router (not an Apple AirPort router) to connect to the internet. We've had connections before, but now this has simply stopped working.
    In the past, I've solved this problem by just creating a new network and connecting to that. That seemed to get the connection back.
    Now, I create a network in Preferences > Network > Airport, but it doesn't show up in Internet Connect > Airport, or under the Airport in the menu bar.
    When I try to connect to it using "Other" I get the message "There was an error connecting to the network XXXXX".
    When I click on "Create Network" in Internet connect, it only gives me an option to create a computer-to-computer network.
    Ethernet connection works fine. This is on a PB 12" / 10.4.11
    Any suggestions most welcome.

    Reset the printer back to Factory Defaults and check the wireless radio again. It needs to be enabled.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Steps to Create Project in Solman using ASAP methology

    Let me know steps to create new project in SOLMAN using ASAP road map.

    Hi Gajanan,
    Kindly read the below pdf
    https://websmp204.sap-ag.de/~sapidb/011000358700000916032011E
    Also the below one which provides more details
    https://websmp204.sap-ag.de/~sapidb/011000358700000414462011E
    https://websmp204.sap-ag.de/~sapidb/011000358700000414522011E
    Also, roadmap needs to be assigned in solar_project_admin where you create your project as per above documents with proper flavor as shown below.
    Thanks
    Prakhar

  • Steps to  create variant configuation dependencies code

    Hello Guru's,
    steps to create variant configuration dependency using code?.  will anyone guide me.

    Check the below links.
    Variant Configuration (LO-VC)
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf]
    Variant Configuration for an Order BOM
    [http://help.sap.com/saphelp_ides/helpdata/en/0a/857463c87611d1a7760000e8a5f6c8/content.htm|http://help.sap.com/saphelp_ides/helpdata/en/0a/857463c87611d1a7760000e8a5f6c8/content.htm]
    [www.sapmmforum.blogspot.com/2007/10/variant-configuration-for-order-bom.html |www.sapmmforum.blogspot.com/2007/10/variant-configuration-for-order-bom.html ]
    Steps for SD Variant Configuration
    [www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm|www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm]
    Steps for Variant Configuration & Pricing
    [www.sap-basis-abap.com/sd/steps-for-variant-configuration-and-pricing.htm|www.sap-basis-abap.com/sd/steps-for-variant-configuration-and-pricing.htm]
    [www.sapsdforum.blogspot.com/2007/10/steps-for-variant-configuration-and.html |www.sapsdforum.blogspot.com/2007/10/steps-for-variant-configuration-and.html ]
    Hope this helps. Reward points if helpful.
    Thanks,
    Balaji

  • Steps to create  service in   SICF   transaction

    hi..
    steps to create  service in   SICF   transaction
    thank you.

    hi
    good
    go through this link
    http://help.sap.com/saphelp_nw70/helpdata/en/78/9852aec06b11d4ad310000e83539c3/frameset.htm
    thanks
    mrutyun^
    null

  • Steps to create f4 help for a table

    steps to create f4 help for a table

    These are the steps you have to take first:
    1. Please elaborate, your question does not all too clear.
    2. Search on SCN.
    3. Search on help.sap.com (for creating F4 search help).
    I guess you get the picture. Creating an F4 help is quite easy (you can find that on SCN for sure), but what do you mean by
    for a table
    1.Do you want to create a field which has an F4 help for searching tables or
    2. is this field part of a table and you need to have a search help for that field of that table in order to select some sort of value
    3. Is this a custom table.
    4. Is this a custom field for which F4 help should be added.
    5. Won't a domain value do.
    6. etc.

Maybe you are looking for

  • The bookmarks sidebar will not show bookmarks. Even if I import them or restore them. In the menu bar they show up fine. How can this be fixed?

    If I open the bookmark's sidebar it's empty. If I use the Menu Bar, the bookmarks are all there. I tried importing them from Internet Explorer but they still do not show up on the sidebar. I also tried restoring but they still don't show in the sideb

  • Property Inspector for Locked Content Doesn't Set Content Dirty

    I have a property inspector for my locked content. When the user sets a new value in the inspector, the orig attribute of the MM:BeginLock tag is updated appropriately. Unfortunately, Dreamweaver doesn't see that change as having modified the documen

  • Live Upgrade not working from Solaris 10 05/09 - 10/09

    I have a Blade 1000 that used to run SXCE, and I used to LU all of the time. I recently rejumpstarted it back to Solaris 10 05/09 to match production. Now that 10/09 is out, I went to do a normal LU, however it completely bombs out. I'm assuming it's

  • Name of actual command file

    Hi, is it possible to find out the filename of the actually executed command file started with @ in sql*plus 8.1.7 ? Like Unix $0 but as far as I know Oracle doesn't offer something like that. Maybe somebody knows a better workaround than hardcoding

  • Show on click evert

    I have 3 radio buttons that I would like to tie to a textbox and fill it in when clicked. I was thinking something like if radiobutton = true then textbox.text = "you clicked one" & textbox2.text = "you clicked one" if radiobutton2 = true then textbo