Application Development 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: 

User Exit for Tcode: COR5

Former Member
0 Kudos

for TCode: COR5 (Release Process Order).

Can plz anybody tell me what are the User Exits exists and how to find these Exits.

Satisfied answers will be Rewarded.

Thank you.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Below link will give you a code where you can find user exits for a particular transaction.

http://www.sap-img.com/ab038.htm

Below are the exits related to tcode COR5

Transaction Code - COR5 Collective Process Order Release

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

STATTEXT Modification exit for formatting status text lines

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

9 REPLIES 9

Former Member
0 Kudos

Hi Harshal,

Please copy this code onto a report to find all the exits for one transaction

TABLES: tstc, tadir, modsapt, modact,

trdir, tfdir, enlfdir, tstct.

DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.

DATA : hotspot(30).

PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.

AT LINE-SELECTION.

GET CURSOR FIELD hotspot.

CHECK hotspot(4) EQ 'JTAB'.

SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).

CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

START-OF-SELECTION.

PERFORM get_data.

PERFORM write_list.

----


  • FORM get_data *

----


FORM get_data.

SELECT SINGLE * FROM tstc

WHERE tcode EQ p_tcode.

CHECK sy-subrc EQ 0.

SELECT SINGLE * FROM tadir

WHERE pgmid = 'R3TR'

AND object = 'PROG'

AND obj_name = tstc-pgmna.

IF sy-subrc NE 0.

SELECT SINGLE * FROM trdir

WHERE name = tstc-pgmna.

IF trdir-subc EQ 'F'.

SELECT SINGLE * FROM tfdir

WHERE pname = tstc-pgmna.

SELECT SINGLE * FROM enlfdir

WHERE funcname = tfdir-funcname.

SELECT SINGLE * FROM tadir

WHERE pgmid = 'R3TR'

AND object = 'FUGR'

AND obj_name EQ enlfdir-area.

ENDIF.

ENDIF.

SELECT * FROM tadir INTO TABLE jtab

WHERE pgmid = 'R3TR'

AND object = 'SMOD'

AND devclass = tadir-devclass.

SELECT SINGLE * FROM tstct

WHERE sprsl EQ sy-langu

AND tcode EQ p_tcode.

ENDFORM. "get_data

----


  • FORM write_list *

----


FORM write_list.

FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.

WRITE:/(19) 'Transaction Code - ',

20(20) p_tcode,

45(50) tstct-ttext.

SKIP.

IF NOT jtab[] IS INITIAL.

WRITE:/(95) sy-uline.

FORMAT COLOR COL_HEADING INTENSIFIED ON.

WRITE:/1 sy-vline,

2 'Exit Name',

21 sy-vline ,

22 'Description',

95 sy-vline.

WRITE:/(95) sy-uline.

LOOP AT jtab.

SELECT SINGLE * FROM modsapt

WHERE sprsl = sy-langu AND

name = jtab-obj_name.

FORMAT COLOR COL_NORMAL INTENSIFIED OFF.

WRITE:/1 sy-vline,

2 jtab-obj_name HOTSPOT ON,

21 sy-vline ,

22 modsapt-modtext,

95 sy-vline.

ENDLOOP.

WRITE:/(95) sy-uline.

DESCRIBE TABLE jtab.

SKIP.

FORMAT COLOR COL_TOTAL INTENSIFIED ON.

WRITE:/ 'No of Exits:' , sy-tfill.

ELSE.

FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.

WRITE:/(95) 'No User Exit exists'.

ENDIF.

Reward points if this helps.

Manish

0 Kudos

Thanx Manish for your Important Information.

- Harshal

Former Member
0 Kudos

Below link will give you a code where you can find user exits for a particular transaction.

http://www.sap-img.com/ab038.htm

Below are the exits related to tcode COR5

Transaction Code - COR5 Collective Process Order Release

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

STATTEXT Modification exit for formatting status text lines

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

0 Kudos

Thanx Vibha,

for replying. You have given me a important infomn.

r u Marathi??

Message was edited by:

Harshal Panchal

Former Member
0 Kudos

Yes, I am Maharashtrian.

0 Kudos

Thanx again. I already rewarded you Points. Can I hav ur personal ID plz. Im also Maharashtrian.

0 Kudos

For this COR5 TCode,

I want to design a program in above User Exits, who will compare

1) The BOM Items in a particular Process Order

2) with the Master Data BOM.

and if there is any deviation I want to blog that Process Order, And also plz tell me which User Exit will be suitable for this.

Can you please tell me how to do these.

Of course Points will b rewarded.

Former Member
0 Kudos

For this COR5 TCode,

I want to design a program in above User Exits, who will compare

1) The BOM Items in a particular Process Order

2) with the Master Data BOM.

and if there is any deviation I want to blog that Process Order, And also plz tell me which User Exit will be suitable for this.

Can you please tell me how to do these.

Of course Points will b rewarded.

Former Member
0 Kudos

Plz see the last question.