Quantcast
Channel: SCN : All Content - SAP Advanced Planning & Optimization (SAP APO)
Viewing all 782 articles
Browse latest View live

SNP planned order deleted in APO, but not in R/3.

$
0
0

OK Guru's,

 

We have a situation where during the weekend SNP planning runs, SNP Planned orders are deleted in APO, but the order is never deleted in R/3.  The change pointer is not in CPP and there are no failed queues.  Also, when you run CCR on planned orders, we will get an error on some orders saying "Not in APO" and the only option to reconcile that order is to "Send to APO".  The option that should exist is "delete in R/3" becuase the deletion never occured in R/3.

 

If you send the order back to APO, the order will show in the "Production Confirmed" line of the Planning Book.  This is because APO is thinking that this order is an order that was created in R/3 when in fact is it really is a SNP planned order.

 

Any clues to why this would happen?

 

thanks,

 

Brian


APO - PPDS Alert Monitor

$
0
0

Hi,

 

Need help in configuring the following PP/DS alerts:

 

 

 

 

Alerting exceptions on inventory levels throughout the Planning Time Fence (PTF). These exceptions are
defined as follows:

 

1.   Inventory on hand in Planning Time Fence > 12 Months 

2.   Inventory on hand in Planning Time Fence < 'x' months (where 'X' is to be selectable)

 

 

Request your inputs on this.

 

I have tried looking into BAdI's but not able to configure the above.

DP Forecast release to ECC

$
0
0

Hi ,

 

This is related to DP forecast release to ECC. Distributed definition is configured for PIRs in APO . The product and location master existing in both ECC and APO . When transferring the forecast(Transfer profile, planning book, data view updated with the job), post execution , successfully transferred to ECC. It got failed in ECC inbound with the error "06/01/1993 date lies before start of factory calendar" . There is no point in configuring/ extending the factory calendars past 20 years .

The question here is

why would it transfer/trying to transfer past forecast to ECC ?

 

Because I have seen /SAPAPO/C3 logs which shows clearly that the outbound (PIR) queue tried to transfer the past forecast to ECC (starting from 1993) .

How can we control this and make sure it transfers the needed forecast only . (Possibly to transfer future forecasts as PIRs in ECC)

 

 

Regards,

GV

Storage location stock exclusion in APO planning book

$
0
0

BACKGROUND

 

APO planning book shows stock quantities at plant level. It does not show stocks at storage location level unlike in ECC. Business wanted to exclude one of the storage location stock from APO planning book stock key figure.

 

BUSINESS PROCESS

 

This is a service industry client. One of their plant (e.g.0095) storage location (e.g. 4001) is entirely managed by their customer. Materials under this storage location are not planned in ECC as well as in APO. But materials under different storage locations (e.g. 0001, 0002 etc.) of this plant are planned in APO. Because of this stocks are getting transferred to APO and it was creating planning issues in APO. In APO stocks are shown at plant level. Therefore it is including 4001 stock also and business don’t want to have this stock in APO.

 

CHALLENGES

 

  • In ECC we can exclude the storage location from MRP through configuration. But similar functionality is not available for APO. Neither this ECC configuration will stop sending storage location inventory to APO.
  • Didn’t find any configuration in ECC that will exclude the specific storage location stocks being transferred to APO.

 

SOLUTION

 

SMOD- CIFSTK01 in ECC can be used to exclude stock for certain storage locations as per business requirement. This exit has been provided by SAP to transfer customer specific stock fields from ECC to APO. But this will work in order to exclude specific storage location stock.

This exit has been called in two SAP standard functions CIF_STOCK_APO001_MAP & CIF_STOCK_APO001_MAP_2. This exit has been called at end of these functions which means after this exit call, no standard code gets executed. Table ET_STOCK in this exit contains Stock data which we would like to NOT send to APO if storage location is 4001 and Plant is 0095.

We added logic within this exit to check for Storage Location = 4001 and Plant = 0095 and delete stock from table ET_STOCK for this condition. CIF will transfer all storage location stocks except 4001 stock. Going forward in future if we have similar kind of requirement for other plan/storage location then we’ll just add that plant/storage location in this logic. And system will exclude that stock as well.

 

