Update the DFF attribute in advanced table not working

Hi,
We used a custom value set and enabled the DFF in requisition edit lines page advanced table. We made attribute1 in the DFF as the work order number. When the user enters the work order number, then in PFR, we calculated the project# and task# and populated the fields in that row. When the user changes the task#, then we need to make the work order number null. Below is the logic we followed.
We get the row reference and get the row.
row.setAttribute("Attribute1", null);
When we did the write diagnostics, it is displaying the attribute1 as null, but on the page it is displaying the value that is already existing.
2nd approach we followed is:
Get the handle to the flex using findChildRecursive.
Get the lovInputBean handle from the flex using findChildRecursive
setText(null);
But this 2nd approach is making all the work order numbers in all rows to null.
Can you please let me know how to set the DFF enabled attribute value in advanced table?
Thanks,
HC

Hi,
Can you try by casting row with PoRequisitionLinesVORowImpl.
Something like below
PoRequisitionLinesVOImpl xxReqLineVO = am.getPoRequisitionLinesVO();
PoRequisitionLinesVORowImpl xxReqLineRow = null;
            for(xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.first(); xxReqLineRow != null; xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.next())
                try
                    String xxdelToLocId = xxReqLineRow.getDeliverToLocationId().toString());
                    if(<your condition   >)
                        xxReqLineRow.setAttribute1("");
                    else
                        xxReqLineRow.setAttribute1("xx_YOUR_VALUE");
                catch(Exception e)
                    throw OAException.wrapperException(e);
            xxReqLineVO.reset();
        }Thanks,
Jit

