Wednesday, February 4, 2009

Note 1045639 - Consulting notes in SNP/CTM

Note 1045639 - Consulting notes in SNP/CTM

Summary

Symptom

This note is used as a composite SAP note for consulting notes in the SNP/CTM environment. The note refers to individual notes in the separate areas, thus helping you to locate particular notes.

Other terms

Heuristic, Deployment, Safety Stock, Optimizer, Capa View, CTM, Interactive Planning, VMI, Macro, TLB, Capacity Planning, SNP, tips, tricks, FAQ, consulting.

Solution

The various areas in which individual consulting notes are referred to are listed below.

    1. General


Guidelines for note searching in SCM-APO-SNP and SCM-APO-SDM
Note 797264

Release Restrictions for SCM 5.0
Note 832393

    2. SNP-Heuristic


Periodic Lot Sizes in the SNP Heuristic
Note 503109

Using net change planning in SNP heuristic
Note 654235

Adjustment of variants after implementing note 533926
Note 539279

Scheduling logic in the SNP Heuristic
Note 1045636

Heuristic and automatic parallelization
Note 961273

Performance: Tips for improving heuristic performance
Note 991089

Results with direct delivery in the SNP heuristic
Note 912887

Missing unit of measure conversion in the product master
Note 781597

    3. SNP-Interactive Planning


Assignment of users to planning books/data views
Note 445837

Timestream Generation Error
Note 487776

Displaying detailed information in the lower grid
Note 445837

MRP areas in Interactive Planning
Note 663420

    4. SNP-Macros


Generation of Alerts with Exit Macros during a Planning Run
Note 958156

Deletion of not used links to a macros book
Note 359985

Buffering of master data in the SNP
Note 663731

    5. SNP-Deployment Heuristic


Deployment and automatic parallelization
Note 961483

    6. SNP-Optimizer


Locking issue in SNP Optimizer and Deployment
Note 960579

Optimizer provides unclear results
Note 420650

    7. SNP-Deployment Optimizer


Deployment Optimizer ignores reqmts, ATD quantities
Note 701438

    8. SNP-Transport Load Builder


TLB and automatic parallelization
Note 961488

Switching from old to new TLB planning
Note 707828

    9. SNP-Aggregation and Disaggregation


Reports to support standard SNP Hierarcy
Note 992948

    10. SNP-Safety stock Planning


Safety stock is ignored
Note 708910

    11. SNP-Miscellaneous


Values from auxiliary key figures are not extracted
Note 837004

Buffering of master data in the SNP
Note 585382

System upgrade and new installation
Note 722695

Deleting a planning version
Note 663420

    12. Capable to Match


FAQ : Capable-to-Match (CTM) planning
Note 855229

    13. User exits and BAdIs


BAdI Info for Modifying Optimizer Input and Output
Note 542145

CTM: BADI for influencing substitutions
Note 452427

Header Data



Release Status:Released for Customer
Released on:29.11.2007 17:11:56
Master Language:English
Priority:Recommendations/additional info
Category:Consulting
Primary Component:SCM-APO-SNP Supply Network Planning (SNP)
Secondary Components:SCM-APO-SDM Multi-Level Supply & Demand Matching

Affected Releases

Software
Component
Release
From
Release
To
Release
And
subsequent
SAP_APO
30
30A
30A
SAP_APO
310
310
310
SCM
400
400
400
SCM
410
410
410
SCM
500
500
500

Related Notes




1040766 - Order created although the cancel button from the sos popup.

1033990 - Need to write twice for inserting new value into SNP grid.

1020351 - Macro function: Z_IS_KEYF_HIDDEN_BY_USET (consulting)

996179 - Shipment, Delivery, Demand, Availability on the same date.

993429 - SNP Heuristics not respecting Safety Stock

993283 - Restrictions for external procurement based on contracts

992948 - Reports to support standard SNP Hierarcy

992619 - Standard 9ASNP94 macro's are corrupted

991089 - Performance: Tips for improving heuristic performance

985192 - Message /SAPAPO/SDP_DEP003 generated by background TLB.

982118 - Transporting report variants with planning version field

972383 - Transaction /sapapo/MAP_TSER, deletion of entries impossible

962984 - The planning quantity of forecast in the reduction process.

961488 - TLB and automatic parallelization

961483 - Deployment and automatic parallelization

961273 - Heuristic and automatic parallelization

961043 - Consulting: Fixing order in the case of qty change (BADI)

960941 - Performance: delta queues level 2 are not deleted

960579 - Locking issue in SNP Optimizer and Deployment Optimizer

958156 - Generation of Alerts with Exit Macros during a Planning Run

928972 - Don't check master data changes in SNP interactive planning

912887 - Results with direct delivery in the SNP heuristic

909974 - Consulting: Use of VEC_* macrofunction in SNP

907039 - Planning book 9ASNP94_INTERACT: Macro DRILL_DOWN/DRILL_UP

904794 - Exit alert macro's are not generated after planning run

904588 - Integration of Purchase Orders Based on Contracts

890861 - SNP interactive: Change/create delivery schedule lines

