Planned order run scheudle quantity getting dsitributed
Hi gurus,
Can anybodyu please throw some ideas on why a planned order run shcedule quanatity be allocated to the custoemr sales orders upstreeam by distribution. For example on a give n date there is planned order for 100 pieces. If i look the pegged requirements then what the system is doing it distributing the 100 pieces over 10 sales orders. why would this happen. Also until a certain date in future MD04 is not planning planned orders to be built eventhough there are dependent requiremtns befor that future date. What could be tje reasons that we could start to explorre?
Thanks
Anusha
Hi Anusha,
In SAP-ERP pegging is dynamic; I guess that you have a MTS scenario, with some lot sizing procedure that would get you to the situation that you have described. It only means that you produce 100 in one production run, and then this quantity is planning wise (pegged) assigned to the sources of demand (SOrds).
Anyway this goes through stock, so the real allocation to the orders is based on an ATP check in the order or delivery.
For your second question, check if you are using time fence definition (MRP View of material master) and an MRP type that is taking it into consideration.
Regards,
Mario
Similar Messages
-
Planned order with wrong quantity
Hi Experts,
We are having problems with Creation of Planned order. We create a sales order of say 300 quantity and run MRP. Planned order is getting created with quantity 301. Sometimes it works fine but need to know why is this happening?
Thanks and Regards
Neha KapoorHi,
Do the following Checks,
- Any Assembly Scrap is maintain in Material Master MRP 1 view.
- Maximum Lot size limit maintain in MRP 1 View.
- Safety Stock if Maintain.
Available stock at the time of MRP run and current Stock Requirement List (MD04) from where system calculate the net requirement qty during MRP.
Regards,
Dhaval
Edited by: Dhaval Choksi on Sep 2, 2008 6:48 PM -
Sales Orders line item quantity getting Zero after free good line item
Hi experts,
i am creating sales order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 sales order having some free goods material and line item after free goods line item having quantity zero.
for example A B are materials, A having free goods a1. when SO having 3 line items 10 for A ,line item 20 for a1 and line item 30 for B . But line item 30 having quantity zero.
find code below and advice .
lwa_ord_head_in-doc_type = 'ZSO'.
lwa_ord_head_in-sales_org = '1000'.
lwa_ord_head_in-distr_chan = '10'.
lwa_ord_head_in-division = '10'.
lwa_ord_head_in-req_date_h = lwa_rof_s-date_del.
*Order Header Update
lwa_ord_head_inx-doc_type = 'X'.
lwa_ord_head_inx-sales_org = 'X'.
lwa_ord_head_inx-distr_chan = 'X'.
lwa_ord_head_inx-division = 'X'.
lwa_ord_head_inx-req_date_h = 'X'.
lwa_ord_partners-partn_role = 'AG'.
lwa_ord_partners-partn_numb = lwa_rof_s-lease.
APPEND lwa_ord_partners TO lt_ord_partners.
IF lwa_rof_s-del_addr IS INITIAL.
lwa_ord_partners-partn_role = 'WE'.
lwa_ord_partners-partn_numb = lwa_rof_s-lease.
APPEND lwa_ord_partners TO lt_ord_partners.
ELSE.
lwa_ord_partners-partn_role = 'WE'.
lwa_ord_partners-partn_numb = lwa_rof_s-lease.
APPEND lwa_ord_partners TO lt_ord_partners.
ENDIF.
lt_rof_it_t = lwa_rof_s-zsd_rof_it_t.
LOOP AT lt_rof_it_t INTO lwa_rof_it_s.
lwa_ord_items_in-material = lwa_rof_it_s-matnr.
lwa_ord_items_in-plant = lwa_rof_s-plant.
lwa_ord_items_in-target_qty = lwa_rof_it_s-qty.
lwa_ord_items_in-comp_quant = lwa_rof_it_s-qty. "added on 12/29
lwa_ord_items_in-target_qu = 'EA'.
lwa_ord_items_in-t_unit_iso = 'EA'.
APPEND lwa_ord_items_in TO lt_ord_items_in.
lwa_ord_items_inx-material = 'X'.
lwa_ord_items_inx-plant = 'X'.
lwa_ord_items_inx-target_qty = 'X'.
lwa_ord_items_inx-comp_quant = 'X'.
lwa_ord_items_inx-target_qu = 'X'.
lwa_ord_items_inx-t_unit_iso = 'X'.
lwa_ord_items_inx-updateflag = 'I'. "'U'
APPEND lwa_ord_items_inx TO lt_ord_items_inx.
** Schedule Line Information
lwa_schedule_lines-itm_number = '000010'.
lwa_schedule_lines-sched_line = '0003'.
lwa_schedule_lines-sched_line = 'X'.
lwa_schedule_lines-req_date = lwa_rof_s-date_del.
lwa_schedule_lines-date_type = '1'.
lwa_schedule_lines-req_qty = lwa_rof_it_s-qty.
APPEND lwa_schedule_lines TO lt_schedule_lines.
lwa_schedule_lines_x-itm_number = '000010'.
lwa_schedule_lines_x-sched_line = '0003'.
lwa_schedule_lines_x-updateflag = 'I'.
lwa_schedule_lines_x-sched_line = 'X'.
lwa_schedule_lines_x-req_date = 'X'.
lwa_schedule_lines_x-date_type = 'X'.
lwa_schedule_lines_x-req_qty = 'X'.
APPEND lwa_schedule_lines_x TO lt_schedule_lines_x.
ENDLOOP.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
order_header_in = lwa_ord_head_in
order_header_inx = lwa_ord_head_inx
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
salesdocument = lwa_saledocu
TABLES
return = lt_return
order_items_in = lt_ord_items_in
order_items_inx = lt_ord_items_inx
order_partners = lt_ord_partners
order_schedules_in = lt_schedule_lines
order_schedules_inx = lt_schedule_lines_x
ORDER_CONDITIONS_IN =
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .Hi experts,
I am still waiting for your response......
Thanks in advance
Deepanker -
Sir i want to know the t-code where i will get planned order initial quantity .If i have planned order of say 1000 EA , now if i convert it to partial production quantity of say 200 EA by t-code MD04 then in front of my planned order quantity is 800 EA .I want to know from where i will come to know that my initial planned order qty was 1000EA.
Sir i wait for reply.Hello,
You will get the initial Planned Order No. and Quantity in the Table : PLAF.
The Field Names : PLAF-PLNUM and PLAF-GSMNG.
The logic should be:
As all the Planned Orders of a specific material are not going to be converted to Production Orders.
Which ever the Planned Order, you are going to convert to the Productio Orders, the report should update at the run time the Planned Orders to a Z Table.
If the Planned Order is converted Partially, the Planned Ordr no. will be intact with the reduced quantity, so your program shoud check the Duplication of the Planned Order numbers with the Actual quantity.
When required, the oupput should from the ZTable..
On similar lines or with some other logic ask your ABAPers to Devlop a report for you..
Regards,
Siva -
Planned order repeatedly generated.
for the request of sales order item production order is released ,but the new planned order generated once again after the mrp run .check the requirement list and repeated production display info .(exception :20 cancel process)
Hi Wang,
It looks like the planned order is excess quantity than the required. In your case may be the planned order is within the planning fence, so the MRP run would not automatically delete the planned order.
You simply need to go the the change mode of the planned order and delete the planned order.
Regards,
Prasobh
Reward your points if this was helpful -
Planned Order Creation after Sale Order MRP MD50
In a BOM of FERT material, one HALB material is present at different BOM levels. When we run sale order MRP (MD50), system will create one planned order for complete quantity (total qty of HALB material at all levels put together). Is there any way, so that system will create different planned orders for the same material present at different levels ?
Hi,
MD50 is T code for running MRP w.r.t sales sales, During MRP run system will explode the BOM and plan the requirements for all the levels( i.e, multiple levels)
with regards,
P.P.Anand -
Table For Planned Order Details From PP Module
In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
how to get history data for Planned order.
Please help us.
Regards
NagaI don't think that there is any history in regard to planned orders. PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
Regards,
Rich Heilman -
For a target based production creation of Number of planned orders reg
For a target based production, can anybody explain as to how the planned orders created/altered. The main question is the system generated planned orders can be altered, suppose the system generates 10 planned orders can we alter to 8 planned orders if so how?
Vachanala,
The way I understood "Target Based" production is that it is an MTS scenario and the Material is assigned with Planning strategy 11 in MRP3 view.
For this you need to PIR(Target) using transaction MD61 with requuirement type "BSF". Once this is done, you can run MRP using MD02 if for single material or run in background using MDBT transaction. Planned orders are created based on the target(PIR).
You can manually change the planned order dates or quantity in the change mode of the planned order, and system firms this planned order.
Hope this information helps...
Regards,
Prasobh -
Hi All,
1) If i create a Production order by converting a Planned Order,we will see the details of Planned order in the Production Order.
Now when i want to view again the Planned order details,if i enter Planned Order number in table-PLAF, i am not able to view any details and getting message no data available. May i know the reason?. Does it mean once a planned order is converted to Production order,its data in PLAF is deleted ?.
2) I have a Production Order with Quantity of 200 EA,and only one Planned Order number is mentioned in the Assignment Tab of Production Order.
Does it mean that the Planned Order mentioned here is of 200 EA or does this production order is created with 2 to 3 planned orders whose total quantity is equal to 200 EA. I want to know this,because i cannot see the Planned Order details no more.
Thanks in advance.1) If i create a Production order by converting a Planned Order,we will see the details of Planned order in the Production Order.
Now when i want to view again the Planned order details,if i enter Planned Order number in table-PLAF, i am not able to view any details and getting message no data available. May i know the reason?. Does it mean once a planned order is converted to Production order,its data in PLAF is deleted ?.
Yes, once the plan order is converted into production order, then plan order is offset ( dleted in PLAF, you can't see the plan order any more in PLAF
*2) I have a Production Order with Quantity of 200 EA,and only one Planned Order number is mentioned in the Assignment Tab of Production Order.*
Does it mean that the Planned Order mentioned here is of 200 EA or does this production order is created with 2 to 3 planned orders whose total quantity is equal to 200 EA. I want to know this,because i cannot see the Planned Order details no more.
In std, you can create a production order with reference to one plan order only, you can't assign multiple plan order into single production order,
But you can convert single plan order into Multiple production order -
BAPI for Scheduling Planned Order
Hi,
Please tell me if there are any BAPIs for Scheduling a Pllaned Order and for Deleting a Planned Oredr.
Thankes & Regards,
RahulBAPI_PLANNEDORDER_CHANGE Change planned order
BAPI_PLANNEDORDER_CREATE Create planned order
BAPI_PLANNEDORDER_DELETE Delete planned order
BAPI_PLANNEDORDER_EXIST_CHECK Planned order existence check
BAPI_PLANNEDORDER_GET_DETAIL Get details for planned order
BAPI_PLANNEDORDER_GET_DET_LIST Get detailed planned order list
All bapi's related to planned order processing
BR
Manthan. -
Create Planned order based on qty in APO or SCM
Hi All,
I am working product view in APO or SCM system .
Requirement is create new planned order with sales order individual length and planned order pegged to sales order in APO system.
Example
Sales order has factor 4 and individual length 1000( 4 x 1000 ). Total quantity is 4000M.
We need to create 4 planned orders. Each Planned order has a quantity of 1000M.
Please help me and let me if any function module is there.
Thank you,
Durga VintaHi All,
Thank you so much for your response.
I have placed a X pushbutton in product view- > Element tab.
If the user presses X then screen will display with sales order information based on Factor
Example Sales order has 4 x 1000 = 4000M
Factor individual length
1 1000
1 1000
1 1000
1 1000
If the user selects the 1st and 2nd and presses save button. We need to create two planned order for sales order. Each planned order has 1000 qty.
Please let me know if any function module or BAPI in APO system.
Thank you,
Durga Vinta
Edited by: Durga Vinta on Jul 16, 2010 11:38 AM -
Automatic changing of activity start date and time of planned orders in SAP
Hello experts,
I have a requirement that in the transaction /SAPAPO/SEQ1 for the list of planned orders what ever we get in the sap we have to swap the activity start date and time for two planned orders which we select automatically. For this I have found the BADI "/SAPAPO/SEQ_VISUAL01".
Now i am able to identify the two selected planned orders inside the BADI method SEQGRID_TOOLBAR_OKCODE_HANDLE.
Now my requirement is i have to swap the start date and time for these two planned orders automatically i.e. through BAPI or any FM.
Any idea of any BAPI or FM to change the details of the planned order.
Thanks,
Sanath.Hi Sanath,
Please check this BAPI BAPI_MOSRVAPS_SAVEMULTI3. This Bapi has the provision of chaning Planned Order & Production Order Data. Also, you can explore more info on available bapis in the T-code 'BAPI'.
Thank you,
Santosh KB. -
Mass update for production and planned order MRP controller
Hi Gurus,
It's anyway possible to mass update MRP controller for Production orders and Planned orders. If any please provide me step by step process.
Thanks,
B.Deethya.I feel You have changed the MRP controller in Material master and want to incorporate same in production order & plan order.
For Planned order Run MRP with delete and recreate mode, system will create a new plan order with MRP controller in Material master
For production order, Mass change is not possible, create a simple BDC or LSMW, And change the MRP controller -
Dear all,
There are materials for which the REM is activated & work scheduling view is also maintained.
When we create a Planned Order , order is created with PE type.
When we set the conversion indicator manually in Planned Order , it is not getting saved.
Hence can't convert the Planned Order to Production Order.
Any inputs?
Thanks & Regards,
SheikDear,
In REM there is no need to convert the planned order in Production order. We execute the planned order it self.
For REM, you will get the Planned Orders of Type: PE as You have a Prodcution Version and you have assigned REM Profile in the Material Master MRP - 4 View. So Production version is Marked as REM Relevant So your order type is PE.
Regards,
R.Brahmankar -
Repititive Manufacturing-Planned orders
Hello Experts
I have a REM planned order having a quantity of 100 nos. If I do GR of 110 for this planned order,it will give a warning message number: RM124: "Backflush qty> plnd ord qty. Over delivery for planned order carried out". I dont want over delivery. So I would like to make this message to error. Which is the tcode in spro.
Is there any other way to prevent overdelivery.Dear ,
I do not think Over delivery or under delivery tolerence in GR can be given in Planned Order level .Basically this tolerence level are in Work Scheduling view which is not applicable in REM scinario.
To my knowledege , there is no such configuration set up to avoid execss GR in REM .We need to think some txan variant OR User exit in MFBF level
Re: User Exit For MFBF
User exit in planned Orders
Regards
JH
Maybe you are looking for
-
Last night I tried to update to Aperture 3.4 on my MacBook Pro (late 2007 / 3,1 model) and received a message that I needed to install Mountain Lion 10.8.2 first. However, there was no update in my App Store account for 10.8.2. The update for 10.8.
-
Problem with com.sun.xml.parser.Parser
Hi , I am using weblogic 6.01. In my ejb class, I am parsing a String to create XmlDocument. I created xml registry in weblogic server. In my weblogic server's xml registry, I have com.sun.xml.parser.DocumentBuilderFactoryImpl as DocumentBuilderFacto
-
How to get Guid of all form libraries
I have a requirement where i should get guid of all form libraries so that i dont need to hardcode the Guid of form library in server object model.How can i achieve this..
-
My wallpaper photo is not stored in my list of wallpaper photos, or in my photos. Still displayed as my wallpaper. How do I save this photo back into my photos
-
I know there are quite a few solved posts like these but it's usually because of "mkinitcpio -p linux" not being regenerated. My problem is after boot Grub says: running hook [udev] running hook [encrypt] Waiting 10 seconds for device /dev/disk/by-uu