Creating Production Order from Planned Order
Hi,
We are trying to use the BAPI 'BAPI_PRODORD_CREATE_FROM_PLORD' to create Prod. Orders. But it is failing with the message, 'Cannot be saved. Maintain serial no.' Now, the problem is there is no input parameter in this BAPI for providing the serial numbers. Our current Z program manually generates the Serial Numbers and uses BDC for 'CO48' to create the Prod. Order but has a horrible performance and for that reason we are trying to switch to BAPI instead).
Now, the question is how best to achieve this objective: Use the BAPI to generate Prod. Orders from Planned orders with user-given serial numbers when there is no input option in the BAPI?
I think of couple of options but not sure how good they are:
1) Can we create/attach the serial numbers to the equipment/material first and then create production orders?
2) Use implicit enhancement to add another parameter to BAPI and use it instead. This one seems little technically complicated because the BAPI itself calls tons of other programs (including CO48) to create Prod. Orders so the right place to insert the numbers might be difficult.
Any clues how to solve this problem would be appreciated..
Thank you
Hi,
REM manufacturing is simpler way to book the production.
What is needed for REM is first question.
1) REM profile
2) Material on REM with this profile and REM tick
3) Have normal BOM and routings/ rate routings and work center
4) Define Production Version
5) Define Product Cost Collector on which all costs are booked whenever you do your confirmation thro MFBF
Having defined these master, once you run MRP you get planned order of PE type. It was earlier also callled as RS i.e Run Schedule.
By using MFBF, backflushing transaction can book the production. REM is period based type of production booking unlike discrete where you make a production order of particular material for some dates, it is lot based production booking.
Hope it is clear.
Srini
Similar Messages
-
Create refurbishment order from planned order at MD04
dear all,
we are converting refurbishment order from planned order usin MD04 (stock requirement lis). when we convert it, there is a error number IW828 with message
serial number profile is assigned to material X. serialization is obligatory for the serialization procedure considered here.
its appear after we save it.
but system still create the refurbish order.
did someone know where i can put the S/N without entering refurbisment order change menu or (IW32)
Regards
Ayu NoorfajarryaniHi Girija ,
You can contorl it by authorization (Remove Authorization of CO01 of users )
The orders created through MRP are having referance of planed order in addational data tab
Regards
Girish -
Routing not getting copied from planned order to production order
Hi PP gurus,
I have created BOM & Routing for Fert material.Both are valid from 19.05.2008.
When am converting planned order to production order today i.e. 20.05.2008 am getting a pop up ''no task list maintained for the material''.
When i check in CA03 & CA02 for the same material , system gives pop up no task list maintained for the material .
In CA01 , for the same material it shows routing is available & asks to create for 2nd counter.
Pls. throw some light on this as am stucked .
Thanx in advance n your solutions will be rewarded.
Regards,
Nagraj VasmateHi,
This is in regards with your reply to this thread -
Hi Nagraj
You would have created this FERT material Routing in the same group counter of any other material. So while creating it will show the same group counter number of other material.
Delete the existing FERT routing and recreate the Routing for FERT with different group counter.
Now you convert from plan order to prod order. Then the system will allow.
Hope this is clear.
Regards
J . Saravan
I feel in my case it could be the reason why routings are not copied in production order, can you please explain this in details for me? -
Create production order from sales orders
Hello,
I am looking for some detailed documentation in order to make customizing in sales module. The aim is to create production orders from sales orders..
Thanks for your helpSee the following link from SAP help online:
> http://help.sap.com/saphelp_47x200/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
It contains lots of useful information on Make-To-Order Production.
I hope this helps.
Gerard -
Error while creating work order from purchase order
Dear All,
We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
Error - "No master data assigned to partners-locations-product combination."
Done all the setting mentioned in the below thread but the error still persist.
Error in Generating Work order from Purchase Order
Any suggestions on which master data we need to check?
Thanks,
mahesh.Hi Mahesh
In the below transaction
/SCA/MFGCFG - Work Order Configuration
Can you maintain Master data Assigment properly
Valid From
Valid To
Active---Checked
Can you please list what you maintained
Regards
Vinod -
Default PR Type when convert from Planned Order
Hi all,
How can I default my PR Type when convert from Planned Order after MRP run. This can done via MRP Group control but how to go about controlling via Planned Order profile?
Which planned object type and planned order profile to be used? assuming that i need my planned to be output at LA type and convert to NB1 PR type instead of the default NB PR type?
Thanks.
Regards,
AndrewHi,
The system determines the document type from the stettings u are making in "planned order Profile" in Customising for MRP. There u define the order type, the procurement key and the special procurement key and also the account assignment category. So based on the procurement key and the special procurement key maintained in the Marterial master, the document type is selected.
Production > Materials Requirement Planning > Procurement Proposals > Planned Order > Define order profile
Choose the planned order type - NB1 Within this you specify the P req doc type to be used.
Through MRP group and the different PR document type for MRP generated PR is possible only if you assign the document type to MRP group in the MRP configuration.
Please try and come back.
Regards,
R.Brahmankar
Edited by: R Brahmankar on Aug 28, 2008 10:54 AM -
Production order from sales order
Hi experts,
I have created production order from sales order through t-code co07, there it shows error "Sales order has no CO object" like this.. how to resolve this.
ThanksHi,
KA01 configuration is must for CO object And OKB9 config where we configured the Cost Element to Cost Center basing on the profit center as we have the Automatic Acct Assignment.
Please try and come back.
Regards,
R.Brahmankar -
BAPI or FM to create outbound delivery from Sales order
Hello All,
My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
I should not use two FM.
Could you please tell me some FM which does both in one go?
Thanks and Regards,
Rahul SinhaHi
Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / 'Delivery ', t_created-document_numb.
Regards,
Sreeram -
Create Billing Document from Sales Order (Without Delivery)
Dear Experts,
Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type to meet above requirement.
Thanks in advance.
Best Regards.
RiponHi
There are two most important configuration:-
1) In VOV8 for your Order Type maintain the Order Related Billing Document
2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
Regards
Amitesh Anand
Edited by: Amitesh Anand on May 24, 2010 5:09 PM -
Set new Required Field for MD14 and MD15 for conver from Planned order to P
Dear all,
I would like to set new required field (Purchasing Organization) in T-CODE MD14 and MD15 for convert from Planned Order to PR. What's should I do?
Please help, I 'm new for MRP.
Best Regards,
KateHi Kate,
You are not on the right track; MD14 and 15 will choose the PLANNED ORDER population for the conversion. In planned orders there's NO PURCHASING ORGANIZATION DATA (normally)!
So even if you managed to put the field on the screen, it will not do anything that makes sense. -
Field setting when collective conversion from planned order to PR
Dear expert:
Is there any way(except ABAP enhancement) to add the field "tracking number" in MD15 when I conduct collective conversion from planned order to PR. Seems in standard config this field in not included in this screen. I have set this field as a mandatory field, but even though when I conduct the conversion, this field still can not be displayed in the MD15 conversion screen.Hi,
There are following T. Codes to convert Planned Order to PR;
MD14 - Individual Conversion
MD15 - Collective Conversion
MDUM - In Background
Also MD04
User Exit is LMDZU001 - User exits in additional planning -
Material assigned to old PR when tried from Planned order to PR
Hello Masters,
I have a situation where my user is getting unprocessed MRP list using MD06. Then he would select a material and go to planned order. Then create purchase requisition form planned order.
In general practice system should create a new purc req but its assigning the material to old (1998) purch req.
Can any one give me the concepts assigning to old purchase requisition...
The issue is occurring for last one month and its heating up...
Really appreciate your valuable suggestions.
Thanks,
Ravi ShankarANS to above Qs:
Is this a requisition for the same material?
Its for diff material.
does SAP just add another item line to this old requisition?
Yes, SAP adds another line item to existing old PR.
Is there any commonality between the expected new requisition and this old one?
Only common thing is that the newly next creating PR number is matching with old R2 system purch req.
Is the old requisition still unprocessed?
Old PR is processed.
Can it be that the number range was reset while you still have requisitions in the table?
I did not see number ranges reset in configs.
Here is the clear pictureu2026
Purchasing was on old SAP R2 till April 2007 and moved to SAP R3 after April.
After April 2007, the PRs have a range which is matching with the range of SAP R2 PRs.
When system automatically created PR numbers, there is a chance that the newly created PR number is already existing in SAP R2. In that case, R3 is picking up the matched R2 purch req and appending material to that old purch req.
I feel there should be some config which will tell R3 system to pick next available number which does not match with R2 purch req numbers.
Thanks Jurgen...
Ravi Shankar -
FM/Class for creating service confirmation from service order
Hello Gurus,
Does anyone know a FM/BAPI/Class to create service confirmation from service order ?
With warm regards,
Kallol BhowmickHello Kallol
You can trigger a confirmation from service order using action profile.
Here is how to define action profile:
IMG > CRM > Basic Functions > Actions > Actions in Transaction
Dialog Stucture> Action profile:
Object type = BUS2000116
Context class = CL_DOC_CONTEXT_CRM_ORDER
Dialog Stucture> Action Definition:
Processing time: Processing using selection report
Check box schedule automatically, Changeable in dialog and executable in dialog.
Dialog Stucture> Processing types
Permitted processing types of actions: Select - Method Call
Settings method call: Method - COPY_DOCUMENT (you can also try COPY_DEF_ITEMS)
Processing Parameter:
-Select change icon a new window opens - container editor
-select create icon another window opens - display container editor
Here enter following:
Element = PROCESS_TYPE
Name = PROCESS_TYPE
short desp = PROCESS_TYPE
Tab > Dtype:
Structure = CRMC_PROC_TYPE
Field = PROCESS_TYPE
Tab> initial value
Here maintain the transaction type of your confirmation.
save your action profile. Now assign action profile to Service oder transaction type.
I hope this info helps.
Regards
Rupesh Patil -
Error while creating Delivery Note from Sales Order
Hi,
I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
Can you please let me know, why this error comes. And how to rectify this error.
Please let me know, what are all checks, I need to do, to know this error.
Thanks,
SandeepHi
There may be following reason :-
Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
Regards
Amitesh Anand -
Change in document type while creating billing document from sales order
While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
How can i change it?
Regards
RajHi
If you use another existing document type, check that it has a number range suitable to you. Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
It is useful to make the FI document number the same number. If I understand from the forums, the FI number range must be external. Search the forum for this. It is very useful for the Finance people.
Kind regards
Dawn
Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM
Maybe you are looking for
-
IPhone 5 will no longer connect to home wifi
My iPhone 5 has been connecting to my home wifi without any troubles, however all of a sudden, for the last couple of days it will no longer connect. When I go to Settings, it shows my the name of my home network next to Wifi as though it's connected
-
How to delete Windows 8.1 Recovery Partition
No, if I create a USB recovery pen on this system IT DOESN'T SHOW ME AN OPTION TO REMOVE THE ORIGINAL RECOVERY PARTITION. I had to go throgh EASEUS Partition Master to delete recovery and extend drive C and after that couldn't boot as usual. Had to u
-
When I click on an image on a web page using Safari, instead of opening the image in a new window (as it did 2 weeks ago) the image is downloaded to the desktop. If the image is a link to another web page it behaves correctly. It only happens if the
-
Adding field to CN41 Transaction
Hi Guys, I have a requirement to copy standard transaction CN41 to ZCN41 and add below fields to the report. Vendor u2013 AFVGD LIFNR Purchasing Org. u2013 AFVGD EKORG Purch. Group u2013 AFVGD EKGRP Purch Group Desc. Responsible DE u2013 AFVU ZZRESPO
-
How to recover DPM if the whole server fails
Hi all, Our clients is using DPM and they need a step by step procedure to recover DPM server in event of server failure, any help?