886075 - Report /SAPAPO/SJKTST04 can be used just for test purposes.

883441 - Create SNP Fixed orders from CTM Supply Demand Assignment

879339 - Customer-specific source of supply check in interactive SNP

859838 - VMI: Initial col of key fig "Intransit receipts" changeable

858794 - Aggregated planning: Planning book for all SB methods

855229 - FAQ : Capable-to-Match (CTM) planning

850782 - Fixed Material Consumtion.

838354 - Capacity variants of resources in SNP (APO 3.x)

837004 - Values from auxiliary key figures are not extracted

833780 - CONS_CHECK: Inactive PPMs

830673 - AMON: Some consulting issues when handling alert monitor

827549 - Storage resources and the capacity view

826285 - SDP/DP: Layouts for SDP/DP alerts are lost

822317 - Consult.:Change cell attributes in SNP horizon using macro

819017 - TSM219 error when creating orders in SNP

817446 - Consulting: Display of units of measure in the interactive S

814665 - SNP propagation logic

810198 - SNP optimizer: Transportation costs

808606 - Setting a default setting for shipment priority

797865 - Wrong total values in the TLB log

793023 - Lot size planning and decomposition

781817 - Deleting a planning version

781597 - Missing unit of measure conversion in the product master

774236 - SDP selector: BAdI '/SAPAPO/SDP_SELECTOR'

771643 - Display MTO production and/or forecasting w/o final assemb

755487 - Consulting Note: Keyfigure adjustments and macro's

751556 - Create TS Objects: message /SAPAPO/OM_TS701

750259 - No detailed information after "Dep. objects" dislayed

732698 - Interchangeability and SNP optimization

729746 - MacroBuilder: Creating macros for two grids

727719 - Capacity variants of resources in SNP

722706 - SNP: Calculation of resource consumption of stock transfers

722695 - System upgrade and new installation

719494 - Macro Workbench: Incorrect macros books

712593 - CTM Master data and Order selection convertion

708910 - Safety stock is ignored

707828 - Switching from old to new TLB planning

704651 - Consulting: Line display with several sources of supply

703361 - Safety days' supply and SNP optimizer

701992 - SCM 4.1 consulting: Macrofunction stock_balance_opt()

701438 - Deployment Optimizer ignores reqmts, ATD quantities

699104 - Start SNP interactive planning with authorization concept

692369 - Global SNP settings could not be read

687074 - Macros: General notes on fixing with macros

684946 - Release of constrained forecasts from SNP to DP

674239 - MacroBuilder: Automatic column adjustment

674238 - MacroBuilder: Start, final, level change and default macros

663731 - Coloring of a horizon using a macro

663420 - MRP areas in Interactive Planning

660194 - RLCDELETE does not delete the selected orders

654235 - Using net change planning in SNP heuristic

646738 - SNP standard planning book for safety stock planning

643517 - Macrobuilder: Fixing key figures with a macro

640240 - MacroBuilder: writing and reading key figures in one step

631499 - Using the user function Macro

631351 - Add key figure details to a planning area

630751 - RLCDELETE Stocks not deleted

629455 - No assignment could be found for toolbar for function

620029 - Safety stock methods of the Optimizer

619478 - Goods receipt and goods issue times in CTM

617567 - Prerequisites for the extended safety stock planning

615659 - Consulting: Units of measure aggreg. data in interactive SNP

611991 - Redesign of capacity leveling: Use in APO 3.1

602067 - Interpreting negative safety stocks

599309 - Data extraction: Error message "Invalid period"

598944 - COPT10 Parameter list

597651 - Reading and planning period in interactive TLB

589918 - Auxillary areas in macros not saved consistently

588042 - RLCDELETE: Report variants cause inconsistencies

587407 - Optimization-Based Planning in SNP: The System Steps

587251 - Prerequisite for the "RemoveRedundantMaterials" parameter

585382 - Buffering of master data in the SNP

579556 - Taking shelf life into account with SNP optimizer

579373 - SNP & deployment optimization consulting

578352 - COPT10 parameter for the "Do not delete orders" parameter

577038 - Data inconsistencies in SNP

574321 - SNP does not support any shelf life

567569 - Performance: Planning book, date view, macros

564702 - Capacity Leveling Redesign: Use in APO 3.0

555474 - Small Interface description for BAdIs in optimization

554678 - Store more than 99 log files

549617 - Cycling and Safety Stock

544877 - Storage cost handling

542641 - Input-log: Extended Description for Table ET_RESINI

542145 - BAdI Info for Modifying Optimizer Input and Output

542141 - Initial Stock and Planning Book

539818 - Significance of the field 'Checking horizon' in the SNP

539279 - Adjustment of variants after implementing note 533926

528913 - Lock R/3 data transfer during SNP, CTM, PP/DS planning

521639 - Generation of DB Alerts in Background

515798 - Manual Creation of Orders with Identical Quantities

515053 - SNP94(2) Unable to drill down to PPM details from header.

514947 - Direct processing of SNP stock transfers with the TLB

511883 - Re-Store resources in liveCache after time zone change

