Custom BADI dump

I have defined a BADI through Tcode SE18. And also implemented it.
In my custom program, at the start-of-selection event, I have used CALL METHOD cl_exithandler=>get_instance to create a instance of the BADI.
But its not creating a instance of the custom badi. It’s dumping while calling the method exit->calculate.
I came to know the reason for dumping that table V_EXT_ACT is not populated with records.
Can anyone suggest regarding on this how to solve.
Thanks in advance

Hi Anitha,
Can you please mention the BADI name.
Regards
- Senthil Bala

Similar Messages

  • How to Assign Customized BADI to Standard T.Code  Example ME51N

    Dear all,
    It would be really appriciate if you provide me a solutions.
    I have Created Customized BADI using SE18,SE19. But I am not aware How to Use those BADI in Standard Transaction.
    Example : I have Created PR Related BADI (ZPURREQ_ACC_CHK). How to utilize this BADI In ME51N,ME52N.
    Please advice me.
    Thanks
    Best Regards,
    KSK

    I think what you need to do is find what exits or existing BAdIs are available for the transaction.  Then in the user exit you can call your customized code.  That way you avoid changing SAP's code for the transaction.  You can find BAdIs related to purchasing by going to transaction SPRO and then following this path:
    Materials Management -> Purchasing -> Business Add-Ins for Purchasing
    I hope this helps.
    - April King

  • How to link a custom BADI with standard report.

    Hi All,
    I have a requirement to create a Custom BADI and to link it through the Standard Program. How to do this. As i cannot modify Standard Program.
    I have put some checks in custom BADI, which i want to be done before anyone runs standard program. I have a doubt of how to do this in between (before executing Standard Program) as i cannot use my Custom BADI in Standard Program. Then how to trigger the BADI and where. Is there any way to accomplish the same ?
    Thanks in advance.
    Regards,
    Neha

    Hi Neha,
    I am stuck to the same problem. if you have got the answer please share it.
    Nilesh

  • Enhancement Spot, Custom Badi

    Hi Experts,
    can any solve my problem.
    What is Enhancement Spot. What is the use of this.
    In ECC 6.0 I am unable to create a custom BADI. ( I know to create this in ECC5.0 ).
    Can any One give detail procedure to create Custom BADI
    and to Implement this in an executable program in ECC 6.0.
    Thanks & Regards,
    Kumar.

    Hi
    Please go through the below links to learn about the SAP new enhancement frame which explains you all about enhancement spot, enhancement points , enhancement option etc.
    SDN links.
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050
    help.sap links
    http://help.sap.com/saphelp_nw04s/helpdata/en/91/f1e540f8648431e10000000a1550b0/frameset.htm
    Wiki
    https://wiki.sdn.sap.com/wiki/display/ABAP/ThenewEnhancementFrameworkandthenewkernel-basedBAdI
    In WIKI read the weblog series.
    Edited by: Surender Yadav on Sep 19, 2008 1:17 PM

  • How to merge standard and Custom BADI into one BADI..

    Hello all,
    I have two BADI's.
    1) standard BADI
    2) Custom BADI
    I need to merge these two into a single BADI. Is that Possible.
    If yes how to move forward, because I am new to BADI.
    Waiting for reply.
    Subba

    Solved...created a new implementation for this...

  • Custom badi problem when imported from 4.6C to 4.7

    Hi ,
    I have the following problem. I imported a custom badi from release 4.6C to a 4.7 and I see a new attribute INSTANCE_FLT_CACHE inside the generated class which is not defined inside the class private section. As a result I get a syntax error .
    What can I do?
    Thank you very much for your help.

    Hi Donatella,
    If it is an istance attribute you can declare it using the DATAstatement.
    If it is a static Attribute, the contents of static attributes define the state of the class that is valid for all instances of the class. Static attributes exist once for each class. You declare them using the CLASS-DATA statement. They are accessible for the entire runtime of the class.
    All of the objects in a class can access its static attributes. If you change a static attribute in an object, the change is visible in all other objects in the class.
    The technical properties of instance attributes belong to the static properties of a class. It is therefore possible to refer in a LIKE addition to the visible attributes of a class – through the class component selector or through reference variables, without prior creation of an object.
    if it may be useful rewards points are appreciated

  • We can Create our Custome Badi Where it has to add in the standard SAP prg

    Hi gurus,
    In Enhancement there is the option to create our own custom e enhancement(badi), if am creating my own custome badi for sap standard transaction in it where I can add my custome badi,
       am created my own custome transaction, how to provied enhacement hook for future enhancement,
    reward assured,
    with regards,
    Thiru.*

    Hi,
    As per my logic, one can change description of all bi objects which includes text Input variables also.
    If possbile be more specific what u want to change in Pop
    Regards,
    Sachinkumar.

  • Encountering ORA-39000: bad dump file specification while using datapump

    Hello,
    I am trying to use datapump to take a export of a schema(Meta_data only). However, I want the dump file to be named after the date & time of the export taken.
    When i use the following command -- the job runs perfectly.
    expdp system@***** dumpfile=expdp-`date '+%d%m%Y_%H%M%S'`.dmp directory=EXP_DP logfile=expdp-`date '+%d%m%Y_%H%M%S'`.log SCHEMAS=MARTMGR CONTENT=METADATA_ONLY
    However, I want to run the export using an parfile. but if use the below parfile, i am encountering the following errors.
    USERID=system@*****
    DIRECTORY=EXP_DP
    SCHEMAS=TEST
    dumpfile=expdp-`date '+%d%m%Y_%H%M%S'`
    LOGFILE=MARTMGR.log
    CONTENT=METADATA_ONLY
    expdp parfile=martmgr.par
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39157: error appending extension to file "expdp-`date '+%d%m%Y_%H%M%S'`"
    ORA-07225: sldext: translation error, unable to expand file name.
    Additional information: 7217
    How do i append date&time to the dumpfile name when using a parfile.
    Thanks
    Rohit

    I got the below error while using the dumpfile parameter as dumpfile=dump_$export_date.dmp
    Export: Release 11.2.0.2.0 - Production on Thu Feb 7 16:46:22 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39157: error appending extension to file "dump_$export_date.dmp"
    ORA-07225: sldext: translation error, unable to expand file name.
    Additional information: 7217
    Script i used is as follows
    export ORACLE_HOME=/orcl01/app/oracle/product/11.2.0.2
    export ORACLE_SID=$1
    export PATH=$PATH:$ORACLE_HOME/bin
    echo $ORACLE_HOME
    export export_date=`date '+%d%m%Y_%H%M%S'`
    echo $export_date
    expdp parfile=$2
    parfile is
    DIRECTORY=EXP_DP
    SCHEMAS=MARTMGR
    dumpfile=dump_$export_date.dmp
    LOGFILE=MARTMGR.log
    CONTENT=METADATA_ONLY

  • ORA-39000: bad dump file specification

    Hi ,
    i exported the dumpfile with %U and its genereated successfully with suffix of 101..102..till 243.
    But while importing its searching the file from 01 02 and so in other env.
    Could you please assist.
    Actual file name start with:
    Dump file set for EXPDPUSER.EXPFULL_NW is:
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw101.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw201.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw102.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw202.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw103.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw203.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw104.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw204.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw105.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw242.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw143.dmp
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "+LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp" for read
    ORA-17503: ksfdopn:2 Failed to open file +LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp
    ORA-15173: entry 'PROD_data_expdb_NW01.dmp' does not exist in directory 'dpump'Thanks,

    Mishra wrote:
    Hi ,
    i exported the dumpfile with %U and its genereated successfully with suffix of 101..102..till 243.
    But while importing its searching the file from 01 02 and so in other env.
    Could you please assist.
    Use the SAME format (with the %U) that you used for the export.
    This:
    "+LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp"does not look anything like these:
    "+LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw101.dmp":p

  • Calling custom badi in standard transaction

    Hi,
    Badi is used for enhancements . To enhance the sap standard things there will be some badi definitions avilable .
    To activate that definitions we have to implement the badi.Some times we will define the badi in se18 and we will implement in se19. How can we call the custom badi which are created and implemented by us in standard transaction.
    Regards,
    karthick

    Hi
    The custom BAdI will be called when the BAdI definition is getting called.
    You can put a breakpoint in any method of your custom BAdI, if the BAdI definition is getting called then it will stop at your breakpoint.
    You can also check the BAdI definitions which are getting called by putting breakpoint at method get_instance of class cl_exithandler.
    Best Regards,
    Nikhil Patil

  • Creation of filter dependent Custom BADI defination.

    Hello,
    How to create a custom BADI definition (ECC 6.0), so that I will be able to make it filter dependent.
    I need to create an implementation of the same as per Logical system name filtering for ALE processing.
    I tried to create Enhancement Spot and then created BADi but not able to make it filter dependent.
    Please suggest.
    Thanks.
    Edited by: Parthasarathi Mohanty on May 20, 2011 2:46 PM

    Hi,
    I tried to create an independent custom BADI definition and make it filter Dependant.
    So that I can create my own implementation and call that in a Standard BADI method.
    Through SE18, it's not allowed to directly create BADI, I created an enhancement spot but while creating BADI in this process, it not giving me the option to make it filter dependent.
    Is there any special process to create an independent BADI definition & to make filter dependent in ECC 6.0.
    Thanks.

  • ORA-39000: bad dump file specification in 11gRAC environment...

    Hi All,
    I am having two version of Database. Source database is non-RAC environment and target is having RAC environment. I want to perform expdp from 10g and impdp to 11g RAC env.
    expdp db is : Oracle 10.2.0.4 (Enterprise Edition) and impdp is : Oracle 11.2.0.1 (EE) RAC environment.
    when I do impdp its giving error:
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "/home/oracle/try_1.dmp" for read
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    and the below is the syntax for impdp:
    impdp system/<password>@<service_name> remap_schema=scott10g:scott11g dumpfile=try_1.dmp logfile=scott11g.log  directory=mydir
    Is there any specific method to do impdp in RAC?
    Thanks...

    see the below method:
    ~~~~~~~~~~~~~~
    SQL> select * from dba_directories;
    SYS DATA_PUMP_DIR /u01/app/oracle/admin/prod_db/dpdump/
    SYS DPUMP_DIR /u01/app/oracle/product/10.2.0/db_1/impdata_dir
    SQL> !
    [oracle@temple01 ~]$ expdp system/manager dumpfile=try_1.dmp logfile=try.log directory=data_pump_dir schemas=tom
    Export: Release 10.2.0.1.0 - Production on Monday, 15 November, 2010 17:08:53
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** dumpfile=try_1.dmp logfile=try.log directory=data_pump_dir schemas=tom
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    /u01/app/oracle/admin/prod_db/dpdump/try_1.dmp
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully completed at 17:09:03
    [oracle@temple01 ~]$ cd /u01/app/oracle/admin/prod_db/dpdump/
    [oracle@temple01 dpdump]$ impdp system/manager dumpfile=try_1.dmp logfile=try_imp.log directory=data_pump_dir remap_schema=tom:test1
    Import: Release 10.2.0.1.0 - Production on Monday, 15 November, 2010 17:10:33
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** dumpfile=try_1.dmp logfile=try_imp.log directory=data_pump_dir remap_schema=tom:test1
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at 17:10:34
    Edited by: CKPT on Nov 15, 2010 5:20 PM

  • Performance analysis for custom BADI in SAP BPC

    Hi,
    How to do the run time analysis for custom badi in SAP BW for optimization, please guide me. if some one know the procedure which part of code take more time for execution.
    Regards
    Vimal Raj

    Hello Vimal.
    Please have more info here.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70187b3e-d5ce-2d10-d780-bb8b1a5b0bdc?QuickLink=index&overridelayout=true&49533857874839
    Regards-Ashok

  • Creatign a custom badi

    hai freinds i want to create a custom badi, i am doing through se18 and giving zdemo and create but it gives error that create option is possible for enhancment spots only can any one help me how to create the custom badi
    regards
    afzal

    Business Add-Ins
    Overview
    BAdi Definition
    BAdi Implementation
    Calling BAdi
    Filter Dependent Badi
    New SAP enhancement technique
    To accommodate user requirements not available / too specific to be included in the SAP standard Program
    Based on ABAP Objects – It has Interfaces & Methods
    Guaranteed 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
    Though different enhancement technique, BAdi has following distinct features
    -Uses Object oriented approach
    -Two parts - Definition and its Implementation - definition can either be SAP provided or user may also create it
    -no longer assumes a two-system infrastructure (SAP and customers)
    -allows multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like)
    -Can have multiple representations – specific one will be executed based on some criteria (filter)
    -No SSCR registration
    Application Programmer defines an interface for the Business Add-Ins
    Enhancement management takes this interface & generates an adapter class for implementing it, thus opening path for implementation
    As per need, BAdi is suitably implemented
    Developer then creates an instance of the adapter class in the application program and calls the corresponding method at the appropriate time
    Application program simply calls the adapter class methods; it does not know which implementations are actually being called
    Adapter class methods generated by add-in management decide which implementation is to be called
    Look for BAdi in IMG and in component hierarchy
    Create own implementation of the add-in (complete coding for Methods) and activate
    Enhancement's active components are called at runtime.
    BAdi Definition
    To include Business Add-Ins in the program
    - Define an interface for the enhancement in the SAP menu under Tools-> ABAP Workbench -> Utilities -> Business Add-Ins (transaction SE18)
    -Call the interface at the appropriate point in application program
    -Customers can then select the add-in and implement it according to their needs
    Let’s plan a simple task:
    We want to convert strings in your application program is a specific way through Business Add-Ins technique
    As the application developer, first task is to define an enhancement consisting of an interface & a method with a changing parameter to transfer value
    Choose Tools ->ABAP Workbench -> Utilities -> Business Add-Ins (transaction SE18) from the SAP menu
    Create a new Business Add-In containing a maximum of 20 characters and move to Interface Tab
    Name of the interface is proposed by the system but may be changed
    Save and double-click on the interface name to add a method
    System branches to the Class Builder
    Assign a method to the interface (default is Instance Method)
    Add a parameter
    Save and Activate
    Definition screen(SE18) will now contain the method assigned to the interface
    Documentation may be created to describe the intended functionality of this Add-Ins
    BAdi Implementation
    ABAP Workbench ->Utilities -> Business Add-Ins (transaction SE19)
    Find the suitable Business Add-Ins present in system (Use IMG or Component hierarchy)
    Use Add-Ins Documentation to understand functionality & to decide
    Implement the Add-Ins
    -a class is created with the same interface
    -Finalize coding for the method
    Implementations are discrete transport objects and lie within the namespace of the person or organization implementing them
    Work on Simple Badi project – Continued…
    Already structure of the interface defined
    In order to create an implementation for the text conversion example, the add-in (in this case, the interface's method) needs to be filled with logic that converts the string. This logic will be run through every time the add-in is called from the application program
    Choose ABAP Workbench ->Utilities -> Business Add-Ins (transaction SE19)
    Create a new implementation and select the appropriate definition in the dialog box
    Add a short text and move to Interface tab
    Save
    Double-click the method name when the system will take you to the code window for the method
    Insert the desired source code for the implementation between the method if_ex_businessaddin~method. and endmethod. statements automatically provided to you by the system.
    Save and return to the Change Implementation screen
    On Activation, this implementation may be executed from the application program
    Sample code to call Add-In from ABAP Program
    To call static method of a global class directly, class … definition load statement is needed
    Instance of the Adapter class is created and its method is executed
    If enhancement needs to be different based on some parameter (e.g. country-specific or company-code specific), separate implementation of the same Add-In can be created and activated
    At run time, the specific implementation will be execute
    Possible through Filter-Dependent Badi
    How it works
    -Switch on Filter-dependency while defining the interface
    -Select a suitable filter element
    -All methods created in the interface will have filter 'FLT_VAL' as one import parameter
    -Application program provides the filter value to the enhancement method
    -The method then selects the active implementation for that value
    What qualifies as a Filter
    A Data element
    Underlying domain may contain a maximum of 30 characters and must be of Character type
    The data element must
    -Either have a search help with a search help parameter of the same type as the data element and this parameter must serve as both the import and export parameter or
    -the element's domain must have fixed domain values or a value table containing a column with the same type as the data element
    Custom data element with the criteria may also be used
    Implementing a Filter-Dependent Business Add-In
    Implement the Add-In for each relevant filter value
    However, multiple filter values may use the same implementation
    Enter a characteristic filter value for the implementation
    Calling a Filter-Dependent Business Add-In
    Same as before
    Pass the filter value as export parameter to the method
    BAdi – some useful information
    There can be more than one implementations of the same BADI definition, and in that case only the active implementations will be executed
    You can activate or de-activate any of the implementations after creation
    Enhancement, interface, and associated classes generated all lie in the appropriate application development namespace
    Business Add-In implementations lie in the respective namespaces of the people who created them
    Changes made to the interface and changes made to the Business-Add-In definition are always incompatible
    -If implementations already exist for a Business-Add-In definition, they are invalidated if you make changes to the interface. This means that their syntax is no longer correct. No statements can be given on the runtime behavior. Avoid making changes to the interface or the Business-Add-In definition after the transport has taken place.
    -If changes to the interface are inevitable, navigate to the Class Builder for all implementing classes and clean up the method includes of these classes (Utilities > Clean up > Method includes)
    Please give me reward point If it is useful
    Thanks
    Murali Poli

  • Custom badi

    hi experts,
    can anyone tell me
    1.how to create a custom badi(step by step)
    2.how to add custom badi to BOR(step by step)
    points will be rewarded.

    Business Add-Ins
    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.
    As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
    &#8226; 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.
    &#8226; 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.
    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.
    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.
    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.
    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.
    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
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate&#8230;adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in &#8220;AAA&#8221;).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for &#8220;BBB&#8221; sample program.
    &#8220;AAA&#8221;
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    &#8220;BBB&#8221;
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.

Maybe you are looking for

  • Error reading Remote file when the connection is slow

    I have a program that reads a file from a remote server. The file is an xml file. This uses URL inputstream. This works just fine but when the xml that it reads grow in size, the content of the file is not completely sent to the variable string. I ha

  • Screen Pop a View in New Query Mode

    I am doing a Siebel screen pop customization and am having trouble figuring out how to open my desired view in query mode when the call comes in. I have specified my BusComp and BusObj as well as my SingleView in the custom EventResponse but am not s

  • Time Machine "cleaning up" in the middle of my initial backup

    I am trying to backup using time machine to a brand new external firewire drive that I've just formatted. The initial backup is about 150GB and about 20GB of the way into the backup time machine stops copying and the status window says "cleaning up"

  • RAID 1 Question

    I recently set up my system in a RAID 1 configuration (striping) and have a question: At start up I am able to invoke the NVIDIA RAID utility. My array has a "N/A" in the bootable column. Never the less, I am able to boot the system. From what I have

  • Simple Table Displays OK in Mozilla But Not Showing in IE??

    I'm updating our company website and am looking to add sections to each page with bullet points.  (Note: I am using Dreamweaver CS4 version 10.0.) I tried using the Unordered List feature but for those bullet points that were extremely long, the 2nd