How may implementations can we have for a BaDI?

How may implementations can we have for a BaDI?

if BADI check Multi-USE , then u can
Multiple-Use Business Add-Ins
You can differentiate between single-use and multiple use Business Add-Ins. The distinction is based on the procedure or event character of an enhancement. In the first case, the program waits for the enhancement to return something, usually a return code. A typical example could be a benefit calculation in HR. Depending on the implementation, alternative calculations can be executed. With multiple use add-ins, an event that may be of interest to other components is processed in program flow. Any number of components could use this event as a “hook” to hang their own additional actions on to.
In addition to importing parameters, you can also use changing parameters for multiple-use Business Add-Ins. There is no sequence control for multiple-use implementations of BadIs. Therefore, using changing parameters can cause problems. There is no guarantee that implementations will not overwrite the results of previous implementations. Sequence control is technically impossible, since at the time of the definition the interface does not know which implementations there will be and which parameters will be changed by implementations. It is not possible to have a decision as to which implementation should be executed before which other (future) implementation.
Example:
In a particular application, you want to be able to continue processing indexes after another component has saved data (in other words, the system should allow you to use an add-in after saving). Since this point in time can be useful for different purposes, you can create an enhancement here that can be used by multiple subscribers.
To create a multiple-use Business Add-In, proceed as follows:
       1.      Define an add-in and select the Multiple Use checkbox from the Administration tab.
       2.      Define an interface with the method OBJECT_SAVED'and the importing parameter OBJECTNAME.
Calling your enhancement in the application program:
program event.
data exit_obj type ref to if_ex_event.
call method cl_exithandler =>get_instance
     changing instance = exit.
form save_object using obj_name type c.
update …
call method exit_obj->object_saved
     exporting objectname = obj_name.
endform.
For the caller it is irrelevant whether (and how many) subscribers use the event as a starting point for further actions. The active implementations are called in the adapter method.
more in http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
Regards
Prabhu

