вторник, 27 августа 2013 г.

Finding the name of the BADI used in a Transaction



Scenario: Need to find the name of the BADI available in a transaction
  1. Go to Transaction SE24
  2. Enter the Object Type CL_EXITHANDLER and click on Display.
  3. Double Click on method "GET_INSTANCE".
  4. Put a Break-point on 
Call method cl_exithandler=>get_class_name_by_interface
  1. Run any Transaction for which you need enhancements.
  2. The execution will stop at the break point. Check the values of variable 'exit_name', it will give you the BADI name called at that time.
This way you will find all the BADIs called on click of any button in any transaction.

Оригинал 

понедельник, 19 августа 2013 г.

Отладка модальных (диалоговых) окон


Для переключения модального (диалогового) окна в режим отладки, делаем на рабочем столе текстовый файл со следующим содержимым

[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand 

затем просто перетаскиваем и бросаем его на модальное окно, в результате включится отладка