enhancement question

15
SAP ABAP Interview Questions Question 1: What is the difference between User Exit and Function Exit? User Exit Customer Exit User exit is implemented in the form of a Subroutine i.e. PERFORM xxx. Example: INCLUDE MVF5AFZZ PERFORM userexit_save_document_prepare. A customer exit can be implemented as: Function exit Screen Exit Menu Exit Field Exit Example: CALL Customer function ‘xxx’ INCLUDE xxx. You modify this include. In case of a PERFORM, you have access to almost all the data. So you have better control, but more risk of making the system unstable. You have access only to the importing, exporting, changing and tables parameter of the Function Module. So you have limited access to data. User exit is considered a modification and not an enhancement. A customer exit is considered an enhancement. You need Access Key for User Exit. You do not need access key. Changes are lost in case of an upgrade. Changes are upgrade compatible. User exit is the earliest form of change option offered by SAP. Customer exits came later and they overcome the shortcomings of User Exit. No such thing is required here. To activate a function exit, you need to create a project in SMOD and activate the project.

Upload: santoshjha

Post on 19-Aug-2015

221 views

Category:

Documents


0 download

DESCRIPTION

enhancement

TRANSCRIPT

SAP ABAP Interview Questions Question 1: What is the diference between User Exit and Function Exit?User Exit Customer ExitUser exit is implemented in the form of a Subroutine i.e. PERFORM xxx.Example: INCU!E M"F#$F%% PERFORM userexit&sa'e&do(ument&prepare.$ (ustomer exit (an be implemented as: Fun(tion exit S(reen Exit Menu Exit Field ExitExample: C$ Customer fun(tion )xxx*INCU!E xxx.+ou modif, this in(lude.In (ase of a PERFORM- ,ou ha'e a((ess to almost all the data. So ,ou ha'e better (ontrol- but more ris. of ma.in/ the s,stem unstable.+ou ha'e a((ess onl, to the importin/- exportin/- (han/in/ and tables parameter of the Fun(tion Module. So ,ou ha'e limited a((ess to data.User exit is (onsidered a modi0(ationand not an enhan(ement.$ (ustomer exit is (onsidered an enhan(ement.+ou need $((ess 1e, for User Exit. +ou do not need a((ess .e,.Chan/es are lost in (ase of an up/rade.Chan/es are up/rade (ompatible.User exit is the earliest form of (han/e option o2ered b, S$P.Customer exits (ame later and the, o'er(ome the short(omin/s of User Exit.No su(h thin/ is re3uired here. 4o a(ti'ate a fun(tion exit- ,ou need to (reate a pro5e(t in SMO! and a(ti'ate the pro5e(t. What is the diference between RFC and BAP? BAP RFC6ust as 7oo/le o2ers Ima/e8Chart8Map $PIs OR Fa(eboo. o2ers $PIs for Comment8i.e- S$P o2ers $PIs in the form of 9$PIs. 9$PI RFC is nothin/ but a remote enabled fun(tion module. So if there is a Fun(tion Module in S$P s,stem : on ser'er ; - it (an be (alled from a S$P is a librar, of fun(tion modules released b, S$P to the publi( so that the, (an interfa(e