‎2007 May 15 4:14 AM
i want create user exit in transaction code CO02 . it will be trgired in production order relese time which exit i write the coding . How to identify the that exit.
‎2007 May 15 4:45 AM
Hi,
Please check these User Exits..
Exit Name Description
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
PPCO0100 test
STATTEXT Modification exit for formatting status text lines
<b>***Reward Points if Useful</b>
Regards
Gokul
‎2007 May 15 4:46 AM
‎2007 Jun 26 4:42 PM
Hello,
The solution is : extension PPCO0001
create a project with this extension.
create the attributed program ZXCO1U01.
put a break point inside.
By releasing and saving the PP order, you go into debugging.
Then, you can see:
3 internal tables are necessary:
HEADER_TABLE
STATUS_TABLE_OLD
STATUS_TABLE
Programming inside the exit:
Take the object number in: HEADER_TABLE-OBJNR
With this number, read STATUS_TABLE_OLD, where u must not find a line, with STAT = I002 (this means RELEASED) and INACT = 'Blank'
If correct, with always this object number, u can read another internal table:STATUS_TABLE, where u must find a line, with STAT = I002 (this means RELEASED) and INACT = 'Blank'.
If so, you can call your program.
regards.
Farshid
‎2007 Jun 26 5:02 PM
Go to se93 enter the t-code CO02 and click on display, you will get the program associated with the t-code-> double click on the program name -> goto EDIT -> Find/replace and seach for string "userexit" or "user_exit" in the main prorgam and then you will get the various user exits already implemented in that program. May be you can use them or you can create your own.
Reward the helpful entries.
Regards,
Raman.