FM or BAPI to Modify or Delete Process Order Operations (COR2)
Hi Experts,
As a part of Process Order Migration, we have a requirement where in we need to pass the confirmation quantity of the Old Process Order number to the Unloading point field (ABLAD) in the Process Order Operation details and set that operation as marked for deletion.
Please suggest if you have come across similar scenarios.
Thanks in advance,
Anand
Hi Anand
Try This BAPI_PRODORD_SET_DELETION_FLAG and it will work for your requirement.
Thanks,
Adil
Similar Messages
-
Hi Guru's,
I have created a processorder in T-code COR1..now i want to cancel the confirmed process order..plz tell me the process.
Thanks & regards
cherukuriCherukuri,
Deleting a process order has multiple steps... I would suggest you to just set "TECO" and "CLSD" status in the change mode of the order. This would prevent any further processing of the order in terms of confirmation, goods movment and costs. From menu bar
You need to follow the steps below for archiving and deleting process order,
1. Use program "PRARCHP1" to set deletion flag (Can be reset). The prerequiste i would suggest is to create a selection profile to select orders with status "CLSD"
2. Use program "PRARCHP1" to set deletion indicator (Cannot be revoked)
3. Use program "PRARCHA1" to archive (Already basis should have setup the database link for storing)
4. use program "PRARCHD1" to delete and remove the data from the R/3 system.
Regards,
Prasobh -
Change Resources in a Process order operation
Hello
Is there any way to change a resource in a process order operation?, I have 5 machines, but sometimes I use the machine1 and machine2 to produce the material A, but if i dont have capacity to produce or if one machine is not working, I could use another machines. I know i could use products versions, but if I do thar, there will be a lot of convinations.
Thank you in advance.Dear Saly,
as correctly said by Caetano in standard SAP the only tool to change work center in production orders is in leveling activity through CM21 (graphics or tabelar - CM21 , CM22).
In this strument (CM21) according to customizing setting in strategy profile (belonging to overall profile)
you can change resource through drag / drop method or (with special setting in strategy profile) insering manually a new resourse.
As alternative tool is possible to create a custom report and change work center using a BI custom using a filter tool present in the production order after go to operation details. Unfortunaltely in the standard SAP there isn't a bapi/fm (released by SAP) to change work center in production order.
Let me know if i've been useful for you.
Daniele -
Process Order operation scheduling duration calculation
Hi
We have following formula has been maintained for processing time calculation in resource.
Machine * ( Operation quantity / Base quantity / Operation splits ) + Setup + Change-over
As per above formula for following procee order qty and time, SAP caulates time.
Opeartion qty - 100,
Base qty - 100,
Op split - 1
Machine - 0.5 hrs (30 Mins)
Processing time calculated as 30 mins (.5hrs)
When I schedule the process order with same resource for same qty and machine time, processing time is calculated as 33 mins. We dont have maintained any floats in scheduling margin key in material master. We dont have any wait times also.
Can you please let us know why process order operation is having 3 mins tolerance? Any idea where such settings has been maintained?
Any pointers will be helpful.
Edited by: nilesh sankpal on Dec 8, 2011 5:47 AMHi Mangalraj,
Thanks for your reply.
We have not maintained ay reduction levels in OPUZ for plant and order type combination.
In resource, we have 2 hrs break time and total operating time is 18.50 hrs.
I got following SAP help link for calculation of duration for processing time.
http://help.sap.com/saphelp_46c/helpdata/en/b1/c04387439a11d189410000e829fbbd/content.htm
Is processing time is calculated based on following formula.
Processing time u2013 Calculated Processing time * (1+ (Length of break / Operating time)
Can you please correct my understanding here?
Thanks in advance.
Nilesh -
Process order operation information
Dear Experts,
I want to know the name of table from where I can get information of process order no., process order status and the operations which are still to be confirmed for the order. I think I will have to create a view by using two tables but let me know which tables should I refer.
Thanks in advance.
PrashantDear
Find below the SAP tabel for your report requirement :
Order tables :
AUFK Process order headers
AFKO Order header data PP orders
AFPO Order item
AFVC Order operations
AFVV Quantities/dates/values in the operation
AFVU User fields of the operation
AFFL Work order sequence
AFFH PRT assignment data for the work order(routing)
JSTO Status profile
JEST Object status
AFRU Order completion confirmations
Process Order operation tabel :
PLAS Task list - selection of operations/activities
PLFH Task list - production resources/tools
PLFL Task list - sequences
Order and Operaton syetm Status : SAP Table and field : JEST-OBJNR
1.Orders/Operation with status CRTD : JEST-STAT = I0001 .
2.Orders/operation with status REL/PREL : JEST-STAT = I0002 /I0042
3. Orders with status MSPT : JEST-STAT = I0004
4. Orders with status PRC : JEST-STAT = I0016
5. Orders with status DLV/PDLV : JEST-STAT = I0012
6. Orders/operation with status CNF/PCNF : JEST-STAT = I0009/I0010
7. Orders with status GMPS : JEST-STAT = I0026
8. Orders with status TECO : JEST-STAT = I0045
9. . Orders with status DLFL : JEST-STAT = I0076
Hope this will help you to include required table in your BI report
Regards
JH
Edited by: Jiaul Haque on Jun 3, 2010 9:12 AM -
User Status Profile for Process Order Operations
Hello Experts.
I have a need to set up a User Status at the Process Order Operation level that will prevent operation confirmation when the status is Active .
I have been successful at the following:
--- Created a new Status Profile (transaction BS02),
--- Creating a u201CHoldu201D status,
--- Defined the Influence on Business Transactions,
--- Set the allowed Object Types for the profile.
--- In an individual Process Order operation, I can now select the Status Profile, and set the Hold status, and it functions correctly.
My problem is that I canu2019t figure out how to set my new profile as a default for Process Order Operations. For Production Orders, this is done in the IMG definition for the Order Type (transaction OPJH), updating field T003O-VRG_STSMA. However the Order Type definition for Process orders (transaction CORN) only has a field for a status profile at the header level. Iu2019ve searched through Configuration and the Recipe, and the Production Version, and the Control Key, but can find no where to set the default status profile for a Process Order Operation..
As a final desperate act, I manually edited a T003O record for a Process Order Type in our test system, but even this failed to set a default Operation Status Profile for subsequently created Process Orders.
If you have any knowledge about this, then please help.As of this date, we have still not implemented a fix, but I did get some information from someone else who has.
I'll post his information here for all to see. Hope you find it helpful.
From: Joe
Yes we managed to do it.
After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
Best Regards
Joe -
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 -
Add component and Delete Operation in Process order Using COR2
Hello,
I need to update any process order (Add components in it and delete some operations of it) on the save of the process order.
Transaction for change PO: COR2.
I have found a badi to change in process order (WORKORDER_UPDATE) Method: BEFORE_UPDATE.
But this badi has all the parameters as Importing. Hence we can not change them.
If we use field symbols in this badi to change the values,will it make any other issues?
I have also identified a user exit EXIT_SAPLCOBT_001 but this exit is called very late in the processing, and you cannot change data into that user exit ...check Note (86553 - Documentation on user exits).
Kindly post your valuable comments and answers.
Thanks in advance.
Edited by: Nitin Nyati on Sep 1, 2010 1:09 PMHi ,
Possibility , in C202 , user may have changes the BOM first and re-assign the phase but in process order level Read PP master did not call
Another possibility manually change the process order component and assign this in Phase in COR2 .Please check whether it has been added manually in order level .
Regards
JH -
Mark for deletion - Process Order
Hello friends,
I am getting the following error when I am trying to activate the deletion flag in process order. Kindly guide.
System status ORRQ is active (ORD 50000369)
Message no. BS013
Diagnosis
Object ORD 50000369 has system status ORRQ (Order record required). According to this status, transaction 'Mark for deletion' is not allowed.
Procedure
You can only carry out the requested function if this is allowed according to the status of the object.
Regards,
NarendraHi,
I am also doknow , how to overcome that status in process order.
Letus wait for more reply,
Meanwhile u can achive through system status.
BS22 - > select Sytsst =IO278, stat =ORRQ -> double click on Sysst - >Set as permtd for Mark for deletion.
Now try to set del flag.
This not a right way, it will affect all the order type and i ahve not also tired this.
Regards
Pradeep -
BAPI to dispatch Process order Operation
Hi PP experts,
We need to build interface with External production execution system and SAP
Which BAPI can be used to dispatch the process order start and times in SAP by passing the time values from external system. A custom BAPI can be built using standard BAPIs which do the task
Thanks in advance
VikramYou can use the RFC CLOI_CHANGES_UPL_31.
See the recommendations of OSS Note 184471. I send you a example of how we've filled the internal table IT_CLOIOPERU:
Line AUFNR EXTAUFNR APLFL VORNR FIELD VALUE
1 000001008294 000000 0100 FSAVD 20081023
2 000001008294 000000 0100 SSAVZ 000000
3 000001008294 000000 0100 METHOD DISPATCH
4 000001008294 000000 0100 SSEDD 20081125
5 000001008294 000000 0100 SSEDZ 000000
6 000001008294 000000 0100 METHOD DISPATCH
7 000001008294 000000 0102 FSAVD 20081023
8 000001008294 000000 0102 SSAVZ 000000
9 000001008294 000000 0102 METHOD DISPATCH
10 000001008294 000000 0102 SSEDD 20081120
11 000001008294 000000 0102 SSEDZ 183524
12 000001008294 000000 0102 METHOD DISPATCH
I hope help you.
JMota -
BAPI for complete details of Process Order including characterstic
Hi All,
I need a BAPI for getting complete information of Process order including characterstics and its process instruction. I have got BAPI BAPI_PROCORD_GETDETAIL which returns all the information except order operation characterstics and "characterstics process instructions".
Is there is any BAPI which can return these 2 details for a given process order.
Thanks ,
AbhishekThanks Rajesha for your reply , but here i need Process instruction and its corresponding characterstics for a particular process order.
Let me explain you the scenario , I have a Process order PO-001 , for PO-001 i have defined 1 operation OP-001 and a phase PH-001.
For the phase PH-001 i have assigned process instructions PI-001 (You can assign process instructon by selecting a phase and then click on the button Process Instruction below).
By double clicking on PI-001 you can get process characterstics for that selected PI-001.
Now i need a BAPI which can return me PI-001 and its corresponding characterstics if i pass PO-001 in that BAPI.
Thanks & Regards,
Abhishek
Edited by: ABHISHEK BAJPAI on Sep 29, 2010 7:30 AM -
BAPI function module to get process orders for certain material
Dear experts ,
kindly , I need my vb application to get all CRD , but not DLV Process orders for Material X.
Into SAP , I use the COIO , then set material to X , then display flag CRTD included , and Exclude DLV.
Question now , What is the function module that does this. what is the table name , and how to set search parameters.
my code will be like this
theFunc = functionCtrl.Add("BAPI_PO_GETDETAIL") ' get po data
theFunc.exports("purchaseorder") = t.Text
returnFunc = theFunc.call
returnParam = theFunc.imports("po_header")
retTab = theFunc.tables("po_items")
For Each rr In retTab.Rows
tt1.Text &= (rr("MATERIAL")) & vbTab
next
Thanks
WaleedHi,
Check if the below helps:
1. BAPI_SALESORDER_GETLIST for VA05
2. BAPI_QUOTATION_GETDETAILBOS for VA25.
Regards,
Vivek -
User Exit for Changing Quantity in Process Order , COR1, COR2
Hi All,
Can anyone point me towards the light in User exit related to COR1 and COR2.After the Creation of Process order while saving i need to write a code that rounds off the quantity values.
I tried to change the values in the below user exits but i was not succesfull.
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
Reason was the data related tp materials was not accesble at this point and residing in resb internal table .
Any suggestions ? Ideas ?
Thanks in advance,
GowriHi,
Try with BADI <b>WORKORDER_UPDATE</b>.
Regards -
Fm for processing time in processing order operation
Hi
I need to obtain processing time from processing order's operations. ASAIK there are some formulas to calculate this but i cannot find it. Could you give me some tips about that? Is there a fm or bapi to obtaint this?
regards
Wojciech.Hi,
Please let me know what is a processing order to which module it belongs so that I can help you out
Thanks & Regards,
Chandralekha. -
BAPI_PROCORD_CHANGE for process order operation level change
Hi,
Can any buddy tell me how to change operation dates in process order with following requirement:
Process order scheduling type is 'Forward',
1st step, read operation start dates 'Earliest Dates' and 'Latest Dates',
2nd step, change operation 'Earliest Dates' and 'Latest Dates' directly, this step can't be done in foreground,
Can use BAPI_PROCORD_CHANGE to update operation dates directly?
Best Regards
AmyHi Amy
BAPI_PROCORD_CHANGE cannot be used to change operations.
According to note 1694267 you can use the remote-enabled function module CO_SE_PRODORD_CHANGE that is released by the customer to change the order header, sequences, operations and production resource/tool. See the detailed documentation for the function module.
BR
Caetano
Maybe you are looking for
-
Single Instance out of 5 node cluster Oracle 11g 11.1.0.7 crashed with the below error..Plz help Errors in file /ora00/app/oracle/diag/rdbms/ngprod/ngprod2/trace/ngprod2_lms1_7829.trc: ORA-04031: unable to allocate 4160 bytes of shared memory ("share
-
Bonus afl live 12 month offer to me not working
I have bee advised by the Telstra complaints team yo get in touch with you as my afl live bonus 12 month subscription is not working. It says no subs linked yo my afl account. Please can you help. Regards Tim Jackson
-
HT1692 how do we move contacts from window mail to ipad?
We need tp figure out how to move our ccntacts from the computer on windows mail onto the ipad
-
ERROR ar 196 VAT registration number contains invalid characters
HI GURUS! I have a problem when i am trying to create a new vendor. The case is that i dont have the correct registration vat number and this vendor is from the uk. I have a number to use but it is not the correct one. The thing that i want to do is
-
Hi Experts, I am having smartform using this smartform i need to use in Webdynpro Abap.Can any one tell how to use is there any example component using smartform in webdynpro Abap.