Unable to post dataset

I am using a QueryDataSet and i am trying to update a certain row.
the code is:
dataset.editRow();
dataset.updateRow(newRow);
dataset.Post();
dataset.saveChanges();
I can see that the row in the database is updated, but the dataset cannot be posted (it returns false for post()).
What is the problem? Am I missing something?
Please help me with this problem, i am going nuts.
Thanks

From JBuilder Help:
public final boolean post()If a new or existing record is being edited, calling post() force the record to be posted. If this method is called for an unposted row, the row will be posted in the StorageDataSet with a RowStatus of INSERTED. If the sort property is not set, the new row will be positioned at the end of the StorageDataSet. If the sort property is set, the row will be positioned according to the sort property setting. If called for an existing row, the RowStatus for that row is UPDATED, if it does not already have the RowStatus of INSERTED. As with new rows, it will be positioned according to the sort property setting
Whan you call dataset.setInt("columnName", Value); the RowStatus for that row is UPDATED.
Method dataset.updateRow(newRow); post updates automaticaly and RowStatus is not INSERTED or UPDATED

Similar Messages

  • Unable to post in MI07 for sales order stock - Error Check Table XMSSA

    Hi,
    When I try to post in MI07, I get the following error Unable to post - Error 'Check Table XMSSA
    Unable to post - Error 'Check Table XMSSA: entry 0000000000010011000 CA01 E 1500004153 000010 does not exist
    It has something to do with sales order stock. But I am not sure what is causing the issue.
    SAP error details:
    Check table XMSSA: entry 000000000010011000 CA01 E 1500004152 000010   does not exist
    Message no. M7001
    Diagnosis
    In table XMSSA the entry 000000000010011000 CA01 E 1500004152 000010   is missing.
    Procedure
    Make sure your entries are correct.
    If table  has not been maintained correctly, please inform your systems administrator.
    Any ideas?

    Hi Guys ,
      I have faced this same issue . Found OSS note 1360365 . The issue is resolved after implementing this note .
    Regards
    Rajmohan G

  • Dataguard Error in logs Unable to post result to client, status = ORA-16531

    Hi,
    we are getting the following error message in the data guard logs:
    ===================================================================
    DG 2012-01-23-17:39:44 0 2 0 DMON: Failed to publish large message. Error is 0xffffff81
    DG 2012-01-23-17:39:44 0 2 0 Status = ORA-00000
    DG 2012-01-23-17:39:44 0 2 0 Severity = ORA-00000
    DG 2012-01-23-17:39:44 1000 2 771584732 Unable to post result to client, status = ORA-16531
    DG 2012-01-23-17:39:45 0 2 0 DMON: Failed to publish large message. Error is 0xffffff81
    DG 2012-01-23-17:39:45 0 2 0 Status = ORA-00000
    DG 2012-01-23-17:39:45 0 2 0 Severity = ORA-00000
    DG 2012-01-23-17:39:45 1000 2 771584747 Unable to post result to client, status = ORA-16531
    DG 2012-01-23-17:39:45 0 2 0 DMON: Failed to publish large message. Error is 0xffffff81
    DG 2012-01-23-17:39:45 0 2 0 Status = ORA-00000
    DG 2012-01-23-17:39:45 0 2 0 Severity = ORA-00000
    DG 2012-01-23-17:39:45 1000 2 771584756 Unable to post result to client, status = ORA-16531
    ===============================================================================
    This is the LIVE system working properly, but i saw this error message in the logs and when i searched lot of sites for the ORA-16531,i got the reply as "COntact Oracle".
    COuld you please anyone incase faced this error in data gurad server, share your experience here?
    Server : Sun SOlaris SParc Netra -T2000
    Database : Oracle 10g
    # FDSCluster info
    Cluster: vs2b
    Member: Member1
    User: fdsuser
    Data Path: /var/opt/fds
    Status: Running
    # srvctl status asm -n `hostname`
    ASM instance +ASM2 is running on node vs2b.
    Guys please gimme some clue why iam getting this error mesage and what need to be done?
    Regards,
    Deeban

    This is the LIVE system working properly, but i saw this error message in the logs and when i searched lot of sites for the ORA-16531,i got the reply as "COntact Oracle".Please log a SR.
    Thanks,
    Hussein

  • Unable to post depreciation.

    Have configured Korea - AA. In AFAB doc is generated in AA for depreciation, but unable to post in FI System is prompting " Enter Section Code".
                                                                                    Message class Message no. Message type                                                                               
    Enter a section code                                                                F5           885          E      
    Errors occurred during creation of FI documents ...                                 AA           766          E      
    Job cancelled after system exception ERROR_MESSAGE                                  00           564          A                                                                               
    Is there someone who have experienced the same error? Please share your views on how to resolve. Thanks Gippy

    Dear Peers,
    Thanks for the fast response. None of the solution were working. As usual error message was misleading us. Right solution was we had to set depreciation and accumulated depreciation account as non-tax relevant - This is Korea specific. After correcting the accounts , was able to post depreciation successfully.
    Error message was bit misleading.
    Once again thanks for all the immediate responses received.
    Regards
    Gippy

  • Unable to posting in serial order(MB31)

    Hi Dear,
    when we are posting in serial order (900000000269) with 22000 quantity then it is unable to posting in 22000 quantity.
    message hasbeen written Exactly 22.000 serial numbers must be selected .
    (instead of 7.173)
    if we are posting order no with below 14000 quantity then it is posted correct. but above 14000 quantity it is unable to post the serial order number.

    TYPES: BEGIN OF ty_mase,
              matnr   TYPE matnr,
              lsernr  TYPE lsernr,
             alpha_numeric TYPE zalpha,
           END OF ty_mase.
    DATA: wa_imase1(18) TYPE c,
           wa_mara       TYPE marc,
           wa_sernr      TYPE risernr,
           v_string(18)  TYPE c,
           v_imase(18)   TYPE c,
           v_month(18)   TYPE c,
           v_year(18)    TYPE c,
           v_sernum(18)  TYPE c,
           lv_name       TYPE c,
           wa_imase(6)   TYPE c,
           lin(10)       TYPE c,
           lv_month      TYPE char6,
           lv_year       TYPE char4,
           lv_datum      TYPE sy-datum,
           it_mase       TYPE TABLE OF ty_mase,
           lwa_mase      LIKE LINE OF it_mase.
    CLEAR : wa_imase1,wa_mara,wa_sernr,v_string.
    CLEAR : v_imase,v_month,v_year,v_sernum,wa_imase,lin,lv_name,lv_datum.
    CALL FUNCTION 'MARC_SINGLE_READ'
       EXPORTING
         matnr = material_no
         werks = plant
       IMPORTING
         wmarc = wa_mara.
    IF wa_mara-sernp = 'S001'.
       lv_datum = sy-datum.
    *  SELECT SINGLE alpha_numeric FROM mase INTO wa_imase1 WHERE matnr = material_no.
    *  SELECT SINGLE alpha_numeric FROM ZPP_SERAIL_NO INTO wa_imase1 WHERE matnr = material_no.
    *  IF wa_imase1 IS INITIAL.
    *    wa_imase = wa_imase1 + 000001.
    *    lv_name   = 'S'.
    *  ELSE.
    *    lv_name   = 'S'.
    *    v_imase   = wa_imase1.
    *    v_sernum  = v_imase+6(6).
    *    wa_imase  = v_sernum + 000001.
    *  ENDIF.
       v_year   = lv_datum+2(2).
       CASE lv_datum+4(2).
         WHEN '01'.
           v_month = 'JAN'.
         WHEN '02'.
           v_month = 'FEB'.
         WHEN '03'.
           v_month = 'MAR'.
         WHEN '04'.
           v_month = 'APR'.
         WHEN '05'.
           v_month = 'MAY'.
         WHEN '06'.
           v_month = 'JUN'.
         WHEN '07'.
           v_month = 'JUL'.
         WHEN '08'.
           v_month = 'AUG'.
         WHEN '09'.
           v_month = 'SEP'.
         WHEN '10'.
           v_month = 'OCT'.
         WHEN '11'.
           v_month = 'NOV'.
         WHEN '12'.
           v_month = 'DEC'.
       ENDCASE.
       SELECT SINGLE alpha_numeric
                     FROM zpp_serail_no
                     INTO wa_imase1
                    WHERE matnr    = material_no
                    AND   z_month  = v_month
                    AND   z_year   = v_year.
       IF wa_imase1 IS INITIAL.
         wa_imase = wa_imase1 + 000001.
         lv_name   = 'S'.
       ELSE.
         lv_name   = 'S'.
         v_imase   = wa_imase1.
         v_sernum  = v_imase+6(6).
         wa_imase  = v_sernum + 000001.
       ENDIF.
       CONDENSE wa_imase.
       CALL FUNCTION 'CONVERSION_EXIT_AUFNR_INPUT'
         EXPORTING
           input  = wa_imase
         IMPORTING
           output = wa_imase.
       DO number_serialno TIMES.
         CONCATENATE lv_name v_year v_month wa_imase INTO v_string.
         CONDENSE v_string.
         wa_sernr-sernr = v_string.
         APPEND wa_sernr TO tab_sernr.
         wa_imase = wa_imase + 000001.
         CONDENSE wa_imase.
         CALL FUNCTION 'CONVERSION_EXIT_AUFNR_INPUT'
           EXPORTING
             input  = wa_imase
           IMPORTING
             output = wa_imase.
         CLEAR v_string.
         CLEAR wa_sernr.
       ENDDO.
       SORT tab_sernr BY sernr ASCENDING.
       DESCRIBE TABLE tab_sernr LINES lin.
       CONDENSE lin.
       CLEAR wa_sernr.
       READ TABLE tab_sernr INTO wa_sernr INDEX lin.
       IF sy-subrc = 0.
    *    SET PARAMETER ID 'MEM1' FIELD wa_sernr-sernr.
    *    UPDATE mase SET alpha_numeric = wa_sernr-sernr WHERE matnr = material_no.
         EXPORT wa_sernr-sernr TO MEMORY ID 'MEM2'.
       ENDIF.
    ENDIF.

  • Why am I unable to post comments from FF. I can do it from IE, but it takes ages. Virus etc. checked.

    Two problems:
    1. I am unable to post comments from FF, but I can do it from IE,
    though it takes ages with IE. Checked for Virus etc. with McAfee,
    ZoneAlarm and Spybot. FF versions 4 later changed to 12. Both
    do not allow - just keeps waiting (tried up to about 1 hour). It
    started about a month ago.
    2. I am unable to attach .pdf files from FF in Yahoo Mail. It works
    from IE - though it takes ages (script?).
    I am using 'NO Script' from FF - but for most cases I have to
    go to 'partially allowed' mode.
    Thanks
    SB

    (1) As instructed I went to 'run' and typed in the code. It took me to 'xuowtwd1.default' folder under 'Profiles'. There were several files stored there and
    I did not know what to do. Next...
    (2). As suggested I went to 'troubleshooting Information' under 'Help' drop down list.
    (3). Followed instructions, but could not find the 'Reset Profile' button.
    (4). It said the instructions were not for my version (V12) of FF.
    (5). Downloaded V. 14.0.1
    (6). Will not install. As mentioned earlier I am using Windows 2000 (p.s.initial
    complaint)

  • Unable to post on our blog or update our website..

    Please Help!!!!
    Ever since purchasing our AE 802.11n, and installing it for our home use (We have a Dual 2GHz PowerPC G5) we have been unable to post updates to our blog that is hosted through our idisk through our .mac account, and also we've been unable to post updates to our website that is hosted through bluehost.com. Please help!!! We desperately want to update our work, and are unable to... Is it something with the AE that won't allow me to connect to either of this to post??? The internet has been working fine and great, and I can connect to my idisk using finder... I have no idea what to do!!!!
    AAAAHHHHHHHHHHHH!

    Try Web Chat (you need applecare)
    http://www.apple.com/support/chat
    Don't know otherwise.

  • Unable to post cash receipt in cash Journal-FBCJ

    HI All,
    I am unable to post cash receipt in cash Journal-FBCJ. It is showing below error.
    Also i have created Number ranges for 01. Please advice.
    "For object CAJO_DOC2 AMZN, number range interval
    01 does not exist"

    Hi Venkat,
    The steps involved in cash journal configuration are defined at one configuration area
    The steps are :
    1. Create general ledger account for cash journal
    Spro > Financial Accounting > Bank Accounting > Business Transactions > Cash Journal >
    Define gl account for cash journal
    2. Define Document type for cash journal
    spro > Financial Accounting > Bank Accounting > Business Transactions > Cah Journal >
    Define document type for cash journal
    3. Define Number ranges for Cash journal
    Spro > Financial Accounting > Bank Accounting > Business Transactions > Cash journal >
    Define number ranges
    4. Set up cash journal
    Spro > Financial Accounting > Bank Accounting > Business Transactions > Cash journal >
    Set up cash journal
    5. Define business transactions for cash journal
    Spro > Financial Accounting > Bank Accounting > Business Transactions > Cash journal >
    Define business transactions for cash journal
    6. Run cash journal
    FBCJ transaction code to use the cash jounal.
    You should first have the opening balance to carry out any transactions.
    Please try this, this should help you. Any updates please let me know.
    Thanks & Regards

  • UNABLE TO POST OF PARK DOCUMENT

    Dear cons
    i am unable to post park document . At the time of post the document the system gives a messagethat " order price quantites leads to incorrect po history. Note that order qty is MT & ORDER PRICE QTY in %. PL. solve my problem so that i CAN POST THE PARK DOCUMENT.
    THANKS
    NIRUPAMA

    Hi,
    Goto OLMR-->Invoice block> tolarence key--
    >see tolarance keys BR and BW and choose dont check or increse the tolarance limits
    Regards
    S.Baskaran

  • Unable to post cancellation invoice to accounting.

    Hello Experts,
    I have one scenario in which the user has done Order ->Delivery ->Invoice -> Accounting documnent is Cleared. he created Cancellation invoice and trying to post the cancellation document to accounting. but system is giving error message unable to post document because foreign trade data is missing. therefore unable to post the document to account. Document flow is as follows.
    Order - Completed
    Delivey -Completed
    Invoice -Completed
    Accounting Doc-Cleared
    Cancellation Invoice - Missing export data
    The invoice and cancellation was created a year before. and user didn't face any problem while posting normal (F2) invoice to accounting. system did not throw the same error message.
    Now, user want to post the cancellation document to accounting. Kindly let me know what can be done in this case.

    Hello
    You cannot cancel a cleared invoice and post it to accounts. if it is alredy cleared then what is the use of cancellation and what would happen to the payemnt received from customer ?
    you can reverse the clearing done for the invocie , then create cancellation document and post it
    you would also have to open the periods one year back !!
    Hope this helps
    Thanks
    akasha

  • Unable to post a MIGO GI 351 against an STO (Stock Stransfer Order)

    Dear all,
    I hope somebody can assist by telling me why I am unable to post a MIGO GI against a Stock Transfer Order (PO Doc type UB).
    Am getting error msg "Purchase order 45XXXXXXXXX is no stock transport order. Therefore, it is not possible to post a goods issue with reference to this purchase order".
    This PO is definately an STO.
    What am doing wrong?
    Thanks in advance.
    Sheena.

    Hi
    Steps involved in Stock Transport Order:
    1.     Stock Transport Mat. - Material Master to be maintain in both the Plants.
    2.     Stock Transport Mat. - Stock to be maintain in Supplying Plant.
    3.     Create PO enter STPO doc. Type (UB), Supplying Plant, item category (U) then Delivering Plant.
    4.     In Conditions Del. Cost to be enter & Tax not applicable.
    5.     Go to MIGO first do A07 u2013 Goods Issue using 351 (Stock in transit) Mov. Type.
    6.     Then do MIGO A01 u2013 Goods Receipt using 101 (GR for PO to warehouse) Mov. Type.
    7.     Use MMBE see the stock in both the Plants.
    Regards,
    senthil

  • Unable to post 101 against process order

    Hi Experts,
    Here ther is a customised report to post 101 where input is process order no. ,batch and qty where user finds error as unable to post 101. kindly help to resolve.

    Hi,
    I sugest you take a help of your ABAP team, since it is customized transaction to post GR , they will debug the program and give the reason were eaxctly issue is why the posting is not happening.
    Once you get the issue , post back to forum if u find difficulty to analyze it.

  • Unable to post - 29th/30th May 2012

    Hi everyone,
    We are currently undergoing some database maintenance. This has now been going on longer than we predicted, which is why there has been an extended period where you are unable to post new messages - we are working to get everything operational again as soon as possible.
    In the meantime, we apologise for any inconvenience caused by this, and we thank you for your patience.
    Kind regards,
    MichaelS
    Community Manager
    If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button.

    As you can tell, the forum is now active again.
    There will be a further short outage in the near future, but we assure you that this will not last anywhere near as long as this one has done.
    Regards,
    MichaelS
    Community Manager
    If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button.

  • Unable to create dataset against OLAP Cube from different server

    Hi guys,
    If I load Microsoft SQL Report Builder on the BI Server, I am able to create a dataset against the OLAP Cube I created on the BI Server, however if I try to run the Report Builder from a different server I get the following error:
    "Unable to connect to data source 'MyOLAPCube'.
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.20.112.82:2382
    A connection cannot be made to redirector.  Ensure that 'SQL Browser' service is running."
    I have had no issues starting the SQL Browser service, however if I try to run it in console mode, I get the following error:
    'SQLBrowser: Warning: failed starting OLAP redirection services with error 1.'
    I have checked online and seen a few similar issues online however I haven't been able to resolve my issue with their resolution.
    Any help is appreciated.
    Many thanks
    Richard

    Yeah there is a firewall running on both servers, however I had opened port 2383 and was still unable to make a connection.  It is using a named instance on the server (servername/instancename) and it is configured to use port 0, so I therefore assume
    it should be using port 2383 by default?  Or as it's a named instance, is the default port 2382? Maybe it would be better to configure it to use a specific port and open the port on the firewall?
    Hi Rfla,
    As you can see on the link below
    http://technet.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Named instances use dynamic port assignments. As the discovery service for Analysis Services, SQL Server Browser service listens on TCP port 2382 and redirects the connection request to the port currently used by Analysis Services.
    So you can open the port 2382 for Named Analysis Services Instance remote connect.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Unable to Post accounting document(URGENT)

    I am unable to push to accounting from the billing document. I created oreder with one line item and in delivery I entered text item, then I did billing but it is not posting to accounting by giving error message "Field Bus. Area is a required field for G/L account xyz 121000. Neither it is allowing to delete the particular text item in deliver nor it is allowing me to cancel the billing document in VF11 it is giving error message that Data inconsistency during processing of document and another error message is Cancellation document is not the same as the original billing doc. I checked everything is fine. How to rectify the error.

    Hi
    This problem can be solved in two way.
    1. Go to T-Code FS00 Enter the G/L 121000 and enter the Company Code  Then Click on Display Mode..then In Create and Bank interest Tab find the Field Status Group.. Aftet that Go TO T-Code Select Field Status Variant as 0001 and click on Field status  Gropus and You will find field status group here.. then Double click on that Field status group.. There in Select Group you have Businees area which made and Mandatory entry .. Make that entry as optional and save it.. then do the billing .. 
    OR
    2. Go to T-Code OBY6 and double click on your company code .. in that screen you have business area financial statement screen which is checked.. you uncheck this one and save it.. then do the billing
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).
    Enjoy Buddy...
    Regards
    MBS

