Input routing on production order creation using BAPI_PRODORD_CREATE
Hi experts,
I have created one program for creating production using BAPI_PRODORD_CREATE it is working fine. I am trying to input the routing and alternate grp counter along with this but it is not updated in production order.
How to input the routing details for production order ?
Is there any BAPI/FM to update the routing details in production order ?
Thanks & Regards,
Karthi
Hi Sree,
Routing for the material already exists. I don't know the reason why its not picking.
If i maintain routing as mandatory in OPL8 tcode.
BAPI_PRODORD_CREATE giving error as "Order type YG01 requires a routing (transaction terminated)"
Thanks & regards,
Karthi
Edited by: karthi keyan on Aug 24, 2011 10:51 AM
Similar Messages
-
Multiple Input nodes to Sales Order creation using VC
hi experts,
i'm using BAPI_SALESORDER_CREATEFROMDAT1 for sales order creation in VC. i would like to get header details in a form and also like to get the multiple items details in a table and partner details in atable.i've to take both contents to create a sales order. when i click the submit button in the form " sold-to party is not defined" error message displayed and when i click the submit in table "DOC TYPE is not mentioned" message is shown. but i've given both details.
can you help me to solve my problem and i've confused which field is used to mention the sold-to party in the header_in.
thanks and regards
basheerHi,
I was facing the same problem while creating the sales order. Try giving following values:
If you are creating standard order, then enter 'TA' instead of 'OR' to the Doc_Type and enter 'AG' as a partner role instead of 'SP'.
It works for me. I don't know how??? Lets try.
Also try following links.
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/problems-working-with-bapi_salesorder_createfromdat2-527937#
http://www.saptechies.com/bapi_salesorder_createfromdat2/
Thanks,
Prashant
(PS. Do Rewards Points for useful answers) -
Routing selection in Production Order when using ECN in Routing
Hi experts,
I'm having some trouble with routing selection when using ECN in routing creation.
I tested a case where I have 3 routings without ECN, and the Order asked me which one of the 3 I want to use.
Then I created a routing with ECN. The order asked only one routing without ECN and the new routing with ECN.
Do you know if there is any relation about using the ECN in Routings and using at the same time Routings without ECN, when selecting the routing in production order?
Anybody can help?
Thank you,
Caio.Hi Ayoub,
All the 4 routings are valid from Oct.2014 to 31.12.9999.
The Order date is from Apr.2015.
I've made another test with 2 routings created with ECN and the order chose one without asking me what to choose. I don't know the criteria used in this functionallity.
Thanks,
Caio. -
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 -
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. -
BAPI for Production order creation against wbs element
dear all,
I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
material no,
order type
plant
qty
basic start dt & end dt
wbs
But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
For this what changes are required.
regards
ravi aroraHi,
2 options i can think of:
1. Create a BDC program by recording co10
2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
I believe option 2 should meet your need. Check & revert.
Regards,
Vivek -
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 -
Mandatory field in Production order creation field
Dea All,
I want to have a field mandatory at the time of production order creation. in CO01 Goods Receipt Tab there is a field of Goods Recipient in the second last row. Please guide me how can i make it mandatory field.Dear,
Yes it is possible through the user exist, input check is carried out for enhancement PPCO0018.
User exit PPCO00018 should use ful for order header screens GENERAL ASSIGNMENT, GOODS RECEIPT and CONTROL tab.
Or go to SE51 enter program SAPLCOKO Screen No 5190 click on change and the Lay out here you can define it as Input field Take help from technical person.
Regards,
R.Brahmankar -
Block Production Order Creation for Particular Order Type
Hi Experts,
I want to disable the production order creation for a particular order type XX01 however there are some existing orders for this order type which should be processed further.
In other words my objective is to -
1. Block new Production order XX01 creation -
2. Processing of order type XX01 should be possible.
Is there standard setting available to achieve this or user exist is the only option..
Regards,Hi
You can use the user exit PPCO0006 and its function mdoule EXIT_SAPLCOZF_003 to archive that. That function module is called when the user click enter after inputting the material/plant/order type in CO01 then you just need to check the imported value CAUFVD_IMP-AUART which contains the inputted order type then rasise an error message to tell user that the order type cannot be used due to certain reason. The source code need to be written there is very simple.
Regards.
Leon. -
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 -
Upload data for Tcode LT06(Transfer order creation) using BDC -very urgent
hi experts,
I got stucked up in writing a BDC for the Tcode LT06(Transfer order creation using wearhouse number) in MM module,
the problem is like this, when i go to the tcode LT06 , it will ask for material doucument,mat. docu. year and wearhouse number, iam entering the inputs and then press enter, as soon as i press enter it takes me to the second screen where i will be selecting the item and then click on the button called 'Generate TO item'
here the problem arises, as soon as i click the button iam getting a standard SAP error message(No Destination Storage Bin found in storage type 'IMP'). Due to this errror iam not able populate the batch input data on the screen, suggest me a proper solution. rewards will given if solution found useful.
Kishore KHi ,
I have done the same in Background with BDC and TR Number for Multiple Materials ,
Can u please explain the scenario, so then I would be able to try for solution ?
Warm Regards. -
How to select the correct routing for production order?
In table PLPO i have 4 different group numbers for a particular routing. I'm wondering how a production order, created in CO01, selects which one to use. Our base quantity is dz/hr. When I create an order for a particular material, it shows up as 290 as the base quantity. The group 1 is 400dz/hr, not 200. Why does the order choose this group number and not the group number 1.
Here is a screen from PLPO table.
Here is a screen showing the material master.
This is an image of the order details within the created order.PLPO contains operations
The planselection would be based on PLKO entries.
Please check online help to first get a better understanding on how routings are selected.
Routing Selection - Production Orders (PP-SFC) - SAP Library
Automatically Selecting a Routing - Production Orders (PP-SFC) - SAP Library
Definition of Base Quantity for Operation:
"Quantity of the material to be produced to which the standard values of the
operation refer" -
Blocking of production order creation
Hi All,
I need a help on blocking of production order creation.
I have few materials for which deletion has been activated in material master. But for these materials, while creating production order it is allowing to create by showing some warning message. But I want to totally block creation of production order.
Regards,
VijayDear,
Youneed to define for block for productio.OMS4 --> create new one material status (08) for "Blocked for Prod Order" and set the prodution.
If u want plant specific block then do not use this indicator in basic data 1 view ,use it in purchasing alse and MRP view.
Please check with Message No M7-127 at OMCQ. Here u can set error message
IMG>MATERIAL MANAGEMENT>INVEN>DEFINE ATTRIBUTES FOR SYSTEM MESSAGES. message no M7127
Change the warning message to error. Then create the production order and check.
Or Archieve material by SARA
Regards,
R.Brahmankar -
Serial number in production order creation CO01 Transaction
Dear All,
we are maintaining serial numbers for each product by using serial number profile .
For some products we creating serial numbers automatically during production order creation.
For some products we are selecting predefined serial numbers from IQ03,during production order creation.
But some products , we are maintaining serial numbers in excel sheet ,when ever production order created , we used to copy the required
serial numbers from excel and pasting in CO01 serial no provision fields.Here it is allowing to paste 20 serial no's at a time, but we want to
give more than 20 serial no's at a time
please find the attached screen shots and provide solution
Production order creation
Execute Transaction : CO01
After entering qty , we usually go to Header and select serial numbers
then it will populate provision to enter serial number for 30 sets
Here we are entering required serial number manually fro few products
The serial number to be used for this production order against this product like below
M1001
M1002
M1003
M1004
M1005
M1006
M1007
M1008
M1009
M1010
M1011
M1012
M1013
M1014
M1015
M1016
M1017
M1018
M1019
M1020
M1021
M1022
M1023
M1024
M1025
M1026
M1027
M1028
M1029
M1030
Then we will copy all 30 serial number and try to past in below screen
But it allowing only 20 serial number at a time not for 30
After pasting 20 serial no's , user manually selecting remaining 10serial numbers and pating in the same screen by scrolling the page
For example if production order quantity is 500 , then user put serial numbers 25 times it consuming more time
Requirement:
System should allow to paste all serial numbers at a time
Regards
SatyaHello Satya,
I checked this requirement and did not find anything relevant.Even for MIGO there is a note 1883420 - In the transaction MIGO only 6 serial numbers can be entered at the same time .So as per my view you can either
1. Create serial no's before hand which you want to paste from Excel or
2. Some custom/alternate development for CO01,discuss with your Abaper. or
3. Raise OSS messge to SAP.
Regards, -
BOM Explosion based on Production Order Creation
Hi PP Guru,
My client wants the BOM Explosion date to be based on Production Order creation date. Could you help to advise how to set-up this requirement?
I have showed them these possible System Configuration in BOM explosion, but none of these options are applicable to their current business practice.
<OPPQ> BOM Explosion:
BOM explosion number/order start date
1 Order start date
2 Order finish date
3 BOM explosion number/order start date
4 BOM explosion number/order finish date
Looking forward to you reply.
thanks,
JohnHi Sundaresan,
Thanks for your reply. So do you think there's any other way to fulfill the client's requirement? I was thinking to do the "PP Master Data" instead, in order to choose the date of explosion.
Actually the scenario is this:
Initially the Material XXXXXX has a valid BOM on 03.01.2011 to 12.31.9999, but then, some changes has been made, maybe the user has changed the component or added new component using 04.01.2011 to 12.31.9999 as validity date.
For example, the user created the Production Order (manually in CO01 or from Planned Order conversion) on 03.20.2011 and the Order Star date is 04.01.2011, so the system will copy the updated BOM which is valid on 04.01.2011 to 12.31.9999 (based on Order Start date).
However, the client wants to explode the previous BOM instead (03.01.2011 to 12.31.9999).
Please advise.
Thanks,
John
Maybe you are looking for
-
IPod nano charges but is not recognized
Good morning. Im writing this topic, because I saw all the topics about this same problem, and none of them solved mine. I hope you can help me on this, so here is the thing: When I connect my iPod to the 2.0 usb port, the ipod lights its screen, cha
-
Insert the SR Type in a weblink
Hello, I would like to create a Service Request from an existing SR. Everything is auto-populated correctly except the SR Type. Is there an issue when we put the field +&ServiceRequestEditForm.SR Type=%%%Type:_Serial_Number_-LIC%%%+ in an URL? If I r
-
Blank or partially blank pdf documents
I have a problem when receiving pdf documents, mostly from Asia region. When I open them, there is usually a header or a few lines and the rest of the document is blank. I have installed the language characters add ons and such, but still have this p
-
Hi, how do I use a cursor inside a stored proc?..does anyone know a good site which helps me to learn I am doing a login application where users are created and autehnticated I am trying to write a stored procedure which will actualy get input from t
-
Adobe AIR 1.5.2 now available for download
Adobe AIR 1.5.2 is now available for download. For additional information, see the following links: Adobe AIR 1.5.2 Release Notes http://www.adobe.com/support/documentation/en/air/1_5_2/releasenotes_developers.html AIR team blog post announcement htt