Process Order Locking
Dear Gurus,
Am working in a FMCG environment.
Confirmation of operations is required every 15-20 minutes. There are multiple operations in an order.
Also, we are using Handling Unit functionality for palletization process. The Handling Unit creation and GR has been automated via a interface. Frequency of Handling unit creation is - 1 HU every 4-5 minutes for an order.
Am facing a problem of process order locking while carrying out the above mentioned activity.
Am thinking of....
1. Order confirmation instead of operation wise confirmation (client hell bent on carrying out operation wise confirmation - real time entries at the shop floor)
2. Entry of relevant confirmation data, once every shift (post processing)
3. PI Sheet - Function module (would like to avoid this )
Can you kindly suggest some solution?
Thanks and regards,
Tarang
Hi Tarang,
Just a quick thought... Maybe CORR could be of help. What you could do is, set up the data in excel sheet in the same format as the one in CORR, i.e. the columns matching & then just copy paste from excel to CORR. This could help reduce the time required significantly.
Alternatively, you can look at BAPI's for confirmation via a Z report & upload the values.
Hope the above is helpful.
Regards,
Vivek
Similar Messages
-
Edit Process order locked in ECC
Hi Experts,
I am saving process order from APO - /sapapo/rrp3 and the same proc order should ideally be updated in ECC - COR3 transaction.
This happens correctly when 'LOCKED BY WORKFLOW' status is initial in COR3.
And doesn't get updated in ecc when, this lock is set.
I am checking on a feasible solution to update proc order in ECC even when this lock is set.
Please share me any such experience.
Thanks in advance,
Anil SuprajHi Anil,
Please check this stuff from SAP Help.
Thanks, Marius
Inbound Processing of Planned Orders and Manufacturing Orders
· CIFORD03: Change Order Data
To change orders that are transferred from SAP APO to SAP R/3 in R/3 inbound
· CIFORD01: Change Object Type and Order Data
To change order data that is transferred from SAP APO to SAP R/3 and is already in R/3 format in R/3 inbound
Outbound Processing of Planned Orders and Manufacturing Orders
· CIFORD02: Influence the Transfer of Customer-Specific Fields
To change or add own data to manufacturing orders and in some cases also to planned orders that are to be transferred from SAP R/3 to SAP APO
This enhancement corresponds to the APO enhancement APOCF004 Inbound Processing: Production Order/Planned Order. -
Removal of Reservation on Process Order Locking
Hi Experts,
I'm unable to clear the reserved materials under a Process Order after Locking the same. Is it possible to release the reserved material after locking an Order?
Regards
SubhasisHi subhasis,
If your order is only released then do the Read Master Data again for the order without doing the material availability check and save the order.
Check and revert
Nitin Kapoor -
Confirmation of process order create : goods movement
Dear Sir/Madam ,
I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
i have already searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
thanks and regards ,
arunHi,
I believe you would need to append the below line for your code for goods movement.
wa_timetickets-order_itno = p_itno. " Order item nos.
Check & revert if it resolves the issue.
Regards,
Vivek -
Hi to all,
I am facing an strange issue as we use Scenario-A for sales order creation which are created in CRM then replicated to ECC for subsequent processing & now we get some strange issue of sales orders not able to open in ECC as we get the error as sales order is locked by some user in CRM system.
I had checked in all queques & Bdoc we find no orders locked but the sales order gets released after sometime in few hours also all these locked sales orders are distributed successfully without any issue.
Thanks in advance,
ShivaHi Shiva,
If an update is terminated, the status is switched from WAITUPDA to VBERROR.
You can also go directly from the tRFC Monitor and qRFC Monitor to the terminated update task in transaction SM13.
And when an order is already been sent to ECC System you cannot make changes in CRM. In order to do so you have to activate the interactive changes in customizing.
Regards
Sidd -
Change material code in process order or delete process order
Hi experts,
While creating a process order in COR1 transaction code, wrong material code was entered.
Can we change the material code in process order. If not, what is the complete procedure to cancel or delete the process order.
Request you to revert.
Thanks in Advance.
Regards,
Farha.Dear ,
One the Process Order has been created with any material either it is wrong code or correct code , it can not be deleted .If it wrong code , then do not perfom goods Issue -MIGO-261 or through Backflash and also operation confirmation etc .
If Goods Issue , Confirmation happend then you need to reverse those txn once again .
In that case the best oiption will be goto COR2-Enter the Process Order -Select Process Order from Header -Restrict Processing -Choose Technically Complete .
Now , once you did TECO , then there will not be any farther txanationl posting like Goods Issue , confirmation will not be possible .Likewise , you can also Lock or make set CLOSE from COR2 in case there is no WIP , Variance .
Hope this is clear
Regards
JH -
Process order Closing problem..
Hi...
When i try to close the process order using CORM...i m getting error as......
"Unprocessed future change recs for order prevent del. flag/completion"
Plz can anybody help me on this issue...
Also now if I try to cancel the order using CORS...i get error as...
"Activity lot size dependent duration cannot be entered"
Regards,
Ameya k.Hi
This program can be used to clean open prod orders.
please read below documentation:
The program CORUPROC can be used to post preselected processes for
confirmations.
The following processes can optionally be preselected:
o Automatic goods receipt
o Backflushing
o Calculation of actual costs
The program CORUPROC is normally used in periodically dispatched
background jobs. However, it can also be started online.
If the program is used in a background job then this is only by
specifying a variant to make possible the parametrization of the program
CORUPROC.
The following parameters are possible:
o goods movements
- automatic goods receipt
- backflushing
- Incl. incorrect goods movement: Not only preselected but also
incorrect goods movements that are usually processed with
transaction COGI are are selected and processed. The indicator
"Automatic goods receipt" and "Backflushing" are also taken into
account.
o Determination of actual costs
You can define further parameters for controlling the program flow in
Customizing using the transaction OPKB. The following parameters are
involved:
o Number of parallel processes: You can use this entry to restrict the
number of simultaneously processed portions. If no number exists the
system calculates the number of the maximum available work processes
on the application servers that are available. The number of
parallel processes along with the parameters "Maximum number of
items in material document" directly affect the total number of
active locking entries in the global locking table.
Application server group: Using this entry the system can post goods
movements in parallel to a predefined group of application servers.
The RFC groups can be maintained using the menu options "Tools ->
Administration -> Administration -> Network -> RFC destination, RFC
-> RFC groups".
Maximum number of items in material document: You can use this entry
to specify the number of goods movement items used to create a
material document. If the entry is missing then a maximum of 100
goods movements are copied to a material document. This entry is
necessary since with a large number of items the accounting document
cannot be posted.
regards
Srinivas -
Process order settlement error
Hi all
while doing settlement of process order in KO88, system throwing the follwing error.
'' valuation data for the material is being locked by the user xxxxxx'' . If we check in transaction: SM12 , here system showing MARA, MARC tables being locked.
Some background jobs also running which include MARA,MARC tables. so please suggest me the best way to do settlement of process orders. The background jobs should not stop.
thanks
sapproductionHI
At the same time one masters like material WC or PV cannot be processed the database tables used are locked while processing the same to get resolve this check the time of scheduled jobs which uses tables like MARA MARC after the finish of these jobs you can process the settlement if you get unlock the data from T code SM12 there is possibility of getting data lost. so
you can define your settlement process and schedule it just after the completion of those previous Jobs.
Check and revert
Regards
Anupam Sharma -
User Status change problem in Process Order
Hi,
We are in process of upgrading our system from 4.6C to ECC 6.0. I have a problem with User status change for process Orders.
In 4.6C we are using the profile x with settings:
10 ZNEW Created process order 10 90 1 1 ZSTA
20 ZLCK Locked process order 20 90 1 1 ZREV
30 ZOPN Reopened process order 20 90 1 1 ZOPN
40 ZMST MES order started 20 90 1 1 ZMST
50 ZMCL MES order closed 20 90 1 1 ZMCL
90 ZTEC Technically completed 20 90 1 1 ZTEC
In ECC 6.0 we also use the same profile settings as above.
The problem is in ECC 6.0 when I do a goods receipt the User status changes to ZTEC . The process followed is ..Create process order, Release Order, Goods issue, Phase partuial confirmations, Goods receipt and then Finla confirmations of phases. Now in 4.6C if i do the above process the User status remains at ZMST and it only changes to ZTEC when i technically complete the order but in ECC 6.0 when I do a goods recipt from above steps the User status changes to ZTEC. THis should not happen.
Any pointers will be very helpful.Hi,
The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
Hope that helps...
Regards,
Declan -
System status LKD REL for operation & phases in Process order
Hi Gurus,
We have a process order in which system status for operations & phases is LKD REL due to which user is not able to confirm the process order. The status of process order is REL PRC APNG APRS BASC BCRQ GMPS MACM RESA SETC. One of the user from planning has set the status to LKD due to some artwork changes. Now another user set the status to unlock. Locked status from order status was reset but at operation & phases level the status is still LKD REL & hence order confirmation is not allowed.
I try to again set the status to lock but i am getting message system status LKD is active (ACT 40547870 0010) which is similar to one which we get during order confirmation.Pls. suggest.
Regards
AmitHello Amit
If the status LKD is not set for the order header, this is possibly an inconsistency.
Please open an OSS incident to SAP for further analysis.
BR
Caetano -
Reprocessing of Production order/Process order
Hi friends,
Can anybody explain me what is reprocessing of production order.
Plz explain me in a step by step manner.
Thanks very much.
Kind RegardsHi Arun Kumar,
Reprocessing
Use
In the area of confirmation, you can separate confirmation entry from processing. As a result, errors may occur when confirmations, or the processes that follow them, are posted. You can eliminate these errors by reprocessing them. The following reprocessing functions are available:
Confirmations
Actual costs
Goods movements
Reprocessing Confirmations :
Use
You use this function to process confirmations for which errors occurred as they were being automatically processed. With this function, you can either delete or, if possible, eliminate the errors and post the confirmations again.
Confirmations with errors can arise if they were entered in one of the following ways:
Upload from a PDC system (see Upload)
Online entry ( Fast Entry or Mass Processing)
Entry via BAPI interface
Possible errors include:
Order does not exist (for entry via PDC system, BAPI interface)
Order was locked
Sequence of time events incorrect
Individual capacity does not exist
Work center or personnel number does not exist
Features
Reprocessing has the following advantages:
Selection
On the initial screen, you can enter your selection criteria for selecting the confirmations that you want to reprocess. Possible selection criteria are: Production order, plant, confirmation, WBS element, sales order, MRP controller, work center, created by, created on.
Navigation
The screen for reprocessing confirmations is split into two areas:
Overview list of the confirmations
Detail screen for the selected confirmation
In the standard setting, the overview list is on the left and the detail display of the confirmation is on the right. To change the position of the overview list, choose (move the list in an anti-clockwise direction, select the position of the overview list). This last setting is saved for the particular user who created it and is used again the next time the function is called up.
Reprocessing
The confirmation that you have chosen from the overview (cursor position) is displayed in the detail screen. In the detail screen, you can remove the error in the confirmation.
The following confirmations can be reprocessed:
Order confirmation
Operation confirmation
Time event confirmation
Activity confirmation
The layout of the detail screen is determined by the confirmation that you are currently processing. The layout can be set up flexibly for an operation confirmation (see Single Screen Entry).
Display error
To display a long text about the error for each confirmation, position the cursor on the confirmation and choose .
Check confirmation
You can check one or more confirmations. To check confirmations, select them and choose . In the Status field on the overview list, the result of the check is displayed with a symbol.
Delete confirmation
If a confirmation is not to be posted because, for example, it has entered the SAP System by mistake, you can delete it. To do this, select the confirmation and choose . The confirmation is flagged for deletion and is deleted when you save.
Delete a line
To delete confirmations from the overview that you do not want to process at the moment, choose . The confirmation is, however, retained for reprocessing at a later stage.
2.Cost Determination Error Processing
Use
You use this function to gather information about errors in cost determination and if necessary to repeat it.
If errors occurred when determining actual costs online, you can decide whether or not the confirmation and the error records are saved. If you are using Decoupling Confirmation Processes, the errors are recorded during the execution of the background job or during updating.
Features
This function includes:
An error log which displays the cost determination errors in detail
Errors are, for example: missing activity prices, invalid cost centers or incorrect assignment of an activity type to a cost center.
Rerunning cost determination
Starting a New Costing Run
1. Choose either
¡ Production orders: Logistics ® Production ® Shop Floor Control ® Confirmation ® Reprocessing ® Actual Costs
¡ Process orders: Logistics ® Production u2013 Process ® Process Order ® Confirmation ® Recalculate Actual Costs
2. Enter your selection criteria.
3. Choose (Execute).
4. Select the confirmation in question and choose (Error Log).
Analyze the errors.
5. If necessary remove the errors.
To remove the errors, you have to exit the reprocessing function.
6. Choose Production ® Shop Floor Control ® Confirmation ® Reprocessing ® Actual Costs or Production u2013 Process ® Process Order ® Confirmation ® Recalculate Actual Costs or open a new session.
7. Enter selection criteria for the confirmations for which you want to restart the actual cost calculation.
8. Choose (Execute).
9. Select the confirmation and choose (Save).
Failed Goods Movements Processing :
Use
This function allows you to process goods movements that failed when posting confirmations. After correcting any errors that occurred, you can then post the goods movements a second time.
Features
This function includes:
Detailed display of errors
Errors can be caused by insufficient information such as missing storage locations or missing batch numbers. Errors can also include locked material data, insufficient stock, or attempts to post goods movements in the wrong accounting period.
Opportunity to correct failed goods movements
Option of posting goods movements a second time
Reprocessing Goods Movements
1. Choose either
¡ Production orders: Logistics ® Production ® Shop Floor Control ® Confirmation ® Reprocessing ® Goods Movements
¡ Process orders: Logistics ® Production - Process ® Process Order ® Environment ® Material Movement ® Failed Goods Movements.
2. Enter your selection criteria:
3. Choose (Execute).
4. Select the goods movement that you want to reprocess.
5. Choose (Display Errors) to display the errors that have arisen, in detail. To leave the message, choose (Continue).
6. Select the required goods movements and make the necessary changes (for example, Edit ® Replace ® Storage location).
For example, you can delete incorrect goods movements.
When incorrect goods movements are deleted, the system does not carry out an automatic adjustment of reservations.
7. Choose (Save) to restart the execution of goods movements.
When you are reprocessing the goods movements for the confirmation, you can go to the goods movements overview. Choose Change Details, to change the goods movements.
Hope this details is enough for clearing your doubt.
Revert if any doubt and reward if useful.
Regards,
Tejas -
Hi all,
I'm just trying to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. First of all I've decided to do it via user-exit but I've seen that the order number (AUFNR) is not determinated yet, so finally I'm doing it with the BADI WORKORDER_UPDATE (method BEFORE_SAVE) where there is all the data ok.
Until this point all goes fine. To send the standard idoc there is the program RCCLORD but as the order is not saved on the system tables I cannot do a submit, so I'm doing a call to the function where the idoc is send of the program ( CLOI_MASTERIDOC_CREATE_LOIPRO ). All seems to be ok, but finally it goes allways to a short dump because at the end of the function there is a commit instruction ( and it seems it is not possible into a BADI ).
There is a easy way to do it or am I on the correct way?
I'm trying a lot of possibilities ( and it doesn't work for distinct causes ) but allways the start point is the avobe process.
Many thanks in advance.
Legoles_Ok, I believe I have this solved...
CORn
--> Create or change a PP order, release and save
BADI WORKORDER_UPDATE~BEFORE_UPDATE
--> Do your checks and call a custom function module (ZZ_SEND_IDOC) sending the aufnr, matnr, and werks. Cal this FM starting new task destination 'none'.
ZZ_SEND_IDOC (RFC-enabled)
--> wait up to 60 seconds (so update finishes)
--> add code to see if the record is no longer locked
--> Fill parameter table rsparams with aufnr, matnr, werks, logical system, and mess type
--> submit RCCLORD and return
parallel processing rules say you should not use a submit in the FM but it is working for me.
With this I can avoid using batch jobs to send these out. Yay. -
Production version selection based on Process order type
Hi,
I have the following requirement.
A material is having two production version one is for R&D and one is for regular production. Now two process order types one for R&D and one for regular production. Now during creation of process order if we use order type of R&D then it has to select production version of R&D and if we use order type of regular productionthen it has to select production version of regular production. This selection has to be happened automatically. How this can be configured.
Thanks
Vinamrath.Dear Kumar,
Assuming the production version selection is automatic in the order type dependent parameters,then during order creation this
can be automated only through validity date of the production version or else by locking the production version manually which
should not get picked or else only through different Lot Size.
Check and revert.
Regards
Mangalraj.S -
how to cancel process order confirmed in z program
i mean details for cqancellation of process order phase wise and operation wise like tables, bapiGet the confirmation number (RUECK) and confirmation counter (RMZHL) by plugging in order number in AUNFR in the table AFRU. Use the following BAPI to cancel confirmation.
CALL FUNCTION 'BAPI_PRODORDCONF_CANCEL' "Cancel production order confirmation
EXPORTING
confirmation = " bapi_pp_conf_key-conf_no Confirmation
confirmationcounter = " bapi_pp_conf_key-conf_cnt Confirmation Counter
postg_date = " bapi_pp_confirm-postg_date Posting Date
conf_text = " bapi_pp_confirm-conf_text Confirmation Text
IMPORTING
return = " bapiret1 Return Parameter
locked = " bapi_coru_param-locked Indicator: Order is locked
created_conf_no = " bapi_pp_conf_key-conf_no Confirmation of Cancellation Record
created_conf_count = " bapi_pp_conf_key-conf_cnt Confirmation Counter for Cancellation Record
BAPI format courtesy:
http://www.se80.co.uk/sapfms/b/bapi/bapi_prodordconf_cancel.htm
Edited by: Jeevan Sagar on Feb 9, 2012 12:03 PM -
Cannot do the confirmation of process order (CORK)
Hi experts,
I entered into CORK tcode I given the Value for Process Order "XXXXXXXXXXX" and performed the enter.
Now I am "Process Order Confirmation Create : Actual Data" screen. Here I selected the the radio button "Final confirmtn and cliced the check box " Clear Reservation" under the Confirmation Type.
Now I am trying to "SAVE" at this moment I am getting the below message i.e indicated in bold letters.
''Error in determining actual costs for order xxxxxxxxxx.''
I confirmed process order status.
Process order has not the status "CSER(costing error)".
COGI has not records for the process order.
Why the error happen I don't know....
Could you please help me to avoid this problem.
Thanks in advance.
Edited by: Satoru Miyagawa on Sep 17, 2010 5:08 AMHi everyone,
Thank you for your help.
I got the solution of the problem I had!!
The cause of problem is that target profit center has locked by master. (check the lock indicator)
Therefore, process order has not costing error when calculated cost in COR2,COR1.
Thank you!
Satoru
Maybe you are looking for
-
How do I install Reader 11 to the directory of my choice?
I have downloaded the Reader 11 for Windows installation file to my hard drive. Now, how do I install Reader 11 to the directory of my choice?
-
How do I connect my laptops with firewire cable
My old mac laptop screen has died. How can I connect the old laptop to my new macbook in order to see the hard drive of the old machine so that I can retrieve/print files from it? I have a firewire cable, but when I connected the two, the old machine
-
I can't get the bookmark panel to open in a pdf once published to our intranet
Hi. I set a pdf file to open with bookmarks and page showing. When I upload it to a web site on our intranet, it will open on some computers but not all the time. It is really frustrating and I need to find a solution. Any suggestion? Is there an
-
So, can I expect my palmrest to be replaced within 24hrs, now?
Hey guys, I bought a white Macbook back in July, and have some pretty dark staining on my Macbook's palmrest. I know Apple will replace it, but when I called, they gave me the whole "5-7 business days" BS they have on their monitors. I have an Apple
-
How to connect Mongodb with endeca?
hi all, please help me connecting Endeca with mongodb. As we are establishing connection between in any other database by giving driver name and url, is there same way to connect with mongodb or any other script file have to update. please suggest me