0% found this document useful (0 votes)
46 views

How To Find BAdIs With A Function Module

How to Find BAdIs With a Function Module

Uploaded by

nlpatel22
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

How To Find BAdIs With A Function Module

How to Find BAdIs With a Function Module

Uploaded by

nlpatel22
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

6/25/2015

HowtofindBAdIswithaFunctionModule|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

HowtofindBAdIswithaFunctionModule

Store

SearchtheCommunity

Communications

Actions

Version6

createdbyVSBHARGAVMYLAVARAPUonNov23,20129:19AM,lastmodifiedbyDerekFelsheronMar9,20157:39AM

Tweet

HiAll,

AfterseeingaLotofquestionsonIdentifyingBADI.HereIwouldliketogiveasimpleandeasymethodtoIdentifya
BADI.
ManypeoplewasnotawareofObjectOrientedProgrammingastheywishtosucceedinProceduralprogramming
only.
SotheyprefernottosearchaBADIusingcommonlyknowmethodCL_EXITHANDLERandGET_INSTANCE.

ThereisonemorewaytoidentifytheBADIsinasimpleway
UsingtheFunctionModuleSXV_GET_CLIF_BY_NAME.

HowtousethisFunctionModuletoIdentifyaBADIforaTransaction.
Step1.GotoSE37anddisplaytheFunctionModuleSXV_GET_CLIF_BY_NAME.
Step2.PutabreakpointattheENDFUNCTIONoftheAbovementionedFunctionModule.
Step3.RuntheTransactionforwhichyouwanttosearchaBADI.

Note:ForeveryoperationtheCodeBreaksandFunctionModulereturnsomevaluesinitsParameters.
IntheParameterCLIFandNAME.youwillgettheBADIorExitname.

NowthequestionishowtoidentifywhetheritisaBADIorExit.Answeris,ParameterPREFIXoftheFunctionModule.
IfthisisCL_EXthenitisaBADIelseitisaExit.ExampleisshowninthebelowScreenshot.ABADIforTransaction
FPP2whenyouclickonSAVE.

HopethisdocumenthelpsOtherpeoplewhodontknowthismethodoffindingaBADI.

Regards,
VSBHARGAV.

6992Views

Topics:abapTags:badis

AverageUserRating
(45ratings)

http://scn.sap.com/docs/DOC33611

1/7

You might also like