Changing value to null

I use this procedure on my program:
PROCEDURE HIDE_FIELD (ItemName IN VARCHAR2) IS
BEGIN
     SET_ITEM_PROPERTY(ItemName, DISPLAYED, PROPERTY_FALSE);
     SET_ITEM_PROPERTY(ITEMNAME, REQUIRED, PROPERTY_FALSE);
END;
how can I also automaticaly change the value of the field that will be hidden to null?
thanks!!!!

Well,
the thing is that the value for ITEMNAME is sent with the block name so fo instance, I have a trigger when_list_change that goes like this:
if :employee.TYPE_OF_salarry = 22
then
SHOW_FIELD ('employee.bonus');
elsif
:employee.TYPE_OF_salarry <> 22
     then
HIDE_FIELD ('employee.bonus');
end if;
---- then the store procedure code for hide_field (the one that should reset values to null is:     
PROCEDURE HIDE_FIELD (ItemName IN VARCHAR2) IS
BEGIN
If name_in('ItemName') is not null then
copy(null,ItemName);
end if;
SET_ITEM_PROPERTY(ItemName, DISPLAYED, PROPERTY_FALSE);
SET_ITEM_PROPERTY(ITEMNAME, REQUIRED, PROPERTY_FALSE);
END;
P.s. the set_item_property's dont have any problem referencing the items, only the name_in and the copy... do you think that maybe I need to use ITEM_ID's in stead of item names?
thanks so much Kathryn..

Similar Messages

  • Report error: ORA-06502: PL/SQL: numeric or value error: NULL index table k

    Hi everybody,
    I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
    When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
    But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
    Thank you for your interest?
    Gökhan ÇATALKAYA

    No, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Scott

  • Using MISSING FIELD VALUES ARE NULL for external table

    I want to place a null for values missing in the sub_account field. Here is my external table:
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    missing field values are null
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1),
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;
    How can I place the MISSING FIELD VALUES ARE NULL for missing values for the sub_account?

    made the change I received this error:
    SQL> select * from ext_INCOMING_ORDERS_table;
    select * from ext_INCOMING_ORDERS_table
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "no": expecting one of: "comma, date_format,
    defaultif, enclosed, ltrim, lrtrim, ldrtrim, notrim, nullif, optionally, ),
    rtrim, terminated"
    KUP-01007: at line 7 column 26
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1) NO PRESERVE BLANKS,
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;

  • ORA-06502: PL/SQL: numeric or value error: NULL index table key value??

    Hi,
    Can anyone let me know what is the issue on below code and how can we avoid that? i am getting the error like below
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
                        v_while_loop := 1;
                        v_delete_char_id := v_tabtype_result_values.FIRST;
                        WHILE v_while_loop <> v_tabtype_result_values.COUNT
                        LOOP
                            IF check_duplicate_nc_data (v_result_view,
                                                        v_tabtype_result_values(v_delete_char_id).value,
                                                        v_collection_id,
                                                        v_occurrence,
                                                        v_plan_id,
                                                        v_delete_char_id
                            THEN
                                DBMS_OUTPUT.PUT_LINE(v_delete_char_id);
                                v_tabtype_result_values.DELETE(v_delete_char_id);
                            ELSE
                                DBMS_OUTPUT.PUT_LINE(v_delete_char_id||','||v_tabtype_result_values(v_delete_char_id).id||','
                                                        ||v_tabtype_result_values(v_delete_char_id).value||','
                                                        ||v_tabtype_result_values(v_delete_char_id).validation_flag
                            END IF;
                            v_while_loop := v_while_loop + 1;
                            v_delete_char_id := v_tabtype_result_values.NEXT(v_delete_char_id);
                        END LOOP;

    Change:
    WHILE v_while_loop &#60;&#62; v_tabtype_result_values.COUNT to
    WHILE v_while_loop <= v_tabtype_result_values.LASTSY.

  • Some :New values are null in compound trigger

    <h4>
    Hello everybody,
    I use Oracle 11g R2.
    My problem is: Why certain :New.values are Null in the before statement only if I have an after statement (that do nothing) ?
    My test case:
    </h4>
    create table TEST
    ID Number,
    CODE char(10),
    SUBJECT varchar2(60)
    alter table TEST add constraint TEST_PK primary key (CODE);
    insert into TEST (CODE, SUBJECT, ID) values ('AAA ', 'Subject AAA', 1);
    insert into TEST (CODE, SUBJECT, ID) values ('BBB ', 'Subject BBB', 2);
    commit;
    <h4>My problem:</h4>
    create or replace trigger Test_Trg
    for insert or update on Test
    compound trigger
    before each row is
    begin
    dbms_output.put_line( 'Before Each Row, New values= Id: '||:New.Id||', Code: '||:New.Code||', Subject: '||:New.Subject );
    dbms_output.put_line( 'Before Each Row, Old values= Id: '||:Old.Id||', Code: '||:Old.Code||', Subject: '||:Old.Subject );
    :New.Code := Nvl(:New.Code, 'CODE'||:New.Id);
    end before each row;
    after statement is
    begin
    dbms_output.put_line( 'After Statement' );
    end after statement;
    end Test_Trg;
    <h4>Now if I do that:</h4>
    update Test set Subject = 'The New Subject' where ID = 1;
    commit;
    <h4>The dbms_output is :</h4>
    Before Each Row, New values= Id: 1, Code: , Subject:
    Before Each Row, Old values= Id: 1, Code: USER1 , Subject: The New Subject
    After Statement
    <h4> (You can see that in the before each row, :New.Code and :New.Subject are Null!)
    And the Data are:</h4>
    select * from Test where Id = 1;
    Id Code Subject
    1 CODE1 The New Subject
    <h4>Why the column Code is changed?
    Now if I change my trigger (just removing the after statement)</h4>
    create or replace trigger Test_Trg
    for insert or update on Test
    compound trigger
    before each row is
    begin
    dbms_output.put_line( 'Before Each Row, New values= Id: '||:New.Id||', Code: '||:New.Code||', Subject: '||:New.Subject );
    dbms_output.put_line( 'Before Each Row, Old values= Id: '||:Old.Id||', Code: '||:Old.Code||', Subject: '||:Old.Subject );
    :New.Code := Nvl(:New.Code, 'CODE'||:New.Id);
    end before each row;
    end Test_Trg;
    <h4>All work perfect!
    My question is: Why certain :New.values are Null in the before statement only if I have an after statement that do nothing ?
    Thanks in advance,
    </h4>

    I've got two 11.2.0.2 environments - one where this is reproducible, one where it doesn't seem to be.
    I assume it must be a bug and one of these environments is patched.
    I had a quick look at metalink and couldn't see an obvious match.
    I might see if I can figure out differences between environments later.
    There are a number of bugs around compound triggers.
    I've been bitten before with a different compound trigger bug.
    http://orastory.wordpress.com/2009/01/20/beware-the-compound-trigger/
    Shame - nice way to neaten up multiple triggers but too many issues.

  • Changing values in a properties file

    Hi,
    I'm working in a Struts environment and I am trying to open a .properties file in my WEB-INF/classes/ (*.properties) directory and allow the user to change those values and write them back.
    I access the properties by pulling them out in a Map:
    Locale locale = LocaleContextHolder.getLocale();
             ResourceBundle resBundle = ResourceBundle.getBundle(SP_PROPERTIES_FILE,locale);
             Enumeration propertyKeys = resBundle.getKeys();
              Map spProperties = new HashMap();
             while (propertyKeys.hasMoreElements()) {
                 String key = (String) propertyKeys.nextElement();
                 if(key != null){
                      key = key.trim();
                 String value = resBundle.getString(key);
                 if(value != null ){
                      value = value.trim();
                 spProperties.put(key, value);
             I then change the values depending on their keys, but it is after this step I am unsure how perform the write back.
    Thanks,

    A ResourceBundle is a read-only object. It doesn't provide any methods for updating. If you want to allow your users to update the data, the code will have to update the underlying properties file. This also is impossible if your application server doesn't expand the application but runs it from a WAR or EAR archive.
    [Edit] And even at that, allowing users to update properties files in a multi-user environment is risky -- if two users update the file at the same time, it's easy to lose one of the updates.

  • Comparing a value with NULL

    Hi,
    A funny thing is happening to me. Is it only in oracle 9i or in every version.
    I am working on a state project on Data Warehousing and faced a small BUG. Here is the sample code.
    DECLARE
    v_Var varchar2(10) := 'a';
    v_Null varchar2(10) := null;
    BEGIN
         IF v_Var != v_Null THEN
              DBMS_OUTPUT.PUT_LINE('First: Not equal');
         ELSE
              DBMS_OUTPUT.PUT_LINE('First: Equal');
         END IF;
         IF v_Var = v_Null THEN
              DBMS_OUTPUT.PUT_LINE('Second: Equal');
         ELSE
              DBMS_OUTPUT.PUT_LINE('Second: Not equal');
         END IF;
    END;
    This anonymous block should return Not Equal for both the statements, but unfortunately it returns Equal for the First and Not equal for the Second.
    Is this a BUG?
    Is this happening only in version 9i (I use version 9.2.0.1.0)?
    Any help/suggestion is appreciated.
    Thanks! :)
    Kamal Vala

    Thanks Justin! :)
    I got a clear answer from U.
    Appreciated.
    In this case I can go with the second statement as any way it returns Not equal
    Here is the modified actual statement which I am using in my procedure and now it works.
    I have modified the Inner IF by adding ELSE part, comparing with = (Earlier !=) and passing the variable assign to the ELSE part.
    -- compare old values with new values after checking the NULL values for Approver.
    IF (vc_Approver IS NULL) AND (v_Approver IS NULL) THEN
    -- Not passing value to keep the same value for v_RecInsert as the value is not changed.
    NULL;
    ELSE
    IF vc_Approver = v_Approver THEN
    -- Not passing value to keep the same value for v_RecInsert as the value is not changed.
    NULL;
    ELSE
    v_RecInsert := TRUE;
    END IF;
    END IF;
    Here if v_RecInsert is TRUE then I have insert the record.
    Hi Garcia,
    I can't use NVL function here as I have to pass a value for NULL and If that value really comes in the field.....than it will problem again.
    Thanks! to Justin and Garcia for taking ur time.
    Kamal Vala :)

  • By using personalization can we default the values as null in oaf

    Hi All,
    Can we change the default values to null....
    Actually i have from and to date fields....when ever page opens the vales are geting defaulting in that fields...
    I need to make this as null....by using personalization is it possible( if yes...need help) or i need to extend the co..
    Regards
    Harry

    Hi Harry,
    If the values are defaulting from the "initial value" property it can be set to null by removing those values from personalization, but I feel it will be defaulting from code if it is so, same can not be achieved by personalization.
    Regards,
    Reetesh Sharma

  • Change value of a typedef in parallels to another running action

    Hello,
    Well, I have a problem with my VI.
    To summarize I use a Vi « IdsVg.vi » to achieve some measurements process.
    This one uses an action engine as a sub-vi to store data of the front panel and to precede complementary actions. The front panel is a strict typedef…
    I programmed the Vi avoiding to use sequence structures in order to be able to do other actions on the front panel in parallels. Nevertheless I’m running out of ideas for solving my problem.
    The problem:
    I would like to change values (time constant, Boolean of graph) of the front panel at any instant when the main vi is running. The actual problem is: when I start the program, using register event I can change values of the front panel, but when the program is running the while loop in which it gets the measurement, it isn’t possible to change parameter of the front panel…  
    Is there a solution or a trick??
    Thank you for help
    Attachments:
    MyProblem.lvproj ‏10 KB

    Putting in the project file does not help much, good try though. The actual files are missing though, so nothing shows up.
    I suggest you create a separate producer consumer loop in your main vi. The vi retrieving the data could pass the relevant data (producer) and the consumer loop will then process the data and update the fron tpannel. Note, only the producer consumer loop will update the front pannel.
    You would not need a sequence structure to control the update. The producer consumer loop will only execute when you provide the necessary data.

  • Need Help ::  Current row attribute value returning null

      Hi Frds,
    I am facing the problem that
    Current row attribute value returning null............ even though value is there..... plz.. he
    This is the code in PFR
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
        String  pPersonId = pageContext.getParameter("ctrlPersonId");
         String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
         OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);
        String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks & Regards,
    jaya
    Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

    Hi Jaya,
    You want to catch Flexfield values?
    Try below code for catch value.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
    OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean
    OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered
    OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;
    String dtlsItem  = (String)Stylebean.getText(pageContext);
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks,
    Dilip

  • Getting change values from a collection

    Title says it all. I have a collection connected to a
    datagrid and have a simple form that allows me to add/modify/delete
    entries from the collection. Now I want to send the changes to the
    collection back to the server. How do I read/parse the collection
    for these changes? Examples would be helpful. Below is what I have
    so far to examine the collection (found elsewhere) how do I extract
    the name/value pairs that have changed?
    public function
    collectionEventHandler(event:CollectionEvent):void {
    switch(event.kind) {
    case CollectionEventKind.ADD:
    addLog("Item "+ event.location + " added");
    break;
    case CollectionEventKind.REMOVE:
    addLog("Item "+ event.location + " removed");
    break;
    case CollectionEventKind.REPLACE:
    addLog("Item "+ event.location + " Replaced");
    break;
    case CollectionEventKind.UPDATE:
    addLog("Item updated");
    break;
    }

    ArrayCollection supports the length property, so you can
    simply iterate over it with a for loop and use the bracket notation
    to return each item. Build the structure you want to sent, then
    away you go.
    If you are wanting to only select changed values, you will
    have to track this yourself.
    Tracy

  • Value is null return blank

    Hi all,
    I got two query which link to together in order to get the cost, however, now I want to show on my report if there is not found in the link it will return null. What I use if the value is null in the field level however when display it still show as null instead of 0 that what I want ?
    Any idea ? or any other way to solve my problem.
    please help me URGENT!!! Thanks.

    Hi John,
    Here is my first query :-
    SELECT AW.PACKAGELEAD,
    SUBSTR(AW.DEVICENO,1,50),
    AW.CURR_OPER,
    AW.CURQTY,
    AW.OPERATION_SEQ_NUM,
    AW.CUSTOMERCODE, ARC.ATTRIBUTE2, AW.DEVICENO DEVICE_NO, BSO.OPERATION_DESCRIPTION, AW.INVENTORY_ITEM_ID
    FROM AIC_COST_WIP_TEMPB AW, AR_CUSTOMERS ARC, BOM_STANDARD_OPERATIONS BSO
    WHERE ARC.ATTRIBUTE1 = AW.CUSTOMERCODE
    AND ARC.STATUS = 'A'
    AND BSO.OPERATION_CODE(+) = AW.CURR_OPER
    ORDER BY AW.DEVICENO, AW.CURR_OPER
    and here is the second query :-
    SELECT DISTINCT MSIK2.CONCATENATED_SEGMENTS,
    BBOM.ASSEMBLY_ITEM_ID,
    BIC.OPERATION_SEQ_NUM,
    CST.MATERIAL_COST,
    BIC.COMPONENT_QUANTITY,
    TO_NUMBER(BIC.attribute1) CPY
    FROM BOM_BILL_OF_MATERIALS BBOM,
         BOM_INVENTORY_COMPONENTS BIC,
         MTL_SYSTEM_ITEMS_KFV MSIK2,
    CST_ITEM_COST_TYPE_V CST
    WHERE BBOM.BILL_SEQUENCE_ID = BIC.BILL_SEQUENCE_ID     
    AND BIC.component_item_id = MSIK2.inventory_item_id
    AND MSIK2.INVENTORY_ITEM_ID = CST.INVENTORY_ITEM_ID
    AND CST.ORGANIZATION_ID = 8
    AND MSIK2.ORGANIZATION_ID = 8
    AND cst.cost_type_id = 1
    AND (BIC.disable_date IS NULL OR (BIC.disable_date - SYSDATE) > 0)
    the link between two qeuery is the query1->inventory_item_id & operation_seq_num versus query2->assembly_item_id & operation_seq_num.
    The both link is working fine. However, I need to show the results of formula and also cumulative of the results. But the result will only be shown if there is a link found between the two query, even I have putting null value as zero if it does not found from the query. So, that's my problem.
    Hope u can understand and help me to resolve this problem. Thanks
    Rgds
    Lim

  • Smartview 11.1.2.5- Cannot change value in Text-List Dropdowns- Excel Crashes

    Using latest/greatest Smartview with 64-bit Office and Windows 7.  I have a native essbase app utilizing text-lists. I am trying to update text-value through smartview. Smartview automatically produces a drop down to select a value from the linked text-list. However- as soon as a different value is entered or selcted in this cell with the drop-down list- Excel crashs. I have reproduced this consistently everytime. I have no way to change values for text-measure accounts linked to text-lists. I feel this is and incompatabiliyt issue with office 64-bit.  

    SmartView using the forms. It appears this issue has been logged as issue number 6566082 as seen here: http://docs.oracle.com/cd/E17236_01/epm.1112/readme/sv_1112200_readme.html
    But I can't seem to find out where I can get information on the status of this issue and whether it's been patched in future versions.

  • How to capture changed value in ALV Grid

    Hi Guys,
    I have an ALV grid report where I have 'Edit On' for one of the quantity fields in the report. How do I capture the new (changed) value in the suboutine for user command when user changes the value in the report and clicks on a button ?
    Points assured for helpful replies.

    FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM...........
    Data ref1 type ref to cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    E_GRID = ref1.
    call method ref1->check_changed_data
    ENDFORM.
    Also chk the blog
    /people/community.user/blog/2007/01/10/displaychange-mode-of-editable-fields-in-alv-using-function-modules-but-not-custom-containers

  • Not able to get changed values in the SAVE EVENT in ServHPartnerDet view

    Hi Experts,
    I am new CRM WEB IC, i have requirement like need to access four IBASE fields from BupaIbaseDetail and need to display those fiedls in ServHPartnerDet view. I am able display the fields and its values in the target view. But when user press change button and changes those four fields and press save button not able get the changed values in to the SAVE EVENT.Anyone please help me in this.
    IBHEADER , IBASEADDRESS  are the CONTEXT NODE CREATED in target view. I have binded IBHEADER to CuCoIbase custom controller and getting four fields data from IBASEADDRESS. below is the code for CREATE_CONTEXT_NODES.
    METHOD create_ibaseaddress.
      DATA:
        model        TYPE REF TO if_bsp_model,
        coll_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
        entity       TYPE REF TO cl_crm_bol_entity,              "#EC *
        entity_col   TYPE REF TO if_bol_entity_col.             "#EC *
      model = owner->create_model(
          class_name     = 'ZL_CRM_IC_SERVHPDET_CN00'
          model_id       = 'IBaseAddress' ).                    "#EC NOTEXT
      ibaseaddress ?= model.
      CLEAR model.
      coll_wrapper =
        ibheader->get_collection_wrapper( ).
    TRY.
          entity ?= coll_wrapper->get_current( ).
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF entity IS BOUND.
        TRY.
            entity_col = entity->get_related_entities(
                            iv_relation_name = 'FirstLevelComponent' ).
          CATCH cx_crm_genil_model_error.
        ENDTRY.
        TRY.
            entity ?= entity_col->get_current( ).
          CATCH cx_sy_move_cast_error.
        ENDTRY.
        CLEAR entity_col.
        IF entity IS BOUND.
          TRY.
              entity_col = entity->get_related_entities(
                              iv_relation_name = 'ComponentAddress' ).
              ibaseaddress->set_collection( entity_col ).
            CATCH cx_crm_genil_model_error.
          ENDTRY.
        ENDIF.
      ENDIF.
    ENDMETHOD.

    Code i have written in the CREATE_CONTEXT_NODE method for my custom context nodes( IBHEADER,IBASEADDRESS).
    this  CREATE_IBHEADER some data related to IBASE header then from this reading the IBASEADDRESS contextnode fields for displaying in the ServHPartnerDet. It is working fine but After changing the four fields values in the ServHPartnerDet view and trying to save, then context is not reading the new values it gives the old values only.
      TRY.
          lr_coll_wr = ztyped_context->ibaseaddress->get_collection_wrapper( ).
          IF lr_coll_wr IS BOUND.
            lr_entity ?= lr_coll_wr->get_current( ).
          ENDIF.
        CATCH cx_crm_genil_model_error.
      ENDTRY.
      CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
        EXPORTING
          iv_attr_name = 'BUILDING'
        IMPORTING
          ev_result    = lw_building.
    the building has got result of old value no the new value.
    method CREATE_IBHEADER.
        DATA:
          model        TYPE REF TO if_bsp_model,
          coll_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
          entity       TYPE REF TO cl_crm_bol_entity,    "#EC *
          entity_col   TYPE REF TO if_bol_entity_col.    "#EC *
        model = owner->create_model(
            class_name     = 'ZL_CRM_IC_SERVHPDET_CN01'
            model_id       = 'IBHEADER' ). "#EC NOTEXT
        IBHEADER ?= model.
        CLEAR model.
    bind to custom controller
      DATA:
          cuco TYPE REF TO cl_crm_ic_cucoibase_impl,
          cnode TYPE REF TO cl_bsp_wd_context_node.
      cuco ?= owner->get_custom_controller(
            'CuCoIbase' ).                                      "#EC NOTEXT
      cnode ?=
        cuco->typed_context->ibaseheader.
      coll_wrapper = cnode->get_collection_wrapper( ).
      ibheader->set_collection_wrapper( coll_wrapper ).
    endmethod.

Maybe you are looking for

  • Embed Quicktime Locally-Only for Presentation

    In the past I have successfully embedded Quicktimes on HTML pages (IE) for local-only/kiosk PC presentations using: <embed src="C:\kiosk\movie.mov"> However using the same string type for a MAC embed (Safari) isn't working, I get the Quicktime logo w

  • Program to delete a specific request from a Cube

    Hi Everyone, I've been trying to delete a certain DTP request from a cube but I'm unable to delete it. Is there any ABAP program to delete a specific request from a cube by provinfing requeset ID as the input. Thanks, Ram

  • How to cancel changes in Panels that does not contains a "Cancel button"

    Hi, I'm new to Mac, and noted that some dialogs does not contains a "Cancel" Button. Is there some "keyboard combination" that can be used to revert any change made? My main concern is about "Preferences Panels" which can suffer a really mess with un

  • How to enable Documents service in Webcenter Spaces

    Hi, I have created a Space and Subspace in Webcenter Spaces. In both Spaces and Subspaces Document Service is not showing under Content Tab and Page Tab. I am working on El Piju Tutorial for Oracle WebCenter Portal Spaces any my Portal version is Web

  • Why does the cursor skip a line every time I start a new contact?

    I just got my first iPhone, and I love many things about it, but I'm pretty frustrated about other things. One frustrating thing is that if I go to save a number as a contact, it brings up the new contact page, and EVERY time I click on the first nam