511782 - Information about transport lot sizes in the optimizer

510559 - Input Log: Procurement Type and Field FPERF

510339 - Optimizer gets wrong available capacity

510012 - Result log: Planned production

509809 - Input Log: Available resource capacity

509732 - Info. About Optimizer Input and Result Log Files

507810 - BW Reporting with SNP RemoteCubes

506802 - Displaying detailed information in the lower grid

504253 - SNP: Standard Methods of Safety Stock Planning

503294 - Info on Optimizer Production Lot Size

503222 - Info on Optimizer Production Order Splitting

503109 - Periodic Lot Sizes in the SNP Heuristic

497059 - AMON: Missing of header and alert icons for SDP profile

495166 - Tips and Tricks for Handling Alert Monitor

493258 - SNP94(2) Macro performnace increase on display dependent

487776 - Timestream generation error

487755 - Project solution for Network Design

485018 - Info on the Performance of the Optimizer

481707 - SNP deployment / optimizer planning horizon

455139 - Use of the HOTSPLIT function

454433 - SNP Optimizer Profile - Long runtime in solution calculation

454418 - SNP Optimizer: Info on Fix Resource Consumption

454194 - Optimizer does not create any log files

453644 - No use of navigation attributes in SNP

448986 - Information About Optimizer Lot Sizes

447687 - /SAPAPO/SNPBLG Backlog report not supported in 3.0A

445837 - Assignment of users to planning books/data views

441102 - Consulting notes in PPDS

440965 - Version copy (including time series) terminates

434197 - The Bucket Offset

433166 - MacroBuilder: Use of DRILL_DOWN, DRILL_UP functions

431845 - /SAPAPO/SDP_SELECTOR : Set default values in Shuffler

431653 - Documentation: Settings for the product view in SNP

428147 - Extraction of data from an SNP planning area

426806 - Memory/performance problems during data extraction

420650 - Optimizer provides unclear results

418801 - Creating a user exit macro

416489 - Resource alerts cannot be generated

412551 - Forecast horizon and requirements strategy ignored

412429 - Defining jobs with macros

403072 - Macrobuilder: Documentation/use of new macrofunctions

401830 - Display <=> Change in Interactive Planning

399508 - SDP selector: BAdI '/SAPAPO/SDP_SELECTOR'

398003 - Forecast in the first forecast is ignored

392911 - Problems when order quantities are assigned to key figures

391544 - SNP propagation: mixing priorities and quota arrangements

390055 - Mass processing: Alerts are not generated

386148 - Scheduling in SNP heuristic

381467 - Consulting: Equivalents of TLB transports in OLTP system

378229 - Time dependent target days supply in SNP

377497 - Sample source code for BadI /SAPAPO/SDP_SELECTOR

376727 - Auxiliary key figures in SNP planning areas

376383 - Selection Management in DP/ SNP

374837 - Planning object could not be determined

374751 - Aggregated display of planning data: locations and products

374748 - No values in Target Stock, Safety Stock in aggregated view

374672 - UoM when selecting multiple location products

374534 - Generated export DataSource not visible

374375 - Use of time-dependent target days' supply

373756 - Data extraction from a planning area

372741 - Converting SNP to PPDS for BAPI orders

371255 - SDP selector: No valid planning version selected

369921 - Subcontracting and SNP

361633 - DP/SNP: Required notes after Support Package 7

359985 - Deletion of not used links to a macros book

359552 - Advice: Data Transfer SNP --> DP for fixed values

335528 - Implementation of a note into a generation template

333243 - Analysis of faulty defintion and execution of macros

332812 - Inconsistencies in selection/notes management

328406 - Customer enhancement pre/post days supply

198557 - Why capacity levelling might not work

196773 - Warehouse stocks in interactive planning SNP

180123 - SNP Optimizer: Error /SAPAPO/SNPOPT 013

172373 - Display SNP cap. plan: Errors /SAPAPO/SNP041

157930 - Note on entry of error messages

155015 - SNP: Calender of resources and timestreams

143756 - Poor performance 2

143720 - Values are multiplied by number of decimal places

118521 - Livecache reading errors

Note 830673 - AMON: Some consulting issues when handling alert monitor

Note 830673 - AMON: Some consulting issues when handling alert monitor

Summary

Symptom

It is sometimes difficult to handle alert monitor either as standalone or in the applications.

Other terms

/sapapo/amon1

Reason and Prerequisites

Consulting issue

Solution

This note is the extension of the note 495166. While note 495166 deals mainly with the releases APO 3.0 and APO 3.1, this note will consider the releases SCM 4.0 and higher. An overview of common problems met while dealing with alert monitor will be discussed in details.

    1. Alert Monitor Settings/Profiles

In order to maintain the alert monitor profiles/settings, you have to start either the transaction /SAPAPO/AMON_SETTING.

      a) Releases APO 3.x

General information about maintaining the alert settings and alert profiles are detailed in the note 495166.

      b) Releases SCM 4.x

