ARCHIEVING PRODUCTION ORDERS
Hi,
This is regarding the archieving the production ordrs.
I had create the fresh materials & took out the mrp run for that.I had converted the planned order to production order.
Now I want to archieve that production order.I had used the "SARA" transaction for archieving.
Maintained the variant (prod.run),now when i try to run the "DELETE" function.there is no any archieved file prisent or no selection.
Note - I had tried it out by using deletion flag & TECO both.
Hoping reply earilier,
Manish.
hi
CO78 is the start of the Archive process. We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
Decide the range of orders you want to delete. This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved.
Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set.
First of all, create the variant via SE38 for PPARCHP1.
Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes. Also here you can flag order number, order type and plant to be required fields.
Run CO78
Press the first button - deletion flag/deletion indicator.
Choose the variant you have just created. Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
Press Execute and job can be tracked via SM37.
Details of deleted orders and errors will appear in the Spool.
Rerun as many times as you need with relevant order ranges till all required orders are deleted.
-ashok
Similar Messages
-
Link of production order to sales order
Hello,
Would like to ask how could we check a production order confirmation and movements when we just have a sales order? and the problem is those sales order we have is arcieve already in 2006 and we assume the production order also was archieve already too. We really want to check those production orders inviolved on the materials of our sales order, how could we check this even it was archieve already? Could you help us with this ? Because we have Financial control at this moment and this is very important case.
Regards
Edited by: SAP_PHIL on Sep 16, 2009 1:00 PMDear,
To display archieved orders.
Choose Logistics -
> Production -
> Production control ---> Tools -
> Archiving -
> Orders. Or CO78 transaction
Choose Retrieval. Enter the selection criteria. choose Archive Selection, select the required archive file(s) and choose .The selected orders are then displayed in the Order Information System.
If your Production is based on MTO scenario, then you can enter the sales order number in COOIS screen and check whether they exist in System without archival. Please remember to activate check box for "orders with Deletion Flag/indicator" in the additional selection critera in the Initial screen.
Regards,
Prasobh -
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 -
Deletion Flag setting Error message for production order
"Unprocessed future change recs for orders prevent del. flag/completion"
I tried to used COFC and CO1P but didn't work out?
How to fix this issue i am trying to set deletion flags for certain production orders?
If i even found errors in final confirmations how to fix themHi Aparna,
This is absolutely fine to set the deletion flag to archieve the Production Orders.
For this error, which you are getting, there could be entries in COGI or CO1P..
Whether you are using Process Control (check in OPK4)?
If that is the case you should have got the entries in CO1P.
Can you see any entries in COGI? even 102 movement against the order?
Check once again and revert for further discussion..
Regards,
Siva -
Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
I need the logic for OPEN PRODUCTION ORDERS.
The status of the production orders are maintained in JEST Table .
I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV' status wil not be maintained at all at that time.
I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
Thanksfor this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
Import parameters Value
CLIENT 100
FLG_USER_STAT
OBJNR QM000200000010
ONLY_ACTIVE X
SPRAS EN
BYPASS_BUFFER
Export parameters Value
ANW_STAT_EXISTING
E_STSMA
LINE OSNO NOTE "this is the status text
USER_LINE
STONR 00
if line CS 'DELV'
"ignore the Order
endif. -
Error while raising Production Order
Experts
I get an error for a particular Item while raising a PRODUCTION ORDER
'Location Input does not match the warehouse location of Item'
I work in SAP B1 2007B - PL 18
It will be great if someone can give me the reason/solution for the above ERROR.
REGARDS
KARTHIKHi,
Parent item and child items warehouses location should be same.......
Regards
Deepak Tyagi -
How to find out the list of Production orders created for sales orders
Dear All,
Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
How to identify the production orders which are created based on Sales orders.
Kindly suggest.
Regards,
MullairajaCheck these threads
[Sale Order & Production Order|Sale Order & Production Order;
[Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
thanks
G. Lakshmipathi -
Creation of Production order in Past dates using RFC
Hi all,
I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order for third shift in the Previous day time.
Ashift - 7AM t0 3PM
BShift-3PM to 11PM
CShift-11 PM to Next day morning 7 AM
I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
Is this possible.
Thanks in Advance,
MBNHi,
I mean the Production Created date as the basic date only.
My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time of the production order to be the C shift starting time that is previous day night 11.00 PM.
Eg.
C shift date 12.04.2010 night 11PM to 7AM
i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010 11PM.
What should be done to get these.
Thanks in advance,
MBN -
Creation of a new costing variant to cost production orders
Hi all,
Currently the business is only able to cost a vehicleu2019s production order at the standard cost value which is determined at the start of the year.
During the year a number of the purchasing values will be updated with a new contract price, this increase will not be reflected in the standard cost until the end of the year.
The business would like a new costing variant which will cost an already created vehicle in SAP by its production order at the u201CCurrent Costu201D (current purchasing info record value).
It will need to be calculated in the following way:
u2022Purchased material - at purchase cost from info record (see below for applicable exchange rate).
u2022Manufactured material - child material to be at purchase cost (from info record). Routing cost (labour\overhead, etc) at current criteria.
u2022No allowance for CPI. [WHAT_ DOES_CPI_MEAN_?]
u2022Exchange rate: ideally, fields are provided to input exchange rate. If this is not possible then apply current monthu2019s exchange;
u2022FRAu2019s - current rate from the info record.
u2022Summary of total material cost by origin code with ability to drill down to line level.
u2022The output of the report will need to be similar to the layout of a production order but with only the current value displayed.
We have some problems to understand this request: we don't know the transaction which is used by the users to costificate a production order and what does it mean "CPI". We are not sure on the feasibility of the costing variant requested because it must consider both actual costs and standard costs.
It should costificate in this way:
(Actual Cost of Row Material * Bom's standard qty) + (Standard price * Standard production time (in the routings).
Could you help us?
Many thanks to all of you, best regards.
AlanisYou can create a new costing variant with a valuation variant that points to inforecords for material prices. Go to OKKN t-code and create the required configuration and start using the new costing variant to measure the current cost of making vehicles.
-
Changing the Assignment of production order in sales order in MTO scenario.
Hello all!
I have following problem:
After the MRP a production order was created for a sales order. Because of the production in another plant
the production order which was created automatically had to be technically completed and a new one
created.
If you want to check now the availability, the sales order finds nothing, because it's linked to the one,
which was technically completed. Now is the question how can I change the production order for this
sales order. (In the production order the correct sales order is connected!)
As I found out it's connected to the field AUFNR in the table VBEP. But how can I change this
field within a transaction and not in the database?!?No replies
-
Error during goods receipt of Finished goods for production order
hi friends
pls help me iam struggle this issue and mentioned the issue .
when i do goods receipt for production order system getting error like
No price could be determined for material/batch FG/ plant ZTP
Message no. CK 465
Diagnosis
The system could not calculate a price for material/batch FG/ in plant
ZTP for valuation view 0, because none of the valuation strategies in
valuation variant 007 was successful.
System Response
User-defined error management enables you to specify whether the message
is an error message, a warning message or an information message.
o If you have defined the message as a warning message or an
information message, the costing item will be entered in the cost
estimate with a value of zero.
If you have defined the message as an error message, the cost
estimate contains an error or errors.
- In the case of a material cost estimate, the system sets the
status KF.
- If it is a cost estimate without quantity structure, or base
object cost estimate (that is, a unit cost estimate), the
system cannot proceed with costing until you have corrected the
errors.
If the system issues a termination message, the cost estimate cannot
be processed, and processing is terminated.
procedure
o Check the master data for material/batch FG/ in plant ZTP.
o If you have authorization for Customizing, check the valuation
strategy for materials in valuation variant 007.
Note
If the message is a warning message or an information message, there is
a danger that materials with errors will be ignored by the system.
If, because of this, you issue a warning message and at the same time
include materials with a zero value in cost estimates, you can make the
following settings for these materials in the costing view of the
material master:
1. Enter a very low price in the planned price 1, 2 or 3 fields
manually, for instance 0.01 USD. These prices are used for costing
purposes only; they are not read by other applications.
2. Enter the highest price unit possible, for example 10000.
Note: If you enter a new price unit that is higher than the costing
lot size, the system increases the costing lot size accordingly.
3. Change the valuation strategy, such as strategy 4, where you could
enter the planned price field in which you entered the low price.
The system now costs as follows:
Using the valuation strategy, the system finds planned price 1, 2 or
3. Due to the low price and high price unit, the system rounds the
value to zero. However, the cost estimate still obtains status KA
(free of errors), and no error message is issued.
This procedure can be used for all materials that have caused error
message CK465 to be issued.
with regards
dinesh
Edited by: code acess on Nov 8, 2010 4:06 AMhi ragavendra,
this is dinesh .i maintained the costing view and planned price. but again i have same error.so please reply me where i missed the data
with regards
dinesh
Edited by: code acess on Nov 9, 2010 4:01 AM -
Creation Of Production Order without PP module
Hi PP guru's
There is one Specific requirment from Client side, the Requirement is
They are not supposed to implement the PP module in R/3 but they want to get generate the Production Order in R/3 through some interface with lagacy system, based on that they want GR at warehouse,They are using MTS system
They are doing all Production Planning in the exiting Lagacy system and the production Order will be created via interface from those system
for that requirment what master data are requred so that we can full fill the client requirment
valuable suggestion will get awarded
Thanks in advanceDear,
Technically speaking it is not possible You can shear same thing with your clint also --as there requirement is not specific.
Hope clears to you.
Regards,
R.Brahmnkar -
IDOC for Creation of Production order and also adding components
Hi ,
I have a requirement like I get the data from a 3rd party system and using that i have to create production orders and also should be able to add more materials in COMPONENTS part of that Production order. I was looking for a BAPI which can handle this process.
And also can any one help me by letting me know is there any Message type available for handling this process of Production order creation and Adding extyra components to it.
I have a message type LOIPRO (for Production Order) and associated function modle CLOI_MASTERIDOC_CREATE_LOIPRO for creation of master IDoc, but not sure can i handle the Components part in this.
Please do send replies ASAP, its very urgent.
Or else atleast suggest me the other ways of doing this .
Also send me any BDC program if anyone has already developed for this.
Thanks
Kumar
Edited by: Phani Kumar Peddagopu on Mar 19, 2008 6:56 PMResolved .
-
Error on Production Orders Add-on when 2 or more users at the same time.
Hi.
Our add-on creates special production orders (SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial) with no problem when used by one user, but if there are two or more users everyone on his own SAPBO session it starts to throw different errors, we think it may be a concurrence problem due to several transactions.
Here a short brief of the code sample and the process:
(error handling and object members not included in the sample)
oDoc.ProductionOrderType = SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial
If the oDoc.Add() is correct, We get the last production order created and release it:
Me.sKey = Me.Company.GetNewObjectKey
oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)
oDoc.GetByKey(Me.sKey)
oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposReleased
oDoc.Update()
Then we go for an inventory Entry:
oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
oDoc.DocDate = Date.Now
oDoc.Lines.BaseEntry = Me.sKey
oDoc.Add
And Finally to close the production order:
oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposClosed
oDoc.Update()
This works fine when only one user is using the add-on, but in the end there wil be at least eight users simultaneously working with this add-on
The test:
We have four users creating production orders with the add-on.
Two of them get the usual success messages and the created documents in SAPBO are all correct.
The other two users get diferrent errors messages during the process.
If they wait and try again to run the process it works fine.
Repeating the test get errors on different users depending on which one started the process first.
Our client needs to generate beetwen 900 and 1200 production orders per day, so they can't wait until the process is free for each user to work with it.
The common erros detected are:
Changing the status of the production order:
-5002 - The warehouse is not defined for the item.
-4002 - To generate this document,
first define the numbering series in the Administration module
-1029 - Field cannot be updated
Adding the production order and inventory entry:
-2038
-1116
-5002
Regards,
Omar FonsecaThe start transaction model didn't Fit well with all the process we are doing, but the idea of locking or holding the other users seems to work pretty fine, we are now using a flag to determine if someone is doing the process and put in hold the new ones.
-
Regarding Goods Reversal and Goods Issue process for Production orders
Hi,
I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
make the <b>Goods Reversal</b> happen.
The code for the above is as below:
i_mvtit-material = wa_mdfa-matnr.
i_mvtit-plant = i_resb-werks.
i_mvtit-spec_stock = 'Q'. "New
i_mvtit-stge_loc = 'ZWIP'.
i_mvtit-stge_type = i_resb-lgtyp. "New
i_mvtit-batch = i_resb-charg. "New
i_mvtit-orderid = i_resb-aufnr.
i_mvtit-spec_stock = i_resb-sobkz.
i_mvtit-entry_qnt = i_resb-enmng.
i_mvtit-entry_uom = i_resb-erfme.
i_mvtit-entry_uom_iso = i_resb-meins. "New
i_mvtit-wbs_elem = v_frwbs.
i_mvtit-move_type = '262'.
i_mvtit-xstob = 'X'.
i_mvtit-gr_rcpt = i_resb-aufnr. "New
i_mvtit-reserv_no = i_resb-rsnum.
i_mvtit-res_item = i_resb-rspos.
APPEND i_mvtit.
* HEADER ELEMENTS
k_gmvt_code-gm_code = '03'.
k_gmvt_head-pstng_date = sy-datum.
k_gmvt_head-doc_date = sy-datum.
* CREATE GOODS MOVEMENTS
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = k_gmvt_head
goodsmvt_code = k_gmvt_code
TABLES
goodsmvt_item = i_mvtit
return = i_return.
The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
That is happening correctly.
But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
There i will give Production order Number's & Storage Location in Selection-Criteria.
Then i need to do <b>Goods Issue</b> for that order.
The code i had written as follows.
* POPULATE VALUES FOR BAPI CALL
i_mvtit-material = i_zpsi7603_01-matnr.
i_mvtit-plant = i_resb-werks.
i_mvtit-spec_stock = 'Q'. "New
i_mvtit-stge_loc = p_sloc.
i_mvtit-stge_type = i_resb-lgtyp. "New
i_mvtit-batch = i_resb-charg.
i_mvtit-orderid = i_resb-aufnr.
i_mvtit-spec_stock = i_resb-sobkz.
i_mvtit-entry_qnt = i_resb-enmng.
i_mvtit-entry_uom = i_resb-erfme.
i_mvtit-entry_uom_iso = i_resb-meins. "New
i_mvtit-wbs_elem = v_frwbs.
i_mvtit-move_type = c_261.
i_mvtit-mvt_ind = 'F'. "New
i_mvtit-xstob = c_x.
i_mvtit-gr_rcpt = i_resb-aufnr. "New
i_mvtit-reserv_no = i_resb-rsnum.
i_mvtit-res_item = i_resb-rspos.
APPEND i_mvtit.
* HEADER ELEMENTS
k_gmvt_code-gm_code = c_03.
k_gmvt_head-pstng_date = sy-datum.
k_gmvt_head-doc_date = sy-datum.
* CREATE GOODS MOVEMENTS
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = k_gmvt_head
goodsmvt_code = k_gmvt_code
TABLES
goodsmvt_item = i_mvtit
return = i_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
READ TABLE i_return INDEX 1.
IF i_return-type EQ c_s.
DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
rsnum = i_resb-rsnum AND
rspos = i_resb-rspos.
ENDIF.
If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
The <b>Error Message</b> i am getting is as below:
<b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
<b>Error Number for the above is : 264.</b>
Can anybody solve my issue.
Any help will be appreciated.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi,
Thanks boss.
It is working now correctly.
The issue is the i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
Thanks for ur efforts.
I had awarded you points.
Thanks a lot.
Thanks & Regards,
Rayeez.
Maybe you are looking for
-
I have too many question for a chat. I need tutorials to download stored info in phone to computer and setting up apps.
-
Audio files condensing in .oam publishing for use in Wordpress?
Is the new media folder that contains the audio files in Edge condensed when you publish as an .oam? When I add the .oam to my Wordpress using the Edge Suite plugin the audio does not work.
-
DMP 4310 load swf with flashvars
Hi, I am using dmp 4310 and i want to load a swf file using flashvars. This swf is loaded through another swf (a wrapper swf) with the "MovieClip Loader Object" (AS2). When i load the swf using http request i do not have any prblems (eg clipLoader.lo
-
One question about lcds2.5 link with java
when i am creating a custom Message Service adapter,found a question with rewriting invoke() method. java class : package test; import flex.messaging.services.ServiceAdapter; import flex.messaging.services.MessageService; import flex.messaging.messag
-
Fans stuck at high after singleuser boot
I just finished installing 10.4 (archive and install), the 10.4.11 combo updater, and various updates that popped up in Software Update. After doing a few things I booted into singleuser mode to do some cleanup stuff. I did this a lot in 10.3. In 10.