Cannot add new records through VC form when consuming IP write back query

I have created a planning application in IP and created a Form in VC (CE 7.1). I am not able to create new records in VC Form and save it back to the cube like the traditional excel form on IP does. I have attached a document with every step that i did as a screen shot in designing my model. The writing back of data using the Form works if i have preexisting data in the planning cube and if i am only changing the values of the existing data records it works great. I could consume the planning functions that i created and they work well within VC. But if i want to create new records in a empty planning cube it gives me error unlike planning in excel analyser lets me save it back to the cube. I have tested the same query in Excel Analyser and created new records and saved it back in the cube. Any help on this is greatly appreciated.
[http://www.mediafire.com/?sharekey=f1bc9aa662da6a86d956df2962098fcbe04e75f6e8ebb871]
Thanks.
Edited by: BI GUYS on Sep 28, 2009 2:00 PM

Hi PradeeP,
1. The BI Query itself has to support the entries of new lines. This is described in note 1149346.
However, if the Query allows entering new lines in the BEx Analyzer, then this prerequisite is fulfilled.
2. In the BI Query wizard in VC in the u201CChoose Presentationsu201D step, you have to include  the key presentation for the characteristics.
If 1 and 2 are fulfilled and you still have the problem, it is strange...
Does the problem also occur if you create new records in a cube that already shows some data in the table view?
Regards,
Talia

Similar Messages

  • Cannot Add new line using BI IP query

    Hi All,
    We have created a planning application (BI IP Query) and used it in VC 7.1 model using BI Query Wizard service. Now we are able to customize existing rows ( existing rows are using flat file upload)... we can able to change the existing record values and save it.
    But we are not able to add new line... its going to dump... We are able to add new line using WAD with same query but not in VC 7.1
    This issue is same as below 2 threads...
    Re: How to create new records through a VC form in an input-ready query??
    Re: Cannot add new records through VC form when consuming IP write back query?
    Thanks,
    PradeeP

    Its working now... SAP has given the fix (patch) for this issue when we deployed it, everything is working fine... I think they will release this fix (patch)soon...
    Raise an Sap OSS message for solution

  • Cannot Add New Form Fields

    I'm troubleshooting a problem with an existing pdf document in our office. Though I install Acrobat I do not use it on a daily- hence my asking for assistance. The computer is an Optiplex 745 running WIN XP Pro SP 2 with all updates.
    The doc is a 42 page human resources document that has both scanned and original (made in Word/Acrobat) pages. Though I can edit existing fields/boxes, I cannot add new ones. I can select "add fields", click and drag seeing the crosshairs and field/box area, but when I let go, nothing happens. No new field and no erorr messages.
    I've checked the security- it's wide open (no security) and layers- it has none or only one. The user who reported the problem is using Acrobat 5.x, I've tested it in 5.x, and 9 (standard and pro) on my computer with no success. I've included screenshots of the doc info below in hopes that they might provide some clues as to the problem.
    Thank you for any assistance that you may provide.

    After discovering that the other primary user had a local copy of this form- I tried that in Acrobat 9 and it was editable. So it appears that it was the form itself.
    I'm resaving the local document to the network drive (where the problem doc came from) and updating both primary users to Acrobat 9. One was using 5 the other 7. Hopefully that will prevent any further problems.
    Thanks for your assistance.

  • To add new record into the table Data Service client

    When I am trying to add new record into the table Employeedetails using Data Service client it is giving a sql exception: "java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1."
    Code:
    DataService ds=DataServiceFactory.newDataService(getInitialContext(),"EmplDetApp","ld:EmplDetAppDataServices/EmployeeDetails");
    EmployeeDetailsDocument edoc=EmployeeDetailsDocument.Factory.newInstance();
    edoc.addNewEmployeeDetails();
    //here I set the primary key value empid
    edet.setEmpid("1212");
    edet.setEmpname("manu");
    ds.submit(edoc);
    Error
    EmpName 5 java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
    com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:247)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245)
         at com.bea.ld.ServerBean.submit(ServerBean.java:529)
         at com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Unknown Source)
    Caused by: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at weblogic.jdbc.mssqlserver4.TdsStatement.processWarning(TdsStatement.java:1178)
         at weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089)
         at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756)
         at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147)
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151)
         ... 15 more
    But I am not sure why it is giving an exception as Violation of PRIMARY KEY.
    The update method works fine for the same client.
    The exception only happens when I am trying to insert a new record.
    Please help me to figure out this problem.

    If you are absolutely sure that you do not have such a row already in your table, open a case with customer support and reference CR321312. I believe the work-around is to put ld-server-core.jar in your client classpath.
    Correction: put ld-server-app.jar in the client classpath
    Edited by mreiche at 09/17/2007 3:28 PM

  • Cannot add new selectors or edit existing CSS file with my Mac

    I have just subscibed to Dreamweaver CC and I cannot add new selectors or edit the exisiting "main" css that comes with the tutorial. When asked to add selector a box appears but when I press enter/return twice it disappears. Also there is no option to edit existing properties. for example, to change a font color I pick color but there is no enter or "OK" option. I'm very puzzled and stuck.

    The trial version of Dreamweaver is fully functional. The only limitation is that it stops working after 30 days. If you're having problems with getting the software to work correctly, it might be a good idea to try posting a question in the Downloading, Installing, Setting Up forum, mentioning the fact that you've already posted here (otherwise, they might just transfer you back to this or one of the other Dreamweaver forums).
    If you can't make changes to files, it might have something to do with permissions or the user account that you've logged onto the computer with.
    When asking for help in the other forum, mention your operating system, and which version you're using. The problem might be related to your computer setup.

  • Cannot add new contact or edit existing one

    Cannot add new contact or edit existing one. TH GSM, curve 8900, OS v5.0.01067, file free none ,battery pull didn't fix the problem, applications Google maps 3.0.2, whatsapp 2.6.2177. Device even freezes when trying to add or edit . Thanks

    I am having the exact same problem!!  I hope we get an answer.

  • After upgrading iPad 2 to iOS 7 , cannot open new tabs in safari . When pushing on " " , Safari close the application .

    After upgrading iPad 2 to iOS 7 , cannot open new tabs in safari . When pushing on " " , Safari close the application .

    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

  • Cannot add new items to a value list in AW database

    I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
    There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?

    Oops
    I read too fast.
    Here is a short script which may help.
    Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
    Select the field to fill and run the script.
    Then choose an item in the displaid list. It will be pasted in the selected field.
    This trick would give you to work with a "no limit" list of items.
    -- [SCRIPT DB fillFieldFromAlist ]
    Assuming that
    the front document is a database one
    and that a text field is selected,
    run the script to select an item in a list
    and paste it in the field.
    Yvan KOENIG, Vallauris (FRANCE)
    le 19 mars 2007
    property MyList : {"item 1", ¬
    "item 2", ¬
    "item 3", ¬
    "item 4", ¬
    "item 5", ¬
    "item 6", ¬
    "item 7", ¬
    "item 8", ¬
    (* edit the list to fit your needs *)
    tell application "AppleWorks 6"
    activate
    tell document 1
    set laClasse to (get class of selection)
    if laClasse is not field then return (* the selection is not a field *)
    set myItem to choose from list MyList
    if myItem is false then return
    set the clipboard to myItem's item 1
    select menu item 7 of menu 3 (*
    Tout sélectionner •• Select All *)
    paste
    end tell -- document 1
    end tell -- AppleWorks
    -- [/SCRIPT]
    Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53)

  • IPhon 4: After recently updating to version 7.1.2, all my past calendar entries disappeared and I cannot add new entries.

    After recently updating to 7.1.2, all of my past calendar entries for 22014 disappeared and I cannot add new entries??

    What account were you using to sync your Calendar?  Make sure that account is added to the device, and make sure that Calendars is turned on for that account. 
    Then, go to Settings > Mail, Contacts, Calendars, and make sure that under the Calendar section that 'Sync' is set to 'All Events'.
    Then go to the Calendar app, go to Calendars, and make sure that you have that account enabled.
    Then, close out all the running apps on your device, and restart it.
    Open up your Calendar app.  Are your entries back?

  • ADD new Column in the form

    Is it possible to ADD new Column in the form like Sale Quotation, Sales Order and ...

    It is possible.
    go to tools >UDF > Manage UDF >choose marketing documents rows.
    select the row and say add to add a new column in the documents.
    Note: this will be applied to all documents \
    ie.quotation,order ,invoice, PO ,GRPO etc.
    U can hide these columns in form settings.
    This will help u
    Give points if helpful
    Regards
    Suresh Kannan

  • Iphone 4s calendar events disappeared and I cannot add new events

    I have an iphone 4s with ios 7. Suddenly all events I added on my calendar disappeared and I cannot add new events. The plus sign+ is there but it is light grey and will not activate. I do not sync it with any other calendar

    What account were you using to sync your Calendar?  Make sure that account is added to the device, and make sure that Calendars is turned on for that account. 
    Then, go to Settings > Mail, Contacts, Calendars, and make sure that under the Calendar section that 'Sync' is set to 'All Events'.
    Then go to the Calendar app, go to Calendars, and make sure that you have that account enabled.
    Then, close out all the running apps on your device, and restart it.
    Open up your Calendar app.  Are your entries back?

  • I went to a concert and I recorded a video and when I watched it back it had no sound but my others did? Is there a way of getting the sound back ?

    I went to a concert last night and I recorded a video and when i watched it back there was no sound ?
    But i did some later and they had sound. Is there a way on how to get sound back on the video ?

    If you are logged in to icloud with your same Apple ID. Go to setting on your phone>Photos & Camera and turn ON my Photo Stream.

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • Cannot update new field through SharePoint properties on re-pubished InfoPath form

    Hello,
    I would truly appreciate any help with this problem. I've searched the forum for answers to this issue, but none of the ones I've found seem to
    apply.
    We are using SharePoint 2007. 
    When I re-publish a form with a new field, I am unable to modify that new field through SharePoint properties on older forms. I have tried re-linking the old forms but that does not resolve the issue. I can re-create this problem consistently in new
    and old InfoPath form libraries.
    Here are the latest steps I have taken to re-create the error:
    Created Form Library called Error Testing.
    Created new form (from blank template) with three data fields in the data source: name, occupation and address.
    Added section and all fields onto the form.
    Published form to Error Testing library. All fields were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page” option.
    Created and saved Form 1 in library with no issues.
    Opened edit properties and was able to modify and save the content in all three fields.
    Added a new field to the form template: City.
    Published form to Error Testing library. The original fields, and the new field were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page”
    option.
    Created and saved Form 2 in library with no issues.
    Opened edit properties in Form 2 and was able to modify and save the content in all three fields.
    Opened edit properties in Form 1, modified all fields and got the following message when I tried to save: 
    "Changes could not be saved into the document. The property to change is read-only for the document's content type, or the document is missing XML elements or attributes where
    the changes would be saved. Try editing the document in a Windows SharePoint Services-compatible XML editor such as MicroSoft Office InfoPath."
    Modified each field one at a time and determined the field I could not edit and that was causing the error message was
    the new City field.
    I re-linked Form 1 and got same error message when I tried to modify the City field.
    I opened Form 1 entered the city and saved.
    The content of the city field appears in the SharePoint column and I am able to edit the content through the Edit Properties field.
    This is an issue when we run a workflow that tries to update the new field on an old version of an InfoPath form.

    You can certainly add the fields manually by using SharePoint Designer, but a more effective way to Open the form template in "Design Mode" Click "Tools" and then "Form Options" Choose "Versioning".
    InfoPath defaults to not Upgrade forms automatically. If different versions are not a historical issue for this solution, then Change the default to "Automatically Upgrade Old Forms". Then republish form... The Next time you open a from in
    the library with this content type it will upgrade the old forms in the library.
    Have a look at this post on the same topic:
    http://social.msdn.microsoft.com/Forums/en-US/cffd3fa0-0a53-4ef2-8c62-0764cbe9f0e2/adding-new-fields-to-existing-infopath-form-template?forum=sharepointcustomizationlegacy

  • Generate extra record when create a new record in secondary form

    I have been troubshooting this for a logn time:
    I have exemption form ties to exemption table. because there are two many info on exemption form, I create a second form called exemption (2) form and ties to exemption(2) table. Then, I create a "Go to exemption(2) form" button from the first form and it will redirect the user to the second form once they click it.
    Once the users complete the second form entry, and click the Create(which is the save record) button, it not only creates a new record in exemption (2) table but also create an extral record in the first exemption table.
    I used the exemption sequence to genertate the id so for example,
    Exemption (1) has 3 records so far, but after the user add the record in the second form, Exemption (1) has 4 records.
    How do I make the first form and the second form consistent in the ID?
    Thanks so much in advance!

    Thank you Tauceef for your help,
    If I get your problem exactly, you are using a sequence for the ID, and you want to insert the same ID in both Tables 1 & 2 - Yes, it is exactly what I want to do
    for that what you can do is, in the first form submit process, you can assign the sequence value to a hidden or application - I use exemption sequence and the first form takes nextval of it.
    item in your first form and use that item in your second form. - then, I went to the second form, and assign the ID to the first form ID (the page item in application)
    I got error message saying can not insert NULL value to second table, can not process the row.
    Can you show me the submit process in the first form?
    Hope it won't take too much of your time,
    Kitty,

Maybe you are looking for