Update the embedded field

we have following problem:
class A has class B as embedded attribute.
If we write:
tx1: a = readA();
tx2: a.b.setName("new Name"); makePersistent(a)
the changes in field "name" will not be saved.
If we write:
tx2: a.b = new B("new Name"); makePersistent(a)
the field "name" will be updated !
What is wrong with a.b.setName("new Name"); ???
thanks
andre

Originally posted by: dorian.birsan.net
Pretty much like you described.
Normally, if you move your update site, people who bookmarked it would also
be afected.
You could keep site.xml at the old location and have everything else moved.
Make use of the <archive> element in site.xml to point to jar files at other
locations.
Even better, redirect from old site to new site, using your web server
functionality.
-dorian
"Bert Hyman" <[email protected]> wrote in message
news:[email protected]..
> It appears that unless a feature has a URL embedded in the "Update Site
> URL" field, neither the "Scan for Updates" feature of "Manage
> Configuration" nor the "Search for updates ..." feature of "Find and
> Install" are useable. Adding an update site in the "Search for new
> features" function doesn't carry over for later updates.
>
> I guess that means that we'd better get the URL for our feature update
> site nailed down pretty permanently before we let it out of the barn.
>
> Otherwise, we'll have to tell our users to disable, then uninstall, then
> search for new features if we ever move it.
>
> Do I understand this correctly?
>
> --
> Bert Hyman | Unisys - Roseville MN
> [email protected] | (651) 635-7791 | net2: 524-7791

