MRP Area and SA Schedule Lines
Hello All,
We are looking at using MRP Areas and noticed it can not be turned off once on (ECC 5.0). Given that, is the following true with reference to schedule agreements:
- Will seperate schedule lines be created for each MRP Area (same material)?
- Does the receiving storage location come from the material master or the MRP Area (Does it matter if it is a type 01 or type 02 MRP Area)?
- Is it possible to define differen't receiving slocs in a schedule line for a Plant MRP Area?
Thank you,
Jerry
Thank you Charlie,
The link is helpful however it doesn't come straight out and answer the questions - meaning there is a bit of ambiguity there.
It would be appreciated if you or anybody that is using MRP areas with schedule agreements is doing the above.
Regards,
Jerry
Similar Messages
-
MRP Areas and Delivery schedules
We have managed to succesfully configure MRP areas, however we still have problems of transferring the MRP results to Scheduling Agreement. We can only set source list at plant level. Now same plant has different MRP areas. Please help.
Hi TAJUDDIN,
Let me rephrase my quiry. We have a customer that sends requirements to us, which we then send through to MRP, which gives us the nett requirements, which are then sent to the supplier.
We have been running this at plant level with no problem as the supplier was seeing all the requirements (from our customers/ subsidaries) consolidated. But now this requirements must be passed to the supplier per individual customer or subsidaries. For implementing this we created a new plant with storage Locations representing each subsidary, each subsidary has to be planned separately and handed to the supplier as individual requirements.
Hence we looked at MRP areas for this, the other option was to create each subsidary as a SAP plant but this is not neat. Our problem is that we are able to plan with MRP areas but we are unable to pass the MRP results to the agreement that we have with the supplier.
JUst though to give more infor of the full scenario might help, but in short you've been very helpful. I've learnt quite a lot.
I hope you'll still be patient with me while I try and understand as well as address the current issue we have.
Thanks. -
How to execute ATP check and update schedule lines for existing sales order
Hello all,
After stock quantity has been updated, wed like to perform ATP check and update schedule lines for sales documents which have not been delivered yet.
Is BAPI_SALESDOCUMENT_CHANGE useful to do so?
If so which fields should I set X?
At the moment, I called BATCH INPUT and execute ATP check.
But I'm wondering if this is not a smart way.
Thank you
YukoHi arnab
one way of achieving your requirements is
after creating the sales order you can execute the SALEs order MRP using MD50 transaction enter the order # and MRP control parameters 1,3,1,2. and execute.
Ensure the following before MRP.
1. All the master data are maintained for the schedule line creation for the components ( Source list, Scheduling agreements)
2. Material master with valid MRP data.strategy group having MTO strategy.
after sales order MRP you will get the schedule line created for the components
also MRp will create the cpacity requirements as we run the MRP with Lead time scheduling.
Hope this helps
SK
Reward your points -
BAPI to read and change schedule lines in APO
Hello experts,
We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
Thanks and regards,
ErgulHi,
You can use the below code to read the schedule lines.
Checking a session exists
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
If not create a new session and read it
IF gv_sims IS INITIAL.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
IMPORTING
ev_simsession = gv_sims.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
g_cre_chk = 'X'.
ENDIF.
CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
EXPORTING
iv_ebeln = p_l_t_acknh_ebeln
iv_ebelp = p_l_t_acknh_ebelp
TABLES
et_tpsrc_all = lt_tpsrc
EXCEPTIONS
matid_not_found = 1
locfrom_not_found = 2
locto_not_found = 3
scheduling_agreement_not_found = 4
error_selecting_schedagreement = 5
OTHERS = 6.
IF sy-subrc = 0.
reading the scheduling agreement records
READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
EXPORTING
iv_simid = '000'
iv_bzqid = ls_tpsrc-bzqid
IMPORTING
ev_ordid = lv_iordid
EXCEPTIONS
lc_connect_failed = 1
no_elements = 2
unit_conversion_failed = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
EXPORTING
iv_ordid = lv_iordid
iv_order_type = '16'
iv_simid = '000'
IMPORTING
ev_ordid = lv_eordid
EXCEPTIONS
order_not_found = 1
lc_connect_failed = 2
no_elements = 3
OTHERS = 4.
IF sy-subrc = 0.
APPEND lv_eordid TO lt_ordid.
CALL FUNCTION '/SAPAPO/DM_PO_READ'
EXPORTING
iv_simsession = gv_sims
is_gen_params = gv_params
it_ordid = lt_ordid
IMPORTING
et_schedule = p_lt_sched
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
OTHERS = 4.
ENDIF.
ENDIF.
ENDIF.
Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
Let me know if u have any issues.
Regards,
Siva. -
Delivery block on the line item and on schedule line
why are there two delivery block on the line item and on schedule line respectively in the sales order? which one is exactly used for blocking delivery order from creating ? thank you very much!
Hi
The reason being, each line item can have more than one schedule line. If the line item has only one schedule line, the block at item level or SchLine level gives the same result. If the line item has two schedule lines, and if you want to block only specific delivery(one among the two schedule lines) the block at item level blocks both the deliveries and if you use delivery block at schedule line level, you can block only the required scheduled delivery.
Thanks,
Ravi -
Scheduling Agreements and relevant schedule lines configuration !
Dear Sapients,
I request you all to help me in providing the configuration steps for Scheduling Agreements and relevant Schedule lines configuration.
Its urgent please help me !!
Regards,
Sreedhar.
kodalisreedhar----
comHi Sreedhar,
Scheduling Agreement with Delivery Schedules
Definition
An outline agreement that is created for one or more materials and outlines the overall expected quantity of the material(s) to be delivered to the customer over a specific period of time.
Use
The scheduling agreement is used as a basis for delivering a material. The customer sends in scheduling agreement releases, referred to as delivery schedules, at regular intervals to release a quantity of the material.
Structure
The structure of scheduling agreements with delivery schedules resemble that of other sales documents in the R/3 System, in particular the standard scheduling agreement.
Data that applies to the entire document appears in the header; data about materials appears at item level; and delivery dates and quantities appear in the schedule lines within the delivery schedule. Additionally, the system maintains a history that permits you to compare and contrast various generations of delivery schedules.
Integration
Data in scheduling agreements comes from three sources:
The customer sends in requested quantities and dates, normally by Electronic Data Interchange (EDI)
The component supplier enters data manually
The system automatically copies data into the scheduling agreement from master records
Please go through the below link for further information
http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm.
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
FG in MRP AREA and ROH comoonents are in different MRP AREA
Dear consultantas,
please i need to check this scenario with you if applicable or not:
i have ine plant 0001 and i created 2 MRP Areas 0001 (plant MRP Area) and 0002 (storage location MRP Area)
my finished product is planned in MRP Area 0001 and its components (in BOM) are planned in 0001 MRP Area.
do you think this scenario is applicable.Hi
You can map this business process very well in the standard SAP .Only thing is you have to make sure that both the MRP area are activated for MRP and Planning file entry to be done foe those FG and componenet which are in different MRP area .You can include them in SCOPE of Planning in the configuration and run MRP in MD01.Or u can run MRP in two different MRP area as per your requirement .
Hope this will help you .
Regards
JH -
Hi I've created MRP areas, and expect to run MRP by MRP area, however, when I click on the drop down list beside the field MRP area in MD01 I do not get a list to select an individual MRP area. Is this right?
ThanksHi,
we can use Total planning(MD01) for a single plant or use scope of planning to control whether total planning is to be carried out for single plant/sevaral plant/ for one MRP Area/sevaral MRP areas/ combination of plant and MRP Areas.
Steps :
1.Group together the plants which are to be planned in spro in --->Define scope of planning.(OM0E)
2. Define the scope of planning as 999 for ex and give description.
2. Now select that and Specify the sequence in which Plants and MRP Areas are to be planned,
3.Goto new entries and enter the plant as 1000/MRP Area as 1000 with counter 1 and plant as 1100 with counter 2 and save.
4.Execute the total planning either as online job or as background job.
5.The planning run has to be always started with paralle processing.
In SPRO in define parallel processing in MRP enter the destination for parallel processing for ex your server name and enter the no .of sessions as 1 and save.
6.Tcode MD01 enter the scope of planning group and selet the parallel processing and enter. Hope the above points taken care and resolve the issue. Thanking you. -
MRP creating multiple delivery schedule lines in PR
Hi,
We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement. Scenario can be further explained with following example.
Material Requirement for a month is say 1,25,000 units
Closing Stock say 25,000 units
PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time.
The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
How can it be achieved ?
Regards,
Nirav KinkhabwalaDear
Are you dealing with Single vendor where you want Multiple Schedule Line item through single PR which should be generated through MRP run ??
What you will have to do is to set up the Outline Agreement or Info Record for your vendor and material and then create the source record for this vendor- material relationship and make sure that this source record is set as MRP relevant. Once MRP is run, the vendor is automatically defaulted to your PRs. If in your material master, you have defined the same purchasing group for various material numbers, then with Transaction ME59, it is feasible that you can combine various PRs of the same purchasing group by flagging onto the 'Per Purchasing Group' indicator checkbox. Make a trial test and let me know how it goes.
Or you can use Qouta arrabgement in that case for different vendor .Please refer : Multiple Requisition line itme for Quota arrangement
Just check and revert
regards
JH
Edited by: Jiaul Haque on Dec 25, 2010 1:52 PM -
Strange MRP behavior - creation of schedule lines we don't need
We are having a very strange MRP issue that I'm hoping there's a solution for. If MRP looks something like this (extremely simplified):
04/16 SchLine 100
04/17 DepReq 100
05/16 SchLine 100
05/17 DepReq 100
06/16 SchLine 100
06/16 DepReq 100
06/28 --- Time Fence ---
Now a requirement comes along that increases requirements by 50 on each of the DepReq lines. MRP wants to increase each of the SchLine lines by 50, but must put them after the time fence. So far everything still looks Ok.
04/16 SchLine 100
04/17 DepReq 150
05/16 SchLine 100
05/17 DepReq 150
06/16 SchLine 100
06/17 DepReq 150
06/28 --- Time Fence ---
06/29 SchLine 50 (reschedule message, 4/16)
06/29 SchLine 50 (reschedule message, 5/16)
06/29 SchLine 50 (reschedule message, 6/16)
We can't put these where SAP wants them. We combine them into one schedule line for 150 and put it just inside the time fence. Now here's the problem. When we re-run MRP, it RE-CREATES the schedule lines for 50 so it looks like this.
04/16 SchLine 100
04/17 DepReq 150
05/16 SchLine 100
05/17 DepReq 150
06/16 SchLine 100
06/17 DepReq 150
06/27 SchLine 150 (the line we added)
06/28 --- Time Fence ---
06/29 SchLine 50 (reschedule message, 4/16)
06/29 SchLine 50 (reschedule message, 5/16)
06/29 SchLine 50 (reschedule message, 6/16)
How can we prevent it from re-creating the schedule lines for 6/29? We've already added 150 on 6/27. We can increase that quantity on 6/27 to one million, delete the three lines on 6/29, and SAP will still re-create them the next time MRP runs.
Thanks,
RandyHi,
Depending on the MRP type you have defined , procurement proposals are firmed and scheduled within the planning time fence.
Hope have defined a Time fence and MRP type P1 , the procurement proposals inside the fence are firmed automatically and hence to compensate for the shortage (new reqmts), new proposals will be created on the end of PTF.
yopu can choose from the following firming types:
0 -- Procurement proposals are not firmed automatically. No firming takes place with this firming type.
1 -- Procurement proposals within the planning time fence are firmed automatically as soon as their date is at least one day before the end date of the planning time fence. The date of new procurement proposals created in the planning time fence is moved to the end date of the planning time fence. As a result, these new procurement proposals are not firmed.
2 -- Procurement proposals within the planning time fence are firmed automatically as soon as their date is at least one day before the end date of the planning time fence. No new procurement proposals are created automatically within the planning time fence; that is, the shortage situation is not adjusted within the planning time fence.
3 -- Procurement proposals within the planning time fence are not firmed automatically. All procurement proposals required to cover the requirements are moved to the end of the planning time fence.
4 -- No procurement proposals are created automatically within the planning time fence; that is, the shortage situation is not adjusted within the planning time fence.
Regards,
Sheik -
PR created after MRP run, instead of schedule line
Dear all,
I want to create schedule lines automatically from the planning run, for raw material. I have maintained info record, scheduling agreement, quota arrangements and also the source list.
For the raw material, safety stock of 1000 nos. has been maintained. The current stock of the material is 0.
After MRP run, based on the upper level PIRs, schedule lines are generated properly. But, against the safety stock of 1000, a PR is generated.
I donot want a PR to be generated.
Please suggest a solution.
Thanks in advance,
Shrenik
Edited by: Shrenik on Mar 8, 2008 4:17 PMDear all,
I checked an found that the schedule agreement date does not have any effect. Even if the requirement date falls outside the date range, i am able to create schedule lines.
I also found that if i maintained GR processing time, then always a PR is created. If GR processing time is 0, then only schedule line is created. Moreover, planned delivery time does not have any effect on the calculations, even if it is 10 days, 20 days or 900 days.
Can someone please clarify all these? How are these times taken into account?
Thanks in advance,
Shrenik
Edited by: Shrenik on Mar 9, 2008 3:04 PM -
Partial delivery per item in sales order and ATP - schedule lines
Hi,
I've problem regarding ATP- schedule lines and partial delivery flag.
In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
Please look at next example.
Customer requires:
10 PCS of materail A on date X. Only 5 PCS are available on date X.
10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
So if we create outbound delivery on date X it will contain only 5 PCS of material A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
Problem is with material B.
The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
Do you know how to fix this problem?Hi,
I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
Example in same sales order we have:
Schedule line for item A:
DATE X confirmed quantity 10
Schedule line for an item B.
DATE X confirmed quanitity 0 (zeroe)
DATE Y confirmed quantity 10.
I would like to create outbond delivery on date X with:
item A quantity 10
item B quantity 0.
And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
Do you know how to do that?
Regards -
MRP not creating some schedule lines
Hello Gurus,
I hava peculiar issue for a Material.which has got dependent requirement from a header materila.
For some reason they want to run MD03 for this partnumber "ABC" . Materila is x type. It has got Valid SA, Valid SOurcelist,Valid QA.It has rounding value of 60, MRP type PD and EX .Not plannig teimw fence RLT is zero, GR time is 1 days .
In MD)4 below u can observe SChedule line is created except for feb 2nd, 03rd,o6, 7th.
QUESTION-1 :In below MD04 report no schedule lines were created for Dep req of feb 2nd, 03rd,o6, 7th.
Question 2:- even when STock is minus 6717 , the schedule line generated is for just 1400 etc
MD04 for "ABC" in Plant
02/01/2012 SafeSt Safety stock 480.000- 47.000-
10/17/2011 OI-SL 0451404013/00030 6.000 41.000-
01/25/2012 DepReq 28299890 4.000- 45.000-
01/31/2012 DepReq 28299889 512.000- 557.000-
02/01/2012 ShipNt 0197672394/0550397074 540.000 17.000-
02/01/2012 DepReq 28299889 600.000- 617.000-
02/02/2012 ShipNt 0197676022/0550397074 900.000 283.000
02/02/2012 DepReq 28299889 300.000- 17.000-
02/03/2012 DepReq 28299889 3,300.000- 3,317.000-
02/06/2012 DepReq 28299889 1,400.000- 4,717.000-
02/07/2012 DepReq 28299889 1,400.000- 6,117.000-
02/08/2012 SchLne 0550397074/00010 1,320.000 4,797.000-
02/08/2012 DepReq 28299889 1,400.000- 6,197.000-
02/09/2012 SchLne 0550397074/00010 1,380.000 4,817.000-
02/09/2012 DepReq 28299889 1,400.000- 6,217.000-
02/10/2012 SchLne 0550397074/00010 1,380.000 4,837.000-
02/10/2012 DepReq 28299889 1,400.000- 6,237.000-
02/13/2012 SchLne 0550397074/00010 1,740.000 4,497.000-
GURUS PLEASE ADVICE
Edited by: HKR on Feb 1, 2012 4:43 PMHello
Please check if there is any rescheduling exception messages near the fixed planning elements.
Notes 71877 and 25388 provides more details about the rescheduling check during the MRP run.
BR
Caetano
Edited by: Caetano Almeida on Feb 1, 2012 12:33 PM -
Erroneous link between R/3 Schedule Lines and CRM Schedule Line
Hi everybody,
I am analyzing the best approach to fix a duplicate schedule line issue in CRM. The documents are modified from R/3 by means of an IDOC (ORDERS05).
First of all, let me explain the process.
1.- Document is first created in CRM
2.- Document is updated from CRM in R/3 (Using middleware)
3.- In R/3, a customer program (Z), does a lot of calculations to the order (rejection, item splitting, Qty changes, creation of new Items, etc) and once its done, it populates the IDOC and sends the information to CRM (ORDERS05).
4.- CRM receives the IDOC, modifies the order.
5.- Document is update from CRM in R/3 9Using middleware)
The Z program, DOES NOT modify the database in R/3, it lets the process to be executed and also lets CRM to do this job.
I had to make several modifications to the XIF module, in order to allow many of those changes to be valid in CRM (i.e., A rejected ITEM is changed to be valid and it's Qty changed. CRM does not allow this to be done in one step, since the qty is "greyed" for no changes).
Edited by: Rob Burbank on Feb 17, 2010 5:34 PMMy issue is this.
The worst thing that happened, is the fact there is key fields in R/3 -> CRM, to link the schedule lines, since R/3 Uses the regular key fields in the T. table, CRM uses the GUID for the sched. lines.
After a OSS msg and many goes and comes, I had the suggestion from SAP to change from ORDERS05 Idoc into CRMXIF_ORDER_SAVE_M01 idoc, since ORDERS05 is not supported by CRM (however the Idoc is in the system).
I am not sure that is the best solution, in fact I do not believe that is a solution at all. CRMXIF_ORDER_SAVE_M01 does not exist in R/3 and even if somehow I do all the effort to create it in R/3, R/3 still does not have the schedule line GUID to properly point to the right record.
What I did to override this error, was to include inside the XIF module the CRM_APO_SALES_SELECT_GUIDS, CRM_ORDER_READ and CRM_ORDER_CONVERT_DOCNUMBER Functions to get all the sched lines for the specific orders in the guid form. However this solution does not work OK, since sometimes the CRM system is not able to properly return the correct GUID values and this leads to the duplicate schedule lines error.
If somebody has ever deal with a situation like this, I will appreciate if could share its point of view or even better, share the solution used.
As an extra comment, modifying the Z program to update the database and let middleware to do the job for us, is ou of the qustion at this momento.
Thank you for your time and help.
Sincerely
Meuli
Moderator message - Welcome to SCN.
There is a 2,500 character posting limit, but in this case I split it in two. -
STO and Multiple Schedule Line
Hi,
we create STO and we trigger ATP in SCM. We are currently getting multilple schedule lines. Then if you create a sales order and trigger ATP check it does not see all the schedule lines on the STO. It only sees the requested date and requested QTY.
Any idea why we are not promising on all those schedule lines on the sales order?
Let me know if someone saw this behavior before.
Regards
DavidHi David,
I suppose you have not activated the following customizing in APO:
SAP - Implementation Guide
Advanced Planning and Optimization
Global Available-to-Promise (Global ATP)
Product Availability Check
Consider Confirmed Quantity of Receipts
Please check and activate to consider confirmed quantities instead of requested qty for STOs.
best regards,
Michael
Maybe you are looking for
-
Notes on JDev 10.1.3
I watched the on-line presentation on Faces yesterday, and decided to dive in and try to build the same application myself. I noted the following problems, which no doubt have already been reported, but just in case... 1. The range validator presents
-
Freight Amount Posting.
Dear all I am use the Purchase account posting system when i want to add the freight on purchases at the time of GRN system is not allow me to post the transaction and giving the Error (Cannot Retrieve the tax information.) I try this in
-
Release Groups and code - PR and PO??
Hii Some body explain me about the significance of release code and groups in PR and PO release strategy.?? Thanks
-
Oracle 9i Transaction Performance (Real World vs. TPC)?
Hello: I was curious if anybody reading this forum has a server/disk architecture that has achieved over 10,000 Oracle Database transactions (with logging enabled) per second? If so, can you please supply me with the clustered or standalone server an
-
Unable to start Coreapplication_obis1 component
Hi, uinable to start Coreapplication_obis1 component in Enterprise Manger getting error message: error starting component oracle instance Thanks