As of release SCM 4.0, the alert monitor has changed its face. Starting the transaction /SAPAPO/AMON_SETTING, the user will land in a screen with both the setting part and the profile maintenance part. The field 'Settings' used in APO 3.x was replaced by 'Overall Prof'. The overall profile includes all selection criteria for alerts.

  • Alert Overall profile:
    • specify the name in the 'Overall prof' field (short text and long text),
    • specify the time intervall (relative or absolute),
    • select the required planning version (you can use the F4-help functionality)
  • Alert profile:

Maintenance:

    • choose first the application for which you need to generate the alerts by clicking on the corresponding tab,
    • define the name of the alert profile (short text and long text)
    • select the required alert types and if necessary the threshold values,
    • define the planning objects to filter the alerts: For details, please refer to note 495166

MSP: define the resources, locations, resource utilisation, and maintenance objects.

VMI: define the products, and locations.

others: see note 495166

Restrictions

    • In order to see SDP DB alerts or SDP dynamic alerts for the given planning book without specifying the data view, it is required to create an empty entry in the "Database alerts" or "Dynamic alerts" areas when you maintain your SDP alert profile. Otherwise, no alert will be displayed.
    • After you have maintained your alert profile (any), you should display alerts by clicking on the button 'Redetermine Alerts'. If you make any change in the alert profile (e.g. define new objects) and redetermine alert directly, no alerts will be shown for the new changes. In order to see alerts for these changes, you have first to save the alert profile or save again the overall profile.
    • If the 'SAP R/3' tab is not displayed from the transaction /SAPAPO/AMON_SETTING (in this case you cannot maintain the R/3 alert profile), please connect your APO system to appropriate R/3 system release 4.6C or higher. The note 813923 provides more details on this issue.
    • While maintaining the selection of objects (locations, products, resources, location products, ...), you are requested to define the 'Selection option'. If some objects have to be excluded from the selection, please never select 'Not Equal to' in the tab 'Select', but 'Equal' in the tab 'Exclude from Selection' to meet your expectations.
  • Alert types:

The existing alert types are well described in the note 500051.

  • Favorite management: You can maintain (if you have valid authorisation) some overall profiles as your favorites. They will be available for selection when your directly access the alert monitor (transaction /SAPAPO/AMON1).

N.B. : If there exist many overall profiles in the system, it may happen that the user cannot maintain a profile as favorite due to the fact that he cannot access it since the scrolldown function doesn't work. In this case, it is recommended to apply the instructions contained in the note 809608.

  • Assignment of substitutes: You can also assign favorites to other users for substitution. Click on the button 'Assign Substitute (Shift+F7)' -> click 'Append row' -> fill required entries.
  • Adoption of substitution: If some one has assigned you some of his overall profiles as substitution, you have to adopt them in order to see them in the list of substitutions when you access the alert monitor (transaction /SAPAPO/AMON1). Click on the button 'Adopt Substitute' -> Drag and drop the data from 'Assigned overall profiles' to 'Adopted substitutions'.
  • Deletion of overall or alert profiles: you can delete your profiles using the appropriate offered button for deletion.

N.B.: Transporting alert setting or overall profile or alert profile from one system to another is not supported.

    2. Generation of alerts
  • Releases APO 3.0, 3.1 and SCM 4.0

All dynamic alerts are generated interactively. Database (DB) alerts can be generated interactively as well as in background.

Dynamic alerts are generated while running the alert monitor. Note that in order to generate the SDP dynamic alerts, the corresponding macros have to be defined as 'default macros' in the MacroBuilder (please check note 495166 for details).

DB alerts are generated either in the application (ATP, Vehicle Scheduling, PP/DS) or by executing the macro either interactively or via background job. Please take care of the note 521639.

  • Releases SCM 4.1 or higher

All alerts (dynamic & DB alerts) can be generated in background.

DB alerts are of course generated (as in SCM 4.0) either in the application (ATP, Vehicle Scheduling, PP/DS) or by executing the macro either interactively or via background job. Please take care of the note 521639. Dynamic alerts are generated directly when being determined (read).

By scheduling the program /SAPAPO/READ_ALERTS_BATCH , you can determine and save dynamic & existing DB (generated as described above) alert situations, which you can call up and process at a later point. Note that if there exist no DB alert on database, the above program will show no saved alert situation. To display the alerts determined by this report in alert monitor (transaction /SAPAPO/AMON1), please don't click on the button 'Redetermine alerts'. You have rather to select the overall profile (which you have set up for alert determination in the background) using the context menu available for 'Saved alert situations'. The system display automatically the selected alerts.

Before you run the program /SAPAPO/READ_ALERTS_BATCH , you have to configure the overall profile for alert determination in background.

If you prefer that this program determines the alerts regardless of their due date, you have to set the indicator 'Ignore Due Dates'. Otherwise, the settings defined while configuring the overall profile for alert determination in the background will be considered, which to non-determination of alerts.

Configuring Overall Profiles for Alert Determination in the Background

    • Define first the overall profile to display alerts
    • While in alert monitor (transaction /SAPAPO/AMON_SETTING) go in menu bar -> Goto -> Alert Determination in the Background.
    • In the popup, choose 'Generate new profile' button, select mit f4-help the desired overall profile and fill all required fields (Priority, Start date, Start time, time intervall the alerts will be generated) and if necessary give the email or the directory at which alert will be sent.
    • choose 'Confirm Profile' button and save the data.

