Safety stock data update in APO product master

Hi Gurus
I have an active IM for a product . when i change the safety stock in R/3  , the same is not getting updated in APO. The method maintianed is SB
Please suggest

Finally i need to apply the below code in Exit EXIT_SAPLCMAT_001
INCLUDE ZXCIFU01 *
IF CT_CIF_MATLOC IS REQUESTED.
if no saftystock-method is explicitly set
use method 'SM' if safty stock & time is transfered
use method 'SB' if only safty stock is transfered
use method 'SZ' if only safty time is transfered
LOOP AT CT_CIF_MATLOC.
LOOP AT CT_CIF_MATLOCX WHERE MATNR = CT_CIF_MATLOC-MATNR AND
LOCNO = CT_CIF_MATLOC-LOCNO.
CT_CIF_MATLOCX-MSDPSBMETH = 'X'.
*APO und R/3: Safety stock
IF CT_CIF_MATLOCX-SAFTY = 'X' AND
NOT CT_CIF_MATLOC-SAFTY IS INITIAL.
*APO: Safety days' supply R/3: Safety time/act.cov.
IF CT_CIF_MATLOCX-SVTTY = 'X' AND
NOT CT_CIF_MATLOC-SVTTY IS INITIAL.
*Maximum of stock und safety time
CT_CIF_MATLOC-MSDPSBMETH = 'SM'."Maximum
ELSE.
*Safety Stock
CT_CIF_MATLOC-MSDPSBMETH = 'SB'.
ENDIF.
ELSE.
IF CT_CIF_MATLOCX-SVTTY = 'X' AND
NOT CT_CIF_MATLOC-SVTTY IS INITIAL.
*Safety days' supply
CT_CIF_MATLOC-MSDPSBMETH = 'SZ'.
ENDIF.
ENDIF.
MODIFY CT_CIF_MATLOC.
MODIFY CT_CIF_MATLOCX.
ENDLOOP.
ENDLOOP.
ENDIF.
Thanks all for the input

