Skip to Content

BADI or user exit while creating an object

Hi,

I have a requirement to implement some custom checks while creating any format of objects. It can be a class, report, Function module or even any DDIC objects. Does any knows about such exit or BADI which is called every time any object is created.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 03, 2018 at 06:54 AM

    Did you look for some transport related BAdI such as CTS_REQUEST_CHECK or CTS_INT_REQUEST_CHCK?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 04, 2018 at 05:00 AM

    Thanks for your response Raymond.

    I checked both the BADIs you mentioned.

    CTS_INT_REQUEST_CHCK: This one can be utilized before releasing a transport

    CTS_REQUEST_CHECK: This is called before adding an object to the transport

    But as per my requirement, I needed to do the custom checks before the transport locking screen appears.

    I did find a BADI CTS_CURRENT_PROJECT but I am not sure if that could be of much help. :(

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 04, 2018 at 02:27 PM

    Did you try the BADI - BADI_LAYER, and BADI - CTS_CURRENT_PROJECT could solve your problem.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2018 at 02:18 PM

    There are different customer exits offered while creating program from SE38, creating any DDIC objects. In the debugger, put breakpoint at statement 'CALL CUSTOMER-FUNCTION' and then click on create button.
    I searched for the exits for SE24 and SE37, but unfortunately there are no exits offered. So you may try to search for the explicit enhancement point which may serve your purpose while creating class and function modules.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.