Deleting inherited attribute using FM 'BBP_UPDATE_ATTRIBUTES'

Hi Forum,
I am trying to delete one value for attribute CAT using FM BBP_UPDATE_ATTRIBUTE , this attribute value is Inherited but I am unable to delete it.
I tried this:
1. Set the inherited flag to space using the same FM (in PPOSA_BBP I can see that inherited checkbox is not checked now)
2. Try deleting the attribute using same FM (now the inherited flag is SET in PPOSA_BBP instead of deleting the attribute value)
Is it not possible to delete inherited attribute or set inherited to space in PPOSA_BBP using BBP_UPDATE_ATTRIBUTES FM ?
Another query is in this FM only USER_ID_P and ORGUNIT_ID_P are import parameters, how can we update attributes of a POSITION using the FM?
Thanks,
Anubhav

Hello Anubhav,
Inheritance between objects cannot be managed by any function module.
Even if it can be done with a function module i don't know, it will be overwritten by your current customizing ( OOATTRCUST transaction) for attribute CAT.
Regarding attributes update for positions, did you try with import parameter IS_OBJECT (OTYPE = 'S' and OBJID = position ID) ?
Regards.
Laurent.

Similar Messages

  • How to delete an attribute?

    Hi Experts,
    We are on SRM 5.0
    How to delete an attribute from Attributes tab of Organization/ Position or User?
    For eg: The attribute Catalog ID i.e. CAT is there at Organization level, Position and also User levels.
    Suppose there are 3 Lines for CAT in Attributes tab. I want to delete one..how to do this?
    I tried using the FM BBP_UPDATE_ATTRIBUTES By passing only one record in IT_ATTR_P and setting REPLACE_P flag but it does not changes anything.
    Thanks for the help,
    Anubhav

    Hi
    i believe CAT value  is a case sensitive field .
    Why are you using FM to update the ATTRIBUTE values?
    Corporate - Dont want to keep this value for as CAT . if you dont want this catalog value.you need to find out where in the root and make it disable or Delete it.
    some sample code
    https://wiki.sdn.sap.com/wiki/display/SRM/CodeSample3UpdatingExtendedAttributes(Storage+Location)
    what is your business requirement ? Dont want Corporate catalogs any more for all the users?

  • Need user exit when deleting an invoice using MIR6 transaction

    Hi all,
    I m trying to delete an Invoice using MIR6 transaction. And I need a user exit to be triggered  on deletion of an Invoice.
    Can anybody help me and let me know if any user exit is available there?
    Points will be rewarded.
    thanks
    Ashish

    Hi
    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:
    • 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.
    • 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…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 “AAA”).
    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 “BBB” sample program.
    “AAA”
    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.
    “BBB”
    *& 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.
    check the following user exits for MIR6
                                                                                    LMR1M001            User exits in Logistics Invoice Verification                     
    LMR1M002            Account grouping for GR/IR account maintenance                   
    LMR1M003            Number assignment in Logistics Invoice Verification              
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs     
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting     
    LMR1M006            Logistics Invoice Verification: Process XML Invoice              
    MRMH0001            Logistics Invoice Verification: ERS procedure                    
    MRMH0002            Logistics Invoice Verification: EDI inbound                      
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP                  
    MRMN0001            Message output and creation: Logistics Invoice Verification      
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to Delete Marketting Attribute

    How to delete marketing attribute when it is assigned to marketing attribute set  and some accounts  are already created with  use of these marketing attribute.
    Kindly help

    thnx man i am able to delet it using this
    BTW
    For marketing attribute if  you select format type as char and try to enter value as email id  system does not allow ot enter gives serror as invalid type
    kindly help
    Edited by: amit mane on Aug 29, 2011 1:24 PM

  • Can I grant permission to write in specific attributes using security groups

    Hi
    I Created GPO that write the computer name in the one of the user attribute "comment attribute " when  he logged on
    then i went to OU and grant self delegate permissions to allow the users of that OU to write on "comment attribute
    but this did not work for the users how have been disabled form inheritance
    so instead of grant delegate permissions to the OU
    Can I grant permission to write in specific attribute "comment attribute " using security groups "Domain User "??

    Hi,
    Open Active Directory Users and Computers.
    On the View menu, select Advanced Features.
    Right-click the object for which you want to assign, change, or remove permissions, and then click Properties.
    On the Security tab, click Advanced to view all of the permission entries that exist for the object.
    To assign new permissions on an object or attribute, click Add.
    Type the name of the group, computer, or user that you want to add, and then clickOK.
    In the Permission Entry for ObjectName dialog
    box, on the Object and Properties tabs,
    select or clear the Allow or Deny check
    boxes, as appropriate.
    http://technet.microsoft.com/en-us/library/cc757520(v=ws.10).aspx
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • NullPointerException for Toplink mappings to inherited attributes

    In the Toplink workbench (I´m using TP3) I need to map inherited attributes to the super class. Whenever I try this, my Toplink map goes corrupt with a NullPointer and is not usable any more.
    This is how it goes:
    - I have different common attributes (such as id, version, ...) stored in the super class
    - Create a new Toplink map
    - Choose "Add or Remove Descriptors"
    - Add the child class to be mapped
    - Choose "Map inherited attributes" -> "To Root Minus One"
    - Nothing happens: the additional super attributes don´t show up (??)
    - Restart JDev
    - Choose again "Map inherited attributes" -> "To Root Minus One"
    - Now the additional super attributes show up and you can do any mapping
    - Yet, if you restart JDev again and try to open the Toplink mapping you get the stacktrace shown below
    I checked this with Jdev 10.1.3 and the same classes and didn´t have any problems.
    Can you reproduce this?
    Thanx in advance
    Jens
    java.lang.NullPointerException
         at oracle.toplink.workbench.mappingsmodel.descriptor.MWDescriptor.packageName(MWDescriptor.java:214)
         at oracle.toplink.workbench.mappingsplugin.ui.project.ProjectNode.descriptorPackageNodeFor(ProjectNode.java:375)
         at oracle.toplink.workbench.mappingsplugin.ui.project.ProjectNode.addDescriptorNodeFor(ProjectNode.java:444)
         at oracle.toplink.workbench.mappingsplugin.ui.project.ProjectNode.addDescriptorNodesFor(ProjectNode.java:438)
         at oracle.toplink.workbench.mappingsplugin.ui.project.ProjectNode.engageValue(ProjectNode.java:268)
         at oracle.toplink.workbench.uitools.app.AbstractTreeNodeValueModel.addStateChangeListener(AbstractTreeNodeValueModel.java:70)
         at oracle.toplink.workbench.uitools.app.swing.TreeModelAdapter.engageNode(TreeModelAdapter.java:370)
         at oracle.toplink.workbench.uitools.app.swing.TreeModelAdapter.addChildren(TreeModelAdapter.java:354)
         at oracle.toplink.workbench.uitools.app.swing.TreeModelAdapter$ChangePolicy.addChildren(TreeModelAdapter.java:478)
         at oracle.toplink.workbench.uitools.app.swing.TreeModelAdapter$4.itemsAdded(TreeModelAdapter.java:177)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:76)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemsAdded(ChangeSupport.java:1140)
         at oracle.toplink.workbench.uitools.app.ValueModelChangeSupport.fireItemsAdded(ValueModelChangeSupport.java:242)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemsAdded(AbstractModel.java:373)
         at oracle.toplink.workbench.uitools.app.CollectionListValueModelAdapter.itemsAdded(CollectionListValueModelAdapter.java:305)
         at oracle.toplink.workbench.uitools.app.SortedListValueModelAdapter.itemsAdded(SortedListValueModelAdapter.java:99)
         at oracle.toplink.workbench.uitools.app.CollectionListValueModelAdapter$1.itemsAdded(CollectionListValueModelAdapter.java:97)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:55)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemsAdded(ChangeSupport.java:700)
         at oracle.toplink.workbench.uitools.app.ValueModelChangeSupport.fireItemsAdded(ValueModelChangeSupport.java:167)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemsAdded(AbstractModel.java:179)
         at oracle.toplink.workbench.uitools.app.ListCollectionValueModelAdapter.addInternalItems(ListCollectionValueModelAdapter.java:269)
         at oracle.toplink.workbench.uitools.app.ListCollectionValueModelAdapter.itemsAdded(ListCollectionValueModelAdapter.java:273)
         at oracle.toplink.workbench.uitools.app.ListCollectionValueModelAdapter$1.itemsAdded(ListCollectionValueModelAdapter.java:89)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:76)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemsAdded(ChangeSupport.java:1090)
         at oracle.toplink.workbench.uitools.app.ValueModelChangeSupport.fireItemsAdded(ValueModelChangeSupport.java:233)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemsAdded(AbstractModel.java:377)
         at oracle.toplink.workbench.uitools.app.ItemAspectListValueModelAdapter.itemsAdded(ItemAspectListValueModelAdapter.java:234)
         at oracle.toplink.workbench.uitools.app.ListValueModelWrapper$1.itemsAdded(ListValueModelWrapper.java:69)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:76)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemsAdded(ChangeSupport.java:1140)
         at oracle.toplink.workbench.uitools.app.ValueModelChangeSupport.fireItemsAdded(ValueModelChangeSupport.java:242)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemsAdded(AbstractModel.java:373)
         at oracle.toplink.workbench.uitools.app.CollectionListValueModelAdapter.itemsAdded(CollectionListValueModelAdapter.java:305)
         at oracle.toplink.workbench.uitools.app.CollectionListValueModelAdapter$1.itemsAdded(CollectionListValueModelAdapter.java:97)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:55)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemsAdded(ChangeSupport.java:650)
         at oracle.toplink.workbench.uitools.app.ValueModelChangeSupport.fireItemsAdded(ValueModelChangeSupport.java:158)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemsAdded(AbstractModel.java:183)
         at oracle.toplink.workbench.uitools.app.CollectionAspectAdapter.itemsAdded(CollectionAspectAdapter.java:264)
         at oracle.toplink.workbench.uitools.app.CollectionAspectAdapter$1.itemsAdded(CollectionAspectAdapter.java:117)
         at oracle.toplink.workbench.utility.events.DefaultChangeNotifier.itemsAdded(DefaultChangeNotifier.java:55)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemAdded(ChangeSupport.java:751)
         at oracle.toplink.workbench.utility.events.ChangeSupport.fireItemAdded(ChangeSupport.java:757)
         at oracle.toplink.workbench.utility.AbstractModel.fireItemAdded(AbstractModel.java:175)
         at oracle.toplink.workbench.utility.AbstractModel.addItemToCollection(AbstractModel.java:214)
         at oracle.toplink.workbench.framework.internal.FrameworkNodeManager.addProjectNode(FrameworkNodeManager.java:121)
         at oracle.toplink.workbench.addin.ui.view.TopLinkViewContext.initializeApplicationNodes(TopLinkViewContext.java:413)
         at oracle.toplink.workbench.addin.ui.view.TopLinkViewContext.initialize(TopLinkViewContext.java:391)
         at oracle.toplink.workbench.addin.ui.view.TopLinkViewContext.<init>(TopLinkViewContext.java:98)
         at oracle.toplink.workbench.addin.ui.view.TopLinkContextTopLinkViewContext.<init>(TopLinkContextTopLinkViewContext.java:64)
         at oracle.toplink.workbench.addin.ui.view.TopLinkContextViewContextBuilder.buildViewContext(TopLinkContextViewContextBuilder.java:84)
         at oracle.toplink.workbench.addin.ui.view.ViewContextManager.buildViewContext(ViewContextManager.java:361)
         at oracle.toplink.workbench.addin.ui.view.ViewContextManager.buildViewContext(ViewContextManager.java:343)
         at oracle.toplink.workbench.addin.ui.view.ViewContextManager.getViewContext(ViewContextManager.java:849)
         at oracle.toplink.workbench.addin.ui.view.TopLinkEditor.updateViewContext(TopLinkEditor.java:497)
         at oracle.toplink.workbench.addin.ui.view.TopLinkEditor.setContext(TopLinkEditor.java:371)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:212)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:415)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1770)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2105)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2126)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:195)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Hi John,
    thanks for the reply.
    Thing is, we need to use JSF 1.2. So I guess, either we use 10g mappings in JDev/OC4J 11g or we try an alternative mapping with the 11g JDev/Workbench (e.g. using interfaces instead).
    For the first case I´ve found no suitable way: I´ve tried to remove the toplink.jars by using the "remove-inherited" tag in the application´s "orion-application.xml" file. This did not have the proper effect.
    For the second case, I´m wondering if the 11g TP3 mapping files are compatible to the next releases and to any EclipseLink releases.
    It would be very helpful if you could clarify these issues.
    Jens

  • Clearing Attributes using ODI

    I have reworked the attributes (multiple) for a dimension in Planning. I now need to clear out the old attributes from the members within this dimension. I created a .txt file and put blanks where the attributes used to be, but it did not clear them from Planning. What else needs to be done?

    Thanks John...I was just coming in to delete this question. I found an older post of yours which explained and it worked perfectly. If you don't mind me asking on here, how can I load attributes via ODI in Planning to dimensions already in there (I have the attribute dimension already created). Will it overwrite attributes currently in there with the new ones (ie- eliminate the older ones)?

  • Sql for  inheritance mapping looks for inherited attributes in base table

    i don't know if it is my mistake but....
    with inherited attributes (that worked OK in 10.1.3DP3) we are experiencing strange behavoir in that: the sql generated to retrieve implementors of a base class from a base table with additional attributes for subclasses read from joined tables is not valid.
    in 10.1.3DP3, the sql is correctly generated such that the attributes for subclasses are selected from the appropriate joined tables
    in 10.1.3DP4, the sql is generated such that all fields are selected from the base table, regardless whether these fields are mapped to the base class (base table) or subclasses (joined tables).
    what i expect to see is that the base table (usually aliased as t0) AND the joined table for reading subclasses (usually aliased as t1) are used in the sql statement.
    instead, all fields are selected from t0.
    i have included the generated descriptor code
    thank you very much in advance of any help here
    regards
    paul
    base class descriptor: 10.1.3DP3
    public ClassDescriptor buildAbstractEnrichmentRuleDescriptor() {
         RelationalDescriptor descriptor = new RelationalDescriptor();
         descriptor.setJavaClass(com.aon.amp.beans.enrichment.AbstractEnrichmentRule.class);
         descriptor.addTableName("ENRICHMENT_RULE");
         descriptor.addPrimaryKeyFieldName("ENRICHMENT_RULE.ENRICHMENT_RULE_ID");
         // Inheritance Properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("ENRICHMENT_RULE.DROP_DOWN_IND");
         descriptor.getInheritancePolicy().addClassIndicator(com.aon.amp.beans.enrichment.TextEnrichmentRule.class, "N");
         descriptor.getInheritancePolicy().addClassIndicator(com.aon.amp.beans.enrichment.DropDownEnrichmentRule.class, "Y");
         descriptor.getInheritancePolicy().dontReadSubclassesOnQueries();
    base class descriptor: 10.1.3DP4
    public ClassDescriptor buildAbstractEnrichmentRuleDescriptor() {
         RelationalDescriptor descriptor = new RelationalDescriptor();
         descriptor.setJavaClass(com.aon.amp.beans.enrichment.AbstractEnrichmentRule.class);
         descriptor.addTableName("ENRICHMENT_RULE");
         descriptor.addPrimaryKeyFieldName("ENRICHMENT_RULE.ENRICHMENT_RULE_ID");
         // Inheritance Properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("ENRICHMENT_RULE.DROP_DOWN_IND");
         descriptor.getInheritancePolicy().setReadAllSubclassesViewName("ENRICHMENT_RULE");
         descriptor.getInheritancePolicy().addClassIndicator(com.aon.amp.beans.enrichment.TextEnrichmentRule.class, "N");
         descriptor.getInheritancePolicy().addClassIndicator(com.aon.amp.beans.enrichment.DropDownEnrichmentRule.class, "Y");
         // Descriptor Properties.
         descriptor.useNoIdentityMap();
         descriptor.setIdentityMapSize(100);
         descriptor.useRemoteNoIdentityMap();
         descriptor.setRemoteIdentityMapSize(100);
         descriptor.setIsIsolated(true);
         descriptor.setAlias("AbstractEnrichmentRule");
    sub class descriptor:
    public ClassDescriptor buildDropDownEnrichmentRuleDescriptor() {
         RelationalDescriptor descriptor = new RelationalDescriptor();
         descriptor.setJavaClass(com.aon.amp.beans.enrichment.DropDownEnrichmentRule.class);
         descriptor.addTableName("DROP_DOWN_ENRICHMENT_RULE");
         // Inheritance Properties.
         descriptor.getInheritancePolicy().setParentClass(com.aon.amp.beans.enrichment.AbstractEnrichmentRule.class);
         descriptor.getInheritancePolicy().dontReadSubclassesOnQueries();
         // Descriptor Properties.
         descriptor.setIsIsolated(true);
         descriptor.setAlias("DropDownEnrichmentRule");
         descriptor.setCacheSynchronizationType(ClassDescriptor.DO_NOT_SEND_CHANGES);
    ...and the exception/ SQL
    Problem details
    Internal Exception: java.sql.SQLException: ORA-00904: "T0"."DROP_DOWN_SQL": invalid identifier Error Code: 904 Call:SELECT t0.ENRICHMENT_RULE_ID, t0.DROP_DOWN_IND, t0.LABEL_EXPRESSION, t0.COLUMN_NUM, t0.ORDER_PRIORITY, t0.LABEL_NAME, t0.VALUE_EXPRESSION, t0.ENRICHMENT_RULE_TYPE_ID, t0.ENRICHMENT_RULE_ID, t0.DROP_DOWN_SQL FROM ENRICHMENT_RULE t0 WHERE (t0.ENRICHMENT_BASE_ID = ?) bind => [1] Query:ReadAllQuery(com.aon.amp.beans.enrichment.AbstractEnrichmentRule)

    Hello Paul,
    There is a difference in your descriptors that is causing the problem. In the DP3 descriptor, you have selected dontReadSubclassesOnQueries() option, meaning that queries to the base class will only return base class implementations.
    The DP4 descriptor instead has setReadAllSubclassesViewName("ENRICHMENT_RULE"), which is telling it that when a query is performed on the base class that TopLink should also return subclasses. It is also telling TopLink to do this in 1 query using the ENRICHMENT_RULE view table - this allows you to specify a view that joins all the inheritance tables. This option is good when you are using cursors and the like but still need to query on the base class to get the subclasses.
    Best Regards,
    Chris Delahunt

  • How to delete an attribute of a XMLNode ?

    Hello!
    Any method to delete an attribute of a XMLNode ?
    Thank you!

    You are deleting the object. Try this in your movie - make a
    button, give it
    an instance name 'btnDelete', and using your existing Class:
    var c:DeleteThisClass = new DeleteThisClass();
    btnDelete.onPress = function() {
    trace("c = "+c);
    var bDelete:Boolean = delete c;
    trace("bDelete = "+bDelete);
    trace("now c = "+c);
    You'll see this traced:
    c = [object Object]
    bDelete = true
    now c = undefined
    However, in your Class, you are assigning an enterFrame
    handler to the _root
    of your movie. Deleting the Class object won;t delete this
    handler, as it is
    independent of the Class object. Make sense?
    Pete
    Remove '_spamkiller_' to mail

  • Delete Context Attribute dynamicalluy

    Hi,
    We have a requirement where context attributes have to be created and deleted dynamically based on number of parameters. Dynamic creation part is ok but i don't know how to delete context attributes dynamically. I'm using NWDS04 sp16.
    Any help is appreciated.
    Regards,
    Abhinav

    from https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html
    <i>
    Node infos also provide a mean to dynamically add child nodes (there are different methods for unmapped, mapped and recursive nodes) or attributes (unmapped or mapped, several methods to add attributes automatically from external meta data). You cannot remove such nodes or attributes afterwards, you can only reset the whole context to its initial state via IWDContext.reset(boolean).
    </i>

  • My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?

    My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?  Were it shows how much storage  I have available it still says 9.9 even after all that I have done so I don't know if I need to change my storage plan or what but anything will help I guess

    Check for 'others' in iTunes against your iPhone.
    Restore from a previous backup to reclaim some of it.
    Still want more, Restore in iTunes, setup as New.

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • How to Delete Multiple Records using selectbox in jsf

    Hi!
    My Senario is I want to delete multiple records using checkbox. After selecting multiple records when i click the delete button the selected
    rows shuld be deleted.if am doing like this but the edit ,delete for each row functionality is not working.
    <h:selectBooleanCheckbox id ="bcb" value="#{item.empno}">
    </h:selectBooleanCheckbox>
    But other functionality is not wokring.
    Can any one plz tell how to select the multiple records and how to send the id to the serverside.
    I want code code for jsp and as well as backingBean how to accaess .
    Any Reply shuld be apreciated

    You may find this article useful as well: http://balusc.blogspot.com/2006/06/using-datatables.html
    Check the chapter "Select multiple rows" for two generic ways to select multiple rows in a datatable.

  • Populating CRM marketing attributes using the APD

    Hi Experts
    We are having problems with populating CRM marketing attributes using the APD. When we run our process we get the error message:
    CRMBW_ATTR_WRITE005: Error when processing function module CRMBW_UPDATE_BPMKT_5. Message no. RSAN_MDL024
    As you can see, we are using the new function module CRMBW_UPDATE_BPMKT_5 since the old CRMBW_UPDATE_BPMKT did not work either.
    Do we have to add a reference to a infoobject in transaction CRMBWTARGETS? We have not done this because the marketing attribute in CRM doesn’t have decimals and all the objects in BI have. Could this be the cause of the error?
    Kind regards
    Erik

    Hi Ramesh,
    Thanks for quick reply.
    I have already followed the procedure you have described. Since there is not common objects between ODS and Bpatner infoobject, i am not able to do mapping.
    for eg. my ZBPARTNER infoobject has attributes like zfooty, ztennis and zrugby but my ODS has char name , char value, counter for multiple values infoobjects.
    I am following the example in the demo content to work out the process but could not understand how the data is getting uploaded from ODS to Business partner.
    http://help.sap.com/saphelp_nw70/helpdata/en/bf/5df63bf9deaf09e10000000a114084/frameset.htm
    Thanks,
    Sandeep Jogde

  • Delete statement that uses a sub-select with the statement in the cursor

    Hi all,
    How to write write a delete statement that uses a sub-select with the statement in the cursor?
    CURSOR excluded_dates IS         
           SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
          INTO my_current_date_time
          FROM report_parameters
         WHERE report_parameters.report_parameter_id    = in_report_parameter_id
           AND report_parameters.report_parameter_group = 'DATE_TIME'
           AND report_parameters.report_parameter_name  = 'EXCLUDED_DATE';
    OPEN excluded_dates;
      LOOP
        FETCH excluded_dates INTO my_excluded_date;
        EXIT WHEN excluded_dates%NOTFOUND;
        DELETE FROM edr_rpt_tmp_inclusion_table
        WHERE TO_CHAR(date_time, 'mm/dd/yyyy') = TO_CHAR(my_excluded_date, 'mm/dd/yyyy');
      END LOOP;
      CLOSE excluded_dates;Thanks

    Hi,
    In such case I think is better to create a view an perform the delete using it. Example (using HR schema):
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> create or replace view v_employees as select * from employees where first_name like 'J%';
    View created
    SQL> select * from v_employees;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME                 EMAIL                     PHONE_NUMBER         HIRE_DATE   JOB_ID         SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
            110 John                 Chen                      JCHEN                     515.124.4269         28/09/1997  FI_ACCOUNT    8200,00                       108           100
            112 Jose Manuel          Urman                     JMURMAN                   515.124.4469         07/03/1998  FI_ACCOUNT    7800,00                       108           100
            125 Julia                Nayer                     JNAYER                    650.124.1214         16/07/1997  ST_CLERK      3200,00                       120            50
            127 James                Landry                    JLANDRY                   650.124.1334         14/01/1999  ST_CLERK      2400,00                       120            50
            131 James                Marlow                    JAMRLOW                   650.124.7234         16/02/1997  ST_CLERK      2500,00                       121            50
            133 Jason                Mallin                    JMALLIN                   650.127.1934         14/06/1996  ST_CLERK      3300,00                       122            50
            139 John                 Seo                       JSEO                      650.121.2019         12/02/1998  ST_CLERK      2700,00                       123            50
            140 Joshua               Patel                     JPATEL                    650.121.1834         06/04/1998  ST_CLERK      2500,00                       123            50
            145 John                 Russell                   JRUSSEL                   011.44.1344.429268   01/10/1996  SA_MAN       14000,00           0,40        100            80
            156 Janette              King                      JKING                     011.44.1345.429268   30/01/1996  SA_REP       10000,00           0,35        146            80
            176 Jonathon             Taylor                    JTAYLOR                   011.44.1644.429265   24/03/1998  SA_REP        8600,00           0,20        149            80
            177 Jack                 Livingston                JLIVINGS                  011.44.1644.429264   23/04/1998  SA_REP        8400,00           0,20        149            80
            181 Jean                 Fleaur                    JFLEAUR                   650.507.9877         23/02/1998  SH_CLERK      3100,00                       120            50
            186 Julia                Dellinger                 JDELLING                  650.509.3876         24/06/1998  SH_CLERK      3400,00                       121            50
            189 Jennifer             Dilly                     JDILLY                    650.505.2876         13/08/1997  SH_CLERK      3600,00                       122            50
            200 Jennifer             Whalen                    JWHALEN                   515.123.4444         17/09/1987  AD_ASST       4400,00                       101            10
    16 rows selected
    SQL> delete from v_employees where hire_date >= to_date('01/06/1998', 'dd/mm/yyyy');
    2 rows deleted
    SQL> regards,

Maybe you are looking for

  • Accesing an EJB from an Applet

    Hello, I've published my first EJB to Oracle 8i, and when I use a standalone java application as a client I have no problems. But when I try to access with an Applet, the Java console shows: javax.naming.NotContextException: retvalentin09.cedetel.tel

  • 2's comp binary Exponent/Mantissa

    How do I handle a 64 bit word where the exponent is at the beginning of the Binary? I have 4 - 16 bit words that comprise a GPS Time stamp. The format is as follows Binary Format: SEEEEEEEEmmmmmmm....m S: sign E: 8 bit exponent m: 55 bit mantissa Exp

  • Weblogic 8.1 Listen Port 80

    Hi, I want to configure Weblogic Listen Port in port 80 in Solaris and running with an user no root. I´ve seen that a must configure weblogic.system.enableSetUID=true propertie. Where can I configure this propertie?? Because in weblogic 8.1 doesn´t

  • Very sensitive track pad

    Is anyone else having problems with the trackpad? Sometimes even the area around the outside of the track pad will make me click something. Also, if I rest my hands while i am typing, the mouse moves everywhere and stuff. It's crazy, and it just star

  • IPhoto slideshow help!!

    I am making a slideshow in iPhoto and I was wondering if there was a way to stop the picture from moving any which was direction it wants. Because I just want to be centered and stay still, but instead, it moves and cuts part of the picture off. So i