Similar Messages

  • Need to Populate Material Type from ECC to APO Product Master

    Hi All,
    I need to update the material type field from ECC to APO.
    I am using the userexit CIFMAT01 and component EXIT_SAPLCMAT_001.
    I need to extract field MTART from MARA table and need to Populate it in APO Product master.
    In APO i am using the ATT01 field of table /SAPAPO/MATKEY.
    But this does not work the data of material type is not getting populated in APO.
    We have tried to use a break point in the user exit and while executing the transaction CFM2 it does not stop at the break point.
    Can anyonwe guide me as to how to go about in implemeting this user exit.
    Regards
    Nitin

    Hi Nitin,
           Make sure that u r pass the material type as a below :
    CT_CIF_MATKEY-ATT01 = Pass the Material Type.
    CIF_MATKYX -ATT01      = 'X'.
    Check the below thread to debug the CIF queue:
    debugging CIF user exit
    Regards,
    Siva.

  • Update, Delete, Create Product Master in SRM 5.5

    Hi peeps!
    As mention in the subject title I need help in Update, Delete, Create Product Master in SRM 5.5 . I need to know which bapi or fm to be used to update(create & delete as well) the product master.
    Points will be give! Hope to hear from u all soon! Cheers!

    Okie probably this will help. Bapis or FM used for tnx:Commpr01 (product workbench) for update create and delete?
    Anyone?
    Message was edited by: Chee Jason
    Message was edited by: Chee Jason

  • APO Product Master: New Freely Defined Attribute

    Dear Experts,
    We know than in the spro, you can defined up to 5 free attributes for the product Location master than appear in the Tab EXTRA.
    We would like to create a new one, I mean, a 6th one. The issue is that, even we are able to create it in the spro, we do not see it in the Product Master and therefore, we are not able to maintain it.
    Does anybody have the same issue? Wich kind of posibilities do we have?
    Thanks a lot for your help,
    Susana

    I concur with the previous reply.
    This is not possible.
    I have used all the 5 additional Fields in the past in DP Macros to store & use values on product-locations that are not available in Standard APO Product screen.  But the Limit is 5 and this can be seen in /sapapo/matkey table and /sapapo/matloc tables as well (via Trnx. SE11).
    However In addition, you can create 'Z' Tables in ABAP.  Alternatively you can save Additional masterdata in your own customer created TimeSeries Planning Area of which the Characteristics will be Product and Location only to save anything additional you need in TS Planning areas.  Alternatively a BI InfoCube can be created with same characteristics. The Userexit can then Grab data from this InfoCube or Z Table to do whatever you want.
    Typically it is common that Demand Planning MACROS use it in their Code Logic.  Remember, none of the additional attributes are used in the Standard Planning Algorithms / Logic of SNP, PPDS, DP or TPVS.  You have to write Custom Logic which is possible via Demand Planning Macros in Planning Books created on that Planning area.
    So the Best Option for Additional Fields is a TimeSeries Planning area which DP Macros can be built to use. Of course the Standard 5 can be in Product Master (/sapapo/mat1) and then additional to whatever number you want can be in the TimeSeries Planning area.
    Hope you find this usefull.  Reward points if you do.
    Regards,
    Ambrish Mathur

  • Check mode in APO product master

    Hi - it is understood from SAP HELP that the check mode in the product master corresponds to the requirement class in ECC. I tried to understand for my case but couldn't get it. Below is the snap from SAP doc which explains this case. Can anyone please elaborate on this so I can understand it clear. I basically want to know exactly from where the check mode is getting updated in APO. Thanks.

    GC,
    Requirement class is determined in ECC.  There can be more than one way it is determined, the illustration you have supplied is an example of how default Strategy 40 determines the default of two different requirements classes; one for Planned Independent Requirements, and one for Sales Requirements.  You can see this in ECC by looking at the configuration for a Planning Strategy (OPPS).  Strategy group determines Strategy,  Strategy determines requirements TYPE, and requirements type determines requirements CLASS (OVZH/OVZG).
    During sales order processing, the sales order contains a requirements type (which as I said before, can be determined by the ECC Planning strategy, but also can be determined in other ways).  When ATP is triggered in ECC for execution in SCM, the requirements TYPE in the Sales Doc determines a requirements CLASS, which is sent to APO for ATP processing.  Requirements CLASS is integrated in SCM as CHECK MODE.
    When a new SCM system is delivered, there are usually no check Modes defined; YOU have to do that.  You select the Requirements classes you wish to manage (from ECC) and you define them in SCM.  They can behave the same as in ECC, or you can make them behave differently.
    So, when a sales order arrives in SCM from ECC, for an availability check, and containing a requirements class, the sales order goes to the SCM configuration you have created, looks up the CHECK MODE that you created, and performs the availability check according to YOUR configuration.
    Best Regards,
    DB49

  • % Remaining SL Field in the APO product master

    Hi All,
    Any body have used the field % Remaining SL field maintained in the product master. Does CTM or SNP Optimzer does consider this?
    What is the significance of the field?
    We have distribution center DC1 and plant PL1
    We have two minimum shelf life requirements for given product X e.g. Minimum Shelf life guarantee of 30 days for X at PL1 and Inter-company minimum shelf life of 45 days between DC1 and PL1.
    How can we design solution for this where for the stock transfer requisitions from DC1 to PL1 we want to use Inter-company minimum shelf life and Minimum Shelf life guarantee for sales order at the PL1. I am just thinking % Remaining SL (where I can define Ingtercompany Shelf life) is the one which helps me meet this inter-company shelf life, but it seems to be not working. May be I am not sure how do define and use it.
    Please share your thoughts, experience and ideas on addressing these two minimum shelf life requirements.
    Thanks.
    J.

    Try MAT_SET()
    MAT_SET ( ‘field name’ ;  field_value' ; <'product'> ;  '<version>' ) sets the value of the specified field in the product master record for the specified product in the specified version. The arguments for product and version are optional. If you do not specify an argument for the product, the system uses the currently planned product. However, it is better for performance reasons to use the function ACT_PRODUCT.
    MAT_EXTRA_SET() i think sets the fields in the extras tab

  • PIR & CIR is not getting displayed in APO product master

    Hi guys,
        I have created PIR and CIR in R/3 ,but it is not getting displayed in APO . Please guide me to resolving this what are the settings i have to check in the SAP system.
    Thanks
    S.Murali

    I am Basis consultant.
    Regarding RFC, logical system assinement, are the things are configured.
    But still it is not active the integration between R/3 & APO server.
    (Behalf of Murali )

  • Max stock level as safety stock from material master while running SNP Heuristic

    Hi Experts,
    Our user wants to consider max stock level as safety stock from material master while running SNP Heuristic, not the actual safety stock.
    Is there any possibility for this setup?
    --Kishore

    Hi Kishore,
    With the given details I suggest that the user can maintain the max stock level values directly in safety stock field of the material master for all materials to be planned by SNP heuristic (keeping the max stock level field blank). Then this safety stock field (which has actually the max stock level values) will update the safety stock values in APO product master and in turn can be considered for SNP heuristic.
    Note: The max stock level field in APO product master is used by SNP heuristic only when the target stock level method is maintained as 4, 5 or 6. Since your requirement is to use max stock level as safety stock, so it does not look like that you will be using these target stock level methods or the max stock level field in R/3 and APO. So, this can be left as blank in both R/3 and APO.
    Please let me know if this helps.
    Regards,
    Umesh

  • Safety stock and min safety stock

    Dear all,
    CAn anybody explain me the functional difference between safety stock and min safety stock?
    And what is the meanng of safety time?
    Karthick

    Hi,
    Safety Stock:
    The quantity of stock to satisfy high requirements. The purpose of the safety stock is to prevent material shortage.
    Safety stock as the name suggest is the stock level till which the dead stock or stock out situation will not arise (probable figure based on past data maintained in master).
    As such this figure is not stock, it is cut-off figure maintained in master which is used for Planning and once the stock level dips below this value, you can configure system to generate PR, orders automatically. It has its relevance in MRP and CBP.
    Safety stock is not used in production.
    Minimum Safety Stock
        The quantity that defines the lower limit for safety stock. This value cannot be exceeded.
        The safety is checked to see if it is greater or equal to this lower limit.
        The lower limit is checked if you use an availability indicator which shows, according to customizing settings, if the safety stock is to be calculated again in a forecast. If the safety stock is lower than this level in forecasting, the safety stock is automatically increased to the value of the lower level.
    The safety stock must always be greater or equal to this lower level (minimum safety stock)
    Hope this will help help you.
    Regards,
    Pavan

  • Safety Stock field/table in ASCP Horizontal Plan?

    Hello,
    I need to get the safety stock data that is seen from the ASCP's Horizontal Plan. Whiat table and field is it? Can't find it from MSC_DEMANDS and MSC_SUPPLIES. Thanks

    Hello,
    in an ASCP plan safety stock results/output is always populated in MSC_SAFTEY_STOCKS and not in MSC_DEMANDS.
    MSC_DEMANDS is populated for SS only in IO Plans
    safety stock demands can be seen in msc_demands with origination_type = 31
    HTH
    Geert

  • Rounding Value in Safety stock

    Hi All,
    Can anybody tell me about rounding value in Safety stock calculation.
    e.g. If safety stock is 1.710 then system should round it up to 2.0. what are the settings/customization requried to do so.
    Waiting for your earliest response.
    Thanks,
    Ambarish.

    Hi Edgar,
    The requirement is...When safety stock is calculated then in material master MRP2 view it should round off the value automatically.
    e.g.
    Safety Stock = Factor R* sq root (RLT/7 * MAD) where RLT = 7/6*(Pur Processing time + GR processing Time) + Planned delivery time.
    So the value of safetystock comes in decimal/fraction and the requirement is it should round off to next level.
    if value = 1.710 then system/logic should round off to 2.0.
    MRP type = VZ
    Thanks & Regards,
    Ambarish

  • Availability Check required without "Safety Stock"

    Hi,
    I have a fert material "FG' whose prodn order i am creating.
    This FG has a child Component "RM"
    Available Stock for RM = 20
    Safety Stock for RM =     20
    No Receipts / No Reservations exists for RM.
    I want the production order not to consider SAFETY STOCK. Hence in OPJJ i removed the Tick "Include Safety Stock".
    When i create production order, as per the above setting, it should show " Material Avaliable", but instead it is showing Material Shortage.
    Plz guide.
    Thanks in advance,
    Harris

    Hi,
    Here is my Availability settings.
    Availability Check = Z2
    Stocks     
    Include Safety Stock     
    Stockin Transfer     X
    Incl. Quality Stock     X
    Incl. Blocked Stock     
    Incl. Restricted - Use Stock     
    W/o Subcontracting     
    Replineshment Lead Time     
    Check without RLT     X
    Storage Location Insp.     
    No stor. Locn inspecn.     
    Missing parts processing     
    Checking period: GR     0
    Receipts in past     
    In/Outward Movements     
    Incl. purchase orders     
    Incl. purchase req.     
    Incl. dep. Reqt.     X
    Incl. reservations     X
    Incl. sales reqt     X
    Incl. deliveries     X
    Incl shipping notifcn     
    Incl depe. Reservations     X
    Incl. rel. ord reqs     
    Incl. Planned orders     
    Incl. Production orders     
    This Availability, Z2 is maintained in MRP3 view also.
    Regards,
    Harris
    Edited by: Harris Panchal on Nov 17, 2010 2:27 PM

  • CIF Exit for updating APO field SAFETY STOCK METHOD from R/3.

    Hi All,
    I have a requirement for updating filed "Safety stock Method " in APO from R/3.
    We can do it through transactions CFM1 and then CFM2 in R/3.
    This happens when we make changes in MM02 in R/3,
    for fields,
    In ECC, Goto MRP2 view in material master
    Safety stock (EISBE)
    Safety time/act cov. (SHZET)
    STime period profile (SHPRO)
    Currently, we are using a exit : Exit_saplcmat_001,
    but it only gets triggered when we make changes in safety stock and safety time.
    where as if we make changes only in STime period profile, and don't make any change in safety stock and safety time,
    in this case the exit is not triggered.
    Now, we are looking for an exit, which will get triggered even when there is no change in safety stock and safety time,
    where as there is change in STime period profile.
    Please suggest what can be used.
    Thanks & Regards,
    Rahul A

    Hi,
    You may need to include the field in some structure also.
    eg.  for sales order interface we add z fields to  structure /SAPAPO/KOMGO
    Thanks,
    Pavan Verma

  • ABAP dump error while updating product master in APO

    Hi All,
    Greetings from Vijay!
    I need to your help to resolve below issue ;
    I am getting error '
    No simulation parameters could be set for the
    active version'
    While i am updating and trying to assign active version to my product master in APO which are created in APO for regression testing
    and also sometimes system throwing dump error'
    Error in the ABAP Application Program
    The current ABAP program "/SAPAPO/SAPLDM_LC_SQL" had to be terminated because
      it has
    come across a statement that unfortunately cannot be executed.;
    I appreciate your help
    Thanks
    Vijay Job

    Hi Vijay,
    Can you check note 1465462 ?
    The same problem is mentioned in the note with correction .
    Regards,
    Mukesh pandey

  • Transferring Product Master Data Changes From APO to ECC/R/3

    Is it possible to transfer product master data changes in APO to ECC via the CIF?  If so, does it require custom coding?

    Hi James,
    In all the different clients where APO is being used with ECC systems. ECC system is always the main system (system of record) which contains all the master data and data present in ECC supposed to be the reference for APO system for planning purpose.
    Generally it is not recommended to transfer master data from APO to ECC but as mentioned earlier by some experts you may have ways to do that.
    I would be interested in the business scenario where one needs to transfer master data from APO to ECC.
    Thanks,
    Anupam
    Edited by: Anupam Sengar on Aug 11, 2011 12:31 AM

Maybe you are looking for

  • Help request for digital ou

    This is possible to connect a digital out of a sound blaster audigy 2 to ampli of my home theater it use a optical cable ? if it possible how i make it please ? Thanx alot

  • How to check a Purchase order sent through EDI?

    Dear All ,                                                                                 I have created a P.O and in Message tab there is a green indicator which shows that this P.Ois succsfully sent through EDI , also Condition records are well cr

  • Material PR transfer from ECC to SRM without Account Assignment

    Hello, When a material PR without account assignment is transferred to SRM. The scenario is determined as direct procurement and system will behave in extended classic scenario. I would need the PO to be posted in backend ie Classic scenario. We are

  • Difference Between Bw 3.5 and BI 7.0 versions

    Hi,      Can anyone please let me know the differences between BW 3.5 and   BI 7.0 Versions . I would appreciate if you can send me a detailed file to my email ID [email protected].      Thanks in  Advance  .. with regards vikram

  • How to implement the Struts plug in concept in JSF

    Hi, In my application I need to preload some data and keep it in ServletContext. In the struts app, I could do the same using Plug-In. For doing the same in JSF, do I need to write the ServletContext Listener or does JSF has some wrapper classes to p