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
1,468

hi,

In transaction IA01 (Create equipment task list), I have to check for a maintenance package for each of the operation in the task list. If maintenance package is not assigned to the operation, then i need to display an error message. After this, I need to clear the error message and assign the maintenance package to the operation required. Can I do this enhancement in the User Exit CPRE0001? Please confirm.

thanks

barnita.

10 REPLIES 10
Read only

Former Member
0 Likes
1,329

check these..


Enhancement/ Business Add-in            Description

Enhancement
CMDI001                                 Determine explosion control for BOM
CPAU0001                                Enhancement for Authorization Check in Task Lists
CPDO0001                                Test units of measure for reference operation set
CPRE0001                                Enhancement for Reorgnization Checks in Task Lists
XCZD0004                                Extend authority check for the material-recipe allocation

 Business Add-in
CEWB_OPR_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
CEWB_OPR_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_SEQ_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_TSK_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
CEWB_TSK_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_TSK_SCREENS                        Screen Extensions for Task Lists in the EWB
CEWB_TSK_UPDATE                         Task List Maintenance and Checks in the EWB
CP_DIG_SIGNATURE                        Digital Signature for Routings
EWB_SELECTION                           Selection Within the Engineering Workbench
ROUTING_EXIT                            User Exits for Routings
CEWB_MTK_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_MST_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_MST_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
CEWB_ITM_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_ITM_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
CEWB_GEN_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_GEN_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
CEWB_COM_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_COM_MENU_EXTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_CHA_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
CEWB_CHA_MENU_EXTERN                    Menu Extensions in the Engineering Workbench

Read only

RoySayak
Active Participant
0 Likes
1,329

Hi Barnita,

Put a BREAK-POINT on Exit CPRE0001, and execute the process. If it is stop at BREAK-POINT then you can use it for your purpose.

Regards,

Sayak

Read only

Former Member
0 Likes
1,329

hi sayak,

thanks for your reply. but can you explain me in details how can I put this breakpoint and check as i am completely new to this enhancement topic.

thanks

barnita.

Read only

Former Member
0 Likes
1,329

Hi,

to put a breakpoint.... go to that statement and press ctrlshiftf12

you will get the breakpoint and then you can execute

Regards,

Siddarth

Read only

Former Member
0 Likes
1,329

hi,

to get the breakpoint where i have to go and press ctrlshiftf12?

thanks

barnita.

Read only

RoySayak
Active Participant
0 Likes
1,329

Yes!! Banrita..

do this like..

1. Put a hard BREAK-POINT / BREAK <your user name> at that user exit.

2. Execute the transaction for which you want the functionality. If it stops at your break point. Then you can write your own functionality there. and if it does nt stop at break point then that is not the proper exit you looking for.

Check it once..

Best Regards,

Sayak

Read only

Former Member
0 Likes
1,329

hi sayak,

thanks a lot. now i got the method to find the correct exit but as the server is not working. so, i am not able to check. anyways thanks.

barnita.

Read only

RoySayak
Active Participant
0 Likes
1,329

Hi Barnita,

Welcome!!

One more thing if your exit does nt work you can try with below exit name.

Exit Name: CPAU0001

Regards,

Sayak

Read only

Former Member
0 Likes
1,329

Hi,

Banrita..

U have to find the proper exit with documentatation .

go to -> documentation-display.

the if u feel like approxemately matching then u

1. Put BREAK-POINT / write break-point in that.

2. Execute the transaction for which you want the functionality. If it stops at your break point. Then you can write your own functionality there by creating one implemattation.. and if it does nt stop at break point then that is not the proper exit you looking for.

Regards,

Rajendra

Read only

former_member183134
Participant
0 Likes
1,329

This message was moderated.