If the alerts have been determined this way, the user will see the additional field 'Saved alert situations' in front of the field 'Favorites' when he runs the transaction /SAPAPO/AMON1.

As in SCM 4.0, DB alerts have to be generated in the usual way, i.e. interactively or via a batch job before running the program /SAPAPO/READ_ALERTS_BATCH.

  • Some known problems:
    • A selection created with grouping characteristics 'APO-RESOURCE with selection criteria APO-LOCATION and APO-RESOURCE is loaded in Interactive Planning. When you execute the appropriate macro to generate alerts and then display them in alert monitor, you see that the name of location is not shown. However, if the macro run in the background using a job with the same selection under aggregation level APO-LOCATION and APO-RESOURCE, the location name appears in alert monitor

solution: In order to see location name for the alerts generated in Interactive planning, you have to perform a drill down on location before you execute the macro.

    3. Alerts in Alert Monitor Standalone

Alert Monitor Standalone was designed to help the planner to filter alerts with respect to a time intervall and required planning objects as well as alert types for which he wants to see alerts. It is no surprise that no alerts are displayed in alert monitor standalone while they are shown in the application. To get alert in Standalone, you have first to maintain required settings (see above).

  • Some known problems:
    • Customer specific fields are missing in ALV alert display structure: Please use the BAdi "SAPAPO/AM_ALERTLIST" to add them. The implementation will be done in the method "MODIFY_ALERTLIST" of the interface "/SAPAPO/IF_EX_AM_ALERTLIST".
    • Show User-specific PP/DS alert types in alert monitor: These types of alerts can be implemented via the BAdi "SAPAPO/AM_ALERTLIST". The implementation will be done in the method "READ_CUSTDEF_PP_ALERTS" of the interface "/SAPAPO/IF_EX_AM_ALERTLIST".
    • Alerts are shown in interactive planning (/SAPAPO/SDP94) but not in alert monitor standalone (/SAPAPO/AMON1): In interactive planning, whatever what selection profile you use to load the data in the planning book, the alerts are found since the system considers just the data as loaded in the planning book. However, in alert monitor standalone, the selection id defined in the alert profile plays a big role. The alerts will be shown depending on the objects defined in the selection id and the aggregation level defined in the job when generating the DB alerts. For instance, in case of resource, it is strictly necessary to use a selection id that has resources only. If the selection id contains also locations for instance, the system tries to find alerts linked to the location resource for which for which there are none because the alerts are on the resource level only.
    • Alerts are generated but cannot be displayed in ALV grid: Check if there is a filter criterium in the layout which doesn't match with the existing alerts.
    4. Alerts in Applications

When alert monitor is called from application, it is expected that more alerts will displayed than in standalone since not all filtering condtions defined in the alert monitor setting and alert profile maintenance are not considered, mainly the defined time intervall and the selected objects (location products, resources, etc...). The alerts are determined if the alert profile is assigned to the application.

  • Detailed Scheduling Planning Board (DSPB)
    • unexpected alerts are shown in DSPB: please refer to note 374307 and 518945
    • Alert determination uses propagation range: the objects displayed in the alert monitor are impacted by the propagation area. The current design is that all objects defined in the work area and in the propagation area are passed to the alert monitor. This is so in the standard and can not be changed without changing the behaviour at the other customers. The aggregation of both the work area and the propagation range is passed to the alert monitor and causes the bad performance. But, to reduce the amount of data passed to the alert monitor, you should use the BADI /SAPAPO/CDPS_AMOFILT to filter the data. (For more details see also note 518945). All aggregate resources, products and orders are passed to this BADI, where they can be changed, added or deleted. To determine the objects of the propagation area use function module /SAPAPO/IFPL_PROP_AREA_GET; for the work area use /SAPAPO/EINT_SELECTIONS_GET; see /SAPAPO/EFPL_ALERTMON_HANDLE. You could delete all objects not included in the work area. The notes 481455 and 611217 should also be interesting for you.
  • Interactive Planning
    • If you need to generate resource alerts in interactive planning for a selection profile with grouping characteristics 'APO-RESOURCE' and selection criteria containing APO-LOCATION, you have first to perform a drill down on location before you execute the corresponding macro in order to see the location in the generated alerts. Otherwise, the alert will contain no location name/description.
    • Performance problem occurs while executing the alert macro: Check if both Database and dynamic macros are defined as default. Database macros should not be assigned as default.
    • Generally, only alerts which lie within the planning period will be displayed in interactive planning. If thus your planning period for the future begins with the today's day and you use no planning period for the past, then Alerts valid for the past will not be displayed in interactive planning. During the reading of the Alerts in interactive planning as a period always the starting and end date of the planning period are considered. Alerts outside of these data cannot be shown.
    5. Deletion of alerts
    • Alerts with status are also stored in the database table /SAPAPO/AM_FLAGS. If you run alert monitor (standalone or from application), alerts, whose time in days since their status was set is greater or equal to the one defined for the user-parameter /SAPAPO/ASTAT_DAYS, get automatically deleted, provided that the notes 943065 and 946559 are implemented in the system. If the parameter is not maintained, the default value of 14 days is considered.
    • After the note 840315 is applied in your system, the entries on database /SAPAPO/AM_FLAGS will be also deleted if the corresponding entries on database /SAPAPO/AM_ALERT are deleted either by macro or by the report /SAPAPO/AMON_REORG, or when deleted directly from alert monitor window.
    • If a user has only display authorisation, he is allowed to display and manipulate alerts for his favorites. Therefore, he can delete, acknowledge, or do whatever with his own alerts, but he cannot not delete other users' alerts, i.e. jump from alert monitor to the program /SAPAPO/AMON_REORG since the functionality (from Alert monitor -> Goto -> Deletion of Alerts) is desabled

