VO Attribute not saving

I have a region on my page with x number of fields on it, they are all from a single VO relating to a single EO. On saving the record is saved to the table no probs.
I have since added another item to the region. The item is in the VO and I have mapped the BC4J attributes to the correct field etc.
Upon saving no data from this field is populated ( i can see data on the form).
Have I missed something?

Trebor,
Were you using static styled text? If yes nature was correct it does not support all BC4J properties.It is basically use to show data and not to save data.The correct approch is your case is to use message styled text.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • PCD Attribute not saved for Role Folder

    Hello,
    I try to change a PCD-Attribute programmaticaly.
    If I do it on an iView  (e.g. MyIview) - it works fine.
    If i try on a Folder in a role (e.g. MyFolder) - it does not work !
    I tryed two different approches - same behavour...
    Apporach 1
    String pcdLocation = "portal_content/MyRole/MyFolder";
    //String pcdLocation = "portal_content/MyRole/MyIView";
    IUser principalObj = this.getServiceUser("pcd_service");
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, principalObj);
    env.put("com.sap.portal.jndi.requested_aspect", "com.sap.portal.pcd.gl.PersistencyAspect");
    env.put("java.naming.factory.object", "__IPcdContext__");
    InitialContext initialContext = new InitialContext(env);
    IPcdContext pcmObj = (IPcdContext) initialContext.lookupLink(pcdLocation);
    IPcdObjectFactory pcdObjectFactory =
    ((IPcdGlService) PortalRuntime.getRuntimeResources().getService(IPcdGlService.KEY))
      .getPcdObjectFactory();
    IPcdAttribute newPcdAttr = pcdObjectFactory.createPcdAttribute(PcdAttributeValueType.BOOLEAN,
    "com.sap.portal.navigation.Invisible");
    newPcdAttr.set(0, new Boolean(true));
    ModificationItem[] mods = new ModificationItem[] {
    new ModificationItem(DirContext.REPLACE_ATTRIBUTE, (Attribute) newPcdAttr)};
    pcmObj.modifyAttributes("", mods);
    Apporach 2
    String pcdLocation = "portal_content/MyRole/MyFolder";
    //String pcdLocation = "portal_content/MyRole/MyIView";
    IUser principalObj = this.getServiceUser("pcd_service");
    Hashtable env = new Hashtable();
    env.put(Context.SECURITY_PRINCIPAL, principalObj);
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put("com.sap.portal.jndi.requested_aspect", PcmConstants.ASPECT_ADMINISTRATION);
    InitialContext initialContext = new InitialContext(env);
    IAdminBase result = (IAdminBase) initialContext.lookup(pcdLocation);
    IAttributeSet myIview = (IAttributeSet) result.getImplementation(IAdminBase.ATTRIBUTE_SET);
    myIview.putAttribute(IAttriView.ATTRIBUTE_NAVINVISIBLE, "true");
    myIview.save();
    Any idea how to get NAVINVISIBLE - Attribute saved on a role-folder ?
    tnx Johannes

    Hi Johannes,
    I guess you found a working alternative until now, but if not, you should try the other [modifyAttributes |http://help.sap.com/javadocs/NW04S/current/pc/com/sapportals/portal/pcd/gl/IPcdContext.html#modifyAttributes(java.lang.String,%20int,%20javax.naming.directory.Attributes] method on IPcdContext. Your code could look like this:
    IPcdUtils factory = PcdAccess.getPcdUtils();
    IPcdAttributes attributes = factory.createPcdAttributes();
    IPcdAttribute navInvisibleAttribute =
         factory.createPcdAttribute(
              PcdAttributeValueType.BOOLEAN,
              IAttrPcmNavigation.ATTRIBUTE_NAVINVISIBLE);
    navInvisibleAttribute.add(Boolean.TRUE);
    pcdContext.modifyAttributes(
         StringUtils.EMPTY,
         IPcdContext.REPLACE_ATTRIBUTE,
         modifiedAttributes);
    This works in my application, so I never tried working with ModificationItem again. Maybe the implementation is somehow insufficient, but I didn't investigate it further (time pressure kills us all). However, please notice that REPLACE_ATTRIBUTE will replace or create the attribute as specified in the DirContext. Hope that helps.
    Best regards,
    Fabian

  • Texture attributes not saving with an Art History brush tool preset.

    I am sure that in the past Texture settings saved when I loaded a saved Art History Brush tool preset.  But suddenly, the Texture setting - specifically Depth, is not being remembered.  In other words - I have saved an Art History Brush as a Tool Preset. I have then used some other brushes and experimented with texture including the Depth setting.  When I go back to the saved tool preset, the Texture Depth setting has changed to whatever it was when I last used it - not its saved value.  I thought the point of Tool Presets is that they save all brush characteristics.  Maybe I have got this wrong.
    Help or info would be much appreciated.  I'm using CS6.
    ...this is weird.  The tool presets and their Texture attributes work fine in CS5.  Maybe I need to reinstall CS6.

    ...I reinstalled CS6 and imported old preferences.  The problem of reluctant attributes persisted after installation.  The answer appears to have been to reset the preferences.  Texture settings now behaving themselves.   I should have tried this first.  Oh well.

  • Resource Attributes not saving in Queriable User Extended Attributes

    Howdy,
    I added a few queriable user extended attributes to IDM. I originally added them in through the configure user attributes interface. I then edited the UserUIConfig to specify that they were queryable. I then edited the User Search Defaults form's getSearchableAttrs function to include these attributes. My added attributes now show up in the search user form, etc., just like I expected them to. Next I configured a new resource adapter for a database table that contained some values I wanted to use to populate these queriable attributes. I wrote a correlation rule, and ran reconciliation on the new resource. It matched up the account entries and automatically matched and linked the account information. So far so good. However, the user extended attributes I defined are not getting populated with the data from the new resource. The mapped resource attributes are treated as part of the user view, but only under the given resource, not as a queriable attribute. I really want to be able to use the find user interface with these datafields. Does anyone know why my data is ot making it into the queriable fields? Do I need to write another rule or workflow? Any advice would be most helpful.
    Thanks!
    Jim

    Queryable attributes refer to attributes stored in the IDM user object, and so need to be referenced as such.
    If you want attribute 'foo' in resource 'bar' to be stored as a Queryable attribute, you need to define it like so in your User Form :
    <Field name='accounts[Lighthouse].foo'>
        <Expansion>
              <ref>accounts[bar].foo</ref>
        </Expansion>
    </Field>This should pull the value from the resource attribute and put it in the IDM attribute. If you refer to it as a global.foo everywhere, that might work (but I find globals to be problematic).
    Let me know if it works...
    Jason

  • VO attribute not saving half time

    Hi
    We have created a custom message text field and attached it to a seeded VO on a seeded iexpense page. The VO attribute value is saving into the database sometimes but sometimes there is no value saved
    Any ideas whi is it doing it please
    Thanks

    Provide more details.
    What steps did you take for this change? What is the action which saves the corresponding VO values and check that logic. You probably need to go through the controller code to understand the complete flow, you can't simply assume that it will always save the value.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Excise invoice is not saving and not showing datas

    in erxcise invoice i ve made settings as per the sap best practices then also the excise invoice is not saved and not generated also
    please help me to solve the problem
    the error is coming like this
    Error in allocating Excise invoice number Interval not found Number object J_1IEXCLOC
    Message no. 8I336
    i ve already maintainthe number range for this object in tool in tax in goods moment
    please give some better advice for the excise invoice setting.

    Sub Transaction type determines the subcontracting attributes and determines the accounts for the posting while doing a sub contracting transaction.
    Sub transaction type is also used for determining the accounts while
    doing excise removals.
    Within CIN the account determination is based on the transaction type.
    So normally you can have a single set of accounts for Excise
    utilization. In case you need alternate account determination for
    handling various scenarios you can define sub transaction types. The
    sub transaction types and corresponding account assignments needs to be
    maintained in CIN customization
    To make customization of Sub Transaction type, goto
    <b>SPRO --> Logistics General --> Tax on Goods Movements --> India --> Account Determination and check whether you have assigned second and third one, viz. "Specify Excise Accounts per Excise Transaction and Specify GL Accounts per Excise Transaction".</b>
    Check
    <b>Taxes on goods mvnt--indiaaccnt determination---specify excise accnts for excise transaction...maintain the sub transction type , ip or 01,
    against the appropriate ETT</b>
    Message was edited by:
            sam masker

  • FACT SHEET Configuration not saving in transport to move to QA system

    hi Experts
    I am setting up the Account Fact Sheet BP_ACCOUNT_FS for my users and the only configuration that is saving is the configuration of the layout of the fact sheet to a transport.  The actual settings or configuration within the fact sheet is not saving.  For example, I used a BI report and added my query and parameter and while this saves in our development box, this will not save in the transport to move up through the systems.
    Any thoughts?  I already have a message open with SAP but checking to see if anyone has an immediate solution.
    Thanks,
    Chris

    Hi,
    P-table is an time independent attribute table ie it contains all the attribute info. in that table. so when u added a characteristic to that infoobject, u can find that entry in the P-table.
    Also M is a view on P & Q tables. It is not a table.
    T- ie Text table will contain only short,medium and long texts related to that info object.
    so when u add a characteristic  to infoobject it will be refelcted in P-table or Q- only. Not in Text tables.
    Narendra Reddy

  • Data is not saving in to DB from POPUP screen.

    Hi,
    I am opening a popup screen on button click and On the popup screen, I have added the VO as form with submit button.
    On the popup fetchlistener, I calling a bean method to invoke the createInsert action as follows.
    public String createSubs() {
    System.out.println("Inside Action Event*********************");
    try{
    AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
    BindingContainer bc = getBindings();
    oracle.binding.OperationBinding opb = bc.getOperationBinding("Create");
    opb.execute();
    }catch(Exception e){
    e.printStackTrace();
    return "";
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    When I am clicking on submit button in popup screen, data is appearing on the mainpage table but the same is not saving in the database. One more I have observed that doDML is not calling means SOP's are not comming from doDML method in the entity class.
    Please do the needful, its an urgent issue to reslove.
    Thanks in Advance,
    user5802014

    HI,
    Can you please specify that for your attributes CreatedBy and CreationDate , are you using automatic insert value from your entity or not? Or you are passing default values programatically in doDML() method.
    I guess for every new row your are using User name for CreatedBy field and current date for CreationDate field,
    Why don't you set these field at the time of creation of new row, Override Create() method in your entity bean and then you can set these fields to there default values. and now you should remove Mandatory property to unchecked for these fields in entity also.
    like i'm doing here - I'm setting sequence number as default to field insertedLineNo
        protected void create(AttributeList attributeList) {
            SequenceImpl seq = new SequenceImpl("NUMBER_SEQ", getDBTransaction());
            Number seqNum = seq.getSequenceNumber();
            setInsertedLineNo(seqNum);
            super.create(attributeList);
        }Hope this will help you, and let me know if this helps you.
    Fizzz...

  • How to make the fields of BPM object not saved in database.

    Is it possible to declare some attributes of BPM object not saved in database.
    For example: Order has attribute orderId and date, user (other attributes)... we only want OBPM save orderId. We want the other attributes could be saved and retrieved by external DAO classes.
    We still want to use the OOTB presentation from BPM object (not the customer jsp).
    Thanks

    When you say:
    Is it possible to declare some attributes of BPM object not saved in database.do you mean you do not want the information stored in the Oracle BPM Engine's database?
    If this is the case, create a BPM Object with just two attributes. One would store your orderId as a primitive data type. The other attribute would be a BPM Object that would store all the other data you are going to retrieve from the external database.
    At the beginning of the screenflow, read the database using the orderId attribute and populate the other attribute (the BPM Object). At the end of the screenflow just before it flows to the end activity, you could set the second attribute (again, the BPM Object attribute) to null. This would keep the BPM object with the two attributes from storing anything but the orderId in the Engine's database table for the work item instance.
    Dan

  • Why SQL queries are not saving in agentry editor for first publish?

    Hello Experts,
         In the process of developing an agentry application i have defined SQL steps and saved in agentry editor with out any errors .When i have published definations for first time it is displaying error 'Invalid object some where' in back end SQL log file ,when i have seen in editor some times the query is not saved,some times even it is defined then also the same  error.So i have copied the steps and saved again.Now i have done a publish,it is working fine.This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error).But with out exchange mechanism  it is working fine.Is this related to the installation of editor plig-in is not correct?. I have done preferences setting in my workspace correctly.
              Help me in this regared.Thanks in advance.
    Thanks & Regard,
    Sravanthi Polu

    Sravanthi,
    For your error: displaying error 'Invalid object some where' in back end SQL log file.. This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error)
    Two suggestions (My best suggestion is item 2 below - I think that is where you have the error)
    Item 1: Are you using the right encoding? In your Eclipse Editor under the main menu Windows - Preference -> General -> Workspace. What is your Text file encoding set to? Cp1252? Try setting it to UTF-16.
    There is a tutorial about this in:
    https://service.sap.com/sap/bc/bsp/spn/esa_redirect/index.htm?gotocourse=X&courseid=70246375 (Enterprise Academy classes). The course is really a simple < 5 minutes discussion on different types of encoding and why they exist and how to change the Eclipse to what you wanted.  SQL is normally done in UTF-16 for 16 bit.
    I am assuming that the encoding could be wrong.
    Item 2: Another thing that could be wrong is how you specify the SDML (Flunky code). 
    In your SQL Script: Anything that has the "<<" and ">>" open and close marker is an SDML (Data Markup Language) and needs to be pre-populated before the Agentry Server submits your SQL query to the backend. In essence, this is use to populate the SQL query with predefine information like your userID or location and when the SQL gets process it will populate the script with the correct information.
    So if you are not properly using the flunky (ex: <<object.address>> where address is not a key ID in a Fetch step (Check manual for usage of SDML AgentryLanguageReference_6.0.0.0.pdf) then you may get invalid object.
    When you do a SQL "Fetch" Client Exchange and Server Exchange Steps, you can select a few options:
    For this discussion let us talk about these 2 items below.
    1. Run Attribute: Run One Time
    or
    2. Run Attribute: Run Once Per Object.
    When you select Run Once Per Object the only available Flunky or SDML commands you have are:
    object.keyPropertyName
    lastUpdate
    fetch.messageNumber
    The 3 above are your only options
    If you try to do something like object.property1 where property1 is part of your object properties then it will not work for Run Once Per Object.
    It may work for Run One time as fetch.propertyname.
    From your symptoms where you are complaining about an issue in exchange steps, your error is a typo or a misused or a misunderstanding of how fetches and SDML works (documented in page 398 or 399 of AgentryLanguageReference_6.0.0.0.pdf).
    See pictures just in case you don't have access to that pdf file (The picture below simply proves what SDML options is available for your Fetch Client Exchange Step).
    Hope this helps.
    Regards,
    Mark Pe
    SAP Senior Product Support Engineer

  • UI Shell :  Changes are not saved. If you leave this page

    Hi,
    My JDeveloper version is 11.1.1.6.0
    I have on VO having all transient attributes. The vo having dependent LOV's . When i am not not selecting the value from lov and trying to close the UI Shlll it is not showing warning message.
    When i am changing the lov then trying to close the UI shelll then it is shows the "Changes are not saved..." warning message. I want to skip the warning message . How to do that
    Thanks
    Deepak

    go to <af:document id="d1" > tag and then property inspector and the n make uncommittedDataWarning to off.
    Thanks
    Pratee.

  • RZ20 PerformanceAttributes not saved

    Hi everyone,
    I have a SolMan system being used for monitoring file and processes.
    The problem is when i change the threshold values (in CCMS : performance attribute) of an individual MTE, these changes are not saved.
    When i restart the server where the sapccmsr client is installed (or restart the service sapccmsr itself), all the performance attributes are reset to default and all my monitoring customization is lost.
    However, i noticed that all  the changes i have made are saved in RZ21>MTE-Specific properties. It create a new MTE in this list each time I rechange the threshold values when the server restart.
    Thanks for your help and sorry for my english
    Aurelien

    Hi
    In SAP the all the properties of the MTE saved as property varient, Normally if you change the properties in using RZ20, that saved with the active property varient.
    but if you do it via RZ21 then you can choose the property varient which you want to take (set of MTEs), once had done you can change the value and make that as the active varient,you could see the list of property varient in RZ21,properties section
    Properties assigned to MTE classes
    Properties assigned to attribute groups
    MTE-specific properties
    under "property varient" > display overview. Choose the varient and change the status. Make that varient as active.
    restart the service and check again. The varient should be the one which you set as active while change.
    the step by step guide is below [http://help.sap.com/saphelp_smehp1/helpdata/en/12/49e54f427c3247b9a65cef77288d69/content.htm|http://help.sap.com/saphelp_smehp1/helpdata/en/12/49e54f427c3247b9a65cef77288d69/content.htm]
    Please try
    Jansi

  • ICloud mail settings not saved in System Preferences on Mountain Lion

    I note that iCloud mail settings not saved in System Preferences on Mountain Lion even if I tick mail in Icloud then close system preferences then open system preferences and it is untiked again?
    Does anyone know how to fix this?
    Cheers
    Paul

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Hierarchy Data not saved after Hierarchy Load

    Hi Gurus,
    I am facing a problem with the hierarchy data load in SAP BPC NW 7.5 SP06. I have already used /CPMB/IMPORT_IOBJ_MASTER & /CPMB/IMPORT_IOBJ_HIER once to load the data from BI to BPC and it worked fine that time.
    Now I have made some changes in the Hierarchy at the BI side. When I run the package link list, the /CPMB/IMPORT_IOBJ_MASTER chain runs fine and the master data, description for Attribute and Hierarchies are loaded perfectly. But whn the /CPMB/IMPORT_IOBJ_HIER is run, the changes are not saved in the BPC Member sheet. I have manually make the changes in the member sheet and Process the Dimension.
    Can we process the Dimension explicitly after the Hierarchy load again?
    Does anyone have an idea about this?
    Any help is appreciated.
    Thanks,
    Abhishek

    Abhishek,
    Double check whether  /CPMB/IMPORT_IOBJ_MASTER is bringing all the ID's,Texts and Hierarchy Nodes. If required drop the data from dimesion member sheet and load it again.
    Double check the Hierarchy and level setup while running /CPMB/IMPORT_IOBJ_HIER.
    (when we are in SP05, it was not bringing the multiple Hierarchies, now we are in SP07 loading multiple hierarchies but not the TEXT fo the Id's some inconsistency)
    Thanks

  • Document not saving data

    Hi,
    as I already mentioned here:
    http://forums.adobe.com/thread/432254?tstart=0
      I hope somebody here will know. The form is not saving it´s data  in the process. I fill the form in the Assign task in the Workspace, but after submitting it, it´s empty.
    I am exporting the log, but the (correct from the schema) xml is empty (no data). Data connection is ok.
    Thanks for ANYsuggestions.
    Lukas

    Can you try to use a Document Form variable instead of a document variable.
    You can set the @document attribute  of the Document Form with your PDF using the following xPath /process_data/myDocForm/object/document = yourdocvar.
    Then use that Document Form varibale for you input and ouput data mapping.
    Jasmin

Maybe you are looking for

  • Should I buy a 4S or wait for the 5 to go down in price

    We are in the market for a new phone.  The entire family has gone to the Iphone so I feel it is time for us to join.  I think when you purchase a new phone you have to try and get the latest and greatest.  But difference in cost between the 4S and th

  • How to modify the memory quota of jvm???

    hello how can i modify the memory size of jvm within the weblogic platform?

  • Can't see my appleTV (new model) in Itunes

    Hey Guys, Case: My AppleTV(2) is working on the wireless network, and I can watch trailors, and log in to my Itunes account, but I cant see it in Itunes. Both the ATV2 and my computer is set up to share via my account. Facts: Itunes is newest version

  • Fn (function) key

    Hi I have just bought lenovo s10 yesterday and i have uninstalled some pre-installed applications such as norton...and other and today i discovered that when i pressed fn + left or right arrow key and it will increase volumn and decrease...and on the

  • Should i choose Labview or CVI

    I am a student of automatic control in VN . I want to learn a language that can help me to progam app.s to control automatic system . I 've ever read  alot and i see that Labview and  LabWindows/CVI seems to be the best suitable softwares . But i als