Fire update array header

Hi!
I created my own array that uses my own DataArrayModel (extending AbstractTableModel). The data used in the DataArrayModel comes from a vector within the class.
At first, the vector is empty and there is no array (no header) displayed. When I add the first element in the vector, the array doesn't refresh. The header nor the row are diplayed. I tried to call updateUI and update(null) on the array, fireTableStructureChanged(), fireTableDataChanged() and fireTableRowsInserted(...) on the model and repaint() on the panel containing the array, but it doesn't work. If there is already data in the array and new one is added, a simple call to fireTableDataChanged() works.
How to update the array including its header?
Thank you,
MarieDM

Somehow, I changed code and the following now works:
tableModel.update();
tableModel.fireTableStructureChanged();
tableModel.fireTableDataChanged();

Similar Messages

  • Updating array data in sql database

    HI,
    Im facing problems in updating array data in SQL database.
    As of now, i am able to write an "insert" query and insert array data in an image datatype field. Im using image datatype because the array size is very big(around 80,000 x and y values).
    Althoug inserting data is easy im unable to write a query to update this data.
    Referring to the help of SQL server and Labview database connectivity toolkit, i came across a method of accessing image datatype....using textpointers, which are 16 bit binary values and using the WRITETEXT function instead of the UPDATE function.
    but the problem im facing is that ive to pass the array as a 2d string array in the query as a result the updated array is retrieved in the form of a string a
    nd not as an array. how do I get over this problem?

    Hi Pavitra,
    I'm not very clear on how you have inserted the data into your application, but I do know that when you call the UPDATETEXT or WRITETEXT function you use the TEXTPOINTERS to point to the first location of a 1d array. So, depending on how you've stored the data, you may have problems updating your data if you're looking at it as a 1d array instead of how you originally formatted it. If you are able to successfully access the data as a 1d array, you can use the database variant to data type vi and pass in a string array constant for the data type. This will convert the variant datatype into whatever you specify. You may have to index the row and column of the variant (you receive a 2d array of variant) first before you convert. If possible, can yo
    u provide some more detail and maybe some example code of how you perform the insert and plan to do the update? I can probably give you a better solution if I know how you are formatting the data. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Regarding Updating Shipment Header Details in VT02N tcode

    Hi all,
    I have created a dialog program, inwhich iam populating shipment related details.
    1st Screen: Selection screen fields:
    billing Doc
    Billing date
    2nd Screen: Based on Billing Document number and date, i have to fetch Shipment details using Table Control like:
    shipment number,        Output only
    Forwarding Agent,      input/Output both -
    editable
    Shipment start Date,    input/Output both -
    editable
    Container id.                input/Output both -
    editable
    and i have created a button as "Update VT02N" on second screen.
    When we choose Columns in table control and click on "Update VT02N", then it should trigger VT02N transaction and update the shipment details with following fields:
    1. Forwarding agent
    2. Container id
    3. Shipment start Date.
    So i waht to know any BAPI available to update Shipment Header details in VT02N tcode.
    I have tried: BAPI_SHIPMENT_CHANGE -
    NOT WORKING PROPERLY.
                        SD_SHIPMENT_SAVE -
    NOT  WORKING.
    IF ANY BODY HAS SOME SOLUTION, PL SUGGEST WITH STEPS.
    HELPFUL ANSWERS -
    BETTER POINTS...
    Regards,
    Vamsy

    Hi,
    Have you called the BAPI_TRANSACTION_COMMIT after executing BAPI_SHIPMENT_CHANGE , even then if it is not working
    you can check the FM  SD_SHIPMENT_HEADER_CHANGE.
    Thanks.

  • PO Price update at Header Level

    Hi Friends,
    Our PO Price "Update" button at header was grayed out and only able to do at item level??
    Actually we have a "Post dated" PO and the tax rate was changed now. So, we need to update the tax rate. To update at item level for each and every item is cumbusome.
    Is there any way to update at header level. Or is there any way to update in MASS??
    Or is there any program available to carry out pricing for a bunch of PO's??
    Any valuable reply will be appreciated.
    Regards,
    Dev

    Hi,
    Since the condition type which you are using for taxes are configured to be entered at item level and changes can be made only at item level.
    If you want to update it at header level and the condition type is applicable for all the line item in PO, please change in configuartion so that u can make changes at header level.
    Path SPRO-> MM->Purchasing-> Conditions-> Define price determination process->Define conditon types . For particular condition type which u want to make changes at header level. Thr is a option changes which can be made. Click on check box for header condition.
    Please see that it is config changes and it will get updated wherever this condition type is used.
    Reply if u have any issues still.
    Thanks,
    Ravi

  • Error meesage on UI sCannot insert/update Array without context information

    Hi All,
    As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen .
    Appriciate if any inputs on this . using ADF6 .
    <ApplicationModuleImpl> <doPoolMessage>
    oracle.jbo.AfterRollbackException: JBO-26102: An error occurred after rollback was performed.
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2595)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:4840)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:336)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(ApplicationPoolImpl.java:2026)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.removeSessionCookie(ApplicationPoolImpl.java:879)
         at oracle.jbo.common.ampool.SessionCookieImpl.removeFromPool(SessionCookieImpl.java:711)
         at oracle.jbo.common.ampool.SessionCookieImpl.destroy(SessionCookieImpl.java:650)
         at oracle.jbo.common.ampool.SessionCookieImpl.timeout(SessionCookieImpl.java:697)
         at oracle.adf.model.bc4j.DCJboDataControl.releaseImmediateAMUnmanaged(DCJboDataControl.java:2525)
         at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:2429)
         at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:903)
         at oracle.adf.model.dcframe.DataControlFrameImpl.release(DataControlFrameImpl.java:364)
         at oracle.adf.model.BindingContext.resetState(BindingContext.java:637)
         at oracle.adf.model.BindingContext.release(BindingContext.java:609)
         at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:77)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:720)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:702)
         at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:976)
         at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:69)
         at weblogic.servlet.internal.session.SessionContext.invalidateSession(SessionContext.java:475)
         at weblogic.servlet.internal.session.MemorySessionContext$SessionCleanupAction.run(MemorySessionContext.java:114)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.session.MemorySessionContext.destroy(MemorySessionContext.java:90)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3220)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
         at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
         at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
         at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
         at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
         at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:227)
         at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:198)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentDeactivate(AbstractOperation.java:679)
         at weblogic.deploy.internal.targetserver.operations.RedeployOperation.unprepareDeployment(RedeployOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:120)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.JboException: Cannot insert/update Array without context information     at oracle.jbo.domain.Array.prepareForDML(Array.java:802)
         at oracle.jbo.server.ViewRowSetImpl.prepareLobObjectForBind(ViewRowSetImpl.java:8301)
         at oracle.jbo.server.ViewRowSetImpl.getParametersAsStorageTypes(ViewRowSetImpl.java:5074)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1397)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1303)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1288)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7107)
         at com.tuitravelad.modelbase.bc.base.vo.TuiTravelADViewObject.afterRollback(TuiTravelADViewObject.java:168)
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2570)
         ... 62 more
    ## Detail 0 ##
    oracle.jbo.JboException: Cannot insert/update Array without context information
         at oracle.jbo.domain.Array.prepareForDML(Array.java:802)
         at oracle.jbo.server.ViewRowSetImpl.prepareLobObjectForBind(ViewRowSetImpl.java:8301)
         at oracle.jbo.server.ViewRowSetImpl.getParametersAsStorageTypes(ViewRowSetImpl.java:5074)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1397)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1303)
    Thanks

    Hi,
    this
    +"As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen ."+
    cannot be the full story you tell. The exception is thrown in the context of a prepareForDML, which is called on entities for the Create / Update and Delete use case. I also see a failed rollback. So there must be something you do before this happens during a page refresh
    Frank

  • Publish without mobileme - just update the header?

    Hi
    I already have my own webspace, so have decided against using mobileme.
    I have added and also deleted a page from my iWeb website. I published the new site to a folder, uploaded the new page to my webspace and removed the one I didn't want any more. All that went smoothly.
    So now all that is outstanding is to update the header to reflect the new navigation links (both pages had/have navigation links on the header).
    I have uploaded the new Script folder, and the Media folder. I have uploaded the new Welcome_Files, the welcome.html, feed.xml & index.html. The header still won't show the changes.
    I've double checked that the folder I published to, displays the new header correctly, it does.
    This is driving me mad. Please help !!

    Yes - the South America folder I have is huge - takes forever to upload, and the connection never stays up that long, so it ends up in a bit of a mess. That is my back up plan though.
    I just hoped that ever time I make a small(ish) change I didn't have to upload the whole site again.

  • Oracle.jbo.JboException: Cannot insert/update Array without context informa

    Hi guys,
    i get this error:
    "oracle.jbo.JboException: Cannot insert/update Array without context information"
    on the line:
    t.commit();
    where
    Transaction t=this.getTransaction();
    Thank you

    Hi,
    this
    +"As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen ."+
    cannot be the full story you tell. The exception is thrown in the context of a prepareForDML, which is called on entities for the Create / Update and Delete use case. I also see a failed rollback. So there must be something you do before this happens during a page refresh
    Frank

  • Date update from header to item

    Hello All,
    I have following questions.
    1) in CRM if Item Category doesn't have any Date profile assigned in Item category IMG, does it use header date profile to show the date types in sales Transactions or dates doesn't show up at all on item level.
    2) if Date profile for header and item has same date type assigned eg.,, Requested Delivery date on Sales Transaction TA, if I change date on header does it flow to the same item date type? if not - how to achieve it?
    and there are no date rules assigned to that date type, its a manual entry.
    Thanks
    Chandrashekar

    Hello Thomas,
    Thanks a lot for Replying to my Question, I appreciate it.
    I am using TA & TAN for my sales document and I see Requested Delivery date field on header overview page under Sales order Details AB and also on Item overview page under Details AB, don't know if this was part of standard?
    but the requirement from my customer is they want this date to be updated automatically on item level as soon as it is updated on header, would be great if you could let me know if this is something possible without development.
    Thanks
    Chandu

  • Unable to update the header Pricing Condition of Customer Quotation

    Hi Friends,
    I am trying to change the Customer Quotaion using the 'BAPI_CUSTOMERQUOTATION_CHANGE'.
    I am able to update the Header details and item details,but When it comes to pricing Conditions the Following errors I am getting
    000000: Operations with Conditions of type F not allowed(ZZHD).
    as it is a Header pricing Condition, I am passing Item number as 000000,even I tried to Comment and see,but the same issue.
    Following is are the pricing Condition details that I am passing to BAPI.
    CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
      wa_quote_condition_in-itm_number        = '000000'.
      wa_quote_condition_inx-itm_number       = '000000'.
      wa_quote_condition_in-COND_COUNT     = '01'.
      wa_quote_condition_inx-COND_COUNT    = '01'.
      wa_quote_condition_in-cond_type            = 'ZZHD'.
      wa_quote_condition_inx-cond_type         = 'ZZHD'.
        wa_quote_condition_inx-updateflag      = 'U'.
      lv_zzhd  = ( ls_nd_payment-transport_charg / 10 ).
      wa_quote_condition_in-cond_value     = lv_zzhd.
      wa_quote_condition_inx-cond_value    = 'X'.
      APPEND: wa_quote_condition_in TO it_quote_condition_in,
              wa_quote_condition_inx TO it_quote_condition_inx.
      CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
    Please help in tracing the above issue.
    Regards,
    Xavier.P
    Edited by: Xavier on Sep 7, 2011 10:59 AM
    Edited by: Xavier on Sep 7, 2011 11:00 AM

    Hi prasad,
    Please find the you will find 'condition type paramter in the structers bapicond, bapicondx.
    data :it_quote_condition_in    TYPE TABLE OF bapicond,
             wa_quote_condition_in    TYPE bapicond,
             it_quote_condition_inx   TYPE TABLE OF bapicondx,
             wa_quote_condition_inx   TYPE bapicondx.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
        EXPORTING
          salesdocument                = ls_nd_payment-vbeln
          quotation_header_in          = wa_header
          quotation_header_inx         = wa_header_inx
         simulation                   = 'X'
      BEHAVE_WHEN_ERROR            =
      INT_NUMBER_ASSIGNMENT        =
       logic_switch                 = wa_logic_switch
      NO_STATUS_BUF_INIT           = ' '
        TABLES
          return                       = it_bapiret2
          quotation_item_in            = it_order_items
          quotation_item_inx           = it_order_items_inx
         partners                     = it_partners
      PARTNERCHANGES               =
      PARTNERADDRESSES             =
          conditions_in                = it_quote_condition_in
          conditions_inx               = it_quote_condition_inx
      QUOTATION_CFGS_REF           =
      QUOTATION_CFGS_INST          =
      QUOTATION_CFGS_PART_OF       =
      QUOTATION_CFGS_VALUE         =
      QUOTATION_CFGS_BLOB          =
      QUOTATION_CFGS_VK            =
      QUOTATION_CFGS_REFINST       =
        schedule_lines               = it_order_schedule
        schedule_linesx              = it_order_schedule_inx
       quotation_text               = it_texts
      QUOTATION_KEYS               =
      EXTENSIONIN                  =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Xavier.P

  • Reg:Updating Delivery header conditions

    Hi ,
    We need to update delivery header condition with a condition type(Say: ZXXX).
    is it possible to update the same using some BAPI.
    Please note that it is delivery header condition not item condition.
    thanks

    Hi,
    PO header condition shows the price of all the items seperately when material are seperate. when u have the same material of five line items it will club together and shows it as one.

  • Periodically updating a graph from a continually updating array

    I'm back after a few weeks of playing around with LabVIEW to try to fix it myself. I've gotten pretty far, I think, considering I have only myself and the two books "Learning with LabVIEW 7 Express" and "LabVIEW Graphical Programming" to help me!
    My previous post on this subject can be found here, though it is not necessary to read in order to help me with my current problem.
    With this post you will find 3 VI's that I have created, these are:
    "sub-test.vi" is my first attempt at creating a usefull sub-vi. I have documented it and made an icon for it, but all it does is really save me from a few extra blocks in my program.
    "neat but not working.vi" or ex1: I think it looks neat, but it will not work the way I would expect it too.
    "messy and still not working.vi" or ex2: this one looks more messy, uses a for loop instead of a while loop and is not working the way I want it too either.
    What I am trying to do:
    I have incomming serial data tagged with the channel name. I know how to extract the data (16bit unsigned int) from the header and footer using match patterns and type-cast (see sub-test.vi). I now want to "save" the incomming channel data (for simplicity lets assume that I only have one channel, called T1) in an array called T1. Naturally, I need to be relativly sure that my array actually does store my data (coming in at about 2/second). I then want to display that array in a graph at a set interval, say, every 2 seconds for example.
    So far I have been playing around like a blind person on an open field, feeling my way in the dark. I have tried a lot of solutions that seemed like good and logical solutions to me, but they didn't work, so obviously my logic is flawed.
    In Ex1 I tried to time the graphing by placing the graph and array in a sepparate while loop along with a "Wait until next ms multiple". The reading of the serial port is handled in a separate while loop running at max speed to catch all incomming data. It doesn't work the way I want it too.
    In Ex2 I tried to achieve my goal with another tactic. In this I get the graph to display stuff all the time, but I am unable to time the "refresh" of the graph.
    You may notice that I use the "old" serial port VI's (if you take context help on the Serial Port Init VI you will see a note explaining how it has been replaced with VISA VI's in the functions palette.. I have tried to use those, but I find them to be more difficult to set up. That is, I got it up and running and accepting data, but I got some errors and crashes from time to time, so I guess I used them incorrectly. Anyway, what I want to say is that if you feel that I should use the VISA VI's instead, I will need someone to set them up correctly for me the first time so I can see how it should be done.
    Both Greg McKaskle and Brian Powell provided a lot of help in my first thread at the very beginning of my project, and I hope that someone will be just as helpfull this time around!
    I use LabView 7 (the posted VI's from school) and Labview 7 Express on my personal laptop. (what -is- the functional difference between the two? I have not found anything? The only difference beeing that the Express have a watermark on the VI's?
    All the systems use Windows XP
    Attachments:
    Sub-test.vi ‏16 KB
    neat_but_not_working.vi ‏34 KB
    messy_and_still_not_working.vi ‏46 KB

    aha! I thougth that when I used the "counter" to see how many bytes waited for me at the port, then it wouldn't put lots of 0's in my array.
    I guess I could save the incomming stream to a file (that is a requirement, I need to log the data to a file) and then read the port every n'th second so that I know it contains roughly x samples and then parse and display all of that data. If I manually allocate the port-buffer size to hold the expected number of bytes + a marginal, that could work, right? In which case I should use a case structure (if "graph on" is true, then, say, every second, read the port buffer, parse the data into their respective arrays and graph/chart them).
    I don't need to display all the received data, but if I use a chart I don't have to worry about the buffers since my total data ammount (per. chart) will be less than 45000.
    I will look into charts again, I just tested to pass arrays to a chart, and that works too, with the added benefit that I can, as you say, have a display buffer so that I don't have to worry about that with my arrays. I can pass fixed size arrays to the chart and the chart will keep a (limited) history for me. I think that will work out great. The total number of data points at the end of the 6 hours should be around 43200, menaning I can hold the entire 6 hours in the chart buffer too without it impacting the performance to much.
    So what I need to fix now, regardless, is the "read from port" function so that it does not fill up my array with zeros!
    And I noticed in a test VI that generates 3 constant value arrays and one "random number 0 to 1" array, that if I pass it all to the chart, the data is not displayed as expected. In the included VI, the graph shows 3 straight lines and the random number, while the chart doesnt. In the chart there are no stright lines. Also, the top one in the chart (I have 4 on display, and I run them stacked) has all the lines, while in the other 3 I get one line (channel) just as I wanted. Why is that? I'll look into all the problems myself, but if someone could give a tip that would be great because I am still very much a student and learning by trial and error can be very frustrating.
    Attachments:
    array_and_graph_conondrum.vi ‏48 KB

  • Transfer Order Confirmation not updated in Header level (Table: LTAK)

    Hi,
        We are facing a problem, transfer order header is not updated with confirmation, but TO items are confirmed and resulting these transfer order to display in RF monitor (LRF1 and LRF2 transactions).
    And the other issue is, we are seeing some transfer orders created without item data (in LTAP table) and unable to confirm these TOs since Item data is not available, hence TO header is not updated with confirmation and resulting these TOs to display in LRF1 and LRF2 report.
    I have cleared some transfer orders by updating the confirmation field in LTAK table through debugging. But we see the issue is ongoing and would like to have permanent solution.
    It will be a great help if anyone have solution to these issues.
    Thanks & Regards,
    Nagarjun

    Hi Nagarjun,
    do you have any Z code in-between ?  Did you check OSS notes ?  Did you apply all patches to your system ?
    What you are describing is something usual when Z programs were developed, you should provide more details for analysis.
    Many thanks,
    Enrico

  • Cannot update batch header during MIGO GR using BADI MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up. I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent. I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk

    used BAPI_CHANGE_BATCH in method CHECK_ITEM of  MB_MIGO_BADI

  • Cannot update batch header no matter how I try in MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up.  I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent.  I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk
    Edited by: Larissa Maryniuk on Feb 7, 2008 4:34 PM

    Have you tried using 'BAPI_BATCH_CHANGE'?   I have used this FM, but not in the MIGO exit.
    Update the batchattributes and the corresponding x parameter.   There is a field for updating the inspection date.  I wonder if it is failing to update for you because the batch is not yet created.  Are there any error/warning messages returned from your FM's?

  • Cannot update batch header MIGO GR in MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up. I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent. I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk

    i did not get total req .
    but i came to know that u want to update batch.
    rt .use this i did in this.
    MB_MIGO_BADI
    use this method  LINE_MODIFY
    where u can modify batch field.
    and if u want to modify batch characteristics
    use
    MBCFC004
    in this
    EXIT_SAPMM07M_004
    if nay clarification plz reply.

Maybe you are looking for