Problem with entity- set_property. Does not set the value on Save

There is a custom field enhanced in BP_HEAD component in node header structure.
Code to set the property is written in do_prepare_output method. This value gets set with X after BACK from contact details.
I see the value X before Save of the account details. After Save, the set_property does not work and so the value is not displayed.
Please help to explain what could be the reason and how to rectify it.
Note: Before Save, If I select Edit I see the value on the field. If I select Save after the Edit. The value is retained.
This issue occurs only when new account details is Saved.

Hi ,
The set_property( ) does not work if the field is non-editable. You have to make sure that you do this operation only for fields which are editable.
Also if you done a set_property(   ), make you perform a modify also and there should be a save followed by a commit ( framework does it for you or you do it manually).
* 1. Lock an entity and modify a property
* here booking entity with technical name u2018UIFBokkingu2019
2 Basic Features of the BOL Application Programming Interface
<January 2009> 19
lv_booking = lv_flight->get_related_entity(
u2018FlightBookingRelu2019 ).
IF lv_booking->lock( ) = ABAP_TRUE.
lv_booking->set_property( iv_attr_name = u2018SMOKERu2019
iv_value = u2018Xu2019 ).
ENDIF.
* 2. send all changes to BO layer
lv_bol_core->modify( ).
* 3. get the implicitly created global transaction
DATA: lv_transaction TYPE REF TO if_bol_transaction_context.
lv_transaction = lv_bol_core->get_transaction( ).
* 4. save and commit your changes
lv_transaction->save( ).
lv_transaction->commit( ).
Regards
Kavindra

