<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic BADI's in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971554#M948645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me with finding links for Menu Enhancement &amp;amp; Screen Enhancement BADI with screen shots...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already aware of the Program Enhancement BADI's but not with the above 2...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2008 16:46:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-12T16:46:48Z</dc:date>
    <item>
      <title>BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971554#M948645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me with finding links for Menu Enhancement &amp;amp; Screen Enhancement BADI with screen shots...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already aware of the Program Enhancement BADI's but not with the above 2...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 16:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971554#M948645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971555#M948646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen&amp;#146;s flow logic.&lt;/P&gt;&lt;P&gt;the tcode is cmod...&lt;/P&gt;&lt;P&gt;1.From the main screen of the Project management transaction, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Enhancement components and choose Change. &lt;/P&gt;&lt;P&gt;2.Choose Edit component. &lt;/P&gt;&lt;P&gt;3.Choose the screen exit and double click on it &lt;/P&gt;&lt;P&gt;4.Create your subscreen using the Screen Painter. &lt;/P&gt;&lt;P&gt;5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic . &lt;/P&gt;&lt;P&gt;6.Choose the PAI and PBO to write down the logic.&lt;/P&gt;&lt;P&gt;7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.&lt;/P&gt;&lt;P&gt;8.Go to the transaction ME22 to view the customer defined screen exit.&lt;/P&gt;&lt;P&gt;9.Enter the purchase order number and press Enter.&lt;/P&gt;&lt;P&gt;10.Go to the menu header --&amp;gt; Details. &lt;/P&gt;&lt;P&gt;11.Purchase number is visible on the standard screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the foll link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu exits allow you to add your own functions to the pulldown menus in standard R/3 transactions. To take advantage of a menu exit, you first need to create a project as described in the section Creating an add-on project. Then, you must include the SAP enhancement package that contains the menu exit you want to use in your project. From the main screen of the Project management transaction, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Enhancement components and choose Change.&lt;/P&gt;&lt;P&gt;The system lists all customer exits contained in the enhancements included in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the cursor on the menu exit you want to add your own function to.&lt;/P&gt;&lt;P&gt;Choose Edit component.&lt;/P&gt;&lt;P&gt;The system displays technical information about the menu entry. It also displays two input fields where you can specify a language and the text you want your menu item to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the name of your menu function (such as Special order method) in the field New text.&lt;/P&gt;&lt;P&gt;Choose Save text.&lt;/P&gt;&lt;P&gt;Your special menu function will not appear in the pulldown menu of the corresponding standard transaction until you activate your enhancement project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also refer&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1669304"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Creating menu exits&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For screen exits.&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chech these links for user exists its usefull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/user_exit.html" target="test_blank"&gt;http://www.allsaplinks.com/user_exit.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1303464"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="429991"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/dd/561602545a11d1a7020000e829fd11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/dd/561602545a11d1a7020000e829fd11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab013.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab013.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to implement screen exit for a SAP standard transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Introduction&lt;/P&gt;&lt;P&gt;SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An append structure in the database table with the new fields. &lt;/P&gt;&lt;P&gt;A subscreen area into the standard screen &amp;#150; where the programmer can attach his subscreen of his own program with the new fields. &lt;/P&gt;&lt;P&gt;A function group under which the new subscreen has to be created with the new fields. &lt;/P&gt;&lt;P&gt;Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen &amp;#150; so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed. &lt;/P&gt;&lt;P&gt;Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pre-Requisites&lt;/P&gt;&lt;P&gt;The developer to work on screen exit should have essential knowledge on the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DDIC concepts, including the knowledge of append structure. &lt;/P&gt;&lt;P&gt;Concept of SAP Enhancements and implementing them using Projects. &lt;/P&gt;&lt;P&gt;Concept of function exits. &lt;/P&gt;&lt;P&gt;Knowledge on Module Pool &amp;#150; including subscreens, Tabstrip controls etc. &lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;Guidelines&lt;/P&gt;&lt;P&gt;So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find out the Required Enhancements&lt;/P&gt;&lt;P&gt;Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton &amp;#145;SAP Applications&amp;#146;. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest &amp;#150; for e.g., Purchasing, Asset Accounting, etc. &lt;/P&gt;&lt;P&gt;Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development. &lt;/P&gt;&lt;P&gt;Utilize the Enhancement in a Project&lt;/P&gt;&lt;P&gt;After you have found one, do as directed in the documentation. Generally, the steps are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a project using CMOD including your enhancement. &lt;/P&gt;&lt;P&gt;Create the append structure with new fields. &lt;/P&gt;&lt;P&gt;Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required. &lt;/P&gt;&lt;P&gt;Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction. &lt;/P&gt;&lt;P&gt;Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration. &lt;/P&gt;&lt;P&gt;Activate the project. &lt;/P&gt;&lt;P&gt;Test to ensure that required functionality are met. &lt;/P&gt;&lt;P&gt;Case Study 1&lt;/P&gt;&lt;P&gt;Add three new custom fields for Asset master and maintain information for them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement&lt;/P&gt;&lt;P&gt;Three fields in the legacy system have to be maintained in Asset master. These fields are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Asset number &amp;#150; 20 characters &lt;/P&gt;&lt;P&gt;Location 2 &amp;#150; 15 Characters. &lt;/P&gt;&lt;P&gt;Model no &amp;#150; 20 characters &lt;/P&gt;&lt;P&gt;Location 2 should start with &amp;#145;L&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pre-Analysis&lt;/P&gt;&lt;P&gt;Finding out the Enhancement&lt;/P&gt;&lt;P&gt;As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Studying the Function Exits&lt;/P&gt;&lt;P&gt;The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLAIST_002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module Level Documentation&lt;/P&gt;&lt;P&gt;This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import Parameters&lt;/P&gt;&lt;P&gt;Understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLAIST_003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Studying the Documentation of the Enhancement&lt;/P&gt;&lt;P&gt;The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deciding the Final course of Action&lt;/P&gt;&lt;P&gt;After making all the investigations, the final course of action was determined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SrlNo Step Justification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A project has to be created using transaction CMOD where the enhancement AIST0002 will be included. &lt;/P&gt;&lt;P&gt;Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen. &lt;/P&gt;&lt;P&gt;A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be &amp;#145;CUST&amp;#146; (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen. &lt;/P&gt;&lt;P&gt;In the PAI of the subscreen, validation for Location to start with &amp;#145;L&amp;#146; will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the custom include of the function exit module &amp;#145;EXIT_SAPLAIST_002&amp;#146;, the following code will be written:- &lt;/P&gt;&lt;P&gt;ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the custom include of the function exit module &amp;#145;EXIT_SAPLAIST_003&amp;#146;, the following code will be written:- &lt;/P&gt;&lt;P&gt;E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done &amp;#150; otherwise, the new custom subscreen will not be displayed in the Asset master screens. &lt;/P&gt;&lt;P&gt;Development&lt;/P&gt;&lt;P&gt;Creating a Project to include the enhancement&lt;/P&gt;&lt;P&gt;Go to transaction CMOD and create a project. &lt;/P&gt;&lt;P&gt;Enter a description for the project. Then, click on the pushbutton &amp;#145;Enhancement Assignments&amp;#146; in the Application Toolbar. &lt;/P&gt;&lt;P&gt;Enter the name of the enhancement and Save. &lt;/P&gt;&lt;P&gt;Go to &amp;#145;Components&amp;#146;. &lt;/P&gt;&lt;P&gt;Creating Custom Include for ANLU&lt;/P&gt;&lt;P&gt;The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the include structure with three new fields, as required. Then, save and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Develop the subscreen and the program&lt;/P&gt;&lt;P&gt;Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create it as subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, go to the Layout of the screen and create three new fields from Database table ANLU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drag the fields in the screen body and place them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, save and activate the screen and come back to screen flow editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the PAI module to add validation for field &amp;#147;Location 2&amp;#148;, as required .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the whole function group and come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write code in the Function Exits to synchronize the programs&lt;/P&gt;&lt;P&gt;Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, activate everything &amp;#150; the whole project and come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complete the configuration to link the subscreen&lt;/P&gt;&lt;P&gt;The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, the requirement is to create these three custom fields in the tab page &amp;#145;General&amp;#146; of asset master screen ( AS01/AS02/AS03/AS91).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Determine the Layout&lt;/P&gt;&lt;P&gt;To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class &amp;#145;1000&amp;#146; and click on folder &amp;#145;General Assignment of Layout&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout &amp;#145;SAP&amp;#146; cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create new tab layout&lt;/P&gt;&lt;P&gt;Go to transaction AOLA. Copy the tab layout &amp;#145;SAP&amp;#146; to create another layout, say, YSUB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System will copy all the settings and will inform you about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select your newly created layout and double-click on the folder &amp;#145;Tab page titles&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to put your custom fields in the tab page &amp;#147;General&amp;#148;. So, select this tab page entry and double-click on the folder "Position of Groups".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, all the field groups currently residing in the tab-page &amp;#147;General&amp;#148; are shown. Add an entry for your newly created fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the group box from the list. An entry will come with &amp;#147;U&amp;#148; padded with the custom subscreen prepared by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, save and come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign the new Layout to Asset Class&lt;/P&gt;&lt;P&gt;Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test the Exit&lt;/P&gt;&lt;P&gt;Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them&amp;#133;save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Source: ittoolbox.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MENU&lt;/P&gt;&lt;P&gt;refer&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1669304"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just refer to the link below for step by step procedure with screen shots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g" target="test_blank"&gt;http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu exits allow you to add your own functions to the pulldown menus in standard R/3 transactions. To take advantage of a menu exit, you first need to create a project as described in the section Creating an add-on project. Then, you must include the SAP enhancement package that contains the menu exit you want to use in your project. From the main screen of the Project management transaction, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Enhancement components and choose Change.&lt;/P&gt;&lt;P&gt;The system lists all customer exits contained in the enhancements included in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the cursor on the menu exit you want to add your own function to.&lt;/P&gt;&lt;P&gt;Choose Edit component.&lt;/P&gt;&lt;P&gt;The system displays technical information about the menu entry. It also displays two input fields where you can specify a language and the text you want your menu item to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the name of your menu function (such as Special order method) in the field New text.&lt;/P&gt;&lt;P&gt;Choose Save text.&lt;/P&gt;&lt;P&gt;Your special menu function will not appear in the pulldown menu of the corresponding standard transaction until you activate your enhancement project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The naming standard of function modules for functionmodule exits is: &lt;/P&gt;&lt;P&gt;EXIT_&amp;lt;program name&amp;gt;&amp;lt;3 digit suffix&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call to a functionmodule exit is implemented as: &lt;/P&gt;&lt;P&gt;CALL CUSTOMER.-FUNCTION &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; digit suffix&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find a Exit.&lt;/P&gt;&lt;P&gt;Goto Transaction -- Find The Package &lt;/P&gt;&lt;P&gt;SMOD &lt;DEL&gt;&amp;gt;f4&lt;/DEL&gt;&amp;gt;Use the Package here to Find the Exits In the Package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if you Want to search by Application Area wise ,&lt;/P&gt;&lt;P&gt;There is one more tab to find the Exits in the Respective Application Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementing the Exit-- CMOD &lt;DEL&gt;Create Projects&lt;/DEL&gt;Assgn your Component .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Run ur Transaction to Check if it Triggers.&lt;/P&gt;&lt;P&gt;Thats it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you need to find out all the user exits related to a tcode.&lt;/P&gt;&lt;P&gt;1. Execute the Tcode.&lt;/P&gt;&lt;P&gt;2. Open the SAP program.&lt;/P&gt;&lt;P&gt;3. Get the Development Class.&lt;/P&gt;&lt;P&gt;4. Execute Tcode SE84.&lt;/P&gt;&lt;P&gt;5. Open the Node 'Envir. -&amp;gt; Exit Techniques -&amp;gt; 'Customer Exits -&amp;gt; Enhancements'&lt;/P&gt;&lt;P&gt;6. Enter the Development class and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this thread..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="916759"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Type the transaction : system-&amp;gt;status-&amp;gt; &amp;lt;PROG. NAME&amp;gt;&lt;/P&gt;&lt;P&gt;2 open SE37 , type EXIT&lt;STRONG&gt;&amp;lt;PROG NAME&amp;gt;&lt;/STRONG&gt; and press F4 to get the list of function exits available.&lt;/P&gt;&lt;P&gt;3. Open CMOD utilities-&amp;gt;SAP enhancements&lt;/P&gt;&lt;P&gt;EDIT-&amp;gt;All selections&lt;/P&gt;&lt;P&gt;4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.&lt;/P&gt;&lt;P&gt;5. The displayed list contains the enhancements names for the transaction You were looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Create a project in CMOD and the code in default include-&amp;gt;activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap/abap/code/abap26.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/code/abap26.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which gives the list of exits for a tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information on Exits, check these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;User-Exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab038.htm" target="test_blank"&gt;http://www.sap-img.com/ab038.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab013.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab013.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283" target="test_blank"&gt;http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These links will help you to learn more on user exits.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/user_exit.html" target="test_blank"&gt;http://www.allsaplinks.com/user_exit.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check these threads for more details about user exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1303464"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="429991"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="658830"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Document on UserExits in FI/CO&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc" target="test_blank"&gt;http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Finding User Exits...&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits" target="test_blank"&gt;http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. List of all User Exits...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Aug 8, 2008 5:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971555#M948646</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-06-13T11:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971556#M948647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I was asking about BADI's not user exits&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971556#M948647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T11:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971557#M948648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Add-Ins&lt;/P&gt;&lt;P&gt;Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. 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.&lt;/P&gt;&lt;P&gt;As with customer exits (SMOD/CMOD Page 40), two different views are available:&lt;/P&gt;&lt;P&gt;&amp;#149; In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.&lt;/P&gt;&lt;P&gt;&amp;#149; In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.&lt;/P&gt;&lt;P&gt;In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.&lt;/P&gt;&lt;P&gt;SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.&lt;/P&gt;&lt;P&gt;The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.&lt;/P&gt;&lt;P&gt;In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.&lt;/P&gt;&lt;P&gt;A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEFINING THE BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) execute Tcode SE18.&lt;/P&gt;&lt;P&gt;2) Specify a definition Name : ZBADI_SPFLI&lt;/P&gt;&lt;P&gt;3) Press create&lt;/P&gt;&lt;P&gt;4) Choose the attribute tab. Specify short desc for badi.. and specify the type : &lt;/P&gt;&lt;P&gt;multiple use.&lt;/P&gt;&lt;P&gt;5) Choose the interface tab&lt;/P&gt;&lt;P&gt;6) Specify interface name: ZIF_EX_BADI_SPFLI and save.&lt;/P&gt;&lt;P&gt;7) Dbl clk on interface name to start class builder . specify a method name (name, &lt;/P&gt;&lt;P&gt;level, desc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method level desc&lt;/P&gt;&lt;P&gt;Linese;ection instance methos some desc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; place the cursor on the method name desc its parameters to define the interface.&lt;/P&gt;&lt;P&gt;Parameter type refe field desc&lt;/P&gt;&lt;P&gt;I_carrid import spfli-carrid some&lt;/P&gt;&lt;P&gt;I_connid import spefi-connid some&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9) save , check and activate&amp;#133;adapter class proposed by system is &lt;/P&gt;&lt;P&gt;ZCL_IM_IM_LINESEL is genereated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPLEMENTATION OF BADI DEFINITION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.&lt;/P&gt;&lt;P&gt;2) Specify aname for implementation ZIM_LINESEL&lt;/P&gt;&lt;P&gt;3) Specify short desc.&lt;/P&gt;&lt;P&gt;4) Choose interface tab. System proposes a name fo the implementation class. &lt;/P&gt;&lt;P&gt;ZCL_IM_IMLINESEL which is already generarted.&lt;/P&gt;&lt;P&gt;5) Specify short desc for method&lt;/P&gt;&lt;P&gt;6) Dbl clk on method to insert code..(check the code in &amp;#147;AAA&amp;#148;).&lt;/P&gt;&lt;P&gt;7) Save , check and activate the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some useful URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt" target="test_blank"&gt;http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf" target="test_blank"&gt;http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc" target="test_blank"&gt;http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9d/12233a0edd7978e10000000a11402f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/9d/12233a0edd7978e10000000a11402f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc" target="test_blank"&gt;http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf" target="test_blank"&gt;www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write a sample program to use this badi method..&lt;/P&gt;&lt;P&gt;Look for &amp;#147;BBB&amp;#148; sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#147;AAA&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_flights type sflight,&lt;/P&gt;&lt;P&gt;it_flights type table of sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format color col_heading.&lt;/P&gt;&lt;P&gt;write:/ 'Flight info of:', i_carrid, i_connid.&lt;/P&gt;&lt;P&gt;format color col_normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from sflight&lt;/P&gt;&lt;P&gt;into corresponding fields of table it_flights&lt;/P&gt;&lt;P&gt;where carrid = i_carrid&lt;/P&gt;&lt;P&gt;and connid = i_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_flights into wa_flights.&lt;/P&gt;&lt;P&gt;write:/ wa_flights-fldate,&lt;/P&gt;&lt;P&gt;wa_flights-planetype,&lt;/P&gt;&lt;P&gt;wa_flights-price currency wa_flights-currency,&lt;/P&gt;&lt;P&gt;wa_flights-seatsmax,&lt;/P&gt;&lt;P&gt;wa_flights-seatsocc.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#147;BBB&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Report ZBADI_TEST *&lt;/P&gt;&lt;P&gt;*&amp;amp; *&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;REPORT ZBADI_TEST .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_spfli type spfli,&lt;/P&gt;&lt;P&gt;it_spfli type table of spfli with key carrid connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Initialise the object of the interface.&lt;/P&gt;&lt;P&gt;data: exit_ref type ref to ZCL_IM_IM_LINESEL,&lt;/P&gt;&lt;P&gt;exit_ref1 type ref to ZIF_EX_BADISPFLI1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;select-options: s_carr for spfli-carrid.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;select * from spfli into corresponding fields of table it_spfli&lt;/P&gt;&lt;P&gt;where carrid in s_carr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;loop at it_spfli into wa_spfli.&lt;/P&gt;&lt;P&gt;write:/ wa_spfli-carrid,&lt;/P&gt;&lt;P&gt;wa_spfli-connid,&lt;/P&gt;&lt;P&gt;wa_spfli-cityfrom,&lt;/P&gt;&lt;P&gt;wa_spfli-deptime,&lt;/P&gt;&lt;P&gt;wa_spfli-arrtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hide: wa_spfli-carrid, wa_spfli-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;check not wa_spfli-carrid is initial.&lt;/P&gt;&lt;P&gt;create object exit_ref.&lt;/P&gt;&lt;P&gt;exit_ref1 = exit_ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method exit_ref1-&amp;gt;lineselection&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_carrid = wa_spfli-carrid&lt;/P&gt;&lt;P&gt;i_connid = wa_spfli-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear wa_spfli. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Aug 8, 2008 5:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971557#M948648</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-06-13T11:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971558#M948649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Goto to transaction SE18, then enter  BADI : ME_GUI_PO_CUST.Then in menu go to Goto -&amp;gt; Sample Code -&amp;gt; Display. You will see example of implementation of this BADI. All these examples are very well commented. Basically you will have to create your own function group with your new screen and call this screen from methods of BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Refer to this Step by Step guide with Screen shots :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971558#M948649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: BADI's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971559#M948650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ExitsBADIs/DefineBADI/page1.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ExitsBADIs/DefineBADI/page1.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap-abapinfo.blogspot.com/2008/05/badi-2.html" target="test_blank"&gt;http://sap-abapinfo.blogspot.com/2008/05/badi-2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this link will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s/m-p/3971559#M948650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T11:15:42Z</dc:date>
    </item>
  </channel>
</rss>

