Quantcast
Channel: SCN : Discussion List - SAP APO - Demand and Supply Network Planning
Viewing all 835 articles
Browse latest View live

Key figure -Macro calculation

$
0
0

Hello Experts,

 

I have come accross a weird issue in DP.

 

We have kf's   A,B,C (C = Final forecast)

 

where in A+B = C , where as kf B is a adjustment KF.

 

For one particluar SKU

 

A=0

B= 100000

So, as per calc A+B = C i.e 1000000. The same figures are showing in PB xyz.  We have macros maintained at default level and preiodical job to run MAcros.

 

The same KF's are maintained in Admin PB too. We are able to adjusment values in KF b, however not in kf C.When I execute the macro interactively only its showing in Admin book for KF C.

 

After planning we have taken backup of planning Area and noticed that back up cube has adjustment KF values but not the kf C (A+B=C) in backup cube. I have checkd job logs and dont find any errors.

 

As KF's values are read from PA, why is it showing in PB XYZ kf values of C, why not in admin PB or backup cube or release PB

 

Appreciate inputs.  (Ran time series  consistency checks, didnt find any inconsistency )

 

TIA


Internal Error /SAPAPO/SCMB_PSTRU_PLOB_TEMPL

$
0
0

I tried to generate CVC using /SAPAPO/MSDP_ADMIN and had following error.

Internal Error /SAPAPO/SCMB_PSTRU_PLOB_TEMPL=>RAISE_EXCEPTION_FRO

Message no. /SAPAPO/SCMB_PSTRU000

 

What is the solution for this error?  We cannot generate characteristic combinations.

We are using

SAP SCM 7.0

SAPKB70107 SAP Basis Component

SAPKA70106 Cross-Application Component

SAP APO SNP Planning book time buckets for 9ASNP94

$
0
0

HI all,

 

I was wondering how i can change the planning book's time buckets, now it comes like daily for some time, and then weekly. Would I be able to change this ? I tried to change it from DESIGN - PLANNING BOOK but will not and stay in Display mode only.

 

Ant thoughts.? thanks

LiveCache Anchor

$
0
0

Hi

 

Could any one tell about, what is liveCache anchor? why its comming?

 

Live chache lock handler not available?

 

Regards

Anitha.A

SNP not respecting safety stock

$
0
0

HI

We have a material at a DC where we just keep fixed safety stock of 900 LB (safety stock type SB). At this point there are no receipts and just a couple of sales orders for about 200 LB on Day3 and another 100 LB on day 7.

Please correct me if I am wrong SNP is supposed to recognize the safety stock and turn the supply shortage row in planning book to 900 on day1, 1100 on day3 and 1200 on day 7.  But SNP shows no such changes in supply shortage row.

 

However when I switch to product view, PPDS is recognizing exactly -900 on day1, -1100 on day3 and -1200 on day 7.

 

We use customized planned books. I tried checking the same in SNP94 books and they look the same.

 

Has any one come across this situation?

Custom date horizon in Macros

$
0
0

Hi All,

 

Wanted to check if there is possibility to have the macros executed for dynamic date range. For example, one month would need the macro to run from Jan- June 2016, next month from March-July 2016 etc.

 

Can it be accomplished via user exit macros? Please suggest the approach.

 

Regards,

Alok

SAP APO pop up during initialization - performance

$
0
0

Hi,

 

I am trying to initialize this for the first time in this system. So, wondering what it does in the backend ? this is a DEV system, but would we need to the same in every system like in QAS and PROD and what happens during this initialization and why this scary little pop up appears. Any thoughts? thanks

INI.png

CTM Run Failure - Segmentation Fault

$
0
0

Hi all,

 

When we try to run CTM with time stream of 56 weeks/39 weeks/32 weeks, we see that there is an error called "Segmentation Fault" due to which whole planning run is failing.

 

<i> <#3608> 11:58:55 ctm_em_execute.cpp(41) 'SuperVisor' EM::execute for packet 10

<e> <#2836> 11:58:56 <WinPerfData> error in RegQueryValueEx(): [error-code 5] Access is denied.#

<i> <#2836> 11:58:56 [memory] usage after transforming model into relational data of packet 9:  cpu_time: 361 real_time: 434 current_memory: 0 MB peak_memory: 0 MB

