Activate/deactivate functions in an add-on as per client's requirements

Is it possible to create an add-on with differents functionalities that could be activated or deactivated depending on the need of each client? We could activate certain functions in the code and create a different installer depending on what the client is interested in.
Let me give you an example.
We have an add-on that has a function of importing journal entries into SAP's database and another function is updating our own database when changes are made into the SAP's employes table (OHEM). These two functions are not related or complementary. Now, not all clients would be interested in getting these two functionalities, they might need either one of them or both. Can we deactivate certain functions in the code and make an installer for the add-on based on what different clients require?
The idea behind this is to avoid making many add-ons for clients where only one add-on would be required.
Thanks for your help.
Pierre

Hi,
Actually what ur asking is very much possible, have a cofiguration screen in ur addon where the user can select the features required for that client... Then when executing the function u can have a check if that functionality is required or not..
Hope it helps,
Vasu Natari.

Similar Messages

  • How To Line Items - activate/deactivate functionality

    In the How To paper on "Line Items in BPS", fields such as user & date can be stamped on each delta record.  This is done through the characteristic relationships exit function. 
    To limit which types of activities are tracked at this level, the paper makes reference to the ability to "program a mechanism to activate and deactivate the functionality" in order to only stamp the date (for example) on manual changes, and not on automatic functions or batch activities. 
    Does anyone have an example of how they've done this?  I could code the FM to only execute if the user id is not one of our batch ids, but that wouldn't take care of automatically executing functions that are attached to a layout. 
    Thanks.

    Hello Astine,
    quite often you want to track changes for specific data for example accounts only. To accomplish this you can use account as a source field for the derivation and then check the account number in the "line item" exit.
    If you want to track only manual changes and not batch processing, then a simple if sy-batch = 'X' will do the trick in your exit.
    Regards,
    Marc
    SAP NetWeaver RIG

  • The "Find Faces" function is deactivated on iPhoto 9.5, in OSX Mavericks. Is there any way to activate / deactivate this function?

    Hello,
    Instead of deactivting the "Find Faces" Function, I would like iPhoto 9.5.1 to run this.
    On my MacBook Aluminium Late 2008, running Mavericks 10.9.3 this function is grayed out, and never run.
    Is there a way to activate this function?

    This procedure is a diagnostic test. It makes no changes to your data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults read -app iPhoto PKFaceDetectionEnabled | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • How to Grey(Deactivate) Function Code at application Toolbar of a screen

    Hi all,
    I want to gray(deactivate) function codes at application toolbar of a normal screen. I am using excluding addition of set pf-status but it hides the button from the application tool bar.
    I don't want to hide button, but gray only.
    Thanx in advance.

    When editing the PF-Status itself, try selecting the menu option and then F7 (the Function Code / Activate / Deactivate button, or menu Extras > Function Active <-> Inactive).
    Jonathan

  • Problem while  doing SPAU activity to activate a function group

    Hi all,
    I am currently working for upgrade project. I completed all the SAPU activities. but not able to activate one function pool.
    I getting below error.
    "Incorrect nesting: Before the end of the program, the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION". -"
    Please give some idea to activate this pool.
    any updates
    Regards,
    sarath
    Edited by: sarath kumar on Feb 23, 2011 11:14 AM

    Hi sarath,
    It seems that this function must be a custom FM, otherwise standard FM happens to be properly closed.
    You need to check that FM as ENDFUNCTION command must be missing.
    Go into that, check the code, add the ENDFUNCTION there, check again and finally activate it.
    This way, your problem would be over.
    Thanks.
    Kumar Saurav.

  • Video comes in front on stage automatically  after android app activate/deactivate

    Hi,
    I overlayyed TextField over video on stage.
    video and textfield is added on stage like
    stage.addChildAt(video,0);
    stage.addChildAt(textfield,1);
    video.attachNetStream(netstream);
    the above source code works perfect for android air app If I don't activate/deactivate the app.
    But If I deactivate the app by tapping home and then activate the app (by tapping the app icon), video becomes on top of textfield.
    How can I push the video below the textfield?
    I have checked the video index its 0 and I have also tried to remove the video and add it back on stage at index 0 but that also does change anything.
    Thanks for your help!

    I've written several apps that use video and there are definitely some known ordering issues. 
    I believe that it has to do with the fact that the Video object is able to use GPU rendering (which is basically handled outside of the display list).  As you've described, the ordering issue doesn't seem to appear until you deactivate/reactivate the application.
    You might want to look at this message from December 11th 2012:  http://forums.adobe.com/message/4914005
    There's some additional information in the bugbase - here :  https://bugbase.adobe.com/index.cfm?event=bug&id=3354849
    As described, there is a poorly documented application.xml element, <containsVideo>true</containsVideo> that can be manually added to the application.xml file (with a text editor/notepad) - it belongs inside the <android></android> element.  
    This may or may not resolve your issue.  However in my case (very similar to your description), adding this element to the application.xml did cause the application to respect the intended order when deactivated and then reactivated.
    Hope this is useful information for you.

  • I would like to put Dreamweaver 8 on a new computer.  There is no "deactivate" function and the technical support person I chatted with recommended I come here.  Can I just use the serial number again?  How can I deactive?  Has anyone else run into this?

      There is no "deactivate" function and the technical support person I chatted with recommended I come here.  Can I just use the serial number again?  How can I deactive?  Has anyone else run into this?  How can I get Dreamweaver 8, which is no longer being activated by Adobe, on a new computer?  Is it even worth doing or do I need to get a new version.  What are the killer features I'm missing?

    If you manage to get it installed on your current OS, don't forget to install the 8.02 update.
    Adobe - Dreamweaver Support Center : Updaters
    Nancy O.

  • PR05 - How to activate a Function in the Object Services Toolbox

    Hi,
    How do I activate a function in the Object Services Toolbox?
    In transaction PR05 (Travel Expense Manager) select any trip and then click on 'Change'. This takes you to the screen for the individual trip.
    On the top left of the screen is the 'Object Services Toolbox'.
    If I drop down on this list then select 'Create' there are 5 options under 'Create' i.e. 'Create attachment', Create Note', 'Create External Document', 'Store Bus. Doc', and 'Enter Bar Code'.
    The 'Enter Bar Code' is deactivated. I would like to know how to activate this.
    Thank you.
    Warren.

    no idea

  • Is there a way to quickly activate/deactivate certain plugins?

    a site wants me to install the VLC plugin for safari to watch their streaming videos. fine. VLC is nice.
    unfortunately the plugin insists on handling all quicktime files and mp3 as well once activated, which blows. I wonder if there is either a quick way to tell it to only handle its very own vlc file format inside safari or to quickly install/uninstall (=activate/deactivate) the plugin.
    any ideas?

    I wonder if there is either a quick way to tell it to only handle its very own vlc file format inside safari or to quickly install/uninstall (=activate/deactivate) the plugin.
    Yes. Create a new subdirectory (folder) in ~/Library named "Internet Plug-Ins (Disabled)"; then move the VLC plugin into that folder when you want to deactivate it. Just be aware in advance that you may have to restart Safari for it to recognize this item being disabled, as well as if/when you enable it again.
    Mulder

  • Activate Javascript Function in Report Load

    Hi
    I have a javascript function that works. I put it in my ReportingServices.js file. If I have a hyperlink on my page and click it, it activates my function and my mouseover events works perfectly.
    It is a hybrid based on the following:
    http://blogs.infosupport.com/reporting-services-javascript-injection/
    How do I get my function to activate on page load so that the user don't have to click a hyperlink.
    My function:
    function mytooltipmouseover() { var el = document.getElementsByTagName('span');
    var len = el.length;
    for (j = 0; j < len; j++){
    if (el[j].innerHTML == "CHANGEME"){
    el[j].onmouseover = function () {
    var findTest = document.getElementsByTagName('span');
    var testlen = findTest.length;
    for (i = 0; i < testlen; i++)
    if(findTest[i].innerHTML=="test")
    findTest[i].style.display = "block";
    findTest[i].innerHTML = "MouseOver worked.";
    el[j].onmouseout = function () {
    var findTest = document.getElementsByTagName('span');
    var testlen = findTest.length;
    for (i = 0; i < testlen; i++) {
    if (findTest[i].innerHTML == "MouseOver worked.") {
    findTest[i].style.display = "none";
    findTest[i].innerHTML = "test";
    My hyperlink(Placeholder set as HTML in textbox):
    ="<a href=""javascript:mytooltipmouseover()"">test</a>"
    My tried custom code - not sure how to get it to work...
    Function WriteHTML() As String
    System.Web.HttpContext.Current.Response.Write("<script language='javascript'>function mytooltipmouseover()<script>")
    End Function
    Help would be greatly appreciated.
    Thanks

    For those who would like to know, got it working by adding following line in the ReportingServices.js
    function pageLoad() { mytooltipmouseover(); }

  • Missing Sparsity Advisor in AWM, how to get/activate this function?

    hi all,
    I use "Analytic Workspace Manager 10.2.0.3.0A" to create my cubes and dimensions.
    In the Demonstration of "Analytic Workspace Manager 10.2.0.3.0", I seen there is the function "Sparsity Advisor" in AWM. But I don't found this function in my "Analytic Workspace Manager 10.2.0.3.0A".
    Some one show me how to get/activate this function please!
    Thanks in advance!

    To Ragnar
    to obtain the lastest Schema, I downloaded and installed the "GLOBAL Schema 10.2.0.3.0" found here:
    http://www.oracle.com/technology/products/bi/olap/index.html
    To Watrost
    I did which you said:
    SQL> show parameter compatible;
    and I obtains this result:
    compatible string 10.2.0.1.0
    I think I don't have the good version. So I tried to update the lastest patch "10gR2 - 10.2.0.3" but I found another problem.
    I don't have acces to Metalink because I installed "Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (x64)"
    so I don't have the "Support Identifier (CSI, SAC, Access Code etc.)". Or maybe I don't know how to get this "Support Identifier".
    Can you tell me how to get this Identifier number?
    Is it possible to get the lastest patch 10gR2 - 10.2.0.3 without "Support Identifier" or Metalink?
    thanks in advance!

  • [svn] 3143: Fix the AC_AddExtension function to not add the extension if

    Revision: 3143
    Author: [email protected]
    Date: 2008-09-08 11:21:14 -0700 (Mon, 08 Sep 2008)
    Log Message:
    Fix the AC_AddExtension function to not add the extension if
    it already exists on the path.
    Modified Paths:
    flex/sdk/branches/3.0.x/templates/html-templates/metadata/AC_OETags.js

    67Tommy Guns wrote:
    Adobe as a whole seems to have VERY low communications skills.
    Putting it generously, they're a unique beast with very Adobe ways of doing things. Same goes for Microsoft and others.
    Once you learn the lingo, they're a friendly enough bunch but the bureaucracy can prove labyrinthine and exasperating at times (even for Adobe staff, I gather).
    What I do know is that once you eventually find the correct forum, form, department or knowledgeable individual to speak to, they're usually really helpful.
    I do avoid contacting Adobe for Help at all costs though. That DOES need lots of work. The forums are far quicker and easier for me to deal with.

  • I can't activate/deactivate Security Audit via SM19.

    Hi everyone,
    I can't activate/deactivate Security Audit via SM19.
    I tried to activate the security audit but the program has aborted. The Current File Size is 977kb vs Maximum File Size of 976kb. I run SM18 to initialize the log but the activation has aborted once again. The File Size remains at 977kb.
    Thanks,
    Kiko

    Hi,
    Please check the following profile parameters...
    DIR_AUDIT                              
    Directory for security audit files     
    FN_AUDIT                               
    Name of security audit file            
    rsau/enable                            
    Enable Security Audit                  
    rsau/max_diskspace/local               
    Maximum space for security audit file  
    rsau/max_diskspace/per_day             
    Maximum size of all security audit files
    rsau/max_diskspace/per_file            
    Maximum size of one single security audi
    rsau/selection_slots                   
    Number of selection slots for security a
    rsau/user_selection                    
    Defines the user selection method used
    Regards
    Ben

  • Is there a keyboard shortcut to activate / deactivate the built in mic?

    Is there a keyboard shortcut to activate / deactivate the built in mic?

    Ah somewhat confusing. Your question seemed to indicate you were looking for a way to disable the mic, not that it wasn't working with some apps.
    Have you tried any of the Apple apps, Garage Band or Dictation? Do they work? If the input volume indicator under the mic in  System Preferences is moving in response to your voice then the problem is not that the mic is disabled or muted, the sound is getting into the system.
    Does the Input Volume move while you have one of the non-working apps opened? Have you installed any 3rd party sound apps or kernel extensions?
    Are the mic settings in Audio MIDI setup 44100.0 HZ and 2ch-24 bit?
    I would start by seeing if the mike works with one of the apps I mentioned above or download something like Audacity: Free Audio Editor and Recorder to test it out.

  • To Activate Business Function FI

    Dear Experts,
    We are implementing BI. We are in need of activating below business functions for Vender, Asset reports etc. in BI
    FIN_REP_SIMPL_1
    FIN_REP_SIMPL_2
    FIN_REP_SIMPL_3
    Can you kindly guide us the dependent FI business functions related to above each BF. I have found certain info. regarding the dependent BF. which are not activated so far. Those are mentioned below. (Further We are on EHP 5 & activated New GL).
    FIN_GL_CI_1
    FIN_GL_CI_2
    FIN_GL_CI_3
    and if you got any idea about the risk involved, appreciate your advise as well
    Best Regards,
    Thuwan

    Hi Thuwan,
    In transaction SFW5 (where you activate Business Functions) there is column "Dependencies".
    from what I can see in your case the only dependecy is: FIN_REP_SIMPL_2 must be activated if you want to activate FIN_REP_SIMPL_3.
    I don't think there is much risk in activating those business functions. They just give you additional FI reports in BI.
    Regards,
    Szymon

Maybe you are looking for