Similar Messages

  • HT4623 after updating the iOS6 my iPhone 4 is not working

    after updating the iOS6 my iPhone 4 is not working

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • HT1222 i updated the software and my phone is not working how can i delet updated software

    i updated the software advance IOS in my i phone after updation i got problem n i want to remove this

    Since you are in Egypt, your phone is unlocked. If they told you not to upgrade it then it is not officially unlocked. Nothing you can do will allow you to upgrade this phone. Sorry.

  • I have DAP (Download Accelarator Plus) installed in my Laptop. It was working fine in Firefox 4 but few days ago since i've updated the browser to firefox 5 its not working at all. Please suggest what should be done as this software isnt workg as of now?

    cant download using DAP

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Banding attribute in data table not working

    Hi all,
    I am using the table for displaying rows of data from the backing bean. I set the banding attribute to be "row" and the bandingInterval="1",but I don't see the effect of these attributes when the table is rendered. Anything I miss in the backing bean? In case I can't make this work, I would want to fall back to drawing row and column grids in the table, similar to the "rule" attribute in the basic jsf dataTable, how do achieve the same thing with ADF table?
    Thank you,
    Lngo

    Hi,
    Can you try by casting row with PoRequisitionLinesVORowImpl.
    Something like below
    PoRequisitionLinesVOImpl xxReqLineVO = am.getPoRequisitionLinesVO();
    PoRequisitionLinesVORowImpl xxReqLineRow = null;
                for(xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.first(); xxReqLineRow != null; xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.next())
                    try
                        String xxdelToLocId = xxReqLineRow.getDeliverToLocationId().toString());
                        if(<your condition   >)
                            xxReqLineRow.setAttribute1("");
                        else
                            xxReqLineRow.setAttribute1("xx_YOUR_VALUE");
                    catch(Exception e)
                        throw OAException.wrapperException(e);
                xxReqLineVO.reset();
            }Thanks,
    Jit

  • I had updated the iOS7 and my camera is not working. My snap chat isn't either. Why?

    Why is my camera not working i thought the iOS7 was supposed to make it work better, not stop it.

    Hi Elma,
    If you are having issues with the Camera on your iPhone after updating to iOS 7, you may find the Camera portion of the following article helpful:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Regards,
    - Brenden

  • Our Client gave a requirement to mass update the additional attributes in Install base for instances in Release 11i.

    Hi,
    Our Client gave a requirement to mass update the additional attributes in Install base for instances in Release 11i.
    So I tried the below code to update:
    But getting the error:
    The Object Version Number passed does not match with the one existing in Installed Base tables.
    Can any one please help how to fix it.
    Code:
    declare
    x_instance_rec CSI_DATASTRUCTURES_PUB.INSTANCE_REC;
    p_ext_attrib_values CSI_DATASTRUCTURES_PUB.EXTEND_ATTRIB_VALUES_TBL;
    p_party_tbl CSI_DATASTRUCTURES_PUB.PARTY_TBL;
    p_account_tbl CSI_DATASTRUCTURES_PUB.PARTY_ACCOUNT_TBL;
    p_pricing_attrib_tbl CSI_DATASTRUCTURES_PUB.PRICING_ATTRIBS_TBL;
    p_org_assignments_tbl CSI_DATASTRUCTURES_PUB.ORGANIZATION_UNITS_TBL;
    p_asset_assignment_tbl CSI_DATASTRUCTURES_PUB.INSTANCE_ASSET_TBL;
    p_txn_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_REC;
    x_instance_id_lst CSI_DATASTRUCTURES_PUB.ID_TBL;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_msg_index_out NUMBER;
    t_output VARCHAR2(2000);
    t_msg_dummy NUMBER;
    p_validation_level NUMBER;
    p_commit VARCHAR2 (5);
    p_init_msg_lst VARCHAR2 (500);
    cursor stg_tab_cur is select instance_id,Safety_line_type from gewind_ib_iea_values;
    TYPE stg_tab IS TABLE OF gewind_ib_iea_values%ROWTYPE INDEX BY BINARY_INTEGER;
      stg_tab_var stg_tab;
      stg_tab_bin_int BINARY_INTEGER;
    BEGIN
    x_instance_rec.instance_id := FND_API.G_MISS_NUM;
    x_instance_rec.object_version_number := FND_API.G_MISS_NUM;
    p_txn_rec.transaction_id := FND_API.G_MISS_NUM;
    p_txn_rec.transaction_date := SYSDATE;
    p_txn_rec.source_transaction_date := SYSDATE;
    p_txn_rec.transaction_type_id := 1;
    stg_tab_bin_int :=0;
    For gewind_ib_iea_values in stg_tab_cur LOOP
    stg_tab_bin_int := stg_tab_bin_int + 1;
    P_ext_attrib_values(stg_tab_bin_int).instance_id :=gewind_ib_iea_values.instance_id;
    P_ext_attrib_values(stg_tab_bin_int).attribute_id := 10023;
    P_ext_attrib_values(stg_tab_bin_int).attribute_value := gewind_ib_iea_values.Safety_line_type;
    dbms_output.put_line(P_ext_attrib_values(stg_tab_bin_int).instance_id);
    dbms_output.put_line(P_ext_attrib_values(stg_tab_bin_int).attribute_value);
    csi_item_instance_pub.update_item_instance(
    1.0,
    p_commit,
    p_init_msg_lst,
    1,
    x_instance_rec,
    p_ext_attrib_values,
    p_party_tbl,
    p_account_tbl,
    p_pricing_attrib_tbl,
    p_org_assignments_tbl,
    p_asset_assignment_tbl,
    p_txn_rec, x_instance_id_lst,
    x_return_status,
    x_msg_count,
    x_msg_data);
    commit;
    -- Output the results
    if x_msg_count > 0 then
    for j in 1 .. x_msg_count
    loop
    fnd_msg_pub.get ( j , FND_API.G_FALSE , x_msg_data , t_msg_dummy );
    t_output := ( 'Msg' || To_Char ( j ) || ': ' || x_msg_data );
    dbms_output.put_line ( SubStr ( t_output , 1 , 255 ) );
    end loop;
    end if;
    dbms_output.put_line('x_return_status = '||x_return_status);
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line('x_msg_data = '||x_msg_data);
    COMMIT;
    end loop;
    END;
    Regards,
    Ravichander

    This question is Assumed Answered -- It would be great if you could share the solution with us.
    Thanks,
    Hussein

  • Update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK

    Hi FI Gurus,
    I am looking after a Support Project in SAP IS-Retail. I am from the FI functional and possess very limited knowledge in FI.
    My client has done the sales posting in SAP using IDOC's. During the postings, it was found that wrong Profit Centers were assigned. Due to this, the sales reports based on Profit Center are coming wrong. It was suggested to the client to reverse the IDOCs, do necessary changes in Profit Centers and re-post the IDOCs. The client wanted a short method to get the reports right. A senior consultant (Non FI) in the Company and the Management are forcing me to write a ABAP program to update certain (not all) FI tables. According to me, it will have some negative impact on the system for which reason I am not ready to take the call as a Project Manager. The management wants me to do the following (I am quoting the same mail which I received from the consultant ) :
    We need to update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK / BSID / BSAD, wherever the records exists against billing document numbers provided.
    BAPI for updating profit center in Accounting documents: BAPI_ACC_DOCUMENT_POST
    Function Module : 'BAPI_DOCUMENT_CHANGE'
    Also look at SAP Note: Note 966428 - FB02: Functional area (FKBER) can be changed on coding block
    Based on the above, the ABAPer has written the program, the program will update the tables BSEG, BSIS, BSIK, according to the selection criteria of document number, company code and line item number with the new profit centers.
    Please clarify me about the following :
    1. This program is updating profit center in just the FI tables (BSEG, BSIS, BSIK etc.), but the New GL tables (faglflexa and faglflext) which have approx. 65 lakh entries in PRD do not get updated with the correct profit center.
    2. The Controlling tables also do not get updated with this program yet. Also since the previoius updation of Profit centers did not happen correctly, most of the times the controlling document has not been generated at all. Since we will be updating the profit center in just the FI tables, the controlling document will not be created still. Though there are SAP notes suggesting re-creation of the Controlling documents, which is still an option you can choose. Please confirm.
    3. The Special GL also does not get updated because of this.
    This is a very critical and hot issue. My job is at Stake as the Management has threatened me of sacking if I do not follow their directives as they are only concerned with their money.
    Is the consultant who suggested this change RIGHT ?
    Your early replies will help me take the decision.
    Regards

    Hi,
    There is no standard program or BAPI that would update profit centre in a posted document. You should either develop your own process for it,which is not recommended, but sometimes is essential, or reverse the existing documents and post them with the correct profit centre.
    Regards,
    Eli

  • Update the data in user-defined table

    Dear All,
    Is there anyway we can insert / update the data in user-defined table in a batch instead of update it from the interface one by one? Our customer has 1,000+ data need to be imported.
    They are on SAP2007A SP00 PL45, SQL 2005, CA localization. Thanks a lot.
    Regards,
    yuka

    Dear Yuka,
    If it is UDT, you may use any SQL query to insert, update it. It is not under SAP support anyway.
    Thanks,
    Gordon

  • Update the Street field in ADRC table.

    Hello !! Please I need some help.
    I have to update the Street field in ADRC table.
    I have this list.
    Where I can put a Flag and an Update to do it.
    Im really newbie.  Im doing it in IDES, to test it first.
    Help !
    REPORT  Z_LIST_ADRC      LINE-SIZE 190
                             LINE-COUNT 65
                             NO STANDARD PAGE HEADING.
    TABLES: ADRC.
    DATA: BEGIN OF ITAB OCCURS 0,
               ADDRNUMBER LIKE ADRC-ADDRNUMBER,
               date_to like ADRC-date_to,
               NAME1 LIKE ADRC-NAME1,
               CITY1 LIKE ADRC-CITY1,
               CITY2 LIKE ADRC-CITY2,
               STREET LIKE ADRC-STREET,
               MC_NAME1 LIKE ADRC-MC_NAME1,
               MC_CITY1 LIKE ADRC-MC_CITY1,
               MC_STREET LIKE ADRC-MC_STREET,
    END OF ITAB.
    SELECT ADDRNUMBER DATE_TO NAME1 CITY1 CITY2 STREET MC_NAME1 MC_CITY1 MC_STREET
      FROM ADRC INTO TABLE ITAB.
    LOOP AT ITAB.
    WRITE : /001 ITAB-ADDRNUMBER,
                    007 ITAB-DATE_TO,
                    016 ITAB-NAME1,
                    040 ITAB-CITY1,
                    070 ITAB-CITY2,
                    090 ITAB-STREET,
                    120 ITAB-MC_NAME1,
                    150 ITAB-MC_CITY1,
                    170 ITAB-MC_STREET.
    ENDLOOP.
    TOP-OF-PAGE.
      ULINE.
        WRITE:         /001 'n-addr',
                        007 'date',
                        016 'name',
                        040 'city1',
                        070 'city2',
                        090 'street',
                        120 'name-s',
                        150 'city1-s',
                        170 'city2-s'.
      ULINE.

    HI,
    data : itab like standard table of adrc.
    select * from adrc into table itab.
    loop at itab.
    itab-street2 = 'New value'.
    modify itab index sy-tabix.
    endloop.
    if not itab[] is initial.
    modify adrc from table itab.
    endif.

  • Im trying to update my apps from the ipad in the app store section and when i press update the ipad tells me that im not connected to the itunes store??

    Im trying to update my apps from the ipad in the app store section and when i press update the ipad tells me that im not connected to the itunes store??

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Update the proxyaddresses attribute via rsldapsync_user

    Dear Gurus,
    i configured a ldap-scenario and tested it by reading different attributes from the directory and updating the user information.
    It worked well!
    Now i want to write the proxyaddresses-attribute into the directory. i configured an exporting mapping from the e-mail address of the sap-user to the mentioned dir.-attr.. In this mapping i call a function module. For simple testing i call an ldap-module to read the actual values of the directory-attribute and write them back to the directory:
      Read table attributes with Key var = 'USERNAME' fld = 'BAPIBNAME' assigning <hybral>.
      READ TABLE <hybral>-vals index 1 ASSIGNING <vals>.
      CONCATENATE '(&(objectclass=user)(samaccountname=' <vals>-val '))' into filter.
      CALL FUNCTION 'LDAP_READ'
         EXPORTING
    *   BASE                = ''
         base_string         = 'ou=test-ou,dc=test-domain1,dc=test-domain2'
         scope               = 2
         filter              = filter
    *   FILTER_STRING       =
    *   TIMEOUT             =
         attributes          = it_attr
         IMPORTING
           ldaprc              = ldaprc
           entries             = ldapetab
         EXCEPTIONS
           no_authoriz         = 1
           conn_outdate        = 2
           ldap_failure        = 3
           not_alive           = 4
           other_error         = 5
           OTHERS              = 6
      READ TABLE ldapetab INDEX 1 ASSIGNING <ldape>.
      READ TABLE <ldape>-attributes WITH KEY name = 'PROXYADDRESSES' INTO ls_attribute_ldap.
      ls_attribute_ldap-typ = 'C'.
      INSERT ls_attribute_ldap INTO TABLE attributes_ldap.
    at the end of the module i export the values into attributes_ldap. When i debug the folowing steps, the values are cummincated throughout the ldap-function-modules that are used by rsldapsync_user. The ldap_modify module exports a returncode 53.
    Now i want to know if it is possible to update the proxyaddresses-attribute in this manner. Are there any mistakes in my thinking or in the posted function-module. Does anyone of you have some experience updating multiple line entries in Active Directory via SAP-LDAP?
    Thanks in advance

    Now i wrote a function module which reads an attribute and tries to write it back to the active directory.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     REFERENCE(IP_UNAME) TYPE  XUBNAME
    *"  EXPORTING
    *"     VALUE(EP_MAIL) TYPE  STRINGVAL
      DATA: wa_attr TYPE ldapas,
            it_attr TYPE ldapastab,
            ldapetab TYPE ldapetab,
            ldaprc TYPE ldapdefs-ldrc,
            filter TYPE ldap_filt.
      FIELD-SYMBOLS:
            <ldape>   TYPE ldape.
      wa_attr-typ = 'C'.
      wa_attr-name = 'SAMACCOUNTNAME'.
      APPEND wa_attr TO it_attr.
      wa_attr-name = 'PROXYADDRESSES'.
      APPEND wa_attr TO it_attr.
      CONCATENATE '(&(objectclass=user)(samaccountname=' ip_uname '))' INTO filter.
      CALL FUNCTION 'LDAP_SYSTEMBIND'
       EXPORTING
         serverid            = 'WSWACTIVEDIR'
       writeread           = 'W'
    *   WAIT_TIME           = 0
       IMPORTING
         ldaprc              = ldaprc
    *   BASEDN              =
    *   BASEDN_STRING       =
    * CHANGING
    *   HOLDSESS            = 0
    * EXCEPTIONS
    *   NO_AUTHORIZ         = 1
    *   CONFIG_ERROR        = 2
    *   NOMORE_CONNS        = 3
    *   LDAP_FAILURE        = 4
    *   NOT_ALIVE           = 5
    *   OTHER_ERROR         = 6
    *   OTHERS              = 7
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LDAP_READ'
       EXPORTING
    *   BASE                = ''
       base_string         = 'ou=wsw-benutzer,dc=stadtwerke,dc=loc'
       scope               = 2
       filter              = filter
    *   FILTER_STRING       =
    *   TIMEOUT             =
       attributes          = it_attr
       IMPORTING
         ldaprc              = ldaprc
         entries             = ldapetab
       EXCEPTIONS
         no_authoriz         = 1
         conn_outdate        = 2
         ldap_failure        = 3
         not_alive           = 4
         other_error         = 5
         OTHERS              = 6
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE ldapetab INDEX 1 ASSIGNING <ldape>.
      CALL FUNCTION 'LDAP_UPDATE'
        EXPORTING
          entry              = <ldape>
       IMPORTING
         ldaprc             = ldaprc
    * EXCEPTIONS
    *   NO_AUTHORIZ        = 1
    *   CONN_OUTDATE       = 2
    *   PARAM_ERROR        = 3
    *   LDAP_FAILURE       = 4
    *   HEXVAL_ERROR       = 5
    *   NOT_ALIVE          = 6
    *   OTHER_ERROR        = 7
    *   OTHERS             = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    After LDAP_READ the ldaprc = 0.
    After LDAP_READ ldaprc is 53.
    So i can exclude a wrong mapping in transaction ldap.
    Edited by: Jan Martin Müller on Jun 9, 2010 3:17 PM

  • On updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.i cant see menu page on display screen

    on updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.
    i cant see menu page on display screen

    http://support.apple.com/kb/HT1808

  • How to set the flexfield column in advanced table

    Dear All
    Dear Gaurav
    Good morning
    iis it posible to create a flexfield column in advanced table.I am trying it is showing some error......
    Thanks& Regards
    Sreekanth

    Hi,
    My doubt is compulsory we give the view instance for flex field,
    and also give the view instance for advanced table.
    when i created the flex field in advanced table,it didn't ask the view instance.
    the advanced table and flex field view instance are different
    at that how can i create the flex field in advanced table.

  • Since updating to 706 the sound on my ipad2 is not working right. On videos or music. There is constant distortion and what sounds like interference. Any ideas?

    Since updating to 706 the sound on my ipad2 is not working right--on videos or music. There is distortion and some kind of interference at all times. Any ideas?

    Has the unit EVER been jailbroke?
    If "No," first try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, if you have IOS-7, read this.

Maybe you are looking for