<i> <#2836> 11:58:56 physical memory: 28358 MB available [86% free]

<i> <#2836> 11:58:56 page file      : 61632 MB available [93% free]

<i> <#2836> 11:58:56 virtual memory : 8387858 MB available [99% free]

<i> <#2836> 11:58:56

<i> <#2836> 11:58:56 number of orders:                         5111

<i> <#2836> 11:58:56 number of pegging links:                  13829

<i> <#2836> 11:58:56

<i> <#2836> 11:58:56 <rfc> calling function module /SAPAPO/CTM_INT_ORDER_CREATE

<e> <#3608> 11:59:03 ctmsvr_script.cpp(232) 'MsgMgr' <!> C-STRING EXCEPTION: <!> Segmentation fault

<i> <#3608> 11:59:03 rfc_connection.cpp(605) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET

<e> <#3608> 11:59:03 core_sysinfo.cpp(947) 'MsgMgr' <WinPerfData> error in RegQueryValueEx(): [error-code 5] Access is denied.#

<e> <#3608> 11:59:03 optsvr_main.cpp(369) 'MsgMgr' <!> CORE EXCEPTION:

#RFC_RC (RFC_SYS_EXCEPTION) System exception raised, connection closed

#RFC_ERROR_GROUP (RFC_ERROR_SYSTEM_FAILURE) e.g. SAP system exception raised

#key=RFC_ERROR_SYSTEM_FAILURE

#message=CPIC-CALL: 'CMRCV : rc=25

 

 

LOCATION    SAP-Gateway on host IRVWP63PAT03 / sapgw00

ERROR       program state check for conversation 12422607

TIME        Wed Sep 23 11:59:03 2015

RELEASE     720

COMPONENT   SAP-Gateway

VERSION     2

RC          471

MODULE      gwr3cpic.c

LINE        3420

DETAIL      program c:\apoopt\ctmsvr.exe on host IRVWP63P called function

            SEND_DATA in state RECEIVE_WAIT_FOR_DATA

COUNTER     81997

 

 

#exception=SYSTEM_FAILURE

<i> <#3608> 11:59:03 optsvr_main.cpp(370) 'MsgMgr' _exiting...

 

SM37 Log is as follows

 

09/23/2015 12:30:01 Job started

09/23/2015 12:30:01 Step 001 started (program RSPROCESS, variant &0000000050948, user ID BWREMOTE)

09/23/2015 12:30:01 Start process SCM_CTM01 Z7M_CTM_ND in run DKVOKJM4KMCG52Y25PFNGVB01 of chain Z7M_SOLVE_2

09/23/2015 12:43:02 Communication error: A runtime error occurred while executing the remote function module

09/23/2015 12:43:02 Job cancelled after system exception ERROR_MESSAGE

 

 

When we run the Solve for 26 weeks, everything is fine as below,

 

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1227) 'CTMModelGenerator' MG::upload of packet 11

<e> <#3392> 13:10:05 core_sysinfo.cpp(947) 'MsgMgr' <WinPerfData> error in RegQueryValueEx(): [error-code 5] Access is denied.#

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1329) 'SuperVisor' [memory] usage after transforming model into relational data of packet 11:  cpu_time: 401 real_time: 655 current_memory: 0 MB peak_memory: 0

<i> <#3392> 13:10:05 core_sysinfo.cpp(487) 'MsgMgr' physical memory: 28095 MB available [85% free]

<i> <#3392> 13:10:05 core_sysinfo.cpp(488) 'MsgMgr' page file      : 61348 MB available [93% free]

<i> <#3392> 13:10:05 core_sysinfo.cpp(489) 'MsgMgr' virtual memory : 8387582 MB available [99% free]

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1357) 'CTMModelGenerator'

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1358) 'CTMModelGenerator' number of orders:                         1166

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1359) 'CTMModelGenerator' number of pegging links:                  2783

<i> <#3392> 13:10:05 ctm_modelgen.cpp(1360) 'CTMModelGenerator'

<i> <#3392> 13:10:05 rfc_connection.cpp(605) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_ORDER_CREATE

<i> <#3392> 13:10:19 rfc_connection.cpp(605) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_INDC_CREATE

<i> <#3392> 13:10:20 rfc_connection.cpp(605) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_EXPL_CREATE

