Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

user exit

Former Member
0 Likes
502

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.

4 REPLIES 4
Read only

Former Member
0 Likes
442

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

Read only

Former Member
0 Likes
442

Hi Jaya,

You can refer the following links,

sap.ittoolbox.com/groups/technical-functional/sap-dev/9/2006

- 44k

Reward, if useful.

Thanks,

USR

Read only

Former Member
0 Likes
442

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

Read only

Former Member
0 Likes
442

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.