Similar Messages

  • How many apps can you have for sale with a CC Complete membership? (Not Pro or Enterprise)

    I have the CC complete membership (£46 p/m) I was under the impression I could only have 1 app for sale on the Apple store with this. But I've re-read the guidelines and it says I can have unlimited apps. I've been working on an ipad app, which has ended up exceeding the 100mb limit (I think this limit is new, too) But my app could be divided up logically into 2 or 3 apps for individual publication, so long as each has the $99 fee paid. Do my conclusions sound right, or have I missed something?

    >for sale on the Apple store
    This is Adobe... I think you need to ask Apple about their store policies

  • How many tasks can I have in NI-DAQmx system?

    I am working out of the office this week - please send your response to [email protected] as well as my normal email [email protected].
    I am designing a new test platform that will run on C# (because we like object oriented text based programming and because the IDE is free).  For hardware we'll use your PXI modules (because your hardware is ultra-reliable).  I'm starting with the following PXI modules 6259, 4072, 6509, 2575, and 2569, but we made add other modules later as future requirements demand.  I am doing the system software architecture now.  I've done some dabbling with Ni_daqmx, and I loathe "tasks" and "channels", but am determined to make them work.
    The difficulty I'm having revolves around the overhead with setting up tasks and channels and with the concept of tasks and channels.  Help hasn't helped much.  Tasks seem to work great if you intend to always collect the same large amount of data from many sources and always will do it in exactly the same way. 
    We want something much more akin to random access memory.  We'll have UUTs of different kinds coming on and off at random times.  Sometimes a test will need a simple DC voltage, and other times another test will need 2 seconds worth of data at 1MS/s.   It can cost around 150msec to make that change (stop the current task, creat another one, configure anohter channel, start up a new task, blah, blah, task this, channle that - for the life of me I can't understand what this damn taks concept does for me but make matters more complicated and bog down my system).
    I can just barely glean from the help that I can have only one analog input task at once, but I can have sevferal taks of several different kinds running at the same time ( a digital output task and another task for digital input, and another task for analong input, etc.) .  It does seem that I can set realys without having to put them into a channel and a task (Thank goodness for that - I just wanna turn on a relay I have no idea what a relay "channel" might be.)
    In the PXI system I described above I'll have two devices that are analog input devices, the DMM and the Daq.  Even with two devices, can I only have one analog input task running?  Does that mean I've got to waste 150msec just to switch from the DMM to the Daq? (Do you understand my frustration with "tasks"? - I should be able to say "read DMM" and turn around and say "read Daq channel 0" without having to jump thru task and channle hoops and waste a bunch of time doing it).
    I'll also have Daq digital IO and two 6509 digital io modules.  Do I have to cram all of that into some "task" concept too?  The Daq card has got many other kinds of wonderful capability (frequency measurement, counters, analog output).  How many tasks can I have for that stuff?  On the DMM card I can measure capacitance amoung other things.  Will I have a capacitance task?  The idea of a "capacitance task" hurts my head.
    Golly I hate tasks.  Please help.
    I am working out of the office this week - please send your response to [email protected] as well as my normal email [email protected].
    Dave

    Dave,
    Thanks for posting to the NI Forums.
    For the good of the community we like to keep conversations that start of the forums on the forums rather than moving to email.  If you want to move to email support I recommend contacting NI through the email route.
    I will answer your questions here.  If you need more direct contact please feel free to contact us through [email protected].
    For some the concept of tasks may seem daunting, however, for many applications it makes life a lot more simple.  A task at a very fundamental level is simply a collection of channels with a single type (AI, DI, DO, etc.)  and a single timing configuration (sampling rate, continuous vs. finite, etc.).  It is a way to organize configuration data.  
    The concept of a task is an abstraction like OO programming.  Like OO programming it may take some time to understand but can be a time saver in the end.  Also like OO programming it does add some initial programming overhead.  It is much more simple to simply type a printf statement in C than to have to create a bunch of classes just to output text to the screen. You can accomplish the same thing not using OO programming, but in the end OO programming is extremely useful, because it groups useful information and methods together in one place.
    With very simple applications OO programming sometimes does not make sense.  But as a program gets more and more complex OO programming becomes more and more useful.  It takes some learning but it is worth it.
    I believe the concept of a task does the same thing.  It does not change the actual functionality of the device or add excessive overhead.  It is just an abstraction that pulls configuration data about a specific "task" and methods the task can perform into a single logical place.
    Unlike the entirely abstract concept of an Object, a Task is run on a physical device and therefore has physical limitations.  You can create multiple tasks of the same type, but you can only run a one timed task of each type on a single board at a time.  In other words you can have multiple AI tasks running at the same time but they need to run on different boards or only one can be timed (have a rate).  You can also have multiple timed AI tasks configured for a single board but only one can actually be running at a time.
    The reason you can only have a single timed task running at a time is because the M-Series boards (and many other boards as well) have a single timing engine for each type of acquisition or generation.  There is a single timing engine for AI, one for AO, and so forth.  You cannot have channel 1 running at 1 MS/s and another running at 50 kS/s.
    However, tasks can exist even when they are not being actively run.  You can create all the tasks you need at the beginning of your program and simply start and stop them as you need.  After the task is stopped you do not need to clear the task until the end of your program.  You can further increase performance by moving the Task into the latest state possible without actually starting the task.  This can be done by calling myTask.Control(TaskAction.Action).  The Task states are further explained in the NI-DAQmx Help Manual.
    The concept of a  task will need to be used with any device that is being programmed using NI-DAQmx.  The 6259 and 6509 will need to be programmed using DAQmx.  With the 2575 and 2569 you have the choice of either using the NI-DAQmx API or the NI-SWITCH API.  The SWITCH API does not use the concept of tasks.  For the 4072 you will need to use the NI-DMM API.  This API also does not use the concept of tasks.
    Hopefully this information is helpful.  Let me know if you have any additional questions or concerns.
    Regards,
    Neil S.
    Applications Engineer
    National Instruments

  • How many accounts can I have on a itunes account?

    How may devices can i have on 1 itunes account?  And if I want to add another deviices?

    Bryan,
    According to iTunes Store: Associating a device or computer to your Apple ID:
    "Your Apple ID can have up to 10 devices and computers (combined) associated with it. Each computer must also be authorized using the same Apple ID. Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days."

  • How many emails can I have on my account? Can I have client folders to customize for each client?

    How many emails can I have on my account?
    Can I have client folders for each client to access their own survey/forms?
    Can I customize for each client?
    Do we need multiple subcription accounts for this?

    You need to have one FormsCentral subscription per email.
    At this time FormsCentral doesn't support folders.
    Gen

  • How many playlists can you have or create

    how many playlists can you have or create

    There is no documented limit. 
    Note that Smart Playlists with Live Updating use extra processing, so if you have more than a few dozen of them you may notice a slowdown.
    Some people think they should create a playlist for each album.  If by any chance that is the reason you are asking the question, you will find it is much easier to get to an album via the column browser.

  • How many implimentations can be done for a single BADI definition?

    How many implimentations can be done for a single BADI definition?
    Is there any restriction to impliment a single BADI definition?
    Plz answer with proper explanation....
    Thank you in advance
    REgards,
    Chaitanya

    hi Krishna Chaitanya,
    In a badi if the "Multiple Use" Checkbox is checked then You can have any number of Implementations for the BADI
    Say I have defined a BADI "BADI1"
    and I have 3 implementations
    IMP1
    IMP2
    IMP3
    The order of execution will be IMP1, IMP2 and IMP3
    In a badi if the  "Multiple Use" Checkbox is not checked then You can have ONLY ONE  Implementation for the BADI
    Say I have defined a BADI "BADI1"
    and I have 3 implementations
    IMP1
    IMP2
    IMP3
    Only one Implementation can be active at a time and only that will get executed
    Hope this helps a bit
    Reward if Useful
    Cheers
    Kripa Rangachari.

  • How to Implement N-Level Approval for Bid,Live Auction,PO,Contract ?

    Hi Experts,
                  I am new to SRM 5.0. My requirement is how to implement N-Level Approval for Bid, Auction, PO and Contract? Which steps should I follow for        N-Level Approval? Can any one send me sample code and name of BADI where I have to implement the code.
    Abhijeet Panse

    Hi
    Please check for <b>BBP_WFL_APPROV_BADI</b> using SE18 transaction for relevant Code as well and standard SAP documentation.
    Related sample code and other useful pointers ->
    WS14500015 is not working for Multilevel approval
    Re: SRM / Shipping cart
    Re: N Step Approval BADI - BBP_WFL_APPROV_BADI
    Re: N-step BADI workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/frameset.htm
    Multiple Implementation For BBP_WFL_APPROV_BADI
    Re: Help needed on N-Step Approval WFL for SC
    Re: N-Step 14000109 workflow - Unable to identify Approvers
    Do let me know.
    Regards
    - Atul

  • How may I include the table for audit?

    How may I include global tables for audit? We are going to control changes.
    Do you know which table contained the list with it?
    Thanks

    Hi Marina,
    The following is the information on table log:
    You must start the SAP system with the rec/client parameter. This parameter specifies whether the SAP system logs changes to table data in all clients or only in specific clients. The parameter can have
    the following values:
    - rec/client = ALL logs all clients
    - rec/client = 000 [,...] logs the specified clients
    - rec/client = OFF turns logging off
    In the technical settings (use transaction SE13), set the Log data changes flag for those tables that you want to have logged.
    If both of these conditions are met, the database logs table changes in the DBTABPRT table. You can also check at transaction SCU3.
    Use the RSTBHIST report to obtain a list of those tables that are currently set to be logged.
    Hope it helps.
    Please award points if it is useful.
    Thakns & Regards,
    Santosh

  • May i can't have Forms+Reports server on the same machine ?

    Gurus!
    I have installed Forms+Reports server on the same machine with their builders too. But then Forms & Reports server does not function when i call my .fmx file in browser the message,
    "Java applet loading" appears but then the process hang up.
    But when only installed Form server my .fmx file works.I also want to call my .rep files from forms.
    May i can not have Forms+Reports server on the same machine?
    Separately they work but not both but i require both how!
    I have also seen when both installed and when i start services of both then ifweb60.exe is called two times in memory, it shows from task manager's process tab.
    Please help!
    Many thanks

    1. Check these files to make sure you have the correct port settings for your forms: formsweb.cfg, base.htm
    2. In your Windows Registry:
    a. Add path for Reports Server (REPORTSxx_PATH)
    b. Make sure you also have FORMSxx_PATH defined
    c. Check values of your OracleFormsServer.
    HKEY_LOCAL_MACHINE
    SYSTEM
    ControlSet001
    Services
    OracleFormsServer
    Verify the values of Host, Mode, Pool and Port.
    3. Check Metalink Note 97487.1 for additional info.
    And YES, Apache, Forms, Reports and Graphics can all run in the same machine.

  • How many devices can you use for your itunes account?

    how many devices can you use for your itunes account?

    PT wrote:
    Macistotle wrote:
    Unless you have DRM still haunting your tunes ... Then you can only use those songs on 5 devices. Otherwise, connect as many as you like (as stated above).
    No, you can sync your DRM tracks to an unlimited number of iPods (but only authorized to play on 5 different computers/user accounts)
    Patrick
    So I can sync two iPods to my iTunes account and sync the same digital copy movies that come with some o' my DVDs to both ipods? Do movies make a difference really, DRM-Wise? Thanks in advance.

  • How many tasks can you have in a plan?

    How many tasks can you have in a plan?
    What is the maximum number of tasks I can reasonably expect to have in a newScale service (version 2007)? 
    I have approximately 30 tasks in my service.  When the authorizations are complete, and the tasks are initially scheduled, my server response time (between clicking Approve and seeing the next screen) is about 30 seconds. 
    Does this sound unusual?  Am I trying to do too much with my service?
    Thanks!

    Hi Joe,
    There is no "upper limit" on the number of tasks that you can have in a plan. Having said that, the complexity of a plan -- including conditions and the use of external tasks -- can certainly be a factor in response times.
    Having said this, 30 seconds seems like a long time and I strongly suggest that you open a case with customer care on this item.
    We have alerted them to be looking for a case from you.

  • How many Collections can you have in iBooks?

    How many Collections can you have in iBooks?  I have many and now I'm unable to add more collections.  Is there a way to add more collections/shelves?

    Hi Joe,
    There is no "upper limit" on the number of tasks that you can have in a plan. Having said that, the complexity of a plan -- including conditions and the use of external tasks -- can certainly be a factor in response times.
    Having said this, 30 seconds seems like a long time and I strongly suggest that you open a case with customer care on this item.
    We have alerted them to be looking for a case from you.

  • How many iPads can i have on one iCloud account?

    how many iPads can i have on one iCloud account?

    Bryan,
    According to iTunes Store: Associating a device or computer to your Apple ID:
    "Your Apple ID can have up to 10 devices and computers (combined) associated with it. Each computer must also be authorized using the same Apple ID. Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days."

  • How many devices can you have on 1 icloud account

    how many devices can you have on 1 icloud accout?

    It's unusual for a whole family to use the same icloud account, since that way everyone gets the same emails, contacts, calenders, etc.  All it takes is one family member to delete a contact by mistake and then it will be deleted from everyone's devices.  Not good.  The usual advice is for every individual to have their own icloud account.
    The iTunes store is another issue - everyone can use the same Apple ID to access the same itunes account to download music, apps, etc. without everyone having to buy the items multiple times.