<e> <#3392> 13:10:57 core_sysinfo.cpp(947) 'MsgMgr' <WinPerfData> error in RegQueryValueEx(): [error-code 5] Access is denied.#

<i> <#3392> 13:10:57 ctm_modelgen.cpp(1399) 'SuperVisor' [memory] usage after data upload of packet 11:  cpu_time: 408 real_time: 706 current_memory: 0 MB peak_memory: 0 MB

<i> <#3392> 13:10:57 ctm_modelgen.cpp(1406) 'CTMModelGenerator' MG::upload of packet 11 done

....

...

...

nCPU_TIME#408

nCPU_TIME_MS#408129

nHD_FREESPACE#101891

nPEAK_MEMORY#0

nPEAK_MEMORY_MEMMGR#867035

nPEAK_RESIDENT_SET#0

nREAL_TIME#706

nREAL_TIME_MS#706506

 

 

<e> 13:10:57 core_sysinfo.cpp(947) 'MsgMgr' <WinPer

<i> 13:10:57 optsvr_dsr.cpp(86) 'MsgMgr' <writeDSRd

<i> 13:10:57 optsvr_main.cpp(1168) 'MsgMgr'

* ***********************

* Finished->SUCCESS ...

* ***********************

 

 

<i> 13:10:57 optsvr_rfcconnection.cpp(1883) 'MsgMgr

 

Please suggest if this CTM Segmentation Error is related to Memory/BASIS/Functional issue. We raised OSS Message, yet to hear from SAP. Suggestions appreciated, Thanks in advance.

 

Thanks,

Tej


Need to know the mapping between Internal Order Number in APO with corresponding Order Number created in ECC

$
0
0

Dear Experts,

 

Need to know if there is any table/view available which has mapping between Internal Order(TLB Order) Number created in APO with corresponding Stock Transfer Order Number in ECC after getting CIFed.

 

Thanks

Shashank

SAP APO SNP error during Location heuristics

$
0
0

Hi,

 

I am trying to execute the Location option on my SNP planning book and getting this error and no values are being calculated for Production planned. Any suggestions on where should i be looking to fix this ?

 

No language-specific unit defined in language EN for internal unit ST

 

Thanks

SAPScript Fails in MC8K

$
0
0

All:

 

I have a SAPScript that generates a Message Type X error when it runs.  I can run the same steps outside a script and everything is fine, but when a script executes them, it fails.

 

The script is opening a DP forecasting log for a given day when there are multiple runs that day.  It chooses the job with the latest start time.

 

I have copied the script below.  Please excuse any typos.

 

Jeff

 

>session.findById("wnd[0]/tbar[0]/okcd").text = "/n/SAPAPO/MC8K"

>session.findById("wnd[0]").sendVKey 0

>session.findById("wnd[0]/usr/ctxtJOB1").text = strFileName

>session.findById("wnd[0]/usr/ctxtDAY1").text = strDate

>session.findById("wnd[0]/usr/ctxtDAY1").setFocus

>session.findById("wnd[0]/usr/ctxtDAY1").caretPosition = 9

>session.findById("wnd[0]/tbar[1]/btn[8]").press

>session.findById("wnd[1]/usr/lbl[12,1]").setFocus

>session.findById("wnd[1]/usr/lbl[12,1]").caretPosition = 4

>session.findById("wnd[1]").sendVKey 2

>session.findById("wnd[1]").sendVKey 33

>session.findById("wnd[1]/usr/lbl[1,3]").setFocus

>session.findById("wnd[1]/usr/lbl[1,3]").caretPosition = 6

>session.findById("wnd[1]").sendVKey 2

Negatives and Zeros in Planning Area

$
0
0

Dear Experts,

 

When scheduling forecast in the background, I see the following messages in spool

 

1) Negative values are not allowed for the forecast key figure

 

2) Property "Zero Allowed" must be identical for all key figures

 

I want to know under what conditions will I get such messages and secondly what is the English meaning of these messages.

 

I tried all combs of checks in Negative not allowed and zero allowed incl. checking all of them as of posting this q.

 

I don't see any F1 help or log help.

 

 

Many Thanks

BORAT

CTM-Late Demand Standard Procedure with Backward Scheduling

$
0
0

Hello Gurus,

 

Can you please shed some light on how the planning happens with standard procedure . I have gone through the help document for Standard procedure with backward scheduling but could not understand much of it.


