.change IUCONFIG attribute value in an event-handler of IUICCON (move in)

Hi there,
I have been searching for over a week now both on SDN and using the debugger, hopefully this brings more luck.
On the web-client there is this new contracts page with 3 tabs.
On the first tab you can choose a product, select a contract and then click Configuration.
There you can change parameters. (this is View IUCONFIG/ConfigTree) with contextnode ISUORDERITEMCONFIG.
In this case it is not wanted that this configuration page needs to be opened.
So I need to change the value of 1 of these attributes (always the same attribute) automatically when switching to the 2nd tab, or when clicking the save button on the last tab. Or any event on the 2nd or 3rd tab are okay. As long as they are sure to be executed in the process.
I would prefer changing the attribute from within IUICCON/ProcessSaveButtonBar>EH_ONBT_SAVE_PROCESS
or IUICCON/ProcessBar>EH_ONNAVTOACCOUNTDATA
I just don't have a clue how to automatically set one value of these configuration attributes.
Can anybody provide a solution or a workaround?
Is there any way to change the parameters without ever going to the configuration page in the browser?
Thanks in advance for your ideas
Could this thread be moved to CRM webclient?

Solved, the solution can be supplied in trade for the right amount of money
(okay is was CRM_ISU_CONT_CHANGE_OW)

