Trigger proxy when Process Order is released
Dear ABAP Experts,
I have a requirement where in I am supposed to send out a proxy with the details of the Process Order that is being released when the PO is released using COR2 or COHVPI transaction. The same can be achieved by coding in specific User Exits. However, I would like to explore the feasibility of achieving the same using Work flows as I am new to WF's and this is my first attempt at it. Please do share your views if this is something which is do-able using Workflows and also do share the steps to meet my requirement. Hope this marks the beginning of my work in Workflows..
Thank you in advance.
Looking forward to your responses. Thanks again.
Best Regards,
Ram
First of all there is a workflow forum SAP Business Workflow
Secondly, you can use a workflow event to call a function module using transaction SWE2 or trigger a workflow and in it used a task to call an object or class method to call the proxy. in both cases calling the proxy in a user exit and not by workflow is more efficient because:
Catching the event is done by an RFC which adds a possibility for errors
Workflow logs every action which will adds unnecessary date to the DB in this case.
You use workflows for this kind of process when you have no user exit or BADI after the save to the DB. if this is the case you need to check if you have a standard event raised by the release of the production order (turn the event trace on in transaction SWELS, release an order and look at the log in transaction SWEL) if you do not have an event you can raise one by change documents/status changes/user exit etc.
Similar Messages
-
Changing material number when Process Order is released
Hello,
We have a scenario in which the material number of a process order may need to be changed after the process order is released. We will have both in process and post production inspection types assigned to this order, and both inspection lots are created at process order release. We also will have a batch number created at process order release.
When recording test results in the inspection lot before a process order has been confirmed, the users may identify that the material number should be different. We would like a way to be able to either change the material number in the process order (and inspection lots). We know this involves a lot of updates (master data changes to the existing process order and inspection lots). Currently, there is no way to transfer information to a new material number without receiving product in and performing a usage decision in the post production inspection lot to transfer to a new material number.
The client has implemented all modules, except PP (which we are in the process of now). We know that Variant Configuration would have been the right solution for this, but this is not an option since MM is already implemented.
If you have any suggestions, please reply.
Thanks in advance.Hi Prasobh,
The exact scenario is as follows:
1. A semi finished good will be used as a component to produce the finished good.
2. This semi finished good will have treatments added to it, and quality inspection will be performed as treatments are added.
3. Inspections will occur several times as treatments are added. If during one of these inspections, material is out of spec, and the blend should be transferred to another material number, we need to be able to change to another material number. To have a customization where material number is changed in all of the relevant PP and QM tables seems risky.
This is why we can't really use material classification. We also do not have the option to use VC bc the MM module is already implemented.
Thanks. -
Suggest the user exit when process order released then save
Need to update batch value from component's batch field to FG batch field. Need at the time of process order released and saved. Can you please tell me which user exit to use?
Hi,
The following enhancements are available for process order management:
For order maintenance:
o PPCO0006 to predefine entries for order header fields when creating
an order
o PPCO0001 to provide information at the time of saving (for
production orders and process orders)
o PPCO0007 to check or change header data when saving
o PPCO0002 to add additional checks that are to take place when
setting the deletion flag or deletion indicator
o PPCO0003 to prevent changes in sales order items that would cause
changes in the process order for static assembly processing
o STATTEXT to format the status line
o PPCO0008 to check components that have been changed or added
o PPCO0005 to change the storage location and the 'backflush'
indicator in the reservation
o PPCO0013 to change the priority of the selection criteria for batch
determination in production orders or process orders
o PPCO0014 to restrict the selection of process orders that are
offered when creating external relationships
o PPCO0020 to display additional information for another tab page in
the process order header
Regards,
Dhaval -
Re: Internal Batch Generation for Process Order while release
Hi All,
While releasing the Process Order I intend that the system should create a Internal Batch. But this is not happening.
I have checked all the necessary configs for this purpose. Still Invain.
Please Advice,
Vivek>
Prasobh Karunakaran wrote:
> Vivek,
>
> Please check in transaction OMCZ, whether radio button is active for "Active". Also check whether your material is assigned with a suitable production scheduling profile in work scheduling view. You can check the production scheduling details in CORY transaction, here in Batch management section for Automatic batch creation in order should be with value "2".
>
> Regards,
> Prasobh
Vivek,
Did you check the points mentioned by me.
1. OMCZ
2. Check whether you have assigned that production scheduling profile to your material?
Regards,
Prasobh -
Stop new planned order when process order GR qty less then sales order qty
Hi All,
How should SAP be configured so that when a process order is GRu2019ed, the sales order requirement is fulfilled regardless of the quantity difference between the sales order and process order?
The system behavior we are currently experiencing is MRP will generate another planned order for the fixed lot size if the GRu2019ed quantity is less than the sales order quantity.
Additional background information:
Make to order scenario
Process industries
Batch control
Warehouse management
Fixed lot size
Any comments or suggestion are welcome.
Thanks.Brahmaji,
Thanks for the reply.
I agree that changing from FX to EX will produce a planned order for the quantity difference (SO qty less the GR qty). So this would be an improvement to our present situation, but not quite what we are looking for.
The system behavior we want is MRP to ignore the requirement for the difference, in other words, when the GR is done for the entire batch quantity, we won't be producing any addition product. The sales order would be considered complete. -
Need to generate an IDOC when production order is released.
Hello all,
I have a requirement is to extend the IDOC(LOIPRO01), i've extended the IDOC, it needs to be created while releasing the production order in transaction co02, and i am unable to generate it, pls guide me how/where to generate idoc in
Thnak you,
KrishnaHello Alok,
Thank you for your prompt response...
I made user of PPCO0021, in this enhancement i have used function module CLOI_MASTERIDOC_CREATE_LOIPRO to generate IDOC, and i have released production order through transaction CO02, and it gave me short dump.
Dump summary is that, commit work is called before save.( commit statmetns should not be used in exits).
I have analysed, and noticed the commit work statement is there inside the fm CLOI_MASTERIDOC_CREATE_LOIPRO , and PPCo0021 triggers when i hit on the save icon.
Please guide is there any way to avoid this dump and to make use of exit. Is there any other procedure to generate IDOC ?
Thankyou,
Krishna K -
Inspection lot creation when Service order is released
Hi,
When i release a service order i need inspection lots to be created automatically.I get a error ''No Insp lot was generated release order anyway''.I have maintained inps type 14 in the maint order type SM03 and inspection type for origin with 'Insp Type 14' and also task list type 'Q'.Any more setting's needed?
Thanks in advance.Amit,
Please open a new thread for your query. -
Internal Batch Generation for Process Order while release not happening
Hi all
While releasing Iam having the problem that the system is not generating automatically the batch for the components, I have mantained CORY for production scheduling profile Batch management section for Automatic batch creation in order with value "2". and assigned this to the material (The material to be produced) work scheduling MM View. Also I have activated OMCZ, is there any config I'm missing to the components?
While releasing I get this error "You must enter the batch for material XXX" and XXX is the component in the BOM.
Please advise.
RegardsJulio:
if you dont want to create the product batch , so in the scheduling proflie select "NO automatic Batch creation....", or just dont use the profile in the product material master (Transactions CORY and MM02) . If the batch mgmt is active for this product, then SAP ask you for a batch number at goods receipt.
For the component, in the view MRP 2 (MM02) in the field "batch entry" select "3" - Automatic batch determination. You shoud have previously defined some Batch determination rule and so on. Or you can initially select "2", to make a manual selection. This must be used only in those component whose batch number must be determined in advance.
Hope this helps
Saludos -
Regarding Batch No Assignment During Process Order Release.
hi,
i have one secenario.
Suppose I have Process Order For material. PH-5000.
It have 3 material as ingradients.
ph-1000 - roh
ph-2000 - roh
ph-3000 - Semifinished.
what i want when Process order for Mateiral ph-5000 get released.
Batch No of PH-3000(Semifinsehd) get copied to PH-5000 batch no.
Its Urgent
Is any Enhancement is theri , pls let me know,
Thanks,
you can mail me.
[email protected]Dear Mohit,
If you want to go for external batch numbering during order release then
- Set no automatic Batch creation in order in T.Code CORY.
This setting only restrict the automatic Batch Creation in order only.But to fulfill second your requirement of restricting order release or save without assigning external batch no you have to either go for,
- User exit.Below are the user exits which are trigger at the time of order saving
PPCO0006 to predefine entries for order header fields when
an order
PPCO0001 to provide information at the time of saving (for
production orders and process orders)
PPCO0007 to check or change header data when saving
or
- Create screen variant using T.code SHD0 and make Batch Field compulsory.
Regards,
Dhaval -
How to Trigger a Workflow when work order is created
HI Everbody,
Please help me in this.
When Work order is created , system has to trigger work flow to notify the person who has submiitted the request . Use the Created by field on the associated notification field to identify the person.
Thanks in Advance,
Ram.Hi Ram,
May be you can go thro the following links to know more about it.
http://help.sap.com/saphelp_nw04/helpdata/en/b1/8b753a5e831e45e10000000a114084/frameset.htm
Work Flow Triggering when purchase order is released
http://help.sap.com/saphelp_nw04s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/frameset.htm
Hope these help.
Regards,
Raj -
User Exit at process order release or save
Dear experts,
Can any one help me which user exit will be useful at the time of process order release or save (t code COR1/COR2).
My requirement is to stop the process order release if there is any maintenance order is already released on that date.
Process order should not get released in between the start and finish date of PM order for the same equipment.
I could acheive this for PM side by using a user exit IWO10002, here if any process order is released for an equipment PM order cannot be released for the same equipment in between start n finish date of the process order.
Please help me out in finding the user exit for process order release / save.
Thanks in advence,
Regards,
Praveen.Hi,
The following enhancements are available for process order management:
For order maintenance:
o PPCO0006 to predefine entries for order header fields when creating
an order
o PPCO0001 to provide information at the time of saving (for
production orders and process orders)
o PPCO0007 to check or change header data when saving
o PPCO0002 to add additional checks that are to take place when
setting the deletion flag or deletion indicator
o PPCO0003 to prevent changes in sales order items that would cause
changes in the process order for static assembly processing
o STATTEXT to format the status line
o PPCO0008 to check components that have been changed or added
o PPCO0005 to change the storage location and the 'backflush'
indicator in the reservation
o PPCO0013 to change the priority of the selection criteria for batch
determination in production orders or process orders
o PPCO0014 to restrict the selection of process orders that are
offered when creating external relationships
o PPCO0020 to display additional information for another tab page in
the process order header
Regards,
Dhaval -
Hi,
I am not able to TECO the process Order if the Contol recipees were generated (CRCR). this CRCR status automatically genreates when the Process Orders are released. threre were no confirmations, GIs, or any postings done. How can i TECO the Process Orders with this status.
Thanks,
Nagesh.Dear,
It is because default SAP status settings does not allow TECO when CRCR is active. I think it is not advisable to change the std one though BS22 - I00045 for TECO here permitted for CRCR.
Standard practice is that you need to make system status CRFI ,
Transaction CO57, to trigger manually a process message with message Category PI_CRST for the process order and Control reciepe combination.Then use Transaction CO54 to send the Message to the process order.
Regards,
R.Brahmankar -
Issue during Transfer Order for Process Order
Hello,
Can anyone tell me how can I create a Transfer Order for picking items once the Process Order is created.
I have created a Process order and released it abd trying to create a Transfer Order via LB13 but it says " No data available for criteria specified:
I am missing some steps before I create the TO or something is missed in the configuration.
Can someone tell me the steps after creation of Process Order until the confirmation mainly the WM steps.
Please let me know ASAP
Thank you
SAP FAN....Hi,
As far as I know in case of PrdOrds you can:
1. Book GI (mvt 261) and after that start to process the TR from LB10.
2. Set up WM-PP interface (http://help.sap.com/saphelp_47x200/helpdata/en/c6/f840fb4afa11d182b90000e829fbfe/frameset.htm)
2a) Set SAP to create TR when releasing and saving the PrdOrd
2b) LP10
(In case of pick parts...)
Regards,
Csaba -
Process Order COR2, main product + co-product automatic lots creation
Hello Gurus, I'm a programmer but before starting the enhancment of standard I want to be sure that there is no other solution (in customizing)
I have the following situation
Maint Product A
Co-product B
Current situtation
I have a process order in COR2, when the process order is released and than saved automatic inspection lot is created only for Maint Product A
Requiered situation
Requiered situation is that while process order release also the inspection lot for Co-product B should be created
Is there any chance to do it using customizng
At the moment for both materials A and B there is the same inspection type assinged and the orgin type is '04' and also the control of inspection lot creation is set to 'Y'.
Is there any chance to change sometihg (inspection type, orgin type, something in MM)
NOTE: I would like to do it without doing a GR for Co-product B but exactly have a lot for Co-Product after releasing PO in COR2 like it is for Main Product now
I will really appreciate your notes
Thank you in advance Bogumila
Edited by: Bogumila Wendt-Rybak on Jul 17, 2009 10:57 AMI dont think we can have a inspection lot created automatically for the co-products upon the Order creation .i.e release...
U would have to make it via enhancement... also i believe u can customize a separte inspection type and then use it to create inspection lot..
hope this helps.
regards
csn -
How to print process instruction in process order.
Hi dudes,
,y client is not having Process management interface, but they want to maintain process instruction for phases in recipe and want to take print of process instructions in process order after release process order.
Please explain the path for printing process instructions copied into process order.
if some one assign PIs to phase in recipe, will control recipes be created after release of process order.
Regards
DanielThe easiest way to do what you want is to actually create the PI sheet and then print it off from the view PI sheet transaction (CO60). This is then all standard functionality.
to do this you will need to set the configuration to create the control recipe when the process order is released and send it to a recipe destination.
Regards
Laurence
Maybe you are looking for
-
I just got a Mac Mini. There was the OS 10.9.2 update and now my printer will not work. I have tried to re-download the driver. I have done and re-done the printer and scanner cue. I have now deleted the printer and the installation but I don't se
-
My TX2500Z touchscreen does not work after I upgraded to Windows 7. I cannot find any support or drivers, etc. to fix. I bought Windows 7 directly from HP specific to my P/N and S/N on my TX2500Z. Any help? Thanks.
-
Checking whether Delivert is created by EDI or manually
Hi , I have created a delivery through EDI, I need to check the table where the delivery number and the IDOC number have been stored in the same table. Please let me know how can I found out that the given delivery has been created by manually or thr
-
HI all, I am trying to update a String on a "summary tab sheet" (in a JTabbedPane) when the tab is selected. When I look in the API, I notice that it has a ChangeEvent associated with it, but I am not quite sure when it fires. I was assuming that it
-
Why do RGB colour references look different on screen in Illustrator and Adobe Muse?
Prior to a December upgrade to CC versions of Illustrator and Photoshop and an upgrade to Muse, RGB colours looked consistent in all 3. Now they do not and I don't understand why there has been this change. I cannot see a way of pulling them all into