Auto update of Ztable when ever BSID or BSAD tables updated

Auto update of Ztable when ever DB table updated     
Hi experts
I want my Ztable get updated automatically when ever a record is created or updated in BSID or BSAD tables.
Here clear requirement
Generally using Company code & Allocation number  ( 18 char ) my programs access BSID & BSAD tables it is taking very long time for execution almost more than 30 minutes ( data in millions ).
Step 1.
I created a new Ztable with limited fields Company Code, Customer, Document, Allocation Number and Posting date.
Step 2.
Before look into BSID or BSAD my program searches Ztable for Customer number & Document number using Allocation field and Company code.
Step 3.
Once get the Customer & Document numbers accessing BSID & BSAD table is very easy (now just taking less than 1 minute).
Created a new program to update Ztable every day but BSID and BSAD are live table so I want my Ztable get updated immediately when any entry posted in BSID or BSAD
Please help me
Satya
Singapore

You need to check what is the procedure (T-Code) from which the data gets updated into these tables.
For example
when we craete a material from MM01 the data gets updated in the corresponding table i.e. EKPO.
In same way you need to find the process and then you can use BTE (Busineess transaction events) for that process. BTE are only for FI module and these tables are also related to FI .

Similar Messages

  • I'm having 10.8.3 and today 17-Apr I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same proble

    I'm having 10.8.3 and today 18-Apr Thursday I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same prob.

    Make sure that the plugin is not automatically disabled in Firefox:
    Clinton

  • Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Do you have any restrictions for purchasing apps on the phone? Settings > General > Restrictions. If you have a Mac computer or another Apple device can you purchase things in the App Store using the same Apple ID on something else?

  • I cannot update  iTunes because when I run the Apple Software Updater, it says "'iTunes   QuickTime' has an invalid signature. It will not be installed." If I try downloading only it says "'iTunes cannot update.  Invalid signature.

    I cannot update  iTunes because when I run the Apple Software Updater, it says "'iTunes + QuickTime' has an invalid signature. It will not be installed." If I try downloading only it says "'iTunes cannot update.  Invalid signature.  Can someone help?

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Windows forums.
    Regards.

  • How to avoid updating the data when ever we refresh the page

    I want to avoid updating the data to the server when ever we refresh the web page.
    Thanks in advance.

    You could potentially do it by using a redirect instead of a forward to the result page.
    That will essentially do it in two requests. 1 to request the save, another to display the result of the save.
    If the user then requests a refresh, it won't incur a save call.
    Of course, that doesn't stop them going back in the browser, and refreshing that page, but it at least makes it a little harder.
    Cheers,
    evnafets

  • TS1424 MY Ipad shows 2 updates available but when I try to open the update section of the app store it does nothing.

    I have an IPAD2 which has been great however last week I could see I had two updates and I when to the app store to process those updates and when I
    did the program just sat there.  I opened the other tabs and I downloaded a program.  I have shut down completely and rebooted.  I went to the itunes store on my pc and applied updates to that. Everything seems to work except the download updates tab.  Any suggestions?

    It seems Apple is having some issues at their end. There have been hundreds of posts on the forum with the same problem.

  • Software Updater comes on, states that I urgently need this update. Yet when I agree the s/w update server connection goes on an on but do not seem to connect. What is the problem?

    I have a Dell PC. This Software Updater comes on saying I need to update . I states that I urgently need this update! Norton says okay. I go ahead and approve. Then it start...updater connecting to update server... and it goes on an on and on. until I turned it off.
    I have done that several times. I have even left it on to go on about my business. But apparently it hasn't unloaded anything because it keeps coming back on when I start up my computer.
    Is this your updater?

    If there are problems with updating then best is to download the full version and uninstall the currently installed version.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • Trouble creating a open items report (BSID and BSAD tables)

    Hi guys,
    im creating a report that must display open items for an especific date, and i do it very well with a query from BSID table.
    The problem comes when u use a date on the past, example last week.
    if u do that, the items are now closed and are no longer stored in BSID table, so i think that they must be now in BSAD table, but i dont know how to relate wich ones are recently closed...
    i also tried to do a query from BSAD with augdt >= last week date, and i almost get the items that i needed(this items plus the ones from BSID), but is not exactly because u can close an item with a date in the past..
    is there any way to relate that 2 tables, or what exactly happens when an items change from bsid to bsad??
    any ideas?

    Hi;
    I think the best way to recive the necessary information is using logical data base DDF.  You can use report RFITEMAR to see how use the logical data base.
    Some months ago I've read the data in my report in following way:
    1. make Z-copy of report RFITEMAR
    2. in Z-copy after end-of-selection insert
    export it_pos to memory id 'POS_TABLE'.
    3. In your report write a form similar to my form below:
    *&      Form  submit_zrfitemar
    FORM submit_zrfitemar  tables    rkunnr  type trgr_kunnr
                                     it_pos  type it_rfposxext
                           using     ibukrs  type bukrs
                                     idatsd  type sy-datum.
       data: rspar    type table of rsparams,
             l_rspar  type rsparams,
             l_pos    type rfposxext,
             akunnr  type kunnr.
       l_rspar-selname = 'DD_KUNNR'.
       l_rspar-kind    = 'S'.
       loop at rkunnr.
           move-corresponding rkunnr to l_rspar.
           if l_rspar-high = ''.
               l_rspar-option  = 'EQ'.
               else.
               l_rspar-option  = 'BT'.
           endif.
           append l_rspar to rspar.
        endloop.
        clear: l_rspar.
        l_rspar-selname = 'DD_BUKRS'.
        l_rspar-kind    = 'S'.
        l_rspar-sign    = 'I'.
        l_rspar-option  = 'BT'.
        l_rspar-low  = ibukrs.
        append l_rspar to rspar.
        clear: l_rspar.
        l_rspar-selname = 'PA_STIDA'.
        l_rspar-kind    = 'S'.
        l_rspar-sign    = 'I'.
        l_rspar-option  = 'BT'.
        l_rspar-low  = idatsd.
        append l_rspar to rspar.
        clear: it_pos[].
      submit ZRFITEMAR
      with selection-table rspar
      and return.
      import it_pos from memory id 'POS_TABLE'.
    ENDFORM.                    " submit_zrfitemar
    You find the necessary data in table IT_POS.
    JS
    Edited by: John Smith on Oct 9, 2008 5:42 PM

  • I have an iPod  that when I try to update the Apps that are shown to need update-ding and when I indicated to have them updated I get a message "can not connect to App store". The ipod has been updateing until recently. I came still down load new App  and

    I submitted my question but ran out of room in the box. I can still down load new Apps to my iPod touch AND update them but CAN NOT update the older Apps. that was on the iPod before the problem.
    I have been to Three Apple Service Center stores - In Tulsa OK, Oklahoma City OK, Tacoma WA and NO ONE could tell me what is the problem OR what to do to correct it.  The Tech then tells me to get hold of the main Apple Service Center number. I tell them I already have and they still recommend going to them.
    I have erased all information and started over as a new iPod Touch but the problem persists.
    I have called the Apple Service number and they tell me to do everything that the the Tech's at the Apple Service center stores tried to do but DID NOT work.
    After I spend a lot of time on the phone, I get told to make an appointment at a Apple Service center store so they can physically have hands on assistance. Come on folks I have already done that and they were of no help. When I say that, I get told that may be the only way I can get the problem resolved.
    Surely there is someone out there that knows something about what is happening OR not happening with my iPod and provide a solution.
    Thank You for your concideration

    I submitted my question but ran out of room in the box. I can still down load new Apps to my iPod touch AND update them but CAN NOT update the older Apps. that was on the iPod before the problem.
    I have been to Three Apple Service Center stores - In Tulsa OK, Oklahoma City OK, Tacoma WA and NO ONE could tell me what is the problem OR what to do to correct it.  The Tech then tells me to get hold of the main Apple Service Center number. I tell them I already have and they still recommend going to them.
    I have erased all information and started over as a new iPod Touch but the problem persists.
    I have called the Apple Service number and they tell me to do everything that the the Tech's at the Apple Service center stores tried to do but DID NOT work.
    After I spend a lot of time on the phone, I get told to make an appointment at a Apple Service center store so they can physically have hands on assistance. Come on folks I have already done that and they were of no help. When I say that, I get told that may be the only way I can get the problem resolved.
    Surely there is someone out there that knows something about what is happening OR not happening with my iPod and provide a solution.
    Thank You for your concideration

  • Trying to sync my new 5 and it says my iTunes needs to be updated.  however when i click on "search for updates" it says i am up to date???

    I am trying to sync my new 5 but iTunes tells me i need to upgrade to 10.7.  however when i click "search for updates" it says this computer is up to date?

    Hello KYaple,
    It sounds like there are permissions issues with iTunes. When you sync it may be trying to copy purchased items from your iPhone to your iTunes. Check out the article below to try and resolve it.
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HT1353 I have the 2nd generation IPOD touch.  I have always been able to use apps such as Facebook and Pinterest.  However now it says I must have IOS 4.3 update requirement bit when I check for updates on ITunes when hooked up to computer says updates co

    My IPod touch 2nd generation always was fine with apps such as Facebook and Pinterest but now they say it needs updates IOS 4.3 but when hooked up says updates are complete and now I can't use some apps like Facebook.

    To my knowledge the second gen iPod touch cannot update past 4.2.1.  App developers are probably requiring newer versions of iOS for their newest apps.  Sorry, but your device is becoming incompatible.

  • My Ipod touch 3g won't update to ios 5, i get error code 3194, and i checked what that meant. It said i needed to update Itunes, and when i tried, it was already updated. My Ipod is running 4.3.5 HELP!

    Please Help!

    iTunes only allows you to update to the latest iOS which is 5.0.1.
    Disabling the computer's security software (firewall and antivirus) during the download and update usually resolves the problem.

  • Table update from workflow

    Hi,
      I have a requirement to start workflow when table entry or modification is made. And in one has to authorize for the data. then only data should be saved in data base. if manager rejects data should not be saved in data base.
      What i have done till now is i have generated a table maintainence and created and new (using business objects )event to raise. (writing a FORM). So when ever we create new table entries event is raised. And i am using this event to trigger my workflow.
      I have two problems
      first one. this event is only getting trigged if i make entry to table through se11 and create new entries option. if i am using a program to update the table then event is not getting trigged. Is there way i can make this event to trigger even if i insert  data to this table from any where?
    Second problem
         i want to complete my workflow. based on manager decision only database should be commited or rolled back.
      if any one needs further details regarding problem reply.
    Thanks in advance
    Mohan

    Hi,
    I also think you should use a temporary table where you store the data you want to insert into the database before the approval is done. You create the maintenance view on this temp table and start the workflow from there. Once manager approves the new entry / change, workflow automatically updates the permanent table and deletes the record from the temp one.
    You can use the change documents, maintenance view event routines or maintenance view screen logic to trigger the WF. But I`m not aware of any tools to capture a database change done by a direct update, so if you also have programs directly updating the database table, you have to trigger the workflow start event explicitely in those as well.
    Regards,
    Krisz

  • Performance Issues on BSID and BSAD

    Hello guys,
    for a custom report I need the balance data of a couple of vendors for different keydates. Therefor I tried to use function 'BAPI_AR_ACC_GETKEYDATEBALANCE' which works fine but takes a lot of performance time when getting data for more than one vendor or more than one key date. The function mainly reads BSID and BSAD tables which is enough for my report, so I tried to get it faster with creating my own select.
    When looking at the popular SAP boards you get different opinions about the best way for the performance in SELECTS. So can you please tell me what you think would be the best way for tables BSID and BSAD?
    I got the key fields company code as parameter and customer as range. I also need only normal documents (BSTAT = ' ') and only documents until one or more keydates as range (BUDAT <= keydate).
    So what would be the best way?
    (1) Moving the whole BSID/BSAD fields into local BSID/BSAD table or just the fields that I need (see example)?
    (2) Doing one SELECT for every vendor no. in the range or getting all vendor no in one select?
    Any other performance hints? :-)
       SELECT bukrs kunnr budat shkzg dmbtr pswsl pswbt FROM bsid
         INTO CORRESPONDING FIELDS OF TABLE gt_bsid
         WHERE bukrs EQ pa_bukrs
         AND   kunnr IN gr_kunnr
         AND   budat LE pa_stich-high
         AND   bstat EQ ''.
       SELECT bukrs kunnr augdt budat shkzg dmbtr pswsl pswbt FROM bsad
         INTO CORRESPONDING FIELDS OF TABLE gt_bsad
         WHERE bukrs EQ pa_bukrs
         AND   kunnr IN gr_kunnr
         AND   budat LE pa_stich-high
         AND   augdt GT pa_stich-high
         AND   bstat EQ ''.
    Thanks a lot!
    Regards
    Michael

    Almost always prefer one SELECT to a SELECT IN LOOP.
    Another solution could be reading also some total table :
    KNC1 (no special G/L, Balance Carried Forward + total DB/CR per period, one record per Fiscal Year)
    KNC3 for special G/L (one record per fiscal year and special G/L indicator, only one total per year)
    Only restrict access to BSID/BSAD for dates that are not end of period (or don't allow those...)
    NB: From my experience, you can keep the INTO CORRESPONDING, just define a structure with only required fields, the actual generated SQL statement will only ask for those fields (read also Why "INTO CORRESPONDING" is much better than its reputation)
    Regards,
    Raymond

  • I have 6 updates on my Iphone but Itunes says all is updated even while telling me on the app tab that 14 apps needs updates? what's wrong!

    So yeah here it is:
    Iphone - 6 apps need to be updated
    Itune stores (pc) - 14 updates availables
    But when I click for the 14 updates it says no updates are available.
    I dont want to use my photo data to update and 2 of them need are too big and need to be updated by Itunes.
    Any solutions?

    Make sure you are connected to the Internet, also the 6 updates on the iPhone can be updated directly to the iPhone, for large files you will need to be connect to a wi-fi connection. 

Maybe you are looking for

  • Renaming Servers in CR Server XI R2

    Hi, Currently, the cms name and the machine name are different. We copied over the vmware that had CR Server XI. First time I ran it, everything works fine. CMC and InfoView comes up fine. However, when I tried to run a report, I get an error saying

  • I have the iPad 3 but not the newest version and it is overheating.

    Have owned this iPad for at least 5 months and recently it has been overheating. Once it got so hot I could not turn it off.  The touch screen would not work and I could not even turn it off using the switches or buttons( if that is what you call the

  • Portlet with MS AJAX framework - how do I get it to work?

    Just curious if anyone knows/has a successful working portlet with MS AJAX toolkit controls? Any samples would be greatly appreciated!!!

  • How to enable "ValidateXML" for a specific Composite/process in 10g BPEL?

    Hi , In *11g*, from em console, Its possible to enable/disable the XML(payload) validation both at server & just for a specific composite/process level. In case of *10g*, from the BPEL console, we could only enable/disable the XML(Payload) validation

  • I need a template for Elements 7.

    Hi I need a template. A4 sheet with 4 photos on it. When trying to put Text file with new template into the Layout folder, I get a message that access is denied. Help!! Diana