Set prefix to enhanced component classes

Hello folks,
in our project we need to enhance several components in CRM Web-UI.
Currently the system set a Z per default as prefix to the enhanced controller, context and context-node classes.
We want to set our own prefix. for example /abcd/.....
I know that a Badi exists to set the own prefix but I can't find it at all. Does anybody know the Badi?
regards
J.
Edited by: Juergen Klein on Jul 21, 2011 10:26 AM

Hello Juergen,
it's BSP_WD_APPL_WB  BadI. And there is a method GET_CUST_CLASSNAME_PROPOSAL. Also there is a default implementation class CL_DEF_IM_BSP_WD_APPL_WB for your reference with 'Z' proposal.

Similar Messages

  • Creating a new method in an enhanced component class implemetation

    Hello Experts,
    I am trying to create a new method in the enhanced component(BT115IT_SLSO) implementation class ( ZL_BT115IT__ITEMS_IMPL)to run our custom functionality. But somehow when I put a breakpoint and debug while I add a product to the sales order the method doesnt get trigerred.
    Is there some thing which I have to do  get this trigerred ? I just added a ned method and placed some custom code in it. Do I have to invoke it anywhere ?
    Pls help me out. I am new to Web UI.
    Thanks

    Hi Mavrick,
    As you are performing some action like item addition , there you need a method called as " event handler " to handle the event and perform the required actions.
    Place a break point in DO_HANDLE_EVENT method , and you will know the exact event handler method which is getting triggered . or if you are defining a new event ( by adding any new button) you should create a event handler method using wizard giving the same name which is defined on_click field of the button as it is case sensitive.
    Regards,
    Nithish

  • Enhancing component fails-Enhancement Set doesnt exist

    Hi All
       I am trying to enahce a component. I naviagted to the component. I clicked on the 'Enhance Component' button. I entered the name of a Enhancement Set which doesn't exist. The system throws an error 'Enahncement Set XYZ doesnt exist'. I created a Z Component in the BSP_WD_CMPWB transaction. I entered this value in the field for Enhancement Set and it still gives me the error message. What should I do? Search help returns no values.
    Thanks and regards,
    Sowmiya

    Hi,
    use the standard componet with the enhancement set .You can see all the views displayed(standard).
    Right click to enhance that.
    Then the standard view with name BT_HEAD/BPdetails(view) will be changed to (ZBT_HEAD/BPdetails) automatically.
    this will serve the copying purpose.
    This will happen, provided when u enhance the component u should have give the BSP application name as ZBT_HEAD.
    Hope this helps you.
    Thanks
    Jgds

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
    Regards,
    Prabahar

    Hi Raju,
    If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
    I would suggest following approch :
    1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
    2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
    3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
    This is just deleting the entries...this does not delete any objects from the system.
    4)Now click on Back arrow, and delete the entry for IUICMRD...save.
    5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
    6) We did not touch to the entries for IUICMD  in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
    7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
    All the best !!
    Thanks & Regards,
    Suchita
    If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion...

  • Error while deleting enhanced component

    Hi,
    i have enhanced the component 'ICCMP_BP_CP' and the view 'ICCMP_BP_CP/BuPaContactPersonCreat'. When we enhanced the component, it throwed me the error message that user is not authorized for sicf transaction. after getting the authorization, i enhanced the component. But when we we enhanced the view, it was throwing view bind exception in Web UI. so, we deleted the enhanced view and when we are trying to delete the enhanced component 'ICCMP_BP_CP', its throwing the error that 'run time repositry could not be loaded',
    After I tried deleting the component enhancement, I can still open that component with enhancement set from BSP_WD_CMPWB but it doesn't show me any repository.xml. Also, I don't see any entry for the enhanced component in BSPWD_CMP_C_REPL.
    I am attaching the screen shots like how I am deleting the enhanced component. Could you please tell me how to delete it.
    Thanks & Regards,
    Kamesh Bathla

    Hello,
    Open table BSPWDV_COMP_EXT via SM30 and open it with the Enhancement Set in which you created the enhancement you want to delete. (or the view cluster BSPWDVC_CMP_EXT via SM34)
    Look for the component for which you want the enhancement to be deleted. Note down the "Runtime Rep. BSP application" and delete the record.
    Open the BSP application you noted down in SE80 and delete the (incorrect) enhancements, then delete the whole BSP application.
    Restart enhancing the component.
    Hope this helps,
    Joost

  • [svn] 4600: Flex SDK - Move style metadata from base class down to component classes

    Revision: 4600
    Author: [email protected]
    Date: 2009-01-20 13:11:33 -0800 (Tue, 20 Jan 2009)
    Log Message:
    Flex SDK - Move style metadata from base class down to component classes
    Previously, all spark and text styles were defined on FxComponent even though not every component supports all of those styles. So I have moved each style to the top-most base class where the style will apply to all descendant classes of that base class.
    This is the set of styles that were added to the various classes:
    baseColor
    color
    focusColor
    symbolColor
    selectionColor
    contentBackgroundColor
    rollOverColor
    alternatingItemColors
    basic text styles
    advanced text styles
    Here are some details about the implementation:
    - baseColor was added to FxComponent because every component and container supports it
    - FxContainer and GroupBase are containers, so their children can potentially support any of the styles. Thus the container classes support all of the styles indirectly.
    - FxDataContainer doesn't support all of the styles because its subclasses (FxButtonBar, FxList) don't support all styles.
    - FxList supports selectionColor, but not inactiveSelectionColor or unfocusedSelectionColor. All other components that support selectionColor, support the other two styles, and thus include styles/metadata/SelectionFormatTextStyles.as
    - GroupBase contains the style declarations that have the full ASDoc. All other declarations use the @copy keyword to reference the asdoc from GroupBase.
    QE Notes: Update tests to remove references to styles that are no longer allowed on various components/FxButton.as
    Doc Notes: Write the ASDoc comments for the style declarations in GroupBase
    Bugs: n/a
    Reviewer: Glenn
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE
    using OMB script without success and I'm a little confused now.
    First of all Scripting Reference does not mention about PREFIX
    property so maybe there is no way to achieve what I want. Consequently
    it would mean that GUI interface is "stronger" than OMB Scripting.
    Secondly I don't understand why when I issue following command in OMB
    Plus:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTY_DEFINITIONS
    I get nothing (empty output, no errors) and when I execute:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTIES
    (STEREOTYPE, IS_ABSTRACT, DESCRIPTION)
    I get:
    class false {}
    First result suggests that there are no properties for DIMENSION_TABLE
    and second proves that there are at least three.
    Is there some type/properties inheritance here?
    Can someone explain me this and tell how can I:
    1. find all valid types (I would like to set prefix for LEVEL,
    LEVEL_ATTRIBUTE, etc. too)
    2. find all properties for these types
    regards
    Tomasz Gajewski

    You misunderstood me. I don't want to rename DIMENSION_TABLE. When creating DIMENSION_TABLE with gui I set NAME and PREFIX for each DIMENSION_TABLE and LEVEL.
    PREFIX for level is used later during deploy to distinguish attributes from different levels.
    Example. If I have a level named LEVEL_NAME with prefix LN and an attribute of it named ID than table generated for this contains column LN_ID.
    When I create DIMENSION_TABLE using OMB Script prefix is set same as name (default behaviour that I can't change) and it is to long to use.
    Scripting Reference doesn't mention about PREFIX property. Should I assume that the only way to change these values are through OWB GUI?
    regards
    Tomasz Gajewski

  • Limit Enhancement component list for Business role

    Hello,
    I have defined Enhancement Set, in it I have a list of enhanced components (table BSPWDV_COMP_EXT).
    I have a business role that need to use only one enhanced component from the list, and other components he will use as a standard.
    I know that in BADI 'COMPONENT_LOADING’  I can assign Enhancement Set to business role.
    But I don' t know where to limit the list of enhanced components (from table BSPWDV_COMP_EXT) for this business role.
    How can I do it in CRM2007?
    Best Regards,
    Veronica

    Hi,
    I found way to choose which enhancement set will work with with bussiness role:
    Need to implement BADI: COMPONENT_LOADING.
    Example of code:
        DATA: lv_profile         TYPE REF TO if_crm_ui_profile,
              lv_role(12)            TYPE c.
        lv_profile         = cl_crm_ui_profile=>get_instance( ).
        lv_role = lv_profile->get_profile( ).
        IF lv_role EQ 'ZXYZ'.
          rv_result = 'Z_EHSET'.
        ENDIF.
    lv_role - contains name of bussiness role.
    rv_result - contains name of enhancement set that will be in used for specific bussiness role.
    Laxman, you may leave rv_result empty. I think that in this case you will use standard component.
    Best Regards,
    Veronica

  • GET SET function in a dynamic Class?

    Is it possible to add a GET SET function in a dynamic class, like we can add properties to a dynamic class?

    correction :
    MyObjectProxy extends ObjectProxy{
         override callProperty(
              // your dyna logic
    and expose new MyObjectProxy(dynaInstance)

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • Web Service security is not set up on this component

    Hi Friends,
    In RWB, when I click on component monitoring->Integration Engine, I got "Web Service security is not set up on this component"
    I want to send message using soap adapter by encrypting and signing it. for this purpose I need to configure the Web Service Security.
    Can someone please provide some documentation or link on how to set up this Web Service Security?
    thankx

    Hi,
    there is a chapter - Security Configuration at Message Level
    in XI config guide which specifies everything you need - this is what you need
    so I hope no further explanations are necessary
    Regards,
    Michal Krawczyk

  • I am having a problem with enhancing a .class for JDO

    Hi
    i am having a rpoblem with JDO . please help me for this.
    Buildfile: build.xml
    compile:
    xdoclet:
    [ojbdoclet] May 26, 2005 11:08:55 AM xdoclet.XDocletMain start
    [ojbdoclet] INFO: Running <ojbrepository/>
    [ojbdoclet] May 26, 2005 11:08:56 AM xdoclet.XDocletMain start
    [ojbdoclet] INFO: Running <torqueschema/>
    build:
    build_if_with_mainclass:
    enhance-jdori:
    [java] Enhancer: options:
    [java] verbose = true
    [java] quiet = false
    [java] forceWrite = true
    [java] noWrite = false
    [java] sourcePath = null
    [java] destinationDirectory = build/classes
    [java] propertiesFileName = null
    [java] doTiming = false
    [java] classNames = {
    [java] }
    [java] jdoFileNames = {
    [java] src/java/org/apache/ojb/tutorial5/Product.jdo
    [java] }
    [java] classFileNames = {
    [java] build/org/apache/ojb/tutorial5/Product.class
    [java] }
    [java] zipFileNames = {
    [java] }
    [java] dumpClass = false
    [java] noAugment = false
    [java] noAnnotate = false
    [java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/build/org/ap
    che/ojb/tutorial5/Product.class
    [java] Class Locator: using class files: {
    [java] build/org/apache/ojb/tutorial5/Product.class
    [java] }
    [java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/src/java/org
    apache/ojb/tutorial5/Product.jdo
    [java] -------------------------------------------------------------------
    [java] JDO ENHANCER: Enhancer: enhancing classfile ...
    [java] JDO ENHANCER: scanning class org.apache.ojb.tutorial5.Product
    [java] JDO ENHANCER: not found resource: META-INF/package.jdo
    [java] JDO ENHANCER: not found resource: WEB-INF/package.jdo
    [java] JDO ENHANCER: not found resource: package.jdo
    [java] JDO ENHANCER: not found resource: org/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/ojb/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/ojb/tutorial5/package.
    do
    [java] JDO ENHANCER: found resource: org/apache/ojb/tutorial5/Product.jdo
    [java] com.sun.jdori.enhancer.util.InternalError: assertion failed: cannot
    find class file for class: org/apache/ojb/tutorial5/Product
    [java] at com.sun.jdori.enhancer.util.Assertion.affirm(Unknown Source)
    [java] at com.sun.jdori.enhancer.meta.model.EnhancerMetaDataJDOModelIm
    l.declareField(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Analyzer.scanFields(Unknown Sour
    e)
    [java] at com.sun.jdori.enhancer.core.Analyzer.scan(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Controller.scan(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown
    ource)
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unk
    own Source)
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
    wn Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
    [java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
    [java] Fatal error while enhancing: JDO ENHANCER: An internal error occurr
    d while enhancing input class; detailed message: assertion failed: cannot find
    lass file for class: org/apache/ojb/tutorial5/Product
    [java] com.sun.jdori.enhancer.EnhancerFatalError: JDO ENHANCER: An interna
    error occurred while enhancing input class; detailed message: assertion failed
    cannot find class file for class: org/apache/ojb/tutorial5/Product
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
    wn Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
    [java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
    [java] aborted with errors.
    BUILD FAILED
    D:\ojb-blank\ojb-blank\build.xml:226: Java returned: 1
    Please help me asap
    bye
    Rahul S
    Senior Software Eng.
    Lionbridge Tech Pvt Ltd.

    Thanks for the suggestion. I have my iphone in an Otter Box and am not aware of getting any water in the phone. I tried cleaning out the docking opening with a toothbrush, no help. I will take your suggestion about going to Apple. Thanks again

  • Set Text in Container- Different Classes each line of text

    I'm using the Set text of Container behavior to function as a caption in my displaced rollover. It works fine but there is one problem I'm having.
    My orginal "placeholder" caption looks something  like this:
    Project Name
    Location
    Photographer
    I achieved this by using "span" on the orginal caption and each line has a class.
    However when I rollover it loses it's styling. How do I apply the classes to the text in the behavior?
    Thanks

    Sorta.
    So I would type in this below in set behavior box?
    <span class="projectname">Project Name<br /> </span> etc.....

  • Setting access rights at component level

    I have created a component. The business wants to restrict its use to a certain group of users.
    If a user is part of that group, ONLY then the coomponent should be available in sidekick at time of page creation.
    How is setting access rights at component level being achieved?

    As Jorg stated, Group ACL settings are meant to control access at a page
    level.  As he also stated is possible to control access even further, but
    with additional effort and difficulty. But, nearly every client wants this
    done down to the component level and on a group by group basis.  So, what
    I've found, over the years that works is the following:
    - Configure the available components per template type per parsys
    - Further configure the available components at the group level
    For the custom built components, you can remove them at the group level by
    un-checking the 'read' ACL on the dialogs for the given component.  You
    don't want to un-check read for the whole component because then the users
    of that group experience random 'holes' in the content.  But, if you
    un-check 'read' for the dialogs, then the component will not display in
    Side-kick (at least on 5.4 and prior this is the case).
    The only caveat to this is the OOB components.  That is where you will run
    into a lot more difficulty.  Those should mostly be enabled/disabled at the
    design level for the entire page/parsys.
    Hope this helps.
    Todd

  • Error  "expected a myfaces custom component class in package"

    Can anybody help me on this?
    just copied the sandbox code on selectmanypicklist and tried in a separate package of mine.
    created a jsp page and used the selectmanypicklist component and im getting the component on my browser.
    But whn i added the javascript resource calling by "encodeJavascript(facesContext, uiComponent);" im geting an error saying tht "expected a myfaces custom component class in package org.apache.myfaces.custom". i placed the java script file in "mypackage/list/resource/pikscript.js".
    should i add anything on faces-config.xml file or anywhr else?
    Anybody can help on this?
    Thanx in Advance.

    The problem is that it calls a method validateCustomComponent in MyFacesResourceHandler to see if it can load the js file. This method controlls if the path of the js file begins with org.apache.myfaces.custom. If not throws an exception and doesn't load the file. I changed the package of the class that's trying to load the file in org.apache.myfaces.custom.xx and the package of the file js in org.apache.myfaces.custom.xx.resource. Now it's working.

Maybe you are looking for

  • Error while writting a screen in report

    Hello Friends,                         I am running a report while executing i am getting error Error when writing a screen, If anyone have useful answer please replay. Thanking Shrikant

  • How to edit asp tag in CS5

    Greetings, Sorry, very new to asp. I'm trying to edit the asp tags seen under the ASP:DataList section. Not only can I not seem to open the tags, but when I view the page source on the web, I see what must be the text from the asp tags. When I view t

  • Which tuner? ExpressCar​d? or USB???

    Just ordered my new laptop; the HDX 18T; should be here soon; comes without, however, the optional integrated TV tuner. So I wish to get some tuner. But I see there is this HP USB TV tuner .. and there also is the ExpressCard thing that goes in the s

  • Owned Adobe Photoshop Elements 9 Editor for 6 weeks - upgrade?

    I bought Adobe Photoshop Elements 9 Editor from the Mac App Store 6 weeks ago. I didn't need the organiser so the cut down version was perfect for me. However, now Adobe Photoshop Elements 10 Editor is out but there is no upgrade option and it seems

  • Plz Tell how to run videos and Google play store i...

    Hi , Plz Tell how to run videos of facebook and dailymotion and Google play store in Nokia asha 230 dual sim . Plz tell i am Waiting for ur Reply . Thanks Birdwatcher89