Maybe you are looking for

  • Apple seriously needs to fix the review process

    I know this has been discussed ad nauseam but I'm really frustrated about how reviews are handled by Apple. I mean, what gives? Are they treating us like dirt because A) they don't care because devs are rushing to the iPhone platform or B) they are o

  • ITunes 11.2 for Windows (64-bit) hangs when opened

    Hi I recently updated to iTunes 11.2 for Windows (64-bit) on both my PC & laptop which both run Windows 7 and are apart from this problem with Itunes are very stable. After installing the updates, each time I try to launch Itunes the program will ope

  • Exporting from CS4 doesn't work.

    I edited together some footage, exported using Media Encoder as h.264. The progress bar reaches the end and then nothing. The status remains as "Encoding". In my export folder there is a .m4v file that is 2.68 GB, and .aac file that is 172 MB and a .

  • Has anyone got AST to work on a Lion Server?

    For the Apple Service Providers we need to run Apple Service Toolkit from a server. Has anyone gottten AST to work on a Lion Server? We have 3 locations and have all tried and have gotten different out comes but none have worked. We have chatted with

  • How to add more chart sheets in excel

    I am working on a VI for data analysis. I have data coming from a spreadsheet file, and I used the excel macro example.vi and I was able to produce a single chart(with column 1 as X-axis and column 2 as Y axis). But I have eight columns of data and I