Can't update data via ui-api

this is my VB.NET sample code as following.
<a href="http://odbc789.googlepages.com/b1test.rar">http://odbc789.googlepages.com/b1test.rar</a>
I tried to edit data in matrix ( BP Foreign name column )and upadte it into database via DBdatasource.
though the B1 return the message : success.
but , it still don't work.
hope somebody can tell what's wrong in my program.
thanks lot.

What ?? sorry , I am a rookie. I just finished my TB1300 course.
so..
the DBDataSource object , is only for query and binding data from DB to User interface.
In the <b>official UI API sample</b> : <b>06.MatrixAndDataSources</b>
when I press the "OK" button on the form , the green color <b>" success message "</b> on the status bar is ONLY a message.
It's don't work for SAVE and UPDATE.
<b>isn't ?????????</b>
PS: sorry , now is weekend in my country.
    web site is the only way to research.
    hope somebody to answer my question kindly. :P

Similar Messages

  • Can not update PO via update_po api and getting error in Budgetary Control

    Hi all,
    I am trying to update PO by calling update_PO API. I am trying to follow the manual but am getting an error and can't update the PO. Here is the code:
    declare
    l_result NUMBER;
    l_api_errors apps.po_api_errors_rec_type;
    l_version_no NUMBER := 0;
    l_po_header_id po_headers_all.po_header_id%TYPE;
    l_po_original_amount NUMBER;
    v_po_updated_price NUMBER;
    l_oracle_promised_date DATE;
    v_vendor_site_id po_headers_all.vendor_site_id%TYPE;
    l_vendor_site_code po_vendor_sites_all.vendor_site_code%TYPE;
    l_return_status VARCHAR2 (2000);
         v_error_message VARCHAR2(2000);
    BEGIN
    l_version_no := 0;
    l_po_header_id := 0;
    v_po_updated_price := 0;
    v_error_message := NULL;
    BEGIN
    SELECT revision_num, po_header_id, vendor_site_id
    INTO l_version_no, l_po_header_id, v_vendor_site_id
    FROM po_headers_all
    WHERE segment1 = '*****' --<PO#>
    AND type_lookup_code = 'STANDARD';
    END;
    dbms_output.put_line('l_version_no is ' ||l_version_no);
    --Getting 0 here          
    BEGIN
              l_result := PO_CHANGE_API1_S.record_acceptance(
                        x_po_number => '****', --PO#
                        x_release_number => null,
                        x_revision_number =>l_version_no,
                        x_action => 'NEW',
                        x_action_date => null,
                        x_employee_id => 1359,
                        x_accepted_flag => 'Y',
                        x_acceptance_lookup_code => 'ACCEPT WITH CHANGES',
                        x_note => 'All valid',
                        x_interface_type => 'APITEST',
                        x_transaction_id => null,
                        version => '1.0');
              dbms_output.put_line('Record Acceptance l_result is '||l_result);
    --Getting 1 here. Success.
    l_result :=
    po_change_api1_s.update_po
    (x_po_number => '****', --PO#
    x_release_number => NULL,
    x_revision_number => l_version_no,
    x_line_number => 1,
    x_shipment_number => NULL,
    new_quantity => 10,
    new_price => NULL,
    new_promised_date => NULL,
    launch_approvals_flag => 'Y',
    update_source => NULL,
    VERSION => '1.0',
    x_override_date => NULL,
    x_api_errors => l_api_errors,
    p_buyer_name => NULL
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line('error is ' ||SQLERRM);
    END;
    dbms_output.put_line('l_result is '||l_result);
    --Getting 0 here.... Failure
    IF (l_result <> 1)
    THEN
    FOR i IN 1 .. l_api_errors.MESSAGE_TEXT.COUNT
    LOOP
    v_error_message :=
    v_error_message
    || ' '
    || l_api_errors.MESSAGE_TEXT (i);
    END LOOP;
    END IF;
    COMMIT;
    END;
    Final error message is:
    Supplier site is either exempt from CCR registration or has not been added to agency vendor. Procedure PSA_FUNDS_CHECKER_PKG.glxfck returns an error without any details to the calling procedure PO_ENCUMBRANCE_POSTPROCESSING.execute_gl_call. Please contact your support representative. Your Budgetary Control action completed with exceptions. DO_UNRESERVE-100: User-Defined Exception
    Cause: A SQL error has occurred in DO_UNRESERVE. The SQL error is User-Defined Exception.
    Action: Take note of both this error number and the actions you were trying to perform. Contact your system administrator for further assistance.
    Your Budgetary Control action completed with exceptions.
    Please let me know what can be the croblem here. I can not find anything here on this issue. Please help.
    Thanks.

    Can you review these notes, may help you.
    R12: Funds Check Error 'PSA_BC_XLA_PUB.Budgetary_Control Returns an Error' for Purchase Orders and Requisitions When Federal Financial is Installed [ID 1292042.1]
    Procedure PSA_BC_XLA_PUB.Budgetary_Control Returns an Error Due To "XLA_AP_TECHNICAL_ERROR" [ID 950385.1]
    Fund Check Is Failing - Procedure PSA_BC_XLA_PUB.Budgetary_Control Returns An Error [ID 1338545.1]
    Error: PSA_BC_XLA_PUB.Budgetary_Control When Approving A Project Related PO [ID 1319065.1]
    Procedure Psa_bc_xla_pub.Budgetary_control Returns An Error For Autocreated Blanket Release [ID 751635.1]

  • How can i update data in okc_k_items and csi_item_instances tables?

    How can i update data in okc_k_items and csi_item_instances tables?
    by EBS .
    Thanks.

    For csi_item_instances table, you can use the following API:
    CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE
    For okc_k_items, try using the following API:
    OKC_CONTRACT_ITEM_PUB.UPDATE_CONTRACT_ITEM
    Hope this helps!

  • How can we update data in LDAP server using PL/SQL.

    Hi,
    How can we update data in LDAP server using PL/SQL program.
    Is there any sample code for refrence.
    Thanks,
    Tarun

    Hi Justin,
    Thanks for your help. You got my correct requirements.
    Tim's example returning all the attributes of current user which is admin user. Please correct me if I am wrong.
    I have the following information:
    the admin user and password,server info , port and ldap_base for admin.
    I have uid and password for regular user, I am trying find the ldap_base for regular user, which may be different from adminuser.
    Please help me.
    Thanks,
    Edited by: james. on Jan 12, 2009 5:39 PM

  • My ipod touch 4g doesn't show option for os update in setting-general page. Can i update it via itunes by connecting it to computer?

    My ipod touch 4g doesn't show option for ios update in setting-general page. Can i update it via itunes by connecting it to computer?

    Try:
    - iOS: Not responding or does not turn on
    When it says place the iPod in recovery mode ue one of these programs:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    For MAC or PC
    The Firmware Umbrella - TinyUmbrella
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Can I update datas of Power Query after making relation tables in Power Pivot ?

    Can I update datas of Power Query after making relation tables in Power Pivot ?
    I want to update datas at day by day to viewing today's graph by Power View on Excel.
    Power Query use to transform web site to Power Pivot data model table.
    Power Pivot use to making relasing tables, and making measuers.
    Regards,
    Yoshihiro Kawabata.

    Hi Yoshihiro,
    Can you share an example of the things you are doing in Power Pivot? There are some operations that prevent the query from being refreshed in Power Query; this is not ideal so we are currently working on fixing it.
    Thanks for your feedback.

  • Update userid via SOAP API?

    Good morning,
    I'm just curious whether it's possible to change the username in ilearning via the webservice API? As far as I see the userimport transaction uses userid as key, so when I submit a user with a different username (all other data is the same) I get a new user..
    So far so good, but I can change the username on the ilearning admin interface - but is it possible via the API?
    thanks
    peter

    Yes it is, if the existing accounts have an external id and external source and the web service call checks the external id and source first, you can update the username.
    Check the webservices documentation for more detail and external id and src
    Scott
    http://www.seertechsolutions.com

  • Can not update data in table view

    When i open a table from a connection in the connection navigator i can not alter the data in it... I can only add new rows. Is there a setting so i can alter the data?
    My user has update rights because when i write my own update statement and execute it, it works fine.

    I found the issue... You can do it in 10g but you have to define a PK on the table, otherwhise he does not know what row to update. When i added a PK i could edit the data in Jdev in data view.

  • How can I update data fields in a merged document ?

    Hi,
    I'm looking for a way to update the values of data fields in a merged document with a script just as you can do with the user interface.
    I don't find any method like "updateDataFields ()" in the DataMerge object.
    Si I try to invoke the menu action "Update Data Fields", but it fails. The script error message is: "Error 53762, the script is not active." On the contrary, the action works if I use the interface.
    Can anyone help me?
    Thanks in advance,
    FredIsnard
    PS : I work with CS5.5 and JavaScript.

    Hi!
    You might be looking for this one:
    DataMerge.mergeRecords (outputOversetReportFile: File )
    Merges records and produces an optional overset report.
    outputOversetReportFile: Data Type: File
    The path to the file in which to store the overset report. (Optional)
    Best regards,
    Andreas

  • How can i update data of DSO and Cube using ABAP??

    Hello Experts
    I have a requrement in which i need to update/ delete data from DSO and cube based on certain keys using ABAP.
    Please let me know how can i modify contets of cube or active table of DSO.
    Thanks
    Sudeep

    Hi
    I have requirement such that i need to update certain key figures in DSO after certain time.
    for eg. say record with key a is loaded to DSO and currospoding key figure was loaded with value 10
    after few days because of certain parameters changing in system i need to modify key figure value.
    currently i am doing same using 1 self transformation i.e. by loading same data again in same DSO.
    Amount of data is very huge and causing performance issues in system.
    now A is not key but i need to modify record for few combinations which apperar multiple times in DSO.
    Same DSO data is loaded into Cube regularly.
    I may need to update data after gap of few weeks as well.
    This design will be used as template and needto keep whole logic generic.
    So wring Function module can make it generic.
    Thanks
    Sudeep

  • Can't update iPhoto via App Store

    I've tried updating iPhoto via App store, and it tells me to sign into the account I used to purchase it. I never purchased iPhoto. It came with my Mac, and I remember clicking "accept purchases" when I was setting it up. Now this button disappeared, and I can't update any of the iLife apps. Ironically, I can't even buy a new iPhoto, because the App Store says it is installed, but it does not appear in my purchases list. Tried reinstalling Lion and it tells me that my ID was not used to purchase iOS X Lion. I don't want to call Apple, since they charge me for calls I make. What can I do?

    You need to contact App Store support. They are the only people who can help you with this. There's a link on the right hand side of the App Store window

  • How can i update data in JTable at run time ?

    i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the incoming object to an Vector. I'll create a new thread each time for the incoming connection and insert the object to the Vector.. Now, please tell me tat, how can i update my table automatically at run time so tat, my table is updated whenever a new object is entered into vector..
    here is my code for the table..
    public class MyTableModel extends AbstractTableModel {
        String columNames[] = { "ID", "NAME", "COLLEGE", "SCORE", "CELL" };
        /** Creates a new instance of MyTableModel */
        public MyTableModel() {
            Main.List = new Vector();
            SetDefaultData();
        public int getRowCount() {
            return Main.List == null ? 0 : Main.List.size();
        public int getColumnCount() {
            return columNames.length;
        public String getColumnName(int column) {
            return columNames[column];
        public boolean isCellEditable(int row,int col) {
            return false;
        public Object getValueAt(int rowindex, int columnindex) {
            if(rowindex < 0 || rowindex >= getRowCount())
                return "";
            Student row = (Student)Main.List.elementAt(rowindex);
            switch (columnindex)
                case 0 : return row.id;
                case 1 : return row.name;
                case 2 : return row.college;
                case 3 : return row.score;
                case 4 : return row.cell;
            return "";
        public String getTitle() {
            return "Student Table";
        private void SetDefaultData() {
            Main.List.removeAllElements();
            Main.List.addElement(new Student("CS041","Keerthivasan M","MNM",95,"9884326321"));
            Main.List.addElement(new Student("CS012","Arun M","MNM",90,"9884825780"));
            Main.List.addElement(new Student("CS019","Balaji S","MNM",79,"9841742068"));
            Main.List.addElement(new Student("CS005","Anand R","MNM",89,"9884130727"));
            Main.List.addElement(new Student("CS045","Manish J","MNM",55,"9841624625"));
            Main.List.addElement(new Student("CS013","Mangal S","MNM",5,"9841961742"));
    }

    In the future Swing related questions should be posted in the Swing forum.
    how can i update my table automatically at run time so tat, my table is
    updated whenever a new object is entered into vector..You don't update the Vector directly. You should be creating a method in your TableModel, called "addRow(...)". This method will do two things:
    a) add the Student object to the Vector
    b) invoke the fireTableRowsInserted(..) method of AbstractTableModel. This will cause the table to be repainted.

  • How can i update lightroom via adobe CC

    Adobe is advising that there is a new version 6 of Lightroom. I can open Adobe Download assistant but it does not show me anything but Adobe Acrobat XI Pro, which I don't want, so I can't download the new version there. When I log into my Adobe CC account it suggests that "Adobe Lightroom is downloading now..." but nothing is happening (over 2 hours). How can I update my version 5.7.1 to the latest version, and why isn't this automatic?

    if you follow all 7 steps you can directly download a trial here:  New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • After upgrading to iOS 8.2 can't update date (correctly (year stuck on 1970). This may be reason I can't get to app store.

    Hi,
    After upgrading to 8.2, I can't access the App Store. After troubleshooting and searching the web, I found suggestions to update the Time setting to automatic, then reset the network settings. The problem is, it won't completely set the Time and Date setting correctly, it is stuck on 1970 and I can't change it automatically or manually. As a result, I can neither downgrade to 8.1 nor upgrade to 8.3 nor update anything else.
    Any suggestions? It is a MD723LLA model (5th Gen, 32 GB with plenty of free RAM).
    Thanks,
    Scott

    Go to Settings>General>Date & Time and make sure calendar is set to Gregorian.
    Downgrading the iOS is not supported by Apple. Next would be to connect to your computer and restore via iTunes. The iPod will go to 8.3

  • Can't update iOS via iPhone

    Since I bought iPhone 6 I never succeeded in updating the iOS using my iPhone... When I hit "Agree" it just freezes and doesn't respond. So now trying to update the iOS to 8.2 via iTunes but it's taking forever to download the update (almost 100 Kb/s) and it says it requires 9-12 hours... I've been trying since two days to download it and it's not working. On the other, it took almost 30 min to download and install the update on my iPad.
    Can anyone tell me what's wrong with my iPhone and why is it too hard to update its software?

    It's probably Apple. They're having a lot of traffic and problems with their services right now. Just try it again in a day or so.

Maybe you are looking for