Skip to Content
author's profile photo Former Member
Former Member

BADI for edit button

hi everyone ,

In the incident management ticket creation screen , is there any BADI for the EDIT button. I have implemented BADI "ORDER_SAVE" for the save button. Please suggest me BADIs for the EDIT button.

Thanks in ton 😊

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 05, 2015 at 01:07 PM

    Hi Gautham,

    I think for EDIT Button there is no specific BadI. When you click the EDIT Button, based on the scope of the button either the entire Overview Set or specific Assignment blocks is changed to edit mode.

    It is always better to trigger the specific BadI which will focus on your specific action for example - status change, partner change, etc.

    You can get a list of badi in the following link : SAP CRM Technical Tutorials by Naval Bhatt.: SAP CRM Most useful BADIs (Updating) .

    Also, very important Badi's of SAP CRM are : CRM_ORDER_STATUS for Status and Partner - COM_PARTNER_BADI other than the ORDER_SAVE Badi.

    If you can share the name of the component then it will easy for us to explore into the Badi or Enhancement Spots specific to that module.

    Hope this helps.


    Samantak Chatterjee

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Samantak,

      A Big thanks for your valuable inputs.

      The requirement is the "assigned to" field is getting filled with support team ("helpdesk" in our scenario). This is accomplished by BRF+ support team determination. The requirment is on the next change status change , the assigned to field must be made empty which is getting filled by the value "helpdesk". For this scenario we require to implement a BADI.

      If i use the BADI , CRM_ORDER_STATUS .. i cant retreive the assigned to value which is coming from BRF+ using FM CRM_ORDER_READ. Is there any options to read the assigned to field value and what is the importing parameter for the BADI CRM_ORDER_STATUS

  • Posted on Oct 05, 2015 at 07:10 AM

    Hi Gautham,




    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2015 at 01:01 AM

    Hi Gautham,

    What are you trying to achieve?

    In general, you can put a breakpoint on cl_exithandler class, get_instance method. This gets invoked every time a BAdI implementation is checked during the course of the process.

    So you could put a break point there and click on Edit button and note down the BAdI exit names and investigate further.

    Also, it would help if you could explain what you are trying to achieve, maybe there is a different way of achieving it?



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Gautham,

      As per my understanding, the field you are mentioning is not a field from the standard structure. In that case, you need to know where exactly have you enhanced or which component, so that you can locate that structure. In many cases, the structure Customer Header (CUSTOMER_H) gets appended. While, in other scenarios different other fields are appended. In case you are not sure about where exactly the field is appended, you can check the same from the SAP CRM Web Client UI, and then you will know the component.

      Regarding, the BRF+ Application ID (GUID), you need to pass the same to the CL_FDT_FACTORY Class. This GUID is BRF+ Application Guid and not related to any one order component. You can use the below code snippet.


      Data : l_if_factory TYPE REF TO if_fdt_factory,

      l_if_application TYPE REF TO if_fdt_application.

      l_if_factory = cl_fdt_factory=>if_fdt_factory~get_instance( ). Here pass the Application GUID and you will get the exact application. After that you can get the details of the BRF+ Application.

      Hope this helps.


      Samantak Chatterjee.

      Capture.PNG (11.6 kB)

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.