01-22-2009 6:59 AM
Hi Experts,
Is there any exit or BADI for KS01. I tried using the exit COOMKS02, but it does not fire.
Thanks in advance
01-22-2009 7:03 AM
Hi,
these are exits ,
check
COCCA001
COCCA002
COOMEP01
COOMKA01
COOMKS01
COOMKS02
COOMKS03
COOMLA01
01-22-2009 7:33 AM
I have already tried these exits but none of them work. Actualy when the user enters the cost center and enters
it goes to the next screen. Here he enters the plant, department and business area. I want to put a validation/check
on these fields which he enters. It is fine if the exit fires on the save button
Edited by: priti suryawanshi on Jan 22, 2009 9:48 AM
01-22-2009 7:05 AM
Hi,
When do you want to fire the Exit.
There are lots of user exits and BADi available.
And they fire on different different events.
COOMLA01 Customer Fields for Activity Type Master Data
COOMKS03 Cost Center: BAPI Enhancements
COOMKS02 Cost Center: Checks When Saving
COOMKS01 Customer Fields for Cost Center Master Data
COOMKA01 Customer Fields for Cost Element Master Data
COOMEP01 CO-OM: Information system -> line item reports
COCCA002 Customer Functions for Organizational Authorization Checks
COCCA001 Customer enhancement to cost center authorization checks
Business Add-in
COOM_CI_CSLA_IDOC Create COAMAS IDoc - Insert Customer-Defined Fields
CO_VERSION_CUSTOM BAdI: Additional Checks for CO Version Customizing
CO_LIMIT_COAREA Exit Controlling Area Maintenance Before Saving
COOM_CI_CSKS_IDOC Create COSMAS-IDoc - Insert Customer Fields
COOM_CI_CSKB_IDOC Create COELEM IDoc - Insert Customer Fields
K_CCA_CUSTOMER_FIELD Fill Customer Fields in Cost Center Master Through BAPI
ADJUST_UOM_EXT Adjustment of Unit of Measure for MTQ/Catch Weight
TXJCD_EXTN Allow Changes to TXJCD in Spite of Determinatn in Ext.System
Regards
Sandipan
01-22-2009 8:58 AM
Hi,
check in this way
The following steps will give u the easy steps to find BADI in all transactions,
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
I think it'll help u to find correct Badi or user exit.
01-22-2009 9:06 AM
Hi Selva,
I have tried to find the exit with this method also. Only 2 BADIs appear and both of them dont work.
None of them works
01-22-2009 10:29 AM
Hi,
check the check
http://it.toolbox.com/wiki/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction
Regards,
Madhu
01-22-2009 10:44 AM
Hi,
A good way of finding BADIs for a transaction is using SQL trace as described in
/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
Best regards,
Erik
02-14-2009 7:24 AM