‎2011 Jan 02 9:43 AM
When we use tcode COR1 to create a process order, there is a long text near by the process order number. Generally, after we create a process order, the long text will be filled by relevant material description in my Production system, My requirement is that when I create a process order, the long text should be Empty or should be filled by specific value automatically.
Please suggest how to do this????
Thanks in Advance
Mudassar
‎2011 Jan 05 10:37 AM
Hi,
There are a lot of Exits for COR1 and otherwise try the (new) possibility of program enhancement.
Exits on COR1:
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 determinatio
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
Success,
Rob
‎2011 Jan 05 10:45 AM
Hi
Check with this exit PPCO0007 Exit when saving production order
‎2013 Jan 08 10:26 AM
Were you able to solve this? I am having the same requirement. Thanks you
‎2013 Jan 08 11:28 AM
Hi Mudassar,
You have to use the function module SAVE_TEXT and provide the following after the process order no is created ( Use the FM exit EXIT_SAPLCOKO_005 )
Text Name - (Concatenate the client ID and the process order no.)
Language - Language Key
Text ID - KOPF (Order header text)
Text Object - AUFK (Order text)
Text lines - Provide the text that should be populated or put a empty text.
Thanks,
Tooshar Bendale
‎2013 Jan 09 9:21 AM
Hi Tooshar,
I tried placing a breakpoint on the program that uses EXIT_SAPLCOKO_005 but it is not being called while I am saving the process order I created thru COR1. Am I missing something?
I also found EXIT_SAPLCOZV_001 being called while saving. Can I use that for this?
Please see my thread. Thank you very very much