Field in Material Master to specify the number of Days to keep the stock

Dear Gurus,
I want to define in Material Master, that i want to keep the Stock of the Material of 4 days as Safety stock, My consumption of Material can vary from month to month low or high. But i want to keep the number of Days fixed in Material Master for the Safety Stock. So that if my consumption varies, my Stock Quantity for Safety automatically updated.
Regards,
Johi Kapoor

Hi,
Check the TAB safety time/act. cover {Screen field MARC-SHZET, Field selection group-57} in MRP-2 screen in net requirement calculation segment.
Regards,
Biju K

Similar Messages

  • How to calcuate the number of days

    Hi Friends,
    can some one help me out .. how to dispaly the number of days depending upon the from and to date selected by the user.
    eg :-
    there is one self service form.. in which three fields are there, they are 1) From date
    2) To date
    3) No of days
    now my requirement is, user selects from date and to date and i need to calculate the number of days he is selected and display in No of days field. can some one help me out logic for this.
    how to retrive from date and to date dynamically to my function.
    apart from writing function .. can we use $FLEX$ becoz two dates are valuesets.
    seeking for a solution,
    thanks in advance

    This doesn't sound like something that will be easy to do.
    A few questions:
    1) What flexfield are you referring to?
    2) What Self Service page?
    3) Can the 'No of days' ALWAYS be calculated? Or do you just want to default it so the user can modify it?

  • FM to get the number of days in Year,month and days by giving number of day

    Hi ALL,
    This is quit differnt.
    I need to give input the 'start date' and the 'number of days' and get the total days from the start date in year,month and day format.
    for example.
    start date :01.01.2009
    number of days as 32
    then i should get
    years:0
    months :1
    days :1
    Pleas help me out.

    hi Anusha,
    first u pass the date and the days to the following fm you will get the result date....
    data:date type sy-datum,
          r_date(10) type c.
    date = sy-datum.
    CALL FUNCTION 'CALCULATE_DATE'
    EXPORTING
       DAYS              = '32'
       MONTHS            = '0'
       START_DATE        = date
    IMPORTING
       RESULT_DATE       = r_date
    write:/ r_date.
    then you need to pass the result date and the date to the following fm to get the required output...
    CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
        EXPORTING
          date1                   = r_date
          date2                   = date
        IMPORTING
          years                   = v_years
         months                 = v_months
        days                     = v_days
        EXCEPTIONS
          invalid_dates_specified = 1
          OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    here u will get the difference in days,  months and year...
    i hope u wil get help from this...
    regards
    Ashu  Singh

  • How to get the number of days of a month belonging to a date interval

    Hi, i am getting mad around a problem, i have 2 dates and a month, i wanto to retrieve the number of days belonging to the month that are in the interval.
    eg:
    month january 2011 . begin_date = 11/JAN/2011, END_DATE 30/MAY/2011 result is 21
    month january 2011 . begin_date = 11/DEC/2010, END_DATE 10/JAN/2011 result 10
    month january 2011 .begin_date = 02/FEB/2011 , END_DATE 25/may/2011 result 0
    month january 2011. begin_date = 03/JAN/2011 , END DATE 05/JAN/2011 result 3
    and so on ...
    i appreciate any suggestion
    thank you
    Andrea

    Oh, I didnt see your result.
    SQL> with t as
      2  (select  to_date('11/01/11','dd/mm/yy') from_dt,
      3           to_date('30/05/11','dd/mm/yy') to_dt,
      4           'Jan-11' mnth from dual
      5           union all
      6           select  to_date('11/12/10','dd/mm/yy') from_dt,
      7           to_date('10/01/11','dd/mm/yy') to_dt,
      8           'Jan-11' mnth from dual
      9           union all
    10           select  to_date('02/02/11','dd/mm/yy') from_dt,
    11           to_date('25/05/11','dd/mm/yy') to_dt,
    12           'Jan-11' mnth from dual
    13           union all
    14           select  to_date('03/01/11','dd/mm/yy') from_dt,
    15           to_date('05/01/11','dd/mm/yy') to_dt,
    16           'Jan-11' mnth from dual
    17           )
    18  select from_dt,to_dt,mnth,
    19         greatest(
    20              least(last_day(to_date(mnth,'Mon-yy')),to_dt)
    21              -
    22              greatest(to_date(mnth,'Mon-yy'),from_dt)+1
    23                 ,0) cnt
    24  from t;
    FROM_DT   TO_DT     MNTH          CNT
    11-JAN-11 30-MAY-11 Jan-11         21
    11-DEC-10 10-JAN-11 Jan-11         10
    02-FEB-11 25-MAY-11 Jan-11          0
    03-JAN-11 05-JAN-11 Jan-11          3

  • Maximum number of fields in material master

    Hi,
    Could you please help to understand how many fields can be added in material master Tab.
    Example - If we create new material master tab as additional data and would like to add some fileds in that tab, is there a limit we can't add more than certain number of fields.
    Please advise how many cloumns can be added as well in one tab.
    Example
    Material master additional data Tab (New)
    feild 1 description field 4 description field 7 ......
    field 2 description field 5 description field 8 ......
    field3 description field6 description field 9 ........
    I think the fields should be assigned to feild selection group which is reserved as for Z fields
    Please confirm if my understanding correct for Z fileds
    211-240 Reserved for customers
    As I think only 20 field can be assigned to field selection group but My question is can we assign more than one filed selection group to one material master tab. I mean to increase the number of field to be added in new additional data tab can we add 111-120 Reserved for customers and 211-240 Reserved for customers to one material master additional data tab.
    Thanks

    Hi,
    For add fields to material master, check Note 44410 - Integrating cust.-specific fields in matl master (and related notes).
    Other note useful to understand the range of customer names in SAP: SAP Note 16466 - Customer name range for SAP objects.
    I hope this helps you. If you need something else, let me know.
    Regards,
    Eduardo

  • Maintaining Numeric Values in Alphanumeric field of Material Master

    Hello Everyone!
    Currently we are in midst of an SAP Project implementation. The problem arising is that we are using External Number for material codes which has already been used by the business in the legacy system. So the material code field has been set to Alphanumeric data type.
    During the data upload of material master a problem has been identified that some of the material codes that needs to be uploaded are number in nature or start with a numeral e.g 1234-5674-9, 1234-9876-D. While creating them the system generates the following error.
    Number 1234-5674-9 not defined for material type ICI PNT - Trading Goods
    Message no. M3318
    Diagnosis
    Every material type has a speific number range for external number assignment. The material number you have entered does not lie within the number range for this material type.
    Procedure
    Choose a material number that lies within the number range of your material type.
    Is there a way through which we can maintain such external numbers with Alphanumeric field.
    - Best Regards

    Hi Khalid,
    You assign as follows for external number range to your group
    From Number                                      to Number                                                                                EXT
    A                                                         ZZZZZZZZ( enter the number
                                                                    characters( Z) as required for your client)                                    Tick the Ext box
    By this setting you can assign ALPHA NUMERICAL external numbers
    Cheers
    Chris
    Edited by: CHRIS MM on Dec 27, 2010 9:27 AM

  • Adding field in material master

    Hi All,
    I am trying to add field manufacture part number in material master. In field selection Manufacture part number (mara-mfrpn) field is optional. I checked the field selection group at material type level, transaction code field selection group (MM01.MM02,MM03) and Industry sector specific field selection, every where the fieild is optional but it is not coming up in material master. Please let me know if i m missing some config.
    Regards
    Chetan

    Hi Chetan,
    Use material type HERS.
    Also find the following link useful.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/106f94ee-8dc2-2a10-a485-882871fa5c11?QuickLink=index&overridelayout=true
    Also from link http://help.sap.com/saphelp_470/helpdata/en/75/ee15c655c811d189900000e8322d00/content.htm
    some part is copied
    Create material master records
    If you work with MPNs, the number of manufacturers of a manufactured part corresponding to one of your firmu2019s own materials determines the number of material master records you have to create:
    If there is just one MPN corresponding to one of your firmu2019s own materials, you can enter it and the manufacturer directly in the master record for your own material. In this case, you need not create an MPN Material.
    If there are several MPN materials corresponding to one of your firmu2019s own materials, you must create MPN material master records with the material type HERS. In the Purchasing view, enter the manufacturer part number, the manufacturer (this can be either a vendor master record or a manufacturer master record), and your firmu2019s own, inventory-managed material.
    The MPN material master records are assigned to your firmu2019s own material. Stocks are managed with respect to the firmu2019s own material.
    0.8 cm steel bolts with a diameter of 0.5 cm are identified and stocked in your enterprise as the firmu2019s own, inventory-managed material RAW_S_08.
    The manufacturer Meyer & Co. sells these bolts under the number 8001 (the manufacturer part number). This information is stored in the MPN material master record S_MEYER.
    The manufacturer Smith Corp. supplies similar bolts under the number 4711. This information is stored in the MPN material master record S_SMITH.
    The MPN material master records S_MEYER and S_ SMITH are assigned to the material master record RAW_S_08.
    Hope it helps
    sBk

  • Purpose of Cash Discount field in Material Master

    what is the purpose of Cash Discount field in Material Master. what does it control. do it link to SKTO anywhere?
    please explain

    Hi,
    Cash discount is applicable for this material or not..
    This is for Sales only..
    Pricing Procedure (RVAA01) and if you activate SKTV and SKTO Condition types
    Cash Discount can calculate before tax or after tax
    Condition Type- SKTV(Statistical Condition Type)---If you check requirement is "14" which says Discount before Tax( This will calculate from the Filed Material master "Cash Discount Indicator" ie "SKTOF"
    Condition Type-SKTO-(Statistical Condition Type)--
    >Requirement "9" Discount After tax - here also it will consider filed "SKTOF" ie "Cash discount indicator in material master.
    SAM

  • Maintenance of Z field in material master

    Hi All,
    Could any body pls let me know where can I maintain the selection option for Customized field in material Master.( Means F4 options for any z filed)
    Any help will be highly appreciated.
    Regards,
    Meenakshi

    take help of abap guy.
    regards

  • New standard field in Material master

    Hi
    I have to introduce "RETDELC" field in Material Master.
    The said field is already available in MARA table.
    The field is available only in ECC 6.0 version.
    I have introduced the field in Field selection group and make it optional at client level, material type level and Transaction code level (MM01,MM02, MM03).
    But stil, i could not get the same field in Material Master- Basic Material data-2 view.
    Any help please!
    Regards
    Prasad

    this fields domain is DFPS_RETDELC .
    DFPS stands for Defense Forces & Public Security.
    In order to use this industry solution, you need to activate additional business functions
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/d8/686660a46d486e95f0a3588111376d/frameset.htm

  • Control Code field in Material master- Foreign Trade imports tab

    Hello Experts,
    I am trying to understand the purpose of Control Code(MARC-STEUC) field in Material master- Foreign Trade imports tab. I am also interested in knowing where does this field appear in our PO.
    Please help..
    Manish

    Normally control code specifies the norm to follow by the supply plant for a sale of exposrts. each contry will have a set of rules to get follow as a stuatory . this code specifies the rules or certificates.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/93/7443a5546011d1a7020000e829fd11/frameset.htm
    may be comes in a sale order.
    Regards

  • Add z field in material master at plant level

    I wanna to assign a new field in material master at plant level..
    What settings should be done to do this?
    Positive response will be highly appreciated.
    Regards

    hi,
    You can define the field directly via assigning the field to field selection group...This could also be done at industry sector, plant level as well....
    Check the path :
    SPRO >> Logistics general >> MM >> Field selection >> Assign fields to field selection group...
    SPRO >> Logistics general >> MM >> Field selection >> Assign field at plant
    SPRO >> Logistics general >> MM >> Field selection >> Assign fields at industry sector level...
    For this assign the field to the respective table and then provide it at OMSR...
    Assign field selection group to it...
    Then in OMS9 give the priority for hide/display/req/optional to field...
    If you want this to be added in the new screen, then you have to make the settings under "configure the material master"...
    Hope it helps..
    Regards
    Priyanka.P

  • Transportation group field in Material master..Sales/Plant data tab.

    Hello Gurus,
    The transportation group field in material master is Material specific or a plant specific?? caz whenever i am changing this transportation group field in one plant it is also updating with the same value in all the plant for the common material even though the Company code and Country are different forall the plants.
    Hope to hear from you soon as its a very high priority production issue..
    regards
    Rikinl

    The transportation group field in material master is Material specific or a plant specific??
    Its material specific.  Even if you have multiple sales areas or plants and if you change the transportation group, the change will be applicable for those areas also.
    thanks
    G. Lakshmipathi

  • Specific Field in Material Master

    Hi All,
    just some user can't see specific Field in Material Master with using MM03, but others people can. Where should  I change settings? Is it something to do with authorization?
    thank&regards

    >
    Jiami wrote:
    > Hi Biju, Pete
    >
    >
    > thanks for Support.
    >
    >
    > Material is created as ( Industry Sector: mechanical engineering
    >                                     Material Type: Trading goods)
    > Field name: Basic material (in Tab Basis Data 2).

    >
    > user can see Field now,
    > but just When we using MM03 in normal level, the Field will be displayed.
    > But after we given a plant, in Plan lever then we can not see this Field anymore in Tab basis Data 2.
    >
    >
    > thanks
    >
    > Jia
    execute OMSR,
    position on field MARA-WRKST
    click the button field selection  right of selection group
    you will now see which fields are assigned to the group
    and below you see in in which field reference the group is set to hidden.
    field reference is a multi usage, it can be for material type, for transaction, for industry .
    so you have to check at least the settings for your material, for the transaction where you get this effect and for the industry you material is created with.
    further there is a customizing transaction OMSA, which is plant specific field selection, and I guess that causes your effect.
    open it and see which selection group is assigned to it.
    then go back to OMSR and see what status is assigned to this field reference.

  • Hide field in material master

    Hi Friends,
    I want to hide a field in material master can some please give the step by step method of how to do the same.
    Regards,
    Wasim.

    Hi,
    Follow the steps to hide a field in material master:
    1.Just click the TAB ,(Which you want to HIDE )and get the field name (Press F1 & then in next screen click technical information)
    2. Use T.Code: OMSR and enter that field name and get FIELD SELECTION GROUP
    3. Use T.Code: OMS2 and click your material type(you used to create that material) and in next screen check Field reference ( you have assigned for the material type){{ ( example-->For ROH material type the "Field reference" is ROH)
    4. Now use T.code:OMS9, Double Click your "Field Reference" and select  FIELD SELECTION GROUP  & select round box of  HIDE  and save.
    Regards,
    Biju K

Maybe you are looking for

  • I need to re-install Photoshop CC and Lighroom as a paid subscriber --- how do I proceed?

    Hello, I am a paid subscriber to Photoshop CC (the subscription includes LightRoom).  Because of a problem with the hard drive on my iMac which required reformatting, I no longer have access to either software. How do I proceed so that I can continue

  • Trouble finding schema type in JDeveloper XPath editor

    Has anyone seen an issue where the JDeveloper XPath editor does not expose all XML schema types from a WSDL? The WSDL in question has a flattened WSDL with 4 different schema's (all having a different namespace). The xml elements in question have the

  • Event Notification Service

    I am running Messaging server 6. Is it possible to have ENS send a notification to a external email address(outside my email domain) when a new message is recieved in the users mailbox?

  • Pavilion m6 1045dx system restore

    About 2 months ago my computer was in the process of completing an automatic update when it failed to restore my files and settings.  I have attempted Windows System Restore on many different occasions but to no avail.  It always fails to load my fil

  • Mavericks USB Installation Menu Bar Not Working

    When trying to install Mavericks via USB drive on my 2011 Mac Mini (it worked perfectly fine on my 2009 Mini) I am unable to use the menu bar with my mouse -- none of the drop-down menues will open. My goal is to open terminal, but am unable to do so