***Method One********* *******************************
PassSE30, runTCODEAfter, clickEvaluateAfter , View the runtime analysis and evaluation: hit list.
Find it“exit< span style="font-family: Song Ti;">” beginning with SAP Program, such as:EXIT_SAPLIE01_007,
ThisFUNCTIONIt’sTCODEAn exit provided.
As for how to check which enhancement belongs toSMOD , Can refer toMODSAPthis table (SAP Enhancements).
***Method Two******** ********************************
bySE37In:MODX_FUNCTION_ACTIVE_CHECK Find the function,
Take a break at the last line of the function , Then runTCODE, if there are enhancements, it will jump intoDEBUG span>Interface, inDEBUGIn the interface, viewL_FUNCNAMEThe value corresponding to the field, this value is the exit you are looking for,
< p>Go againSE11Medium passMODSAP to see which export is rightSMOD span>,
Next, you can CMOD Create an enhancement group in , fill in the enhancements found,
Finally, process it according to the actual business.
The above two methods are used to find second-generation enhancements.
***Method Three******** ********************************
FindBADI method.
Run firstSE24, view the class object span>CL_EXITHANDLER, In its method:GET_INSTANCE的14行( CALL METHOD CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE) Hit a breakpoint.
Next, run the transaction code, when there is BADI Yes will be executed, then in DEBUG mode, it will enter the class CL_EXITHANDLER 的GET_INSTANCE method, pressF6After executing this method, click the parameterEXIT_NAMECheck its corresponding value, all method implementations are in this type of object, this is what we are looking forBADI.
How to implementBADI< /p>
EnterSE19, selectCreate Implementation中的Classic BADi
Another method (similar to the above)
Find the source program, find the code segment in the program
span> CL_EXITHANDLER => GET_INSTANCE
you can find the program used by the BADI.
***Method Four**** ************************************
Through the development class Find exit
Take ME21N transaction code as an example, enterTCODEAfter selecting the point system–“Status–” program name, double-click to enter the program, and then click Go to in the menu bar– “attribute, find the name of the development class, such asME21NThe development category is’ME‘.
If it is exporting, go toSMODBusiness In the code, click the button beside the strengthen side, and enter’ME‘, all exits will be displayed after pressing Enter.
FindBADIThe same process, but to SE18Go to confirmBADI
However, the export found by this method is not for the export of a certain program, but for the export corresponding to the development category, so
We also need to find the required exit through our own judgment
**************************** ***************
Enhance related functions and tables
Function:
[1].DYNP_VALUES_READ
p>
[2]. MODX_ALL_ACTIVE_MENUENTRIES(Menu enhancement) p>
[3].MODX_FUNCTION_ACTIVE_CHECK(Enhanced export function)< /p>
[4].MODX_MENUENTRY_ACTIVE_CHECK(Menu enhancement)< /p>
[5].MODX_SUBSCREEN_ACTIVE_CHECK(screen enhancement)< /p>
The above content is transferred from the Internet.