SAP Add Pricing Tier Logic to the MRP Purchase Req Calculation

Hi experts,
ISSUE: SAP Add Pricing Tier Logic to the MRP Purchase Req Calculation .
> MRP currently generates purchase requisitions based strictly on a calculation of inventory, open orders, forecast, and purchase orders.  The purchase req quantities do not take advantage of the pricing tiers and their associated quantity discounts.  MRP may recommend a PO for 913 units.  At no time would a planner ever order such a specific quantity.  In addition, the planner would increase the order to 1020 to get the price discount for 1000 units (rounded to 1020 for carton quantity).  SAP should include a preset order table which would evaluate the MRP calculation and recommend an appropriate quantity based on the contract pricing tiers.
pls let me know it is posible or need any enhancement and how ?
thanks
humera

Hi,
Rounding profile works for u r query, there u can maintain quantity rounding for purchase process, also the rounding off method will set the limit of rounding for given unit of measure. The rounding off method can be maintained in SPRO > Material Managment>purchasing >order optimizing> Quantity optimizing and allowed logistic unit of measure-->Unit of measure rounding rules.
Hope this will help u.
Rgd
Shekhar

Similar Messages

  • MRP Purchase req renumbered

    Hi experts,
    MRP generates PR for our materials that stock level goes below rop...
    We have a release strategy for the PR.  So once a day we release those PR proposed by MRP.  the majority are converted to a PO and eventually received.  Which is fine.
    But some PR that were released are not converted to PO right away.  At the next MRP run these material/PR are updated and have a new PR number.  So we must release again.
    Is there a way to prevent this?
    thanks Daniel

    from OSS Note 365604 - FAQ: Release strategies in purchasing
    If you have purchase requisitions from material requirements planning (MRP) (EBAN-ESTKZ = 'B') that are subject to a release strategy, the system may reset a PReq release when the MRP is restarted. In this case, you should set 'Fix for material requirements planning' for the relevant release indicator (V_161S-FIXBP).

  • MRP- purchase req. without price

    Hi gurus.
    I have materials with stock transfer as special procurement (MARC-SOSBL) from other Plant.
    When I run MRP, PR is created without price despite that material has price in supplying Plant.
    However if I create PR manually with the same data, PR is created WITH price.
    I really appreciate your comments.
    BR
    JB

    Hello everyone!
    Do you know why is not possible to create a Purchase Requisition without a Plant? I'm trying to do that too...
    thank you in advance.
    regards,
    cecil

  • Add the field in the standard purchase order

    Hi
      I have the requirement like this
    I want to add two extra field in the standard purchase order (Tcode me2n) and display the data.What are the process for that.
    Thanks
    Mrutyunjaya Tripathy

    hi,
    u have to use user exits for adding additional fields for ME2N....some of the exits available for this transaction are..
    MM06E001            User exits for EDI inbound and outbound purchasing documents 
    MM06E003            Number range and document number                             
    MM06E004            Control import data screens in purchase order                
    MM06E005            Customer fields in purchasing document                       
    MM06E007            Change document for requisitions upon conversion into PO     
    MM06E008            Monitoring of contr. target value in case of release orders  
    MM06E009            Relevant texts for "Texts exist" indicator                   
    MM06E010            Field selection for vendor address                           
    reward if useful

  • How to create the Copy icon in the change Purchase order functionality

    Hi,
    In the shopping cart creation screen, there has a option to copy one Item in the Items in Shopping Cart section.This functionality is supplied by standard SAP.
    Now I will have to build the same logic ( Copy Icon with the copy and paste logic)  in the Cahnge Purchase Order functionality.
    So anybody told me how this can happen?
    Also want to know the BADI or some Function Module name from where standard  SAP did the same thing ?
    Thanks for your help in advance.

    Hi. You could add a new button by amending the template, then use the BBP_DOC_CHANGE_BADI to copy the item when it is pressed.
    Just copy all the details for the line to be copied in the BADI. I think you will have to generate new GUIDs for the new lines using function GUID_CREATE. All the other GUIDs, header, partner etc could be copied from what was already there.
    Alternatively, still using BBP_DOC_CHANGE_BADI, you could add a new custom field, see note 672960, called "Copy Item" and the user could enter an X or something in there to indicate they want to copy.
    Or how about a number of copies, they could enter 1 for 1 copy, 10 for 10 and so on?
    When the user presses check the BADI runs and you copy the lines.
    It would not be as neat to look at as the copy button, but it would actually give more functionality and would mean you would not have to mess around with templates.
    Regards,
    Dave.

  • Issue on Number Range for MRP Purchase Requisition

    Hi Gurus,
    Please help me on the issue explained below.
    We are already using SAP ECC 6.0 and SRM 5.0 and now we are implementing Plant Maintenance Module.As a result of this implementation ,we have created number of PR document types and assigned to unique number ranges in ECC. One of these document types has been maintained for MRP group for a material type in order to identify the MRP purchase requisitions created on the shortage of the materials for these material types.
    This functionality is working fine. MRP run for the materials is picking the appropriate PR document but number range of the document is not the same what was assigned to the linked document type.Some other number series is getting picked by system .
    There is setting under SPRO Consumption Based PlanningNumber RangesPurchase Requisitions
    Here, number range assignment is against plant. This is the same number range which is being taken by system on running MRP. But the desired number range is the one which has been linked to PR document type.
    If I change the number range above then number range for MRP PR in present system will get affected..
    Can you please advise me on above so that PR generated on MRP run should have appropriate number range?
    Thanks & Regards,
    Niti

    Hi,
    As per my understanding, what you have mentioned above is exactly the way SAP is designed. Its SAP Standard behaviour.
    But if you check your PR document type - no:range & the CBP no:range both will be same only since both refers to the same object.
    Please check the PR document type that you have assigned in the CBP & its no:ranges.
    Thanks & Regards,
    Ram

  • MRP based tax calculation

    Dear friends,
    I have a problem in pricing,
    Client will enter the MRP and tax percentage for a material.the tax is included in the MRP but i want to post the TAX to a seperate Gl account and MRP-tax to a seperate GL account
    Please help
    regards
    Ramesh

    Hi,
    Check this hope will be helpfull.....
    Reverse Calculation in Pricing Procedure

  • Purchase Req Should not be created if the order is Delivery blocked

    Hello All,
    I have a requirement in third party sales where the Purchase requistion should not be created if the sales order is delivery Blocked, as and when the delivery block is removed then only the PR should be created.
    Please help to fulfill the requirement
    Regards
    kiran

    Hi,
    Please check the field purchase req with delivery scheduling in scheduling line configuration.
    thanks
    Kuntla

  • Need to add a new page in the SAP Script as last page

    Hello,
    I need to add a new page in the SAP Script as last page.
    Currently I have three pages in the form(FIRST,NEXT,LAST). For this I created one more page END.
    FIRST page next page is NEXT
    NEXT page next page is NEXT
    LAST page next page is LAST
    END page next page is END.
    I used NEW-PAGE END in the main window but it is not working and also I trired with CONTROL_FORM this also not working.
    Thanks,
    Ravi.

    Hello,
    I need to add a new page in the SAP Script as last page.
    Currently I have three pages in the form(FIRST,NEXT,LAST). For this I created one more page END.
    FIRST page next page is NEXT
    NEXT page next page is NEXT
    LAST page next page is LAST
    END page next page is END.
    Create the text element in the main wondow of your form
    /E           ENDPAGE
    /:           NEW-PAGE END
    and call the element from your print program by using write_form, where you want the END page in your print.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          element = 'ENDPAGE'
        EXCEPTIONS
          element = 1
          window  = 2.
    Thanks,
    Ravi.

  • SAP Standard Customizing is missing after the Add-on installation

    Dear Experts,
    We have an ERP 6.0 EHP4 system and it has been using for a while. We have done an AFS 6.4 Add-on implementation on top of the ERP system.
    We have a configuration only client 200 on the system and that was already there before we did the add-on installation.
    Once the add-on installation is completed, we could see most of the SAP Standard configuration which should come along with the add-on is not there in client 200. But everything is there on Client 000 without any problem.
    What could be the problem ? have we missed anything here.
    I have found a note : 337623 which ask you to manually populate the configuration using SFW5.
    I'm not very clear about this. Should we really do this SFW5 ? or is there any other way that we coul'd get those configurations in to client 200 where we have years old other configurations.
    Appreciate of you could kindly give some ideas as to how I should get this problem fixed.
    Thanks a a lot in advance.
    Best Regards
    Kushan

    HI Kushan,
    This sounds like it might be the correct behavior. When you install an ADD-ON into SAP, the install process does not know which client you have saved your default customization settings into so it is likely going to put these into client 000 or 001.
    Does that help?
    J. Haynes

  • Once the Add-on is loaded into SAP B1 it is genearting follwing the warning message

    Hi Experts ,
    Once the Add-on is loaded into SAP B1 it is genearting follwing the warning message  is "Conversion from string """" to type 'Double' is not valid "
    Please find the attachment
    Thanks for the Support,
    Satish.

    Hi,
    At least one of addon function is to convert a string to number. If that string is empty, it may cause error. Need verification before converting.
    Thanks,
    Gordon

  • Add a custom-field in the table MARC and manage it in MM01/MM02/MM03

    Good day to all of you!
    I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows:
    In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say the field is MATNR OBSOLETE.
    I have searched and implemented the things in customizing: Made a copy of function group MGD1, added the field on the screen.
    MY PROBLEM! How to manage it??? When the user enters MM01/MM02/MM03 and update this field, the field should be updated in MARC.
    1. I am not sure that this custom-field should be on Basic Data1 or Basic Data2.They want it at plant level.
    2. How to manage the data transfer from SAP Standard Program and my Custom Function Group.
    PLs: Do not paste me link to sap technical site with that example, because there takes the custom fields and UPDATE a CUSTOM TABLE. I need to update MARC!
    All the documentations i have read until now tell you how to add the field, ONLY the first part of the SOLUTION.
    Any help, pls?
    Good day and thank you!

    Hi Alex,
    In which way you are trying to update that custom filed. Have you written any logic in EXITS/BADIS?
    http://pavelgk.pbworks.com/f/6729224-Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen.pdf
    and
    Just read the OSS note mentioned earlier.
    Symptom
    You want to integrate customer-specific fields in material master maintenance.
    Other terms
    SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001 
    Solution
    To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
          1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
          2. Enhancing online maintenance in customized material master maintenance:
          Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
          In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
          If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F): 
          Application examples for standard field selection:
          The field is mandatory and is to be flagged with a "?".
          The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
          The following data is required for each field:
                a) Field name        (T130F-FNAME)
                b) Field selection group (T130F-FGRUP)
                Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
                You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
                Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
                c) Maintenance status (T130F-PSTAT)
                List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
                d) Reference        (T130F-KZREF)
                This indicator must be set if the field from the reference material should be proposed during creation with reference.
    Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
    You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
    In addition, you must not add new standard fields to table T130F.
          3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
          Add the fields to central field table T130F (see above).
          Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
          Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
          For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
          If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
          Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
          As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
                a) Add the customer-specific fields to include CI_MMH1.
                The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
                Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
                b) Activate include CI_MMH1.
                c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
                d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
    Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
    In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
    Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
    If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
    If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
    To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
    check this link. It may helps you to solve your issue.
    Thanks
    Sravan

  • How to Add a new fields in the selection screen of LDB.

    Hi All,
    I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
    So could you please tell me for that where i need to add the code for selecting the data.
    Thanks
    Roli

    Hi
    welcome to SDN forum
    If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
    if you wants to modify the std LDB of SAp means take the access key and to modify that code
    if you add the extra field you have to modify the where conditions in the code also
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Sample code
    TABLES: SPFLI,
    SFLIGHT,
    SBOOK,
    SCARR.
    START-OF-SELECTION.
    GET SPFLI.
    WRITE:/ ’SPFLI: ’, SPFLI-CARRID, SPFLI-CONNID,
    SPFLI-AIRPFROM, SPFLI-AIRPTO.
    GET SFLIGHT.
    WRITE:/ ’ SFLIGHT: ’, SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
    GET SBOOK.
    WRITE:/ ’ SBOOK: ’, SBOOK-CARRID, SBOOK-CONNID,
    SBOOK-FLDATE, SBOOK-BOOKID.
    GET SFLIGHT LATE.
    WRITE:/ ’ GET SFLIGHT LATE: ’, SFLIGHT-FLDATE.
    Regards
    anji

  • Add Datafile in Logical Standby Database

    Hi,
    I have add one datafile in our primary RAC DB. We had logical standby database with file management is equal to manual. Both the primary RAC and logical standby db have the different storage structure. When the archive applied on the logical standby database its throws the error " error in creating datafile 'path'";
    Would appreciate if come to know the steps to add the datafile in this kind of environment. and how can i overcome from this problem now except skip transaction for that ddl.
    Thanks in advance.
    Dewan

    When the archive applied on the logical standby database its throws the error " error in creating datafile 'path'";Can you post the error message with the number.
    From Manual..
    8.3.1.2 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to MANUAL
    The following example shows the steps required to add a new datafile to the primary and standby database when the STANDBY_FILE_MANAGEMENT initialization parameter is set to MANUAL. You must set the STANDBY_FILE_MANAGEMENT initialization parameter to MANUAL when the standby datafiles reside on raw devices.
    Add a new tablespace to the primary database:
    SQL> CREATE TABLESPACE new_ts DATAFILE '/disk1/oracle/oradata/payroll/t_db2.dbf'
    2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
    Verify the new datafile was added to the primary database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/oradata/payroll/t_db1.dbf
    /disk1/oracle/oradata/payroll/t_db2.dbf
    Perform the following steps to copy the tablespace to a remote standby location:
    Place the new tablespace offline:
    SQL> ALTER TABLESPACE new_ts OFFLINE;
    Copy the new tablespace to a local temporary location using an operating system utility copy command. Copying the files to a temporary location will reduce the amount of time the tablespace must remain offline. The following example copies the tablespace using the UNIX cp command:
    % cp /disk1/oracle/oradata/payroll/t_db2.dbf
    /disk1/oracle/oradata/payroll/s2t_db2.dbf
    Place the new tablespace back online:
    SQL> ALTER TABLESPACE new_ts ONLINE;
    Copy the local copy of the tablespace to a remote standby location using an operating system utility command. The following example uses the UNIX rcp command:
    %rcp /disk1/oracle/oradata/payroll/s2t_db2.dbf standby_location
    Archive the current online redo log file on the primary database so it will get transmitted to the standby database:
    SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
    Use the following query to make sure that Redo Apply is running. If the MRP or MRP0 process is returned, Redo Apply is being performed.
    SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
    Verify the datafile was added to the standby database after the archived redo log file was applied to the standby database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/oradata/payroll/s2t_db1.dbf
    /disk1/oracle/oradata/payroll/s2t_db2.dbf

  • MD01 - in what order does the MRP run pick its materials to plan

    Hello,
    I would like to know how the MRP global run (MD01or inthe background)  picks  the sequence of its materials?
    Is it by order of material number? first number first run? or is there anyother logic?
    Thanks for any reply
    Aart

    Dear Aart,
    As well said by Dogboy49,the system plans the materials according to the low level code sequence.
    Materials may appear in several products and in several production levels of a product. The low-level code represents the
    lowest level of usage of a material within all product structures.
    It determines the sequence in which the materials are planned. The system plans materials with the low-level code 0 first and
    then those with 1 and so on. The lower the low-level code is, the higher the number assigned to the level.
    http://help.sap.com/erp2005ehp_05/helpdata/EN/f4/7d276944af11d182b40000e829fbfe/frameset.htm_
    Regards
    Mangalraj.S

Maybe you are looking for