Help on Database submit when mass document change

I called function ''FI_ITEMS_MASS_CHANGE'' to change voucher text, and wait 1 second,
The problem is I can't make sure all of the items are changed, just most of them are changed!!!!
code is as follow:
CALL FUNCTION 'FI_ITEMS_MASS_CHANGE'
      EXPORTING
        s_bseg     = ls_bseg
      IMPORTING
        errtab     = lt_errtab[]
      TABLES
        it_buztab  = lt_buztab
        it_fldtab  = lt_fldtab
      EXCEPTIONS
        bdc_errors = 1
        OTHERS     = 2.
    IF sy-subrc NE 0.
    ELSE.
      WAIT UP TO 1 SECONDS.
    ENDIF.

Actually, it runs monthly.
But client will challenge you if it takes 1 or 2 hours.
What I need is a method to determine DB commit finished. then i continue to the next item.
for example,
item 1, 2, 3 ,4 takes 5 seconds, 8s, 3s, 6s
I want to finish it in 583+6 = 22s
if I wait for 8s then I needs 32s.
And the actual time of each submit need only about 0.01seconds.

Similar Messages

  • Help using app_standard.event(when-tab-page-changed')

    Hello ,
    I need to create a form with the following requirements . There is one content canvas which contains a tabbed canvas and on this there are two stacked canvases .
    The problem is that when I compile my form and ftp to oebs , I cannot view the tab pages on the canvas .
    I see only my the fields displayed in the first tab page without the 'tab pages'.
    How do I solve this issue please ?
    My when-page-page-trigger contains the following :
    BEGIN
         APP_STANDARD.EVENT('WHEN-TAB-PAGE-CHANGED');
    if name_in('system.cursor_block') = 'XX_ERROR_MANAGEMENT' then
    if not form_success then
    -- Revert tab to prior value and exit
    set_canvas_property('CAN_INT',topmost_tab_page,name_in('system.tab_previous_page'));
    return;
    end if;
    -- Move to first item on each tab
    if target_canvas_name = 'CAN_INT' then
         SHOW_VIEW('CAN_ONG1');
    go_item('XX_ERROR_MANAGEMENT.INTERFACE_TYPE');
    else
    show_view(target_canvas_name);
    end if;
    END IF;
    END;
    Any help will be much appreciated . Thanks .

    bump

  • Automatic submit when popuplovkey item changes

    good morning every body.
    In an updateable report, i have a popupkeylov item.
    i want the page to be submited when the user changes the value of the item.
    in the element attribue of the report item i set the following : onChange="javascript:doSubmit('POP');"
    and i have created an after submit process on a condition:
    request=POP, I do some operations in this process.
    and I have a redirect branch to the same page.
    Nothing is happening when the value of the item is changed?
    any idea for this issue ?

    Hi Tamas,
    you can do this by using a little bit javascript.
    Add onchange="javascript:doSubmit('SUBMIT');" to your item in section "Element => HTML Form Element Attributes".
    In Apex 4.x you should rather use: onchange="javascript:apex.submit('SUBMIT');" or - even better - configure a dynamic action!
    Regards,
    Jens

  • Notification when DMS document changed ?

    I need to send a notification mail to some specific users when a DMS document got changed.
    I am planning to use SWE2 to find corresponding event for linkage with workflow to send mail.
    Can any body send me list of events for this ?

    Thanks Naimesh,
    Problem solved
    Here is the details
    Object Category BOR object type
    Object Type     DRAW
    Event           CHANGED
    Receiver Type   DOKST
    Receiver Call                  Function Module
    Receiver Function Module         SWW_WI_CREATE_VIA_EVENT
    Check Function Module            CVWF_EVENT_REC_DOKST_CHECK
    Receiver Type Function Module    CVWF_EVENT_REC_DOKST_GET
    Destination of Receiver

  • C020 errors when trying to open documents after Mass Document Operation

    I am in the process of changing security rights (adding a user to all
    documents) using the Mass Document Operation, the following is now
    occuring:
    - A user tries to open a document in the Library that was in process
    of MDO.
    - User gets a C020 error and is unable to open the document.
    (note - Document can be viewed with a R-Click on the
    Doc Reference)
    - The backend POA agent (version 6.5.7 by the way) shows the following
    error:
    Error: Numeric overflow (GT upper bound) converting
    to numeric type [C020] User:
    I unloaded and reloaded the POA agent (NetWare) - no change
    I have run Validate, Recovere & Rebuild System Maintenance on the post
    office databases. no change
    I am in the process of an Analyze/Fix Library with the following items
    checked:
    Verify Library
    Fix document/version/element
    Verify document files
    Validate all document security
    Synchronize user name
    Any ideas? I haven't ever seen this before.
    Thanks in advance,
    Marshall Major

    I just found a TID that I am going to try
    http://www.novell.com/support/search...200%2049647837
    Error: "C020" opening documents
    (Last modified: 12Feb2003)
    This document (10057141) is provided subject to the disclaimer at the
    end of this document.
    fact
    Novell GroupWise 5.5
    symptom
    Error: "C020" opening documents
    Can't open documents on a specific partition
    Documents that end in a specific number such as "2" cannot be opened.
    Documents 2, 12, 352, 5892, etc. give C020 errors.
    Any operations that require a write operation to the specific
    partition will fail.
    Property field changes, opens, checkin's or checkout's fail.
    The Quick Finder Indexer is not running or completing.
    cause
    The database can only track 65575 changes in the index queue. If the
    indexer has not run, the limit can be reached. The partition is shut
    down so that changes are not made without being indexed.
    fix
    Run the indexer on the POA. When the indexer finishes, the partition
    will open back up.

  • When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?

    When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?
    I need to be able to send it to a PC in order to print it.

    Hard to say what is happening without examining the file.
    If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
    Peter
    ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version.

  • Help: photoshop cs4 crashes when i drag a layer under or over another layer/try to change layer orde

    help: photoshop cs4 crashes when i drag a layer under or over another layer/try to change layer order
    this problem orcurred suddenly after having used the programm for years.
    i tried to reinstall cs4 and install all available updates, but it di not help...
    please help ! thanks

    What is the exact version and what’s your OS?
    What does the crash report state?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)

  • Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. what now?

    Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. What now?

    I am getting this error message as well. I have just downloaded Lightroom recently. I try to click on Lightroom / preferences....and nothing happens. I tried to uninstall and it is greyed out so I can't do that either. Suggestions? Please help?

  • I have cc but lights room is coming up with a error ,An error occurred when attempting to change modules. can you help please

    i have cc but lights room is coming up with  ,An error occurred when attempting to change modules. can you help please

    Error changing modules | Lightroom
    Mylenium

  • Help with "An error occurred when attempting to change modules"

    Hi! I installed LR v2.6.632038 and I received " An error occurred when attempting to change modules" I could not do anything to make it work so I uninstalled it and then tried to reinstall. I never got to enter my serial number so I do not know if it ever uninstalled completely or if I needed to??? I have Mac OSX version 10.6.2 if that helps   Thanks! Kim

    Error changing modules | Lightroom
    Mylenium

  • Just purchased Lightroom 5 from Best Buy, Registered, installed...but cannot open it due to the error message "An error occurred when attempting to change modules"..Please help.?.

    error message don't allow me to open Lightroom 5. "An error occurred when attempting to change modules"...Please Help..!

    I'm in the same situation exactly. I would like to delete, uninstall LR, and then reinstall to see if that will go anywhere. Will I loose my option for a second computer install later???

  • Send a Change Document entry when an equipment change its status (IE02)

    Hello experts,
    In the transaction IE02 (Change Equipment), when a user changes the equipment status, for instance, from Active (ACTV) -> Inactive (INAC) when the SAVE button is pressed I need to post a Change Document entry (CDHDR and CDPOS).
    I've already identified the user exit EXIT_SAPMIEQ0_002 which is triggered when the SAVE button is pressed in IE02 transaction. I cannot read the new status value.
    At that moment I can read the old status (which has been change until the user exit finalized) but I don't find a way to check if that old_value <> new_value.
    Does anybody knows a way to achieve this?
    Thanks in advance,
    CL

    Stauts changes are tracked in the table JCDS and not in CDHDR and CDPOS.
    You will have to check the box for Change documents in the configuration for equipment status ( this is done on equipment type's status profile ). The status change tracking will not happen until it has been set there.
    Thanks,
    Srihari

  • Event trapping when the active document changes

    Hi all,
    Apologies if this question has been asked / answered before. I don't get out much.
    Is there any way, in ExtendScript, to get an event when the user brings a different document to the front? Something similar to the "beforeOpen" event, but which fires when the activeDocument changes?
    Seems to me that something like that would be quite handy. But then, maybe I'm just odd.
    Thanks,
    Chuck

    Well, I'll answer it...
    There is no way to do it with ExtendScript and InDesign alone.
    You can do it (and I do in one app I've written) with APID from Rorohiko. In fact, I use APID as my primary event engine.
    Events I routinely use from APID:
    subjectCreated - when a frame or something has been created.
    subjectDelete - same, but
    subjectModifed - when an object has been modified
    subjectModifed-text - when a text object is reflown
    docSelected
    docDeselected
    selected - a page item is selected
    deselected - a page item is deselected
    Regards
    Bob

  • Mass upload for info records when price gets changes

    Dear All,
    How to do Mass upload for info records when price gets change.
    Regards,
    Bhargav

    Hi Bhargav,
    Please upload the present price (Map) by  LSMW . When you are doing the transactions  then automatically by selecting option info update price will be updated the  info record in Order Price history
    Regards
    M B Raju

  • NOTE OSS 757361 - Additional data records in BW when document changed

    Hi developers,
    you can give me clarifications on this part of note.I have not understood where do enhancements. I must inserted code in EXIT_SAPLRSAP_001 for the  fields added for the procedure delta when the field is modified?
    This USEREXIT_SAVE_DOCUMENT_PREPARE where must be checked?
    Solution: Check the user exits of the SD and LE (such as the        
    USEREXIT_SAVE_DOCUMENT_PREPARE) for the following or similar code:  
    if XVBAP-UPDKZ is initial.                                          
      xvbap-updkz = 'U'.                                                
      modify xvbap.                                                     
    endif. 
    Thanks and regards
    Domenico

    Hi Domenico,
    this note is relevant only if you have some problem (duplication of some records, wrong after image and so on...) when you upload your delta in Logistic Cockpit area AND you enhanced your LIS communication structure (MCVBAP and so on...) thanks to some LIS user-exit (USEREXIT_SAVE_DOCUMENT_PREPARE, that is, specific code that fill your added fields when a document is saved
    In other words, this note is not relevant if you are doing some enhancement in the transfer structure, because you cannot, from there, manage any delta mechanism and image!
    Let me know if you need some more explanations..
    Hope it helps!
    Bye,
    Roberto

Maybe you are looking for

  • File cannot be deleted from desktop?

    I have an excel file on my desktop named "77B72200" that will not move to the trash! It's driving me nuts and it won't even move into another folder or anything, it is completely unresponsive. I am almost positive that it appeared there when I downlo

  • How to open and use mac outlook email file on pc

    I recently moved from mac to widnows platform. I have my emails exported from mac in a file and now when I try opening the file on windows pc, it simply does not recognize it as a valid file. what shall be done to get emails back?

  • IPod sync question - how to restore playlists

    I have a new MacBook Pro and Geek Squad trensferred my music but not my playlists. Can I restore them from my iPod?

  • Nginx client_ip in log file, with ssh -R Port forwarding

    Hi, everyone! First, I run a nginx server M1 (in my offce)  behind a router R1 and M1's IP addr is 192.168.5.126. I set nginx's log format like this: log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$

  • Why is the Lion Recovery updating downloading slowly by my ethernet but fast on my wifi?

    Came home tonight and immediately started updating the house macs. First, my imac.  I decided to limit the download first to the Lion Recovery Update.  It is 452MB. My imac connected by ethernet is reporting anywhere from 30 minutes to an hour.  Goin