Maybe you are looking for

  • RPM_FIN02 - Receiver of IDoc is its own logical system

    For one particular portfolio item, I run the RPM program RPM_FIN02. This results in an IDoc creation. Next, I checked the status of the IDoc (RPM > Base System Interfaces > SAP Financial and Controlling Integration > Data Distribution From SAP FI-CO

  • Installing/using Arch linux in Parallels on Mac OS X Lion MBP Retina

    I am having a problem where I can't install or use Arch Linux as the same error always crops up at some point or another. loading user-specifide modules [busy] pc_ich: RCBA is disabled by hardware/BIOS, device disabled pc_ich [some random numbers]: I

  • After syncing my iPod touch in iTunes, I find that nearly all of the songs on my iPod have disappeared.

    I plugged my iPod into my Windows 7 computer for it to charge.  When I went to listen to music, it told me I only had 11 songs on it, when just moments before it had over 300.  When I checked my music on the iPod itself, I had a different list of son

  • BTE to modify planning level

    Hi! I´m using BTE 1025 (P/S) to modify automatically the panning level of certain FI documents. My version: 4.6C Now we are upgrading to ECC 6.0, but BTE 1025 doesn´t run. What´s the problem with BTE for modifying documents in ECC 6.0? Thanks in adva

  • Cannot cast java.io.serialiazable to int Error

    Dear Members, I have procedure in AM which is as follows: public int countRecs(String headerID) int count=0; count= integer value assigned from SQL Query* return count; I am calling this procedure from the CO of the page as follows: String headerID="