what is the difference between function modules and subroutines
Answer # 1 Function module is globel and Subroutine is local to the the program in which it is defined. So if we need to use some functionality more that onece we can make function module and we can call them where ever we want. without again redefining it. Re: what is the difference between function modules and subroutines Answer # 2 funtion modules subroutines 1.they can be tested by itself 1.they cannot . 2.they can be remote enabled 2.they cannot . 3.they can handle exceptions 3.Only a few can handle. .they have to be maintained in .!t is not necessary. a function group. what is the difference between function modules and subroutines Answer # 3 Function "odule. Subroutines. 1. #an return the value #an not return the $alue 2. %xecutable programs &on executable programs Difference Between BADI and User Exits Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. The can be inserted into the SAP Sstem to accommodate user requirements too s!eci"ic to be inc#uded in the standard de#i$er. Since s!eci"ic industries o"ten require s!ecia# "unctions% SAP a##ows ou to !rede"ine these !oints in our so"tware. As with customer e&its two di""erent $iews are a$ai#ab#e' In the de"inition $iew% an a!!#ication !ro(rammer !rede"ines e&it !oints in a source that a##ow s!eci"ic industr sectors% !artners% and customers to attach additiona# so"tware to standard SAP source code without ha$in( to modi" the ori(ina# object. In the im!#ementation $iew% the users o" Business Add-Ins can customi)e the #o(ic the need or use a standard #o(ic i" one is a$ai#ab#e. In contrast to customer e&its% Business Add-Ins no #on(er assume a two-#e$e# in"rastructure *SAP and customer so#utions+% but instead a##ow "or a mu#ti-#e$e# sstem #andsca!e *SAP% !artner% and customer so#utions% as we## as countr $ersions% industr so#utions% and the #i,e+. -e"initions and im!#ementations o" Business Add-Ins can be created at each #e$e# within such a sstem in"rastructure. SAP (uarantees the u!ward com!atibi#it o" a## Business Add-In inter"aces. .e#ease u!(rades do not a""ect enhancement ca##s "rom within the standard so"tware nor do the a""ect the $a#idit o" ca## inter"aces. /ou do not ha$e to re(ister Business Add-Ins in SS0.. The Business Add-In enhancement technique di""erentiates between enhancements that can on# be im!#emented once and enhancements that can be used acti$e# b an number o" customers at the same time. In addition% Business Add-Ins can be de"ined accordin( to "i#ter $a#ues. This a##ows ou to contro# add-in im!#ementation and ma,e it de!endent on s!eci"ic criteria *on a s!eci"ic 0ountr $a#ue% "or e&am!#e+. A## ABAP sources% screens% 12Is% and tab#e inter"aces created usin( this enhancement technique are de"ined in a manner that a##ows customers to inc#ude their own enhancements in the standard. A sin(#e Business Add-In contains a## o" the inter"aces necessar to im!#ement a s!eci"ic tas,. The actua# !ro(ram code is enhanced usin( ABAP Objects. In order to better understand the !ro(rammin( techniques behind the Business Add-In enhancement conce!t% SAP recommends readin( the section on ABAP Objects. hat is difference between badi and user!exists" hat is difference between enhancements and user!exists" and what is the full form of BADI" I ha#e another doubt in BDC IN BDC E $A%E &SE'CA(( )i did not remember the * correct name+ where the error lo,s are stored- &SE'CA(( is a table or structure. hat is the s/stem landsca0e" 1+ -i""erence between BA-I and 2S3.-34IT. i+ BA-I5s can be used an number o" times% where as 2S3.-34ITS can be used on# one time. 3&'- i" our assi(nin( a 2S3.-34IT to a !roject in *06O-+% then ou can not assi(n the same to other !roject. ii+ BA-I5s are oo!s based. 2+ About 5B-06S10O775 it is a structure. 2sed "or "indin( error records. 3+ 8u## "orm o" BA-I 5Business addins5. 3+ Sstem #and sca!e wi## be de!ends on our !roject 3&'- 5-e$e#o!ment ser$er5--95:ua#it ser$er5---9 5Production ser$er5...... USER E1I2 AND BADI DIFFERENCE The basic rule in SAP as far as ABAP workbench developments are concerned is "Do not modify the source code of the program" Since needs and requirements keep on changing from client to client and for various business scenarios there is a need to customise the programs as per client requirement! "or this purpose SAP has provided numerous list of user#e$its also known as enhancements which is nothing but a program which will deal with the client additional requirement without modifying the source code of the program! These e$its are already provided by SAP! %ou can see the list of user#e$its provided by using the transaction code S&'D! (f you cannot find an user e$it which match with client requirements then you can tell SAP to create a new user e$it! )ow BAD(# Business Add in Business Add#(ns are a new SAP enhancement technique based on ABAP 'b*ects! They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery! Since specific industries often require special functions SAP allows you to predefine these points in your software! hat is the difference between User Exits and BADI" Answer # 1 !n user exits we go by general method for enhancements while '()!s we use ob*ects +oops concepts, methods for enhancement -ser%xits r used for adding additional functionality to the existing S(. standard transactions.-sing -ser%xits we can add additional functionality standard S(. functionality without making any changes to the original code.'()! is a standardi/ed interface for ('(. sources that enables partners and customers to enhance S(.0delivered programs in their namespace.
hat is the difference between User Exits and BADI" Answer # 2 "aking enhancements using the transactions S"O)1#"O) has the following disadvantages2 1, 3his enhancement techni4ue assumes a two0tiered system infrastructure +S(. 5 customers,. 2, 3he naming conventions in effect do not tolerate name extension. 3, !t can be called only once. i.e. ( user exit can not be assigned to more than one pro*ect. (davantages of '(d! 1, Fulfills the re4uirements of a system infrastructure containing country versions6 industry solutions6 partners6 and customers. 2, 'usiness (dd0!ns should be considered generali/ed 'usiness 3ransaction %vents that can be used to bundle program6 menu and screen enhancements into a single add0in. 3, 'usiness (dd0!ns can be created and employed in each of the various software levels. , '(d! can be called namy times. i.e. '(d! implementation can be assigned to more definations. Re: hat is the main difference between Smartforms and SA3 scri0ts" Answer # 1 Smartforms are client independant. S(. scripts are client independent hat is the main difference between Smartforms and SA3 scri0ts" Answer # 2 3o output documents using the programming interface6 713 application programs makes use of scripts or smart forms. 'y design sap script is a word processing tool which displays data on the form with the help of text elements where the logic of those is written in the print program and Forms were designed to be driven from print program6 hence are often termed as client dependent. Smart forms are client independent. 'co/ it doesn8t use any text elements. it will be executed through a function module. 9hen a print program calls a Smart Form6 the form itself takes over to produce output6 without any further direction from print program. Steps for creation #reation of Script .rint program will determine the output document6 the areas values6 and the fre4uency of the output. 3he database access will be made in the print program which will insert them in the corresponding fields of the form. Script needs direction from the print program to print output. Scripts uses layout set that describes the layout of the individual print pages and uses text elements to supply definable output blocks6 which a print program can call. #reation of smart form : )esign the form : Form (ctivation which returns Function module : (pplication program for data retrieval ; calling Smart form. (pplication program calls the function module6 the Smart Form uses the modules interface +which corresponds to the form interface, to transfer any table data previously selected and to print the form according to the form description. !n addition form can have additional data selections. driver program is generated automatically by activating the smartform we need to write the driver program .no program is generated by activating the script