Correcting stock quantities first time after exit install in production

 

When user exit is moved to production, system is automatically correcting stock quantities for the first time. So for the first time we need to do one time activity as below sequence.

 

1.    Delete the APO stock for respective plan (here it is 0095). Use APO program /SAPAPO/DELETE_STOCK.

2.    Select all APO relevant materials for plant 0095/storage location 4001 in ECC.

3.    Create new integration model in ECC and include all these 4001 storage location materials in it.

4.    Activate this new integration model. So that new integration model will exclude 4001 storage location stock based on SMOD - CIFSTK01 logic.

5.    Once this initial 4001 storage location stock correction is done then de-activate this new integration model and let regular CIF stock model run. This will take care of future stock changes.

       After user exit this is how stocks are getting displayed.

 

ECC – Stock quantities

  1.jpg

APO – Stock is showing only 0951 storage location stock but not 4001.

 

1.jpg

CONCLUSION

 

Since this storage location stocks are managed by customer. There is no any planning in ECC as we as in APO. Ideally during implementation this scenario was supposed to be implemented as Customer consignment but it was not designed like that. And that was causing stock issues.


NOTE

 

This enhancement was completed together with my colleague Jeffrey Beaudin (Sr. SAP APO Consultant).

Issue in BADI SMOD_APOCF005

$
0
0

Hi Gurus,

 

I am facing and issue in BADI SMOD_APOCF005.  I have a scenario where i have to update an Demand Profile in the Material Master of SNP.  So i activated this BADI and the code is written.  The problem is while doing CIF the Demand Profile is not getting updated, its only get updated at the time of changing the Master data in ECC .  Below is the ABAP code for the same

 

 

 

method IF_EX_SMOD_APOCF005~EXIT_/SAPAPO/SAPLCIF_PROD_001.



     Data: ls_matlocx     TYPE /SAPAPO/CIF_MATLOCX.

     DATA: ls_matloc      TYPE /SAPAPO/CIF_MATLOC.

***Added by Ajay Chauhan for Distributing Demand into Balance Weeks for 5m01

*,     loop at it_matloc into ls_matloc where ext_locno = '5M01'.

          loop at it_matloc into ls_matloc where ext_locno ='5M01'.

*       if ls_matloc-EXT_LOCNO = '5M01'.

           ls_matloc-DPREX = 'VD_DEM_PRF'.

*          LS_MATLOC-PSPLI = '2'.

          MODIFY IT_MATLOC FROM LS_MATLOC.

          clear ls_matloc.

*       ENDIF.

     endloop.



     loop at it_matlocx into ls_matlocx.



  ls_MATLOCx-beskz = ' '.

  ls_MATLOCx-SAFTY = ' '.

  ls_MATLOCx-LGRAD = ' '.

  ls_MATLOCx-BSTMI = ' '.

  ls_MATLOCx-BSTMA = ' '.

  ls_MATLOCx-BSTRF = ' '.

  ls_MATLOCx-PLIFZ = ' '.

  ls_MATLOCx-SVTTY = ' '.

  ls_MATLOCx-REORD = ' '.

  ls_MATLOCx-MAXSTOCK = ' '.

  ls_MATLOCx-MSDP_SB_METHOD = ' '.

*  LS_MATLOCX-PSPLI = 'X'.

  ls_matlocx-DPREX = 'X'.

  modify it_matlocx from ls_matlocx .

  clear ls_matlocx.

endloop.

 

Urgent help is hight appreciated.

 

Regards

 

Ajay

Mass Deletion of inconsistent orders

$
0
0

Hi All,

 

Our LiveCache has some inconsitent data which i am trying to delete. I can see the data in rrp3 view.

 

This data is result of database copy from other system and now there is mix up of orders. Inconsistent orders are seen with no order numbers (<unknown>) and that is how i diffrentiate.

 

Things that i have tried:

1. Consitency checks (OM17)

2. CCR - (even after adding the system name in logical systems from which it was copied). The orders did not get captured.