Header Data



Release Status:Released for Customer
Released on:08.06.2006 10:14:13
Master Language:English
Priority:Recommendations/additional info
Category:Consulting
Primary Component:SCM-APO-AMO Alert Monitor
Secondary Components:SCM-APO-ATP Global Available-to-Promise

SCM-APO-SNP Supply Network Planning (SNP)

SCM-APO-PPS Production Planning and Detailed Scheduling

SCM-APO-SCC Supply Chain Cockpit (SCC)

SCM-APO-FCS Demand Planning

SCM-APO-VS Vehicle Scheduling

SCM-APO-CPR-SCH Scheduling Agreement

SCM-APO-PPS-PPT Product Planning Table

SCM-APO-PPS-DST Detailed Scheduling Planning Board

SCM-APO-PPS-PVW Product View

SCM-APO-SNP-VMI Vendor-Managed-Inventory

SCM-APO-SNP-MAC MacroBuilder

SCM-APO-FCS-MAC MacroBuilder

SCM-APO-MSP Maintenance and Service Planning

SCM-BAS-ANO Alert Notification Engine

SCM-BAS-AMO Alert Monitor

Affected Releases

Software
Component
Release
From
Release
To
Release
And
subsequent
SAP_APO
30
30A
30A

SAP_APO
310
310
310

SCM
400
400
400

SCM
410
410
410

Related Notes




1237882 - Dynamic alert - the cross aggregation level does not work ok

1045639 - Consulting notes in SNP/CTM

Note 389760 - Consulting: Decimal places

Note 389760 - Consulting: Decimal places

Summary

Symptom

In demand planning, you have the following options for setting the number of decimal places.

The number of decimal places in interactive demand planning is affected by the settings of the T006 or TCURX tables (transaction cuni). In this case, the decimal places can be specified separately according to display (T006-DECAN) and memory accuracy (T006-ANDEC). The number of decimal places is linked to a unit of measurement. If no settings are made, the number of decimal places is set to zero. Note that no more than three decimal places can be used in demand planning (LiveCache). Internally, macros and forecasts are always calculated in floating point arithmetic.

In addition, you can define the number of decimal places for the display for each line of a data view in the design mode of the interactive demand planning. You do this by selecting lines and then right-clicking. In the context menu that next appears, select Selected Lines - Decimal places. Here, the 'Value from unit mass table' indicator is set by default. If you delete this indicator, you can manually change the number the decimal places from the value three to a value between 0 and 6. Use the corresponding function keys to do this. The selection you make here may overwrite other existing settings and is customized.

The forecast views use the same settings as in the main view. In addition, you can also use the /sapapo/fcst_nk1, /sapapo/fcst_nk2 and /sapapo/fcst_nk3 user parameters to make user-specific settings that set the number of decimal places for the display of each individual line. The value of the user parameter overwrites the comparable value of the settings from T006 and TCURX for the display. See note 359641.
As of SCM 4.1, you can use the menu path Settings - Decimal Places to interactively set a different display of decimal places for each key performance indicator. This user-specific setting can be saved.

Other terms

/sapapo/sdp94, decimal places, T006, TCURX,

Reason and Prerequisites

Consulting

Solution

See the consulting note.

Header Data



Release Status:Released for Customer
Released on:04.02.2004 16:55:07
Master Language:German
Priority:Recommendations/additional info
Category:Consulting
Primary Component:SCM-APO-FCS Demand Planning

Affected Releases

Software
Component
Release
From
Release
To
Release
And
subsequent
SAP_APO
30
30A
30A
SAP_APO
310
310
310
SCM
400
400
400
SCM
410
410
410
SCM
500
500
500

Related Notes




502274 - APO 3.1: Number display in interactive planning

497084 - Improvement of the number display in interactive planning

458609 - Number display in interactive planning

388216 - Collective note consulting forecast

359641 - Consulting APO 3.0: Decimal places in forecast view

Note 492399 - Realignment tool - Consulting

Note 492399 - Realignment tool - Consulting

Summary

Symptom