The helps documents mentions below.


"

Standard Procedure with Backward Scheduling

1.       CTM shifts the demand date by one day into the future and attempts to fulfill the demand on this date.

CTM uses the search strategy and executes the source determination with this new date as the demand date. The way in which the system proceeds from here is dependent on the result of this planning step:

  • If CTM can completely fulfill the demand on this date, the system ends the late demand fulfillment.
  • If CTM cannot fulfill the demand completely or even partially on this date, the system continues with step 2.
  • If CTM can schedule a partial quantity of the demand on this date, the system shifts the demand date by one more day in order to fulfill the remaining quantity of the demand.

If CTM can also schedule a partial quantity of the demand on this new date, then CTM shifts the date by one day again and again further into the future. CTM shifts the date again and again until the demand is completely fulfilled, or until the system can no longer create orders by shifting any further. A reason for this may be that the date falls at a weekend.In this case, CTM continues with step 2.

2.       To determine a possible date for scheduling the demand, CTM now uses forwards scheduling. Starting on this date, CTM attempts to schedule the demand or a partial quantity of the demand with backwards scheduling.

3.       If CTM can only partially fulfill the demand on this date, but not completely, CTM starts to shift the last determined date again, as described in step 1. If the system can no longer create orders by shifting the date further, CTM continues with step 2.

Forward Scheduling

$
0
0

Hello Gurus,

 

 

I understand what we mean by backward scheduling , can you please help me understand what how it works . An example would be really appreciated

 

Regards,

Nick

TLB with Deployment orders of multiple T Lanes

$
0
0

Hi,

 

We have a requirement where we want to combine TLB shipment for various Deployment orders with different T Lanes.

Please suggest inputs to configure the scenario.

 

regards,

 

Mohit


ATP check performance issue for multiple product/location

$
0
0

Hello experts

 

We are facing an issue with a user specific report in APO: for each combination of product/location our goal is to simulate an availability check as it can be done in standard transaction /SAPAPO/AC04.

In order to do this, we used a specific FM Z_AVAIL_CHECK_CONTROLLER which is a copy of /SAPAPO/AVAIL_CHECK_CONTROLLER without the calling of /SAPAPO/ATP4_ATP_EXPLAIN.

The implementation works but it is taking too long time due to the volume we have (1 hour for 10 000 records used in test mode) and we haven’t found any bottleneck (cf TRACE.txt) .

Note that this report could ultimately be used for a maximum of 300 000 records.

The business need is to have a report showing for each combination of product/location three different ATP simulations based on three business events. This will help the user choose in a parallel process which business event is best fit for all these entries.

 

3 business events are used in GATP for each entry, so 30 000 ATP values are expected in foreground execution of previously mentioned test (3 x 10 000).


Do you have an alternative technical solution that could meet our client’s business need?


thanks in advance!

MRP Rescheduling Horizon equivalent in APO-SNP?

$
0
0

Hi all,

 

In (ECC) MRP we currently use the Rescheduling Horizon to limit creation of purchase requisitions when an actual Purchase Order already exists (but is outside the standard lead time).

e.g. Lead Time = 7 days.  Rescheduling Horizon = 50 days

If requirement to reorder exists in 5 days time, and we have actual PO due in 14 days time that can cover it, then no new PurReq is created.

 

We're now moving to APO-SNP to generate our purchase requisitions.

 

Is there an equivalent field in APO-SNP we can use to accomplish the same result?

 

 

Many thanks,

Greg

Receipt Creation for CTM

$
0
0

HI SAP Experts,

 

May I ask how CTM creates the planned orders. Or how it is computing the start date of a planned order, I have a Sales Order Week 45 and it is creating planned orders in Week 44.

 

Thanks in advance,

Sincerely, Ria

Blocked stock in SNP

$
0
0

Hi,

 

Blocked stock is not included in MRP process in ECC. Will blocked stock come to APO & is it being considered in SNP processes like Optimizer & Heuristics?

 

regards,

 

Mohit

SAP APO Statitical Forecasting

$
0
0


Hi All,

 

I have set up numerous profiles with multiple codes in each.  I want to run the statistical forecast in the background using one Job with all the selection profiles.  Will the Stat then run according to each of the selection profiles or will it run as the total of all the profiles?

Viewing all 835 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>