Similar Messages

  • I have a problem with Downloads, firefox does not recongise the .doc format despite me having word 2007 loaded only a problem since a new laptop, and windows 7 professional, any ideas?

    When Trying to download a word file I get this error message: " *.doc could not be opened, becasue the associated helper application does not exist change the association in your prefernces. " Have checked preferences, and IE opens up the file pointing to something wrong with firefox.

    I should have explained further. The game opens in a new window over to the upper left of my screen, leaving the original page underneath. I tried minimizing it so that I could get to my toolbar and did the View > Zoom > Reset. This has no effect. The lower portion of the game is still not showing. Using other browsers the window or frame of the game is much larger, therefore everything shows.

  • On Tab function does not set the value in ADF

    Hi,
    I have a table with a columns as 'unit price',quantity and 'Extended amount'. The last field is a calculated field (unit price * quantity). I am trying to set this field when I tab from unit price field to some other field. But the value is not at all getting set to this field.
    Hereis the peice of code.
    <af:inputText value="#{row.RebillUnitPrice}"
    required="#{bindings.RebillInfoView3RebillItemsView1.attrDefs.RebillUnitPrice.mandatory}"
    columns="15" binding="#{CRIIF001.inputText3}"
    id="inputText3" autoSubmit="true"
    valueChangeListener="#{CRIIF001.setExtendedAmount}"
    >
    Auto submit is true and I am calling a value change listener which calls the set method. Though I could see the calculated value, it is not getting set to that column when I tab.
    Please help me in solving this issue,.
    Thanks,
    Venki

    Hi,
    does the page refresh, or do you use PPR? Note that autosubmit in ADF Faces don't automatically refresh the table and need you to set the partial trigger on e.g the table
    Frank

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • The located assembly's manifest definition with name 'openfoundation' does not match the assembly re

    Ok. been working on this for the better part of a day. I am having trouble with the .net web controls. trying to create a simple portlet that populates a text box with values from a 2nd text box when a button is selected. both text boxes are in the same portlet.
    without using the <httpModules> entry in the web.config file the portlet works fine, but it does pop you out of the portal.
    setup: working in a Dev. environment with portal and portlets on the same box.Portal version is 5.0.2.EDK version is 5.0.2.
    error:
    The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Assembly Load Trace:The following information can be helpful to determine why the assembly 'openfoundation' could not be loaded.=== Pre-bind state information ===
    LOG: DisplayName = openfoundation, Version=2.0.9.3152, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
    (Fully-specified)
    LOG: Appbase = file:///c:/inetpub/wwwroot/netTest
    LOG: Initial PrivatePath = bin
    Calling assembly : dotnetportlet, Version=3.5.0.1, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
    LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: openfoundation, Version=2.0.9.3152, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nettest/9e6689f5/a0d2f067/openfoundation.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nettest/9e6689f5/a0d2f067/openfoundation/openfoundation.DLL.
    LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/netTest/bin/openfoundation.DLL.
    WRN: Comparing the assembly name resulted in the mismatch: Minor Version
    Stack Trace:[FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.]
       Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) +0
       Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx)
       Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx)
       Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e)
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.947
    ************************************************************Is there any step by step instructions for setting up and using the .net web controls in Plumtree????
    There doesn't seem to be any information in one spot as to setting up the environment to use the .Net Web Controls. I have had to piece together information from multipule threads to get this far. I.E. there was nothing in any documentation that I have read that required the installation of the VJ# lib's. (that error took me the first half of the day to resolve :-) )
    Thanks for any help,
    Greg************************************************************

    Also, when reviewing the Plumtree_.NET_Web_Controls_InstallLog.log there were 5 nonfatal erros. These error's were:
    Install File: E:\plumtree\ptwc\2.0\bin\assemblies\edk.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\edk.dll (The process cannot access the file because it is being used by another process)
    Install File: E:\plumtree\ptwc\2.0\bin\assemblies\jsregistry.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\jsregistry.dll (The process cannot access the file because it is being used by another process)
    Install File: E:\plumtree\ptwc\2.0\bin\assemblies\log4net.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\log4net.dll (The process cannot access the file because it is being used by another process)
    Install File: E:\plumtree\ptwc\2.0\bin\assemblies\openfoundation.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\openfoundation.dll (The process cannot access the file because it is being used by another process)
    Install File: E:\plumtree\ptwc\2.0\bin\assemblies\Plumtree.WCFilter.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\Plumtree.WCFilter.dll (The process cannot access the file because it is being used by another process)
    When installing the Web Control's do you need to stop any services? I didn't see anything in the install notes about doing this?

  • Pretzel: The located assembly's manifest definition with name 'openfoundation' does not match the

    We have got 5.0.2 Plumtree portal, EDK 5.0.2 and .Net Web Controls 2.1.
    I am trying to call:
    IPortletContext oPortletContext = PortletContextFactory.CreatePortletContext(System.Web.HttpContext.Current.Request, System.Web.HttpContext.Current.Response);
    I have attached the error I am getting. Is this related to Open Foundation version? This is quite urgent because we are in the process of trying to get a demo together for grabbing Activity Rights.
    Server Error in '/portlets/DOJ/JNET/pretzel.clients.doj.reentry' Application.
    The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Assembly Load Trace:The following information can be helpful to determine why the assembly 'openfoundation' could not be loaded.=== Pre-bind state information ===
    LOG: DisplayName = openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
    (Fully-specified)
    LOG: Appbase = file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry
    LOG: Initial PrivatePath = bin
    Calling assembly : dotnetportlet, Version=3.5.0.1, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
    LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation/openfoundation.DLL.
    LOG: Attempting download of new URL file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry/bin/openfoundation.DLL.
    WRN: Comparing the assembly name resulted in the mismatch: Minor Version
    Stack Trace:[FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.]
       Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) +0
       pretzel.clients.doj.reentry.navigation.Page_Load(Object sender, EventArgs e) in \\devnet2\inetpub\doj\reentry\development\pretzel.clients.doj.reentry\navigation.aspx.cs:22
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    Version Information: Microsoft .NET Framework Version:1.1.4322.1031; ASP.NET Version:1.1.4322.947

    I have seen this before after a upgrade of the EDK, found I had to remove the reference in the C# project to the old EDK dll and re add it to the new EDK dll.
    Also noticed that you are using the System.Web.HttpContext.Current fully qualified namespace in the CreatePortletContext() call instead of the usual way of PortletContextFactory.CreatePortletContext(Request, Response) this uses the System.Web.HttpRequest.Page namespace by default.

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

  • LOV does not return the value (2)

    PPR in general does not work correctly if invalid HTML is generated. One example of an invalid HTML is having an opening <TD> tag immediately following another opening <TD> tag.
    After checking everything else, if LOV still does not return the value, test whether it's not a problem with the invalid HTML by placing the messageLovInput outside of the complicated layout nestings you may have. If it works outside of the layout nestings, look for the possible problems in the layout nestings.

    Hi RamKumar,
    Thanks for your reply.. I have already done that but no luck :(
    Regards,
    Hemanth J

  • GR  Qty value does not equal the value

    Hi,
    In PO,there have been 4 GRs where the Qty does not equal the Value.  How has this happened? 
    Could you please suggest me why the difference has come.
    Thanks in advance,
    Cheers,
    Veena

    Hi,
    Yes.you are right.My suggestion does not work here.
    Mr.Adam has given the perfect solution.
    But the problem is the limitations on availability to
    define Before aggregation as the aggregation property
    for CKF,even in Version older than 7.
    So try to implement the solution given by Mr.Adam with
    reference to version7 in your query even though your
    version is less than version 7.
    With rgds,
    Anil Kumar Sharma .P

  • Imqobjmgr does not recognize the value of java.naming.provider.url property

    On Windows, I am running imqobjmgr 4.3
    when I run imqobjmgr -i list.properties, I am getting the following error
    Error [A3052]: imqobjmgr does not recognize the value of java.naming.provider.url property.
    Why is that?
    classpath
    C:\Sun\SDK\imq\lib\jms.jar;C:\Sun\SDK\imq\lib\imq.jar;C:\Sun\SDK\imq\lib\fsconte
    xt.jar;.
    contents of list.properties
    # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    # Copyright 2000-2008 Sun Microsystems, Inc. All rights reserved.
    # The contents of this file are subject to the terms of either the GNU
    # General Public License Version 2 only ("GPL") or the Common Development
    # and Distribution License ("CDDL") (collectively, the "License"). You may
    # not use this file except in compliance with the License. You can obtain
    # a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
    # or mq/legal/LICENSE.txt. See the License for the specific language
    # governing permissions and limitations under the License.
    # When distributing the software, include this License Header Notice in each
    # file and include the License file at mq/legal/LICENSE.txt. Sun designates
    # this particular file as subject to the "Classpath" exception as provided by
    # Sun in the GPL Version 2 section of the License file that accompanied this
    # code. If applicable, add the following below the License Header, with the
    # fields enclosed by brackets [] replaced by your own identifying information:
    # "Portions Copyrighted [year] [name of copyright owner]"
    # Contributor(s):
    # If you wish your version of this file to be governed by only the CDDL or
    # only the GPL Version 2, indicate your decision by adding "[Contributor]
    # elects to include this software in this distribution under the [CDDL or GPL
    # Version 2] license." If you don't indicate a single choice of license, a
    # recipient has the option to distribute your version of this file under
    # either the CDDL, the GPL Version 2 or to extend the choice of license to
    # its licensees as provided above. However, if you add GPL Version 2 code
    # and therefore, elected the GPL Version 2 license, then the option applies
    # only if the new code is made subject to such option by the copyright holder.
    # @(#)list.properties     1.11 07/02/07
    # This property file will list administered objects
    # Version of command file
    # NOTE: This is not the version of the Sun Java(tm) System Message Queue product
    version=2.0
    cmdtype=list
    # If you want to only list a particular type of administered
    # object, uncomment the following line and specify the type.
    # Acceptable values for the type property are: t, q, tf, and qf,
    # where t = topic, q = queue, tf = topic connection factory, and
    # qf = queue connection factory.
    #obj.type=
    # To use the LDAP service provider implementation from
    # Sun Microsystems, uncomment the following two property lines
    # and set the url property correctly.
    objstore.attrs.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
    objstore.attrs.java.naming.provider.url=ldap://localhost:389/ou=imqobjmgr,o=sun.com
    # To use the File System service provider implementation from
    # Sun Microsystems on Solaris, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///home/foo/imq_admin_objects
    # To use the File System service provider implementation from
    # Sun Microsystems on Windows, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///C:/imq_admin_objects
    #objstore.attrs.java.naming.security.authentication=
    #objstore.attrs.java.naming.security.principal=
    #objstore.attrs.java.naming.security.credentials=

    I see you're using Sun Java System Message Queue. There's a forum specific to that product over at [http://forums.sun.com/forum.jspa?forumID=711&start=0|http://forums.sun.com/forum.jspa?forumID=711&start=0] . You could try asking there.
    Nigel

  • The report does not accept the value for apps.fnd_profile.value('USER_ID')

    Hi,
    I followed the below note and added a report to my SSHR menu.
    How To Add A Report To A 11i Self Service Menu [ID 334847.1]
    In my report , I have a condition in the query
    and a.created_by =apps.fnd_profile.value('USER_ID')
    When the report is submitted as a request , it works fine., however the same report when called from the self service page does not accept any value for apps.fnd_profile.value('USER_ID') .
    Is there a workaround to handle this problem.
    regards

    hi,
    I had already tried the option apps.fnd_global.USER_ID too.
    However it does not accept the value for apps.fnd_global.USER_ID.
    We want to call the reports in SSHR using oaf and at the same time the records that are pending for approval created by the employee should only be visible.
    regards
    Maya

  • In a purchase order for 3 GR's Quantity does not equal the value

    Hi,
    I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value.  How has this happened?
    Any guesses why the difference has come.
    Thanks&regards,
    Veena

    Hi Vishal,
    In po history for agt 3 Gr's  Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
    Can you tell me this which T.code.
    Tx,

  • When I sync my iPad with iTunes it does not update the play count?  Is there a setting I need to change?

    When I sync my iPad with iTunes it does not update my play counts.  Is there a way to make this happen?

    Are you using iTunes Match by chance?  I had no problems whatsoever with play counts synching between any of my devices until I started using iTunes Match.  I turned it off and magically my play counts synced.  Once. Hasn't happened again though. 

  • Background Job cancelling with error Data does not match the job definition

    Dear Team,
    Background Job is getting cancelled when I run a Job on periodically but the same Job is executing perfectly when I run it manually(repeat scheduling) .
    Let me describe the problem clearly.
    We have a program which picks up files from an FTP server and posts the documents into SAP. We are scheduling this program as a background Job daily. This Job is running perfectly if the files contain no data. But if the file contains data the JOb is getting cancelled with the following messages.
    And also the same Job is getting executed perfectly when repeat scheduling is done ( even for files with data).
    Time     Message text                                                                       Message class Message no. Message type
    03:46:08 Job PREPAID_OCT_APPS2_11: Data does not match the job definition; job terminated        BD           078          E
    03:46:08 Job cancelled after system exception ERROR_MESSAGE                                      00           564          A
    Please help me in resolving this issue.
    Thanks in advance,
    Sai.

    hi,
    If you have any GUI function modules used in the program of job
    you cannot run it in background mode.

  • My iPod touch with iOs 5 does not have the iTunes store app on it. How can I get it?

    I have recently upgraded my touch 4g to iOs 5, and I love the new iOs. There is only one problem, the native iTunes app does NOT EXIST. I have no problem connecting to the itunes store on my pc itunes program, but my ipod touch DOES NOT HAVE THE ITUNES APP and therefore has no way to access the itunes store mobilely. Please help. I tried restoring in itunes, did so, and still do not have the itunes store app on my ipod.

    You probably have restrictions set.
    iPod touch User Guide (For iOS 5.0 Software)

Maybe you are looking for

  • Update to 10.5.5 failed

    I tried to update to OS 10.5.5 and the update failed. The computer would no longer boot- hang on the apple symbol. I have reinstalled 10.5.2 and updated the computer to 10.5.4 successfully and I can get it to boot once again. However, the computer wi

  • Sending mail with attachments screws up signature images

    Hello, For work I have to use an image in my corporate signature. All works well on plain emails, but as soon as I add an attachment to a message, the image in the signature also becomes an attachment and leaves a blank space in the signature. Tested

  • 3 levels certificate!! URGENT PLZ!!!!

    If I have 3 level certificates in my chain, how can i import it in keystore? Width .cer files? i get this certificate from 1 .pfx file. i want to make one standalone application plz help me!!! thnx

  • Strange issue in FBA internet site

    Hello All.. Last week we observed very strange issue in our production servers, it is pure FBA public site.. No matter we click anything it shows the authentication (login page), the site custome master page was coming and this was a custom login pag

  • How do I stop my ipad telling me there's no sim card installed?

    Hi, I have an iPad mini. I don't keep a SIM card in it (although I could, it's not limited to wifi only) and, in fact, I paid extra to buy the ipad without a contract to a network. Since "upgrading" to the latest ios, my ipad tells me there's "no SIM