This note describes the realignment tool for Demand Planning.
With the Release of Support Package 20 for Release 3.0 or with the Release of Support Package 6 for Release 3.1 or with the installation of note 488568, this consulting note replaces note 360935.
This note also requires note 509171 or Support Package 21 of Release 3.0.

Other terms

/SAPAPO/TS_REALIGNMENT

Solution
General

To specify the realignment/copying characteristic values, an input table is created for the selected planning area. This consists of

  • a key column for the record ID (numbered sequentially) as well as
  • two columns for each characteristic of the planning area:
    • the source column (prefix 'F_' + information object name of the characteristic) and
    • the target column (prefix 'T_' + information object name of the characteristic).


By editing the input table, you define which combinations of target characteristic values (entries in the fields with the 'F_' prefix) are adjusted based on the combinations of source characteristic values (entries in the fields with the 'T_' prefix).Here, each data record of the input table (realignment/copy job) corresponds to a logically separate realignment/copy run.The jobs are processed in ascending order according to the specified job IDs.If no source characteristic value combinations are found during the realignment/copy run for a processed job, the process is cancelled.An inconsistent dataset is thus avoided.
The /SAPAPO/TS_REALIGNMENT report creates the input table and also carries out the actual realignment/copying process.

Note that no locks are set for the realignment. Generally, planners should not edit characteristics combinations to be changed (both in the source and in the target) during the realignment.

Input table

You can change (recreate) an input table created for a planning area at any time using the 'Generate input table' option.Here the application checks the validity of the input table and only generates a new table if the old one is no longer valid.An input table is valid when the number and names of the characteristics match the current configuration of the characteristics of the planning area.During the generation of the input table, you can select 'Restrict table characteristics' to limit the number of planning area characteristics copied to the table.From the list of all characteristics, select the characteristics required for specifying the combinations to be realigned/copied.If the planning area has so many characteristics that the table can no longer be physically generated, you MUST restrict the characteristics in the table.Here the graphic status display of the dialog box displays whether it is possible to generate the table with the number of currently selected characteristics.
You must specify characteristic values in pairs in the source and target column of a characteristic (prefixes: F_/T_). A characteristic value pair that is not specified always implies that all planning objects are selected with any values for the characteristic in question.The application sets the value of the status column of the input table to 'X' as soon as the realignment/copy job or the data record has been processed successfully.Realignment/copy jobs with the 'X' status are no longer considered for subsequent realignment/copy runs and can remain in the table to document the history of past realignment/copy runs.

In addition to the classic realignment, you can also use the /SAPAPO/TS_REALIGNMENT report for copying across characteristic combinations.Realignment and copying are explained separately below.Remember that the same input table is used for realignment and copying.If you want to execute both functions, SAP urgently recommends that you carry out these two steps separately from each other:once all entries of the input table are successfully processed (status 'X'), make the entries in the input table for the second step and execute this step.

Realignment process
    1. Prerequisites (these prerequisites do not apply if only InfoCube data is realigned (option 'Only InfoCube Realignment')):
      a) Time series objects must be available for at least one planning version of the planning area for which you are performing the realignment (cf. transaction /SAPAPO/MSDP_ADMIN).
      b) At runtime, each realignment job (cf. above) requires that at least one characteristic value combination is selected by the entries made earlier in the input table for combinations of source characteristic values and, at the same time, that no characteristic value combinations are selected by the combinations of target characteristic values made in the input table.If this requirement is not met, the job does not consist of realignment and therefore cannot be executed.If all target characteristic value combinations are already present, the job involved is copying (for details, see later section).If only some of the target characteristic value combinations are present, the job involves a combination of realignment and copying.This mixed scenario can be depicted via the copy function (see later).

Example:In the input table, an entry was made only for the characteristic 9AMATNR : Source: MAT1, target: MAT2.For the characteristic MAT1 2, 2 characteristic values LOC1 and LOC2 are available for the characteristic value 9ALOCNO.Only the characteristic value LOC1 is available for the characteristic value MAT2.In this case, realignment cannot be performed, since the target characteristic value combinations MAT2 LOC1 are already present.This is a mixed scenario consisting of realignment (since characteristic combinations have to be created) and copying (since some of the necessary characteristic combinations exist).

There must be no entries in the delta table /SAPAPO/TSPLOBDE. Reason:Created or deleted characteristic value combinations are stored again temporarily in the delta table.These entries are then read, the necessary liveCache objects are created/deleted and the entries in the delta table are deleted again.either you chose the option for immediately adjusting time series objects in transaction /SAPAPO/MC62 or you ran the report /SAPAPO/TS_LCM_PLOB_DELTA_SYNC for the basic planning object structure of the planning area.Since this delta table is also used in realignment, it must not have any entries for the basic planning object structure of the planning area or for any existing aggregates (cf. transaction /SAPAPO/MSDP_ADMIN)when a realignment job is started. If such entries exist, realignment is cancelled.In this case, you must execute the report /SAPAPO/TS_LCM_PLOB_DELTA_SYNC in advance if no other system activities indicate otherwise (for example, the time series objects should be adjusted at a later stage to avoid locking problems with a current background process).

    2. Planning area