3. Tried reports rlcdel and pp_order delete to capture those but it fails to.

 

Observations:

1. In transaction /sapapo/om16 i can see few orders in liveCache without any details except order GUID and start and finish dates. I could locate other consistent orders here.

 

2. I could delete entries by giving the order GUID in report  /SAPAPO/OM_DELETE_INCON_ORDERS but there I could input only one value of GUID and on executing it deletes the order from LiveCache successfully.

 

The Question:

Is there any other report where i can give a range of Order GUID to process them in Mass?

Core Interface

$
0
0

The SAP APO Core Interface (CIF) is the interface that enables data to be exchanged between SAP APO and SAP’s ERP system, in other words, SAP R/3, SAP R/3 Enterprise, or SAP ERP Central Component (SAP ECC).

 

Prerequisites

To make available the relevant communication layer in the ERP system, you must import a suitable SAP R/3 Plug-In up to and including SAP ECC 5.0. As of SAP ECC 6.0, CIF is an integrated part of the ERP system. CIF is also an integrated part of SAP APO.

 

Features

CIF provides the following central functions:

· Determination of source and target systems within complex system environments

· Supply of SAP APO with the master and transaction data relevant to planning

· Transfer of changes to transaction data

· Return of planning results from SAP APO

Resource network use in Discrete Manufacturing

$
0
0

Hi Gurus,

 

I want to know about the resource network use in different types of manufacturing industries.After checking the SAP help portals I got to know that resource network help to identify material flow between several  resources.After reading few more links I found that this functionality is more in use for process industries where we have alternate resources for each operations and heuristics will identify the resource load and use the resource network to identify the second priority alternate resource and order will created.Please correct me if I am wrong.

 

Just want to know whether we can use the resource network in Discrete manufacturing scenario.Here we have separate lines with two different PDS for each line.Each line has four resources in it.If we can use this functionality then whether we can use this functionality with heuristics?

 

 

Thanks

Debasis Nanda


issue with /INCMD/BAPI_GROUP_SAVE bapi

$
0
0

Hi all,

 

The standard BAPI /incmd/bapi_group_save will create or change the interchangeability group..Under that BAPI I could find one FM  /incmd/group_read which is reading the group details like header data, item data and etc..in header data there is a field called CHGALWD...if it is empty it is throwing an error that we can't change the group...

 

Could you please let us know when this field CHGALWD will be filled in header data of group...what parameters are mandatory to pass to /INCMD/BAPI_GROUP_SAVE bapi so that this field CHGALWD in header data of the group..please give suggestions..

 

 

Thanks,

Venugopal

Requested to send me sap apo user manual teplate and if it is possble send me list of contents

$
0
0

Hi Team

 

Requested to send me sample sap apo user manual teplate and if it is possible send me list of contents.

 

Quick reply is more appreciates.

 

Regards
babu

Contract changes not reflecting immediately in APO

$
0
0

Hi team,

 

We are using contracts for a region and have setup external procurement relationships and transportation lanes based on these contracts in APO. Now we have made some changes to existing contracts like extension of validity date and removal/ additional of a material to the existing contract. I see that these changes aren't reflecting immediately in APO. Could you please explain why this occurring. I tried doing Initial transfer and then these changes get reflected in APO. However why aren't the changes done in ECC reflecting immediately?

Transferring workcenter to APO

$
0
0


Hello Experts

 

I need some advice on transferring work centers to sap apo. I have a specific req where the user would like to see the resource name in APO as M2_plant  instead of WM2_plant_capacity category. ( Removing" W "and capacity category from the resource name in APO) Please advice how to acheive this result. Any CIF enhancements?

 

Thank you in advance

Means Of Transport on the Transportation lane - ECC vs APO

$
0
0

Dear Experts,

 

I am looking for a state where " Certain changes done to shipping data (Shipping Conditions/ Route) on an STO/PO should change the Means of Transport(MOT) on the Transportation Lane(TLane) in APO and update for that Shipment"

 