Similar Messages

  • Material Master: Update the Z fields using BAPI

    Hi to all,
    My requirement is simple. But I do not have much knowledge on BAPI. I have got some information that we can extend th BAPI and update the Z fields in material master. I have added the z fields in MARA. So when I call the bapi z fields has to get update.
    Which BAPI can i use? I have got one BAPI - BAPI_MATERIAL_SAVEDATA.   plz suggest me to do it.
    1. how do i enhance the BAPI or extend th BAPI.
    2. Is ther any approch to do it.
    thnks
    Yerukala Setty

    Hi,
    Append the z fields to BAPI_TE_MARA and BAPI_TE_MARAX structures using append structures.
    Populate two structures for the fields in BAPI_TE_MARA and BAPI_TE_MARAX.
    To BAPI_MATERIAL_SAVEDATA, under EXTENSIONIN parameters, pass structure name as BAPI_TE_MARA and Value Part1, 2, 3, 4 with the filled structure info.
    Similarly append X structure as well.
    Regards,
    Ganga

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Updating the Assignment Field (ZUONR) with Check No

    Hi
    Can anyone help me please?
    I would like to update the assignment field (ZUONR) in the Bank Payables Clearing Account with the cheque number from the payment run (PAYR-CHECF).
    1.  Firstly is this possible?; and
    2.  If so could you explain how I do this.
    Thanks in advance for your assistance on this issue.
    Regards
    Claire

    Hi
    I would but there is no sort key which contains this, nor can I create one :o(.
    If you are aware of how I can do this then please let me know.  Is there a user exit which will populate this field when a payment has been made?
    Regards
    Claire

  • Updating the description field on the CRM Service Order

    HI Experts,
    I want to update the description fied with the service order number on the service order.
    What is the procedure to update the screen field on the crm service order, is it by order_maintain.
    Thanks in Advance for your help,
    Praveen

    Hi Praveen,
    Changing the field label on the WebUI is discussed many a times. Before posting, it is always a best practice to search for the solution.
    here is the link
    Change Field name & make it optional
    Hope this solves your requirement.
    Best Regards
    Shiven

  • 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.

  • It seems like Illustrator may not consistantly be updating the embedded pdf file when we re-save..........

    It seems like Illustrator may not consistently be updating the embedded pdf file when re-saving, even if the embedded illustrator file does. We are seeing a number of issues which seem to suggest this is going on..... I have a file I might be able to share with adobe's developers to really look at this problem. In short this file does not have a client change when viewed in reader or output through Photoshop image processor to generate raster copies, yet when we open the file we see the client changes. I would expect this to be a huge issue..... I have told my team to perform a save-as from now on to avoid what I think is going on-it seems to work.....
    We are using Illustrator  CS5.5 (15.1.0)

    Post Author: fyz
    CA Forum: Exporting
    Hi,
    I think your pdf file is probably damaged. There is a tool called Advanced PDF Repair. I have used it to repair many corrupt PDF files successfully. Its homepage is http://www.datanumen.com/apdfr/  Maybe you can have a try.
    Alan

  • How can i update the REMARK field in ADRT database table

    Hi all,
    How can i update the REMARK field in ADRT database table
    By using Function modules or BAPI’s
    Please reply me fast

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • Update the "remark" field in general data of a BP (using IDOC in LSMW)

    Hi,
    I have to create and udpate BP with comments in the general data. I have no problem to manage this field in creation mode. I only use the segment "E101BAPIAD_REM" from the "CRMXIF_PARTNER_SAVE_M02" Idoc basic type. I fill the following fields: "LANGU, LANGU_ISO, ADR_NOTES".
    However in update mode I don't success to update the value for the field "REMARK". I use the second segment "E101BAPIAD_REX" and i fill only field "ADR_NOTES" with value "X" and "UPDATEFLAG" with value "U".
    I tried several value and several cases but i failed each time. If anybody has already managed this data with IDOC I would be very interesting...
    regards,
    Fabrice Mouyebe.

    Hi Thirumala,
    thank you for your answer but you speak about the field "AddressGUID" of E101BUS_EI_ADDRESSREMARK but I haven't this field at this level. This field is linked to the segment "E101BUS_EI_BUPA_ADDRESS_KEY", isnt'it ?
    Effectively i have certainly a problem with the Address GUID. I have to test it because it doesn't work with only UPDATEFLAG at 'X' and CURRENT_TASK too.
    Thanks,
    fabrice.

  • BDOC's to update the custom fields in R/3 from the CRM sales order

    Dear All,
    I need a small help.
    My requirement is as follows.
    When ever a sales order is created in CRM, an outbound delivery will be automatically created in the R/3 system.
    There are some fields in the CRM sales order which are not there in the R/3 system.So I have to create these fields in the LIKP and LIPS tables in R/3 which is not a problem.
    But I have to copy these fields from CRM to the LIKP and LIPS tables in R/3 when ever a sales order is created and saved in CRM. (This should happen automatically)
    So could anyone tell me whether there are any BDOC’s available to update the sales order info in the LIKP and LIPS tables and also any BADI which can be trigger for this purpose.
    Thanks in advance.
    Regards
    Shafath

    Hi,
    Thanks a lot. You have given a good solution.
    But a small correction.
    Sales Order is not transferred from CRM to R/3. The system is creating (automatically) a delivery in the r/3 system for the sales order created in CRM (Here we will not have the sales order in R/3), so we don’t have an entry in VBAK and VBAP tables.
    When we create a sales order in CRM and save , the delivery in R/3 is created and the sales order is not transferred to R/3.
    So while saving the sales order itself in CRM, I need to trigger a badi to update the LIKP and LIPS tables by calling a RFC (which needs to be developed in R/3).
    So I need a badi which triggers when the sales order is saved and which tells whether the sales order is saved without errors or not (because delivery in R/3 is created for only those orders which are created and saved without errors in CRM)  and returns the sales order number.
    It will be helpful if you can send some info on this.
    Any how thanks a lot for your quick response.
    Regards
    Shafath

  • Is it possible to update the comments field once receiving is done

    Hi All,
    Can anyone of You help on this.
    We have done the receiving against one PO. The material is receipt and delivered in the Inventory.
    User has enter in-correct details in the comment field (both at header and line level) during receiving.
    Now we need to update the comments section with some new commnets.
    Apart from backend/ database update, is it possible to update the comments section since receiving is already done. Please suggest some alternate option.
    Thanks
    Sujay

    Hi Sujay,
    You won't be able to update the comments once received.
    Alternate approach: Perform correction transactions to reverse all the receiving transactions and re-receive again entering correct comments.
    Thanks,
    PS.

  • DateFormat for updating the metadata field through RIDC

    Could you please tell me what will be the valid date time format for updating metadata field value through RIDC.?
    I am using ADF technology to connect with webcenter UCM and using all services to check-in,update, search generic screens using UCM services. I am able to update other text type metadata field through ADF screen BUT when i update date field then i am getting date parsing error..
    xSubmitDate DATE type in UCM.
    xSubmitDate value = 05/08/2013 05:36 PM
    oracle.stellent.ridc.protocol.ServiceException: Unable to update the content item information for '0804'. The field 'xSubmitDate' does not contain a valid date. Unable to parse date '05/08/2013 05:36 PM'.
    Thanks in Advance.

    This blog post I wrote may be of some help: http://www.redstonecontentsolutions.com/5/post/2011/10/parse-date-usingridc.html
    Jonathan
    http://jonathanhult.com

  • Why isn't Calculate updating the Totals fields?

    i have created a multipage document. each has a column with amounts, and a total row at the bottom of the page. the first page lists checks. the second page lists only cash.
    the first page has two other fields "Total Checks" and Total Cash". each is set to sum the total of the appropriate page. finally there is a Grand Total field that sums the Total Checks and Total Cash.
    The problem is, the entries update the column total as soon as they are entered, but the Totals don't.
    I have checked to ensure no fields are locked, and all are number-formatted. i have rechecked the calculation tab many times but the problem remains.
    also, does anyone have a manual in pdf form?
    is it acceptable to attach the file?
    one lemming

    You just need to set the field calculation order (which is not the same thing as the tab order) to whatever makes sense for your form. Currently, it is not set correctly. Exactly how you change it depends on the version of Acrobat you're using. In Acrobat 9, go into form editing mode and select: Forms > Edit Fields > Set Field Calculation Order

  • Updating the IT0001 field Legal Person

    Hi All,
              I cant able to make any screen modification in the field Legal Person... Even if i update the field by means of using the FM HR_INFOTYPE_OPERATION its not updating.
    Please provide me a solution how can i update that field.
    Thanks
    Yogesh

    Hi,
       Thanks for your reply. But i have use the same code for updating the field SACHP for that i can able to make it. but when i try to update this Legal Person ID alone its not updating.
    Can you Provide the solution
    Thanks
    Yogesh

  • Who Updated the Memo field

    I am trying to determine if it is possible to find out who updated a column field like the function ColumnHistory() shows the history.  I would like to see which user made the changes in the ColumnHistory().  Is it possible to do this?

    Routines to log changes to data tend to make use of the AfterUpdate event.  However, this does not in itself mean that any change has been made to the values of the data.  You'll find an example of one which does so, however, as ChangedRecord.zip
    in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    This little demo file calls the Windows API GetUserName function to return the current user's Windows login-in name, and includes code in two modules which determines (a) if data in a record has actually changed rather than simply been updated and (b) if data
    will change, in order to get user confirmation to save a record.  The former would apply in your case.
    In my demo it is the whole record which is examined for changes, not just a particular field, so some small modification of the code would be required to limit it to one field.  I can confirm that it does work with a memo field per se, though whether this
    will be true in the case of fields containing very large amounts of text I can't honestly say without testing it.  You can easily do so by adding a memo field to the Contact table in my demo, and including a control bound to this in the form.  Then
    paste in a very large block of text into one record via the form.  If it successfully detects the insertion as a change, then make a small amendment to the text and see if it detects that.  I see no reason why it shouldn't, but without empirical
    evidence I wouldn't bet the farm on it.
    Ken Sheridan, Stafford, England

Maybe you are looking for