Issue in Production Order Creation
Hi,
We are facing a problem on our production side. The background of the issue is that we have a subcontracting process in our Chemicals Business and we use to transfer material to Tolleru2019s location using 541 movement type. When we receive the finished material via creating subcontracting PO, system consumes all raw materials. But sometimes, it happens that Toller does not consume all stock of raw materials and that remaining stock remains at Tolleru2019s location. Since we are doing this for 6-7 years so a huge amount of stock was collected at Tolleru2019s location. Our users wanted to delete that stock at Tolleru2019s location so they transferred that stock from Tolleru2019s location using movement type 542 to a different storage location 2010 and then write off that stock from location 2010.
Now the problem is that when user is going to open production order, system is giving an error that raw material stock is not sufficient although stock is available in the system as shown in transaction MB52. And it is happening only to those materials that were written off before.
Please suggest what the issue is as it is highly affecting our production processes.
Best Regards,
AI.
Al:
the production order you mention is related somehow to the Subcontracting PO ?
It has the same components which were sent to vendor and then their stock was updated ?
It seems that there is no relation between both activities unless the material availability for production order were carried out considering subcontrator stock.....
Please, could you clarify the issue ?
Similar Messages
-
Excess goods issue against Production order
HI PP Gurus,
My requirement is to block excess goods issue of raw material against a production order.
Ex. Production order qty = 10 , For producing 10 Finish goods i require 10 raw material. When i do confirmation via CO11N the system automatically shows GR & GI Values in Goods Movement tab. there i change GI value of RM from 10 to 20 the system takes the value and does the GR & GI.
My requirement is that the system should not do GR & GI if the GI value is more than that is calculated at the time of creation of Prod. Order.
Thanks in Advance,
DevenHi,
Rstriction of excess goods issue against production order is not possible in standard setting.
For achiving this you have to go for User exit.
The logic should be
In MIGO check mvt. type 261
Pass the order through table RESB and select all the components with quantity.
Capture the header material of order and use this as input along with the order creation date, plant and BOM application to explode function module CS_BOM_EXPLOSION.
THis will give you the BOM components which were valid at the time of order creation.
Now compare these BOM components with the components from RESB with quantity.
Here conditions will come in picture
If quantity is exactly matching then GI will be possible
or if you want to keep tolerance limit say for 10% then accordingly you can map the condition.
Regards
Amit Parkhi -
Production Order creation through Tcode- CO10.
Hi,
Can I restrict new Production Order creation through Tcode- CO10 unless previous order is Techoed / closed.
Issue : Users having authorisation for CO10, are creating multiple orders without taking them to logical closure. Since budget is getting allocated for the each & every order, in the year end reconcilation becomes difficult.
Please suggest.
Regards,
Vivek S.Please post it in PP forum
-
Production Order creation through Tcode- CO10 unless previous order is Tech
Hi,
Can I restrict new Production Order creation through Tcode- CO10 unless previous order is Techoed / closed.
Issue : Users having authorisation for CO10, are creating multiple orders without taking them to logical closure. Since budget is getting allocated for the each & every order, in the year end reconcilation becomes difficult.
Without using an exit can we achieve it???
Please suggest.
Regards,
Vivek S.Hi,
You had to use the cusomter enhancement for the same
Thanks
SUMIT -
Batch Numbering vs. Production Order Creation
Hello
I am in a Pharma environment and have the following question / issue:
Batches are auto created at Production Order creation/release. In several cases the batches are not numbering chronologically?
A few givens / assumptions:
No deletions
No transfers
No combinations
This is affecting the sample assignments / sample sizes, as well the Dyn. Mod. functionality,but I pose the question straighforward as I've posted above.
Thanks for any thoughts..
V.Please search:
Batch Numbers Skipping in Internal Number range Assignment
Anytime numbers are skipped it is usually due to buffering of numbers which is a BASIS function and is done to optimize system performance.
Please have BASIS look into this for the objects mentioned in the above link. Your BASIS people should be well-acquainted with the process of number buffering across servers.
I am howevr curious as to how not having consecutive batch numbers affect the items you mentioned like sample sizes and DMR's. Can you elaborate on that? I can only imagine this is due to some customization or development you have done.
Craig -
APO: RRP3 automate Production order creation from planned order ?
Hi everyone ,
I have got a business requirement in APO where in Open sale orders uploaded in R/3, needs to be converted to Planned order and subsequently to Production order in APO-PPDS tcode RRP3 at all stages. They want to automate this process rather than doing it
manually.
Can anyone tell how is this possible . Any BAPI or function module available to do this . Please help.
Regards,
SyedHi,
1.You need to run the heuristics Planning of standard lots SAP_PP_002 in /SAPAPO/CDPSB0 by specifying the time profile
and strategy profile, planning version and propagation range, product and location.
2. Convert PPDS Planned Orders created to process orders thru /SAPAPO/RRP7 by specifying the product location start date of the order for production order creation.
Out put of step 1- For sales order requirement, PPDS Planned orders gets created.
Out put of step 2- PPDS Planned orders are converted to production orders.
Thanks,
nandha -
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
Good issue to Production order - Allows it in back posting date
Dear all,
Good issue to Production order ( 261 Movement ), allows us to post the component in back dated eventhough stock is not avaible on that date.
Example - Component stock on date 10.02.2010 = Zero , I made it Good receipt on date 18.02.2010 and now stock is available on date 18.02.2010.
Now GI to Production it allows the qty on current and back Posting date also , I want control on date with error message. It should not allowed the GI for back date from 18.02.2010.
Because of this our MB5B report shows the negetive issue qty if i post in back date.
Waiting for reply
Thanks and Regards,
SaurabhHi SAurabh,
PLease check whether Negative Stock is allowed for the valuation Area (plant).
GOTO >> SPRO >> MM>> Invetnroy management and physical inventory >> Goods issue/ Transfer Posting >> Allow Negative stock.
Untick the Negative stock allowed for your valuation area (PLant)
Regards,
Pravin -
FM for creation of production order creation
Hi All,
Can anyone tell me the BAPI for the production order creation.
BAPI for creation of production order through CO01 transaction code.
Thanks in advance
Ramesh.Hi,
Please check this FM CO_ZF_PRODUCTIONORDER_CREATE.
Regards,
Ferry Lianto -
Error while doing Good Issue for Production Order using BAPI
Hi All,
I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
*Action in Transaction (GM_CODE)
*GM Code for Goods Issue for Production Order is 03
gs_gmcode-gm_code = '03'.
*Header Data
*Posting date
gs_header-pstng_date = sy-datum.
*Document date
gs_header-doc_date = sy-datum.
*Item Data
*Material
gs_item-material = zptp_s_rf_migo_261-matnr1.
*Movement Type
gs_item-move_type = '261'.
*Movement Indicator
gs_item-mvt_ind = 'F'.
*Stock Type
gs_item-stck_type = 'F'.
*Plant
gs_item-plant = gv_plant.
*Storage Location
gs_item-stge_loc = gv_str_loc.
*Quantity
gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
*Unit
gs_item-entry_uom = gv_uom.
*ISO code for unit of measurement
gs_item-entry_uom_iso = gv_uom.
*Order Number
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = zptp_s_rf_migo_261-aufnr
IMPORTING
output = gs_item-orderid.
*Reservation Number
gs_item-reserv_no = gv_resv_num.
*Reservation Item
gs_item-res_item = gv_resv_itm.
*Reservation Type
gs_item-res_type = gv_resv_type.
APPEND gs_item TO gt_item.
Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gs_header
goodsmvt_code = gs_gmcode
IMPORTING
goodsmvt_headret = gs_headret
TABLES
goodsmvt_item = gt_item
goodsmvt_serialnumber = gt_serial
return = gt_return.
Thanks in Advance.hi,
did you look at message ?
System says, there are differences between the interface data and the order data. It can be anything. I think you should check
data in the interface .
this is the long explanation of your message :
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Feb 6, 2012 11:24 AM -
Selection Of BOM & Routing at the time of production order creation
Hi guys,
Please clarify how i can go about for the following mentioned scenario
I have one Master BOM(Finished Product Level) & alternative BOMs for that,similarly i have one Master Routing & alternate routings for the same finished product
At the time of production order creation is it possible for me to choose one of the BOMs & One of the routings of that particular finished product without creating a production version?
Awaiting for a quick response
VijaiHi vijai prasad shanmugam ,
In the material master MRP-4 view under the BOM selection you can maintain on what fatcors you want the BOM to be selected Viz. Selection by order quant.,Selection by explosion date.Selection by production version etc.
As far as the master recipe is concerned ........ I guess that if there are more than one valid master recipe maintained then SAP will prompt to select the one manually.........
But it the standard practice to maintain the production version ....... for the similar situation to the one that you have mentioned.
Please Let me know if I can help you in any way regarding this........
Please reward the points......... in you find the ans helpful.....
Thanks
Kaushik -
IDoc Configuration for Production Order Creation and Change
Hi All,
Please Help me out for IDoc Configuration for Production Order Creation and Change
I have found the IDoc for Production Order
Messgae Type : LOIPRO and IDoc type : LOIPRO01
Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
I have done following Configurations:
1. RFC Destination created for XI system
2. PORT was created for XI
3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
I need to know how to do the followning.
1. How do i configure the outbound Production order idocs when Production Order is created or changed.
2. in NACE (Output control) which is the Application for Production Order.
3. How can I set IDoc as output Type for Production Order Creation.
Thanks in advance
Dhanabal THi Michal,
I know that it is the old thread but still want to get clarified from you out of curiosity.
Unlike other IDOC, i actiavated change pointers for LOIPRO
1.message and idoc type is linked
2.function module , message type , idoc type is linked
function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
3.BD64, distribution model is created and distributed
4. port and partner profile is in place.
5. IDOC is not getting generated after creating the process order.
do we need to activate the change documents for the message type in BD52,
if yes can you please provide the object types for the same.
or i am missing something else. please guide me in this regards.
Thanks in advance for your time.
S.Janagar -
Notify of Production Order Creation service
The SDN WIKI for Integration of Manufacturing Execution Systems states that...
"Now, as of Enhancement Package 4, each time a production order is created in SAP ERP, that action automatically invokes the Notify of Production Order Creation service operation, which informs the MES system of all the details of the new production order. "
I am not able to locate any further documentation and definition of the Notify of Production Order Creation service. Please provide assistance on where to find documentation of this service.Look at these links , may get some help ....
https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/create%252bproduction%252bplanning%252border
https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/find%252bproduction%252border%252bby%252belements
https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/change%252bproduction%252border
https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/find%252bproduction%252bplanning%252border%252bfor%252bapproval%252bby%252belements%252b(SCM)
Regards
Abhishek -
How to get material's last posting date of issuing to production order?
Hi,
In my scenario, I need to get material's last posting date of issuing to production order (e.g. mov. typ. 261).
I tried to select the material documents whose movement type is 261, and restrict the posting date from month to month each time, until the first material document is selected.
But this method seems quite inefficient.
What kind of algorithm is more effient to do this?
Thanks
WesleyHi,
select max( budat )
from mkpf
into gv_budat
where mblnr in ( select mblnr
from aufm
where aufnr = gv_aufnr "(Prod. Order)
and matnr = gv_matnr "(Issued Material)
and bwart = '261' ).
Edited by: Azeem Ahmed Matte on Mar 12, 2010 12:33 PM -
Manual production order creation in MTO
Dear collegues,
I am stuck in a scenario:
I have a finished item A. strategy 20 is used.I created sales order for A in plant 1000. MRP run in plant 1000 happens. Through special procurement key 40, system generates planned order in plant 2000. Planned order is converted to production order. I can see in assignment tab of production order, Production plant is 2000 and planning plant is also 2000. Till here it is ok. I will do GR against production order in plant 2000 and through SD route I will send it to Plant 1000.
But when I create manually production order in CO08, always system sets in assignment tab of Production order , production plant as plant 2000 and planning plant as 1000. How to avoid this? Why manual production order is not like MRP generated planned u2013production order?
Kindly help.
Regards.Give below a try in sandbox (Not from experience, so not sure if it works):
At the time of production order creation, maintain the production plant in Sales Order & ensure the demand flow to MRP is switched off at schedule line (If you're not sure, take help of your SD person).
The order created in CO08 should now have production & planing plant as same. Once that is done, switch back the plant in Sales Order & release the demand to MRP. (I hope the cut over plan has addressed the sales & MRP flows, so no inputs from my end)
If the above does not work, then revert with details.
Maybe you are looking for
-
Please Reply
-
Verity collection and French Accents
I have a problem I have this french website I'm trying to manage but I'm having trouble with the stupid french accents. If I get the data from the database with a cfquery no problem I jsut add a cfcontent tag with the corect local and bingo all is go
-
I can't get my HP Officejet 4620 printer hooked up via wireless connection
I have tried every suggestion given to me . I went through the entire troubleshooting process . I also did the connection test , which the printer passed . So why is it passing the connection test , but not really connected ? I have turned off firewa
-
Currency conversions on screens for HUF, JPY...
Hi, I have noticed that when I use 2 fields for currencies that are defined with types NETWR (domain WERT8) and WAERS (domain WAERS) and properly linked on screen (referenced with DD) that conversion is not working properly. For example: REPORT zr_h
-
I updated my MobileMe account to iCloud, but I missed all my important emails
I updated my MobileMe account to iCloud last week. And I can not connet to mail account for almost one week. After I change the password, it works. But I missed all my important emails? Any one can help me?