Similar Messages

  • Change a attribute value with XSLT before importing an XML

    I need change the attribute value with XSLT before importing an XML
    <table class="x" style="width="50pt">...
    I have to divide by 200 the value of "width", and the result multiplied by 100:
    (50/200) * 100
    It's possible with a XLST?

    Hi,
    Yes you can do this via XSLT.
    You can try similar to the one below:
    <table>
       <xsl:attribute name="width">
         <xsl:value-of select="((./width) div 200)*(100)" />
       </xsl:attribute>
    </table>
    I have not tested yet... Try it....
    Green4ever
    (I am back after long time)....

  • Editable ALV: value transport before event handling

    Hi everybody,
    I'm really going crazy over this one: I'm developing an editable ALV using CL_GUI_ALV_GRID and I'm trying to check the entered data both on pressing enter and on pressing SAVE.
    Since I want to use the error log protocol I'm doing all of these check in the data_changed event handling. Now this is where it gets tricky: When a user enters a value and presses the SAVE button without pressing enter first, the following code is executed:
    CALL METHOD GOB_D1100_ALV02_GRID->CHECK_CHANGED_DATA
    So since I registered the data_changed event, will trigger the event handling BEFORE transporting the value from the GUI to the internal table. The value is only transfered after the data_changed event (where I want to make my checks because of the error protocol) is executed.
    How do I get my internal table updated before event handling?
    Best wishes,
    Ben

    YEHAW! I found a solution to my problem in this thread: editable alv: add custom validation and display "errors" in protocol list
    What you need to do is change your internal table yourself accordingly to the changes that you did on the ALV GRID.
    You can find the modified rows in table MP_MOD_ROWS of object P_ER_DATA_CHANGED.
    Then all you need to do is modify your internal table accordingly. Works like a charm (:
    FORM ALV_EVENT_DATA_CHANGED  USING P_ER_DATA_CHANGED TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL
                                                                              P_SENDER.
      DATA: LTA_MOD_CELLS TYPE LVC_T_MODI.
      DATA: LST_MOD_CELLS TYPE LVC_S_MODI.
      FIELD-SYMBOLS: <LFS_MOD_ROWS> TYPE TABLE.
      LOOP AT P_ER_DATA_CHANGED->MT_MOD_CELLS INTO LST_MOD_CELLS.
        ASSIGN P_ER_DATA_CHANGED->MP_MOD_ROWS->* TO <LFS_MOD_ROWS>.
        READ TABLE <LFS_MOD_ROWS> ASSIGNING <FS_D1100_ALV02_DATA> INDEX LST_MOD_CELLS-TABIX.
        MODIFY GTA_D1100_ALV02_DATA FROM <FS_D1100_ALV02_DATA> INDEX LST_MOD_CELLS-ROW_ID.
      ENDLOOP.
    Thank you very much for your assitance
    Ben

  • Change an attribute value in the last level of a tree

    Hi,
    I'm using jdev 11.1.1.0.1
    I have a tree composed of 5 VO. Each VO represent a level of the tree. I made an "executeWithParam" in my VO level 1 to pass some parameters.
    I would like to make a "setAttribute" on my VO level 5. I'm working with a tree, so i can't do : "getMyVo.getCurrentRow.setAttribute..."
    How can i do?
    ideas :
    - Today, i use bind variable to pass parameters from first level VO to last level VO : can i put the bind variable value in an attribute value?
    - Is there a method to override in the viewRowImpl.java to catch the "setAttributeInternal" made by ADF? so i could change the value of this attribute
    - Is there a method to override in the viewImpl.java which can help me?
    I try a lot of think without success... hope someone can help me
    Thanks in advance
    Clément

    Hi Frank,
    Thanks for your help.
    My need is to initialize all the rows of my VO level 5. Not only the selected ones. But i keep your solution for later :)
    Today, that is what i'm doing :
    - First, i use "executeWithParam" to complete a bind parameter of the first VO.
        public void executeWithParamTreeNiv1() {
            VoLvl1ViewImpl view =
                (VoLvl1ViewImpl) getLvl1View ();
            VoSourceId rowSrc =
                (VoSourceIdRowImpl) getVoSourceIdView().getCurrentRow();
            if (rowSrc != null) {
                saisPrevTreeView.setFkId(rowSrc.getId());
        }- Then, i use the method "createViewLinkAccessorRS" of the viewImpl, to pass bindParmeters between VOs.
            protected ViewRowSetImpl createViewLinkAccessorRS(AssociationDefImpl assocDef, ViewObjectImpl accessorVO,
                                                          Row masterRow, Object[] values) {
            ViewRowSetImpl v = super.createViewLinkAccessorRS(assocDef, accessorVO, masterRow, values);
            Number fkId = (Number)((ViewRowImpl)masterRow).getViewObject().getNamedWhereClauseParam("FkId");
            accessorVO.setNamedWhereClauseParam("FkId", fkId );
            v.setNamedWhereClauseParam("FkId", fkId );- Finally, i use the method "isAttributeUpdateable" of my VO level 5, to get the bind parameter and make a setAttribute.
        @Override
        public boolean isAttributeUpdateable(int i) {
            Number fkId= (Number)this.getViewObject().getNamedWhereClauseParam("FkId");
            if (fkId!= null) {
                this.setFkId(fkId);
        }What do you think about this method?
    Thanks
    Clément

  • Changing Element Attribute Values

    I spent far to long trying to figure out how to change an element attribute value without the FDK's SetAttributes function, so I thought I'd spare someone else the time.
    Basically, you still get the attributes using the GetAttributes() function, but now you just set the beg.child.Attributes property to the updated attribute value.
    //starting with a selected element
    elemSelect=app.ActiveDoc.ElementSelection
    //get the current attributes
    var childattributes =elemSelect.beg.child.GetAttributes()
    //find the attribute and value you want to change, and change it to a new value.
    childattributes[0].values[0] = "New_Value"
    //now assign the edited attributes to the selected element.
    elemSelect.beg.child.Attributes=childattributes
    Depending on how you selected the element, I assume you could do the above with beg.parent as well, but it wasn't something I needed to consider.
    ~Christen

    Thanks for this--you've likely saved me a headache.
    While I hadn't hit this yet, it does apply to several of the projects on my to-do list. Based on the info in the OMV, I would have expected to be able to simply use a statement like myElement.Attributes[i].value[i] = "New_Value" which, as I'm sure you discovered, has no apparent effect at all.
    The other thing I noticed in my quick testing is that defining your attributes variable by using the method (x = myElement.GetAttributes()) or by referenceing the Attributes property (x = myElement.Attributes) seem to be functionally equivalent.

  • Error in changing row attribute value

    Hi,
    I am using JDeveloper 11.1.1.4 and developing a project using ADF-BC.
    In my application,I am displaying an adf table from DataControl->view object.
    The view object is based on an entity object which has composite primary key [Ex: Name and Rank]
    I have an requirement to swap selected row and its previous row's rank values on click of a button.
    I have written following code to achieve this.
    public void swapRows(ActionEvent actionEvent) {
    ViewObject rscMapVo = getRscMapViewObj();
    Row currRow = rscMapVo.getCurrentRow(); //------------->Current Row
    int currRowIndex = rscMapVo.getRangeIndexOf(currRow);
    Row prevRow = getRscMapVoIter().getRowSetIterator().getRowAtRangeIndex(currRowIndex - 1); // ------------> Previous Row
    Long currRowRank = ((Number)currRow.getAttribute("Rank")).longValue();
    Long prevRowRank = ((Number)prevRow.getAttribute("Rank")).longValue();
    //Actual Swapping
    prevRow.setAttribute("Rank", new Number(currRowRank));
    currRow.setAttribute("Rank", new Number(prevRowRank));
    adfFacesContext.addPartialTarget(tblRSCMap);
    }//End of method
    This is giving me the exception
    1)Rank     Too many objects match the primary key oracle.jbo.Key[Group_1 7 ]. [Name is Group_1 and Rank is 7]
    2)Rank     Too many objects match the primary key oracle.jbo.Key[Group_1 8 ] .[Name is Group_1 and Rank is 8]
    If instead of actual rank values I update it to some random number it updates properly. i.e for example prevRow.setAttribute("Rank", new Number(900)); and currRow.setAttribute("Rank", new Number(800));
    The exception occurs when I change one row value with a value that is already present in other row there by giving unique constraint problem.
    How to overcome this problem??
    Is there any other way of implemeting this solution.
    I want the changed attribute values to commit to DB only after final commit but not immediately.
    Please advice/suggest.
    Thanks,
    Praveen

    Hi RajGopal,
    Even in the model layer it gives the same error.
    steps done
    1.Create an attribute in entity and set its value
    2.Override the method doDML in EntityImpl
    protected void doDML(int operation, TransactionEvent e) {
    try{     
    if(this.getTestRank() != null){
    this.setRank(this.getTestRank());
    }else{
    System.out.println("Test rank null");
    super.doDML(operation, e);
    }catch(Exception excep){
    System.out.println("Eceptin in update");
    excep.printStackTrace();
    Exception
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[Group_1 28 ].
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:588)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:596)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:990)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1739)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3952)
    Thanks,
    Praveen

  • How to use common event handler for selected movie clips?

    I have a 50-state map in a flash movie. Each state is a movie
    clip.
    Goal: when mouse moves over a state or is clicked in a state,
    the state will be highlighted in a bright color and a small box
    will pop up near the state and display some information about the
    state.
    Question: I know I can add mouse event handler for each state
    movie clip. But this is simply not good since this has to be done
    50 times and codes thus scattered different places. Ideally, I only
    want to have one script that determines where the mouse position is
    when events trigged and then do right things (highlight the state
    and display info. in a pop-up). How can this be implemented?
    Thanks!

    There are a number of ways. Which way is best depends on how
    you have things set up so far.
    E.g. If they have an enumerable naming convention:
    e.g. each clip is like state_0 , state_1 etc.
    Then you can loop through them and assign them all to the
    same mouse event handler via the loop. You would need properties
    other than the name of the clip to identify the state. E.g. each
    clip could contain its own data or the index could be a pointer to
    the state data (objects with state name and info properties) in a
    separate array.
    //state clips named
    for (var i=0;i<50;i++) {
    this["state_"+i].stateindex=i;
    this["state_"+i].onPress= statePressHandler;
    var stateData:Array = [{name:"StateName,info:"this state
    Info"}, name:"StateName,info:"this state Info"}, etc...]
    function statePressHandler() {
    trace(this);
    trace(stateData[this.stateindex].name+"="+stateData[this.stateindex].info);
    Other ways are possible too but the best approach depends on
    how you have named the clips and whether you're creating them with
    code or whether they're already on stage from authoring (my guess).
    If they're already on stage and they're called "Alaska" etc, then I
    would be inclined to put them all inside a container clip that
    contains nothing else other than states. It would avoid the need
    for an array of clip names or for checking some other specific
    property of each clip to determine if its a 'state' clip and not
    something else in a for..in loop.

  • Iowagie - How do I pass in parameter values to an event handler -onEndPage?

    Hi,
    I have spent a while on this and is getting quite frustrating, so any help much appreciated.
    I am trying to create a footer on each of my PDF pages that will contain an image and a table. I have successfully created a separate class to my servlet, EndPage.java that contains an onEndPage() method. The problem is, I need to pass in three parameter values into this method, storeNo, langId and transNo.
    How do I go about doing this?
    PDFPrint.java
    public class PDFPrint extends HttpServlet {
        private ByteArrayOutputStream getDoc(ByteArrayOutputStream baos, HttpServletRequest requ, String transNo, String storeNo, String langId)     {
            HttpSession session = requ.getSession();
            Document document = new Document();                    
            PdfWriter writer = PdfWriter.getInstance(document, baos);
            writer.setPageEvent(new EndPage());     
            document.open();
    }EndPage.java
    public class EndPage extends PdfPageEventHelper {
        public void onEndPage(PdfWriter writer, Document document) {
            try {
                Rectangle page = document.getPageSize();
                PdfPTable head = new PdfPTable(3);
                PdfPCell cell1 = new PdfPCell(new Phrase("Pueblo Nativo S.A. de C.V", FontFactory.getFont(FontFactory.HELVETICA, 17f)));
                cell1.setHorizontalAlignment(Element.ALIGN_LEFT);
                cell1.setBorder(0);
                for (int k = 1; k <= 1; ++k)
                     head.addCell(cell1);
                head.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
                head.writeSelectedRows(0, -1, document.leftMargin(), page.height() - document.topMargin() + head.getTotalHeight(),
                          writer.getDirectContent());
                PdfPTable foot = new PdfPTable(1);
                PdfPCell cell = new PdfPCell(new Phrase("Disclaimer to go here.", FontFactory.getFont(FontFactory.HELVETICA, 17f)));          
                cell.setHorizontalAlignment(Element.ALIGN_CENTER);
                cell.setBorder(0);
                for (int k = 1; k <= 1; ++k)
                     foot.addCell(cell);
                foot.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
                foot.writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(),
                writer.getDirectContent());
            catch (Exception e) {
                throw new ExceptionConverter(e);
         public static void main(String[] args) {
    }Thanks!

    Try adding that information data as properties to the HTTP session.
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext = facesContext.getExternalContext();
    HttpSession session = (HttpSession)externalContext.getSession(false);
    session.setAttribute("stornNo", storeNo);
    session.setAttribute("langId", langId);
    session.setAttribure("transNo", transNo);In PDFPrint, you can get those properties using session's getAttribute method, and pass them to the constructor or as parameters to onEndPage.

  • Changing a components values by an event of another avoiding recurse calls

    Hello
    assume there are two Components (e.g. an JCheckBox and a JList) placed on a JPanel. The state of the one components shall depend on the state of the other (e.g. If the user selects one or more items in the List, the checkbox has to be selected automatically whereas if the user deselects the checkbox, all the listitems shall be automatically deselected.)
    If I implement two listener for each of the component which call the other ones API, I get recursive calls. (e.g. if I call "JCheckBox.setSelected(boolean)" by the event-method of the JList-Listener, this method would fire an event...)
    One solution would be to implement a model, which is used by both of the components, but this seems to be a little bit oversized for this simple task. Is there another pattern that I could use?
    Thanks
    Thorsten

    As I said: you could use a boolean flag! :-)
    Eg. something like this:
    public class MyPanel extends JPanel{
      private boolean inUpdate = false;
      SomeListener sl1 = new SomeListener(){
        public void someMethod(...){
           if (! inUpdate){
             inUpdate = true;
             // update code -> calls someMethod of sl2
             inUpdate = false;
      SomeListener sl2 = new SomeListener(){
        public void someMethod(...){
           if (! inUpdate){
             inUpdate = true;
             // update code -> calls someMethod of sl1
             inUpdate = false;
      // register the listeners to the components
    }

  • Tricky! Change of navi-attribute values in ABAP and use in selections

    Hi gurus,
    now I have a teaser that really keeps me busy, and which might be interesting for some of you:
    we use several statuses in our <u>Demand Planning in SCM 5.0</u>, some of which can be switched by using a user-function macro which just basically is a ABAP function module that <u>changes navigation attribute values directly on the database</u>, meaning in the master data tables of the respective characteristic.
    Now, the code works, the values are changed accordingly, leaving the data set in object status "active" - <b>BUT</b>:
    <i>when we call a selection, it still shows the old values, even after activating master data or running the attribute change run!</i>
    This is not what we expected. Our wish was, that once the table was updated with the correct field values, we would also see them in our selections.
    <u>Details:</u>
    we have two statuses as navi-attributes to an article:
    <i>DP:</i> YES/NO, and
    <i>oDP:</i> YES/NO
    Combinations originally are: <i>DP</i> YES/<i>oDP</i> NO
    After the status change macro, the table shows the following, as expected:
    <i>DP</i> NO/<i>oDP</i> YES
    As we have two selections, one on DP status "YES", the other one on oDP status "YES", we would like to see the article vanish in the first selection and show up in the other one...
    Does anybody have an idea what is wrong and what we can do to have to proper navi-attribute values from the master data table in the selection? Does the selection not read from the database but from a buffer?
    Looking forward to your answers,
    Klaus

    Hi Fabrice,
    yes indeed, I did check the object version, and it is A.
    Problem is, the function module changes the data record which is "A" anyway. So the changed data record is active - however, I just had a look at the SID master data table, and it looks that direct changes to the P-table do not affect the X-table where the SIDs are stored. So I guess I will also have to update the X-table with the correct SID-values.
    If this works, I let you know. We will be using this change by ABAP quite often, it is rather useful.
    Regards and thanks for your prompt reply,
    Klaus

  • Validation Event Handler Not working with GTC Recon???

    We have implemented a Validation Event Handler on user entity.
    In the code we have implemented both the execute methods i.e. Orchestration andf Bulk Orchestration. We have created a UDF for Manager field and our validation handler checks whether the user in Manager UDF field is an Active user in OIM or not. In case the user is not an Active user, code will throw a Validation Failed Exception.
    At the time of changing the Manager UDF value from the Console directly Validation Event Handler is getting triggered but with GTC Recon Validation Handler is not Working.
    Previously i faced the same issue with the post process event handler but the problem get resoved when i implemented execute method with Bulk Orchestration. As per my understanding Bulk Orchestration exceute method gets called with GTC Recon and execute method with Orchestration gets called when changing the attribute value directly from the console.
    In case of Validation Event Handler i have implemented both but still validation Event handler is not working with GTC.
    Thanks in Advance....

    Any Help????

  • Passing data to event handler function

    I am trying to pass value to the event handler function but I
    am getting the following error. Can someone please tell me what I
    am doing wrong?
    1067: Implicit coercion of a value of type void to an
    unrelated type function
    here is the code
    private function myClickListener(myid:int):void{
    Alert.show("The button was clicked");
    public function handleStringResult(event:ResultEvent):void{
    catInfo = event.result as ArrayCollection;
    for each(var o:Object in catInfo){
    var b:Button = new Button();
    b.label = o.FILLCOLOR;
    b.id=o.CATID;
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    b.setStyle("color","#FFFFFF");
    b.setStyle("fontFamily","Arial");
    b.setStyle("fontSize",8);
    b.setStyle("textRollOverColor", "red");
    b.addEventListener(MouseEvent.CLICK,
    myClickListener(o.CATID));
    myvbox.addChild(b);
    ]]>

    "Merlyn MM" <[email protected]> wrote in
    message
    news:[email protected]...
    > Sure, Here is the code. I am very new to flex and if my
    code doesn't make
    > sense
    > then please let me know the correct way to do this. I
    really appreciate
    > you
    > taking time!
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute"
    > backgroundColor="#FFFFFF"
    > initialize="myService.getcategories.send()">
    > <mx:WebService id="myService"
    > useProxy="false"
    > wsdl="
    http://devsite/rc/category.cfc?wsdl"
    > showBusyCursor="true">
    > <mx:operation name="getcategories"
    > result="handleStringResult(event)"
    > fault="Alert.show(event.fault.message)"/>
    > <mx:operation name="getsubcounties"
    result="handleStringResult(event)"
    > fault="Alert.show(event.fault.message)"/>
    > <mx:request>CATID</mx:request> //need to
    pass category ID here
    > </mx:operation>
    > </mx:WebService>
    >
    > <mx:Script>
    > <![CDATA[
    > import mx.collections.ArrayCollection;
    > import mx.rpc.events.ResultEvent;
    > import mx.rpc.events.FaultEvent;
    > import mx.controls.Alert;
    > import mx.controls.Button;
    >
    > [Bindable]
    > private var catInfo:ArrayCollection;
    >
    > private function myClickListener(myId:String):void{
    >
    > myService.getcounties.send() // I need to send catid
    here to the
    > webservice
    > }
    >
    >
    > public function
    handleStringResult(event:ResultEvent):void{
    > catInfo = event.result as ArrayCollection;
    > for each(var o:Object in catInfo){
    > var b:Button = new Button();
    > b.label = o.FILLCOLOR;
    > b.id='btn'+o.CATID;
    >
    >
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    > b.setStyle("color","#FFFFFF");
    > b.setStyle("fontFamily","Arial");
    > b.setStyle("fontSize",8);
    > b.setStyle("textRollOverColor", "red");
    > b.addEventListener("click", myClickListener);
    > myvbox.addChild(b);
    > }
    > }
    > ]]>
    > </mx:Script>
    I'd change it to this:
    private function myClickListener(e:Event):void{
    //I don't see where you're using the ID, but to get it,
    //use this code:
    var myID = e.currentTarget.data;
    myService.getcounties.send() // I need to send catid here to
    the
    webservice
    public function handleStringResult(event:ResultEvent):void{
    catInfo = event.result as ArrayCollection;
    for each(var o:Object in catInfo){
    var b:Button = new Button();
    b.label = o.FILLCOLOR;
    //note that you couldn't have used your ID
    //as a "handle" to anything, so I replaced
    //that logic with something you _could_ use
    b.data=o.CATID;
    b.setStyle("fillColors",['#'+o.FILLCOLOR,'#'+o.FILLCOLOR]);
    b.setStyle("color","#FFFFFF");
    b.setStyle("fontFamily","Arial");
    b.setStyle("fontSize",8);
    b.setStyle("textRollOverColor", "red");
    b.addEventListener("click", myClickListener);
    myvbox.addChild(b);
    You could also use a Repeater and set this up in MXML.
    HTH;
    Amy

  • Howto deregister an event handler

    Hi all!
    Is there a way to deregister an event handler?! The documentation says so, but I cannot find the appropriate command.
    The thing is, that the event handler can change for a subsequent call of my function module. So I'd like to set the event handler each time the function module is called, though the control itself isn't changed.
    Thx!

    Hi,
    You can use the ACTIVATION addition to deregister handler methods or register them dynamically..
    Addition
    ... ACTIVATION f
    Effect
    The optional ACTIVATION addition allows you to undo existing registrations or register new handlers dynamically using a variable. The argument f in the addition must be a field with type C and length 1. If f contains the value SPACE, the event handler method is deregistered. If f contains the value X, the event handler is registered. You do not need the ACTIVATION addition for static registrations.
    Note
    If an instance triggers an event, the registration is implicitly deleted if the triggering instance is deleted by the automatic memory management (garbage collection).
    The addition ACTIVATION SPACE only allows you to delete those registrations set using ACTIVATION 'X'. A single registration cannot be deleted by means of a mass deregistration using FOR ALL INSTANCES ACTIVATION SPACE. Vice versa, individual triggering instances cannot be excluded from registration after a mass registration. The internal handler tables for single and mass registrations are completely independent of each other.
    Example
    CLASS C1 DEFINITION.
      PUBLIC SECTION.
        EVENTS E.
    ENDCLASS.
    CLASS C2 DEFINITION.
      PUBLIC SECTION.
        METHODS M2 FOR EVENT E OF C1.
    ENDCLASS.
    DATA: S         TYPE REF TO C1,
          H         TYPE REF TO C2,
          ACTIVE(1) TYPE C VALUE 'X'.
    CREATE OBJECT: S, H.
    SET HANDLER H->M2 FOR S.
    SET HANDLER H->M2 FOR S ACTIVATION SPACE.
    SET HANDLER H->M2 FOR S ACTIVATION ACTIVE.
    CLASS C2 IMPLEMENTATION.
      METHOD M2.
      ENDMETHOD.
    ENDCLASS.
    In this example, the method H->M2 is deregistered and then set dynamically.
    Note for all variants:
    Note
    When you register instance methods as event handlers, note that the registration refers to the current instance and not to the reference variable that is used for registration. Even when the reference variable takes another value after SET HANDLER, the registration of the object remains unchanged. This also affects to the lifetime of objects - an object exists for as long as it is registered as an event handler, even if no more reference variables point to it. The object is either explicitly deregistered using the ACTIVATION addition, or implicitly when the triggering instance no longer exists.
    Regards,
    Tanveer.
    Please mark helpful answers.
    Message was edited by: Tanveer Shaikh

  • Active Event handler in Web Survey SAP-BI.

    I am creating web survey in survey transaction. In change questionnaire section, when I insert event handler in the question for example TO POSTING the right mach code show u201CNO FUNCTION SELECTu201D.
    I need programming o check the input field value of the question. I load application library and assigning an application library to a Survey the implementation badi UWS_FORM_RUNTIME , how explicate Sap Library u2013 Web Survey http://help.sap.com/saphelp_nw04/helpdata/en/02/739fe7a80746caa668958d558993ae/frameset.htm, but not function.
    I have a question, As can I implement Exit, BADI, BTE  or other way for checking the value in input field the question in the questionnaire the web survey and active the event handler.
    Thanks and Regards
    Emely

    Hi Emily,
    did you solve the issue?
    I have exactly the same issue. I have created the class, I have assign the application library to the class via UBDS and the message appears with the error "no function selected".
    Could you give me any clue?
    Thanks, have a great weeknd.

  • How to inherit attribute values in object tables?

    I am trying to implement object inheritance with oracle 10g express. What i have done so far is created some types and subtypes. And some tables based on those types and sub types. So far i have understood that the subtypes inherit the attributes and methods from its super types.
    But is there a way to inherit the attribute values from the object table of the super type to the object table of the sub type?
    For example: The object O1 , explicitly labeled with (sIPO1 , wIPO1) , also inherits the intended purpose (sIPT 1 wIPT 1) from T1 . Similarly, the object O3 inherits the intended purposes from T3 , O1 and T1 . Note, however, that O2 , which is not labeled, inherits the intended purpose from T2 , but not from O1 nor T1 , as the intended purposes are not inherited through the reference-of relation.
    _a visual of the above description [http://picasaweb.google.com/lh/photo/1YBAQbCMQMBmd8oyw9SyNw?feat=directlink]_
    How can the types and objects be labeled as mentioned above? And how can these labels be made inheritable by the subtypes and objects based on those subtypes?
    Possible Solution*
    Only way which i could think of is using relational tables, like this: type_label(type_name, label1, label2) and a similar table table_label(table_name, label1, label2) for labeling the object tables. Then refer to these labels through some java programming. Will this be a right approach. I doubt that this will defeat the very intentions of the object database. And i hope there is a straight solution in Object Relational methods instead of java programming.
    nested tables and vararrays... will using them help solving the above problem some how?

    From those examples i can see that although the nested tables will have the super type attributes and values with them, if i have to change those attribute values the values in the whole table gets changed.
    is it possible to change the super type attribute values which is corresponding to the nested table values alone and not disturb the over all table?

Maybe you are looking for

  • Signed applet don't work on XP

    Hi, I'am currently working on a point-of-sale (POS) using windows XP/Firefox and a linux apache/jboss server. I have developed a dynamic windows library in order to use an industrial printer connected to the POS to perform some printing without confi

  • New Mac user looking for help with Finder, Preview, Keyboard, & Dock

    So about a month ago I switched over from a lifelong Windows user to a brand new MacBook Pro, and while I am adjusting pretty well, there are still some things that I haven't quite figured out. First up on the list is Finder! I like my files to be ar

  • How to retrieve multiple data from table and represent it in jsp page

    Hi The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field.   <html>  function addRow()             i++;             var newRow = document.all("tblGrid").insertRow();        

  • [Solved]Wine Swtor error

    hi, try to get swtor running with wine 1.5.10. everytime i get this error: dbghelp:elf_search_auxv can't find symbol in module i try: wine-swtor paket from aur : swtor start and hang with the error. abs wine with patch : same error. it make no differ

  • Call bar is now vertical on the right side of screen. How do I get it back on the bottom?

    Call bar is now vertical on the right side of screen. How do I get it back on the bottom? I've tried rebooting and changing screens but it won't change. I can't find a setting for that call bar.