Generally, all the liveCache time series key figures maintained for the planning area are realigned. You cannot restrict the key figures.
If several planning areas use the same master planning object structure, when the realignment is carried out for one of these planning areas, then the rest of these planning areas are automatically realigned too.This is necessary to avoid inconsistencies.In this type of situation, we recommend you specifically use one (always the same one) of these planning areas for the realignment.
If only InfoCube data is realigned (if the option 'Only InfoCube Realignment' was selected, a planning area is not realigned.

    3. Planning version

In principal, the data of all planning versions of a planning area is always adjusted.You cannot restrict the versions because this would create inconsistencies.

    4. InfoCube

If the planning area has key figures that are saved in a separate InfoCube (cf. transaction /SAPAPO/MSDP_ADMIN), then you can use these to explicitly specify whether a realignment should also be carried out through this InfoCube.You can display these InfoCubes in a display frame by selecting the 'Realignment InfoCubes' button.In general, however, you cannot select InfoCubes assigned to the planning area.
If an InfoCube does not use the same characteristics as the planning object structure for the planning area (cf. transaction /SAPAPO/MSDP_ADMIN), then you must note that the InfoCube must contain all the characteristics that were selected during the realignment assignment;that is, the InfoCube must contain all the characteristics that a restriction was made for in the input table (cf. above).In addition to this basic requirement, the InfoCube may still also contain more characteristics.
Generally, all key figures of an InfoCube assigned in this way are realigned. You cannot restrict the key figures.
If, during realignment, you select the option 'Only InfoCube Realignment' and then select one or more InfoCubes, the realignment is executed only for these InfoCubes.Using this option, you can therefore realign InfoCubes irrespective of planning areas.
Note that it is not currently possible to realign InfoCubes in which there is compressed data.If you execute this nevertheless, this can result in incorrect data.

    5. Settings:

During realignment, the data of the source characteristic value combinations is deleted by default together with the relevant movement data.If you select the 'No deletion of source data' option, then the data of the combinations of source characteristic values and its relevant movement data are retained.

Copying
    1. Prerequisites
      a) Time series objects must exist for at least one planning version of the planning area.If specific planning versions are selected for the copying process (cf. below), time series objects must exist for these planning versions.
      b) Every copying job (cf. above) requires that at least one characteristic attribute combination is selected during the runtime by the entries previously made in the input table for the source characteristic attribute combinations and, at the same time, at least one characteristic attribute combination is selected by the target characteristic attribute combinations made in the input table.If no target characteristic combinations are selected, then it is realignment and copying is not possible.
    2. Planning version

If you do not restrict the planning versions, the copy procedure is carried out for all planning versions of the planning area, for which time series objects exist.Here the data is copied across characteristic value combinations within the same planning version.
If the source and target planning version is restricted, the copy process is carried out only for these planning versions.
If source and target planning versions are different, the copy process is carried out across characteristic value combinations and across versions.

    3. Logic

In the case of the 'move' logic, any existing target data may possibly be overwritten by the source data.
With the 'Add' logic, the source data is added to the already existing target data.

    4. Options

The options 'Adding characteristics combinations' and 'Deleting the source data' can only be selected for copying if no version restriction has been made.

      a) Adding characteristics combinations:

If this option is NOT selected and the appropriate target characteristic attribute combinations are not available for all source characteristic attribute combinations according to the input table, the copy process is only executed for those source characteristic attribute combinations for which there are also the appropriate target characteristic attribute combinations.

Example:In the input table, an entry was made only for the characteristic 9AMATNR : Source: MAT1, target: MAT2.For the characteristic MAT1 2, 2 characteristic values LOC1 and LOC2 are available for the characteristic value 9ALOCNO.Only the characteristic value LOC1 is available for the characteristic value MAT2.If, in this case, copying is executed WITHOUT the option 'Add characteristics combinations', only the data of the combinations MAT1, LOC1 are copied to the combinations MAT2, LOC1.

However, if the option 'Add characteristics combinations' is selected, first the new characteristic attribute combinations MAT2 LOC2 are created and then the data of the combinations MAT1, LOC1 are copied to the combination MAT2, LOC1 and the data combinations MAT1, LOC2 are copied to the data of the combinations MAT2, LOC2 (mixed scenario with realignment and copying).

      b) Deletion of the source data:If this option is selected, the data for the source characteristic attribute combinations and the source characteristic attribute combinations are deleted even after copying.


Header Data



Release Status:Released for Customer
Released on:30.12.2002 22:18:54
Master Language:German
Priority:Recommendations/additional info
Category:Consulting
Primary Component:SCM-APO-FCS-RLG Realignment
Secondary Components:SCM-APO-FCS Demand Planning

Affected Releases

Software
Component
Release
From
Release
To
Release
And
subsequent
SAP_APPL
46C
46C
46C
SAP_APO
30
30A
30A
SAP_APO
310
310
310

Related Notes




1098441 - Automating the realignment process

812045 - Realignment exceptions and performance

540926 - Collective consulting note on planning object structures

512195 - Realignment without aggregates

509171 - Addition to note 488568