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
Amy
Hi 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
Similar Messages
-
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 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 -
Standard Report for missing parts at production order operation level?
Hi PP Gurus,
We have standard report for missing parts at production orders level.
For our client, they need a report for missing parts analysis at production order operation level. Do we have any such standard report in the SAP?
Please help.
Thanks,
Reddy.Hi Arvind,
Thanks for for your response.
1. List: Components, Layout: Standard layout set the Missing part
It shows the component requirement/withdrawn quantity for each operation of production order. It is not showing the commit quantity.
2. List: Components, Layout: Pick list set the Missing part
It shows the component requirement/withdrawn quantity for each production order.
3. List: Components, Layout: Missing Parts List-Material View set the Missing part
It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
4. List: Components, Layout: Missing Parts List-Order View set the Missing part
It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
We are unable to get the solution from all these 1 to 4 reports from COOIS.
Do we have any option to change the existing layout (ex: 3 ) to get the commit quantity for operation with missing parts indicator?
If avilable, what is the procedure to be followed?
Thanks,
Reddy. -
Hi,
Can any buddy tell me the Bapi used for Process order change
with following scenarios:
Quantity change
Resource change
Rescheduling
Control key change
RM Change
Recipe change
TECO
REVOKE
Material shortage check
Best Regards,
Sheetal.Hi,
BAPI_PROCORD_CREATE for process order create
BAPI_PROCORD_CHANGE - Change Process Order
BAPI_PROCORD_CLOSE - Close Process Order
BAPI_PROCORDCONF_CANCEL for Cancel Process Order
Confirmation.
BAPI_PROCORD_COMPLETE_TECH - Complete Technically
BAPI_PROCORD_RELEASE - Release Process order
BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
pls refer below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
Regards,
Sankaran -
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 -
Editing of scheduled dates in Process Order Operations
Hello,
I have a requirement, in which the client would like to change the Scheduled dates in the operation details of a process order.
In the header screen of a process order, if we change the basic start / finish dates (depending on forward or backward scheduling), and reschedule the process order, the process order is rescheduled, with the new dates.
The client's requirement is, they should be able to change the Scheduled dates in the tab "Operation - Dates", of the "Operation overview" screen, in a process order. Normally the field is not editable, and the system calculates the dates, based on the start / finish dates, entered in the process order header.
I would like to know, what is the way out, to meet this requirement.
Thanks.Hi,
As every body else is explaining it is not possible for standard SAP , as of normal business or any business scenario why would a client want to change the operation dates from Production order ( still not understood.....)
There are two options to do that:
1) Copy the whole transaction ( programmes ) into some Z - transaction and in the programme you can change the object ( CO_VG_OPR_*) from being grayed out.
This will alllow you to change the dates.
2) you can go for enhancement with the following FM
BAPI_ALM_ORDER_MAINTAIN
I suggest you to clear these things with client.These things require more of ABAP work.
And as said changing the standard behaviour of the system can cause performance issues.
Please close the thread if satisfied.
prakash -
Maintenance order Operation mass change with Ehp5
Hi Experts,
We are currently working in ECC 6.0 Ehp3 and we are exploring the additional features with Ehp5.
To explore the Ehp5 functionalities (Maintenance order Operation Account Assignment and Operation mass change) we did the foloowing:
1. LOG_EAM_CI_2 to LOG_EAM_CI_5 and LOG_EAM_LINEAR_1 business function is activated
2. LOG_EAM_OLC: Operation Account Assignment business function is activated
3. Under Define Cost settings configuration, the relevant Plant and Order type checkbox is activated
4. The user role is adjusted to enable the Maintenance order Operation mass change functionality
Suppose the LOG_EAM_OLC business function is activated on 01.02.2012
The Maintenance orders created before 01.02.2012 is allowed to do the Maintenance order Operation mass change.
But the Maintenance orders created after 01.02.2012 is not allowing to do the Operation mass change and throwing the error message.
Error message: Operation Account Assignment orders (order type XX) are not supported
Program name: SAPLIBAPI_ALM_ORDER_PROCESSING
Message Class: ERP_CO_OLC_E (Messages for Operative Level Costing)
Message number: 066
I have reffered the supporting documents, but it didn't helped.
Please help me.
Thanks,
RajHi,
I expect the issue is with BAPI_ALM_ORDER_MAINTAIN. The mass change functionality usues this BAPI but the BAPI does not currently support OLC orders. When you try to change OLC orders via the BAPI (or the mass change functionality tries to do it) this is prevented and the error message is issued.
At the moment, you will not be able to use mass change for OLC orders.
-Paul -
Material staging for process order
Dear All,
Can we use material staging for process orders.
If possible pls brief the procedure.
Subbu.Using warehouse management /WM) :
- Create a control cycle for the component, using LPK1. Here you define if the supply will be specific for the order (when weighing takes place in the warehouse) or for released orders (normallu full packages of components and weighing is done at plant level). Reference to a supply area.
- The resource used in the operation has a reference to the supply area.
- Components have material master views in WM for the selected storage type
Then, when releasing the orders run LP10 - LP12 to generate the Transfer requirements for the raw materials. These TR will be converted to Transfer Orders and Confirmed, so the stock will be moved to your supply area.
Using Inventory Management, none of the above is required. You can use MF60 to move materials from General Storage Location to Shop Floor SLoc.
Regards -
GR Cost not updating as Target Cost for process orders
Dear SAPians,
We are facing an issue in Target Vs Actual cost reporting for process orders. We are creating a process order after cost estimate of that material and doing the confirmations for activity cost. After that, GR has been done for the finished goods of that process order. That GR entry is updating the Actuals values but not updating the Target cost. When I am checking the standard report KKBC_ORD, I am getting the following figures.
Cost Elemnt Text | Target Cost | Actual Cost | Target Vs Act
Inventory Chnge FG | 0 | 1,472,205.60- | 1,472,205.60-
Packing Matrl Cons. | 1,148,142.37 | 1,252,752.68 | 104,610.31
Raw Material Cons. | 60,463.91 | 50,688.29 | 224.38
Semi-Fin Matrl Cns. | 181,934.68 | 367,959.56 | 186,024.88
Labour Cost Activity | 39,735.36 | 39,862.80 | 127.44
Machine Cst Activty | 41,611.75 | 43,153.01 | 1,541.26
That 'Inventory Change FG' entry is showing the GR posting updating actuals and not target cost. This is causing huge difference in target vs actual cost that will affect the profit and loss figures ultimately.
What am I missing here? What should I do to update the GR amount in Target cost as well.
ShiraziDear,
Target Cost on Production Order or Process Order is shown only when Variance is Calculated.
So please calculate the Variance, system will show the Total Target Cost.
Br,Vivek -
Issues during Component Batch Determination for Process Orders
Hi,
I am encountering a strange issue during component batch determination of process order.
1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
"Log cannot be saved: Object/subobject not specified"
Message no. BL201
*Diagnosis
Log save cancelled because at least one log contains no object or subobject.
Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
Procedure for System Administration
Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
The possible values for object and sub object must be configured in transaction SLG0.*
If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
Again when the order is in REL status and do the determination, It gives the same error.
This happens only for a specific plant, In other plants batch determination works in all scenarios.
I checked for all plant related Config for batch determination and coudn't find any discrepancies.
Please advise how to resolve this issue. Thanks in advance for your help
Regards,
AheeshThere Is no direct solution for your requirement just try this work around.
While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code ) make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
Regards,
Ajay Nikte -
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 -
Scheduled finish date for process orders not updating in BW
We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
Any help would be greatly appreciated...Hi Donna,
If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
Regards,
Tom. -
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 -
Progress confirmation for process order
Hello to all,
I want to use the progress confirmation functionality for process order. I know that it is possible for production orders, but I couldn't find respective transaction for process order. Do you know if it is possible to use progress confirmation for process orders.
BR,
NikolayThanks for your inputs, but they are not useful!
COR6 - it cannot be used once the order is confirmed at phase level;
COOISPI - it's a report
COR6N -it is the standard transaction for process order confirmation
I want to do so-called "unplanned milestone" for process orders, something similar to CO1F for production orders.
BR,
Nikolay
Maybe you are looking for
-
How to get Auction No. from RFX in SAP SRM strategic sourcing
Hello experts, We are using SAP SRM7.0 strategic sourcing. We are converting the RFx to Auction. All the thing we needed is if there is any function module to get the auction number with the RFx number. I've tried with a few but couldn't found. Thank
-
Hello Gurus, In my client place I have to genereat NACHA( Flate) FILE For outgoing payment of Vendor (Garnishment Child support) So as per the client Requiremet I have to use ACH specification Which we got from bank and use PMW is require to
-
Hi all, i am uploading sales order using BAPI_SALESORDER_CREATEFROMDAT2, how to upload the address related data for one time shipto customers in the sales orders using this bapi. thanks, deepthi n
-
Where's dynamic link option in Soundbooth CS5
Just at the titles states, I'm trying to figure out how to import an After Effects sequence to Soundbooth CS5 to add soundeffects for post production. However I don't see that option in Soundbooth CS5. I saw the option back in CS4. Did they get ri
-
Can't find my serial number for Photoshop Elements 9
Can't find my serial number for Photoshop Elements 9 which I purchased in a bindl with Premiere Elements two years ago. Now, after reinstalling Windows on my desktop I need to register my Adobe products again. They were bought by Internet. No disks o