Scenario is we have materials moving amongst plants located in different countries, based on the urgency and type of material the buyer should be able to choose Air/Ocean/Truck as MOT while creating an STO. These selections should in turn get reflected in APOs Tlane's MOT.

 

Currently for a certain set of materials or locations/plants, In APO when a TLane is set up and no MOT is set as default, the MOT comes as blank for that TLane. When we set a default MOT (say Truck), only Truck is update as MOT even though the Material's/Plant's preferred MOT is air/ocean.

 

I have tried updating multiple combinations of Shipping Conditions and Route on the STO - No luck

I even tried to change the, Transportation Group on the Material Master and then created STO - No Luck

 

Can you please advice/guide, as to how can get this working.

 

Thanks a tonne for you time.

Building Mertrics out of the APO

$
0
0

Hi all,

 

I am trying to build metrics based on ss and lot sizes out of SAP. The issues that come up are mostly with Lot sizing not being correct. The system takes the forecast and build to plan. We are trying to see if it is building correctly with in our bands(SS and Lot size). Lot size is being calculated based off of the forecast. One issue is the multiple plants giving us duplicate data. Any thoughts?

Target corridor input log table in snp optimizer

$
0
0

Hi Expert,

 

I want to know what are below input tables in optimizer log.These are target corridor tables and i am not aware about the use of them.

 

ET_PROCBND

ET_PRODBND

ET_TRANBND

ET_STCKBND

ET_DELIBND

 

also i case i want the data in these tables where i can see these values in master data.

 

Thanks,

Krishna


Forecast displayed in SDP94 is different than forecast sent via CIF

$
0
0

Hello,

I'm facing a recurrent issue which is hardly reproducible, so that I would like to have your opinion.

 

Our process is :

- Calculate forecast in /SAPAPO/SDP94

- Save

- Trigger a process chain in RSPC, which execute an activity type "R/3 Transfer Prfl." to sent the forecast to ECC.

 

Problem: In some cases, it occurs that the forecast value displayed in SDP94 and saved is not correctly sent to ECC, as if it was not correctly stored in the database.

Example :

Forecast displayed and saved in /SAPAPO/SDP94 = 8 PCE

Forecast sent in ECC (checked in /SAPAPO/C3) = 0 PCE

 

When we execute the process chain again, the transfer might be ok.

 

Question: where is the data stored ? How can I check the value which is actually stored and to be sent to ECC (which seems to be different than the value displayed in SDP94) ?

 

Thanks !

Product Interchangeability

$
0
0

Hi All

 

I have a client requirement related to product Interchangeability which goes like this:

 

In the scenario for fully interchangeable products

A <-> B <-> C

 

If we have a forecast for A, and there is no stock for A. The system will look for stock of B, then C.

If enough stock is not available, then the system creates a Stock Transfer Requisition for C.

Now, my requirement is to create an STR for A ( the original material) instead of C.

 

Please provide your suggestions on how we can achieve this functionality.

 

Thanks and regards

Swati

Incorrect Fixed duration in SNP PDS

$
0
0

  Hi,

 

We are maintaining the capacity for “SNP Bucket Capacity” with number of periods as 7 days for resources in SAP APO.


However when we CIF the PDS the fixed duration for the activity is getting populated as 1 Day instead of 7 Days.

  

I have attached the document with setting for reference, request you to provide your input to resolve the issue.


Thanks,

Sanjog Mishrikotkar

APO Demand Planning in FMCG

$
0
0

Hi All,

 

I believe in FMCG industries the actual demand might vary to a large extend than the APO DP generated forecast considering the shorted horizon in future. Will there be any specific functionality within DP that is used to mitigate this risk.

 

Thank you.

Question on ideal level of demand forecasting in APO DP

$
0
0

Hi All,

 

When I see books like springers I understand that it is always better to forecast demand at a aggregated level say Product-Location level and disaggregate at a lower level as required rather than forecasting at a detailed level. This would give better forecasting results.

 

I wanted to confirm whether the above understanding is correct. Also is there any thumb rule to achieve the right level of aggregation for better forecasting.

 

Thank you.

Viewing all 782 articles
Browse latest View live


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