CALCULATE_DIFFERENCE  Logic command purpose and usage

Experts,
Recently we are facing the issue of send governor hanging issue and it's causing one of the appserver goes down automatically when users send data using input schedules ,to fix this kind of issues one of the experts suggeted us we should use CALCULATE_DIFFERENCE logic command in the default logic, this is not a permanent fix though but if we use this command the send governor will be active until it reaches the certain no.of sends, for example 20 to 30 , after that we need to manually restart the send governer service.
But as far as I know the purpose of this  CALCULATE_DIFFERENCE is at what time delta value should calculated i.e either execution of the logic or posting of the values.
In general when do we use this CALCULATE_DIFFERENCE command? is this command mandatory to include in the logic?
what are the impacts of this command if we include in the logic as currently we are not using command in any of the logic?
How does CALCULATE_DIFFERENCE  command affect the send governor service ?
Is there any relation ship between CALCULATE_DIFFERENCE   command and send governor service ?
Any help will be apprecited greatly! Thanks

Hi Krishna,
The CALCULATE_DIFFERENCE option allows you to turn off or on the write back by difference.
Here is some further info:
When posting values, BPC needs to write in the database just the difference between what is already stored and the new value. The calculation of the difference takes time. If such calculation is performed directly by the Logic Module at the time of executing the logic, it is possible that the subsequent posting time will be reduced. This is what the logic module does by default. To override the default, the following instruction can be entered in a logic file:
*CALCULATE_DIFFERENCE = 0  (default is 1)
When the calculation of the difference is turned off, the write engine is instructed of the change in behavior and takes over the job of calculating (and posting) the difference, so that the final values will be correct. The main reason for using this instruction is that the debug file will show the values exactly as the user expects them to look like in the fact tables.
Thanks,
John

Similar Messages

  • What is Purpose and Usage of "Stock Transport Order" in Purchase Order.

    Sap Masters,
                       I have Created One PO Order with type <u><b>UD-Stock Transport Order</b></u>.
                       But I didn't know, How to Process in T_Code <b>VL10B</b>.
                       Kindly, Describe What is the Usage of VL10B Transaction ? And How to Proceed
                       it ?

    Hi,
    A number of procedures are available to enable you to transfer materials from one plant to another:
    -> Stock Transfer Between Plants in One Step
    -> Stock Transfer Between Plants in Two Steps
    -> Stock Transport Order Without Delivery
    -> Stock Transport Order with Delivery via Shipping
    -> Stock Transport Order with Delivery and Billing Document/Invoice
    In Purchasing, you can request and monitor a stock transfer with a:
    -> Stock transfer order
    -> Purchase requisition
    -> Scheduling agreement
    When a stock transfer involves two company codes and the issuing of a bill, you do not create a stock transport order but a standard purchase order
    (see also Cross-Company Stock Transfer).
    Where to find information about this?: See SAP-Library
    -> MM
    -> IM (inventory mgt)
    -> managing special stocks
    -> stock transfer in purchasing
    Best regards
    FSA

  • Logical command in ABAP.....Urgent

    Hi,
      i am pretty new using ABAP program so i neeed help urgently. i am trying to move a file on the application server from one directory to the other and i was using the open dataset function to do that. but the file i am trying to move is pretty big and because i am using internal table to store, it is causing problems with the space.
      i have consulted the basis guys and they have managed to create a logical file for copying from one directory to the other on the application server. to help you furthter. i am enclosing the mail sent to me.
    I have created a logical command which should copy the file from one location to the other but you need to pass it the source dir and file name and the destination dir and file name.
    The logical command is ZCOPY and uses cmd /c copy
    Copies one or more files to another location.
    COPY [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
         [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
      source       Specifies the file or files to be copied.
      /A           Indicates an ASCII text file.
      /B           Indicates a binary file.
      destination  Specifies the directory and/or filename for the new file(s).
      /V           Verifies that new files are written correctly.
      /N           Uses short filename, if available, when copying a file with a
                   non-8dot3 name.
      /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.
      /-Y          Causes prompting to confirm you want to overwrite an
                   existing destination file.
      /Z           Copies networked files in restartable mode.
    The switch /Y may be preset in the COPYCMD environment variable.
    This may be overridden with /-Y on the command line.  Default is
    to prompt on overwrites unless COPY command is being executed from
    within a batch script.
    the problem now is i have no idea about how to use the logical command. can any one help me.
    Thank you,
    Ravi.

    If memory is not an issue, then there should be no reason why this should not work.
    report zrich_0001.
    parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.txt',
                d2 type localfile default '/usr/sap/TST/SYS/Data2.txt'.
    data: itab type table of string with header line.
    start-of-selection.
    * Read old file
      open dataset d1 for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset d1 into itab.
          if sy-subrc <> 0.
            exit.
          endif.
          append itab.
        enddo.
      endif.
      close dataset d1.
    * Write to new file
      open dataset d2 for output in text mode.
      loop at itab.
        transfer itab to d2.
      endloop.
      close dataset d2.
    * Delete the old file
      delete dataset d1.
    Regards,
    Rich Heilman

  • Logical command...

    Hello,
    Please help me on how to use the logical command.
    Here is the details of my problem.
    In program, a flat file is created and put on the file system. Right after storing the flat file on the file system, an additional logical command needs to be called that starts an FTP script.
    logical command: Z_POSTING_PUT
    The problem is, I don't know how to use the said logical command. Can any body help me please....
    Thanks a lot.
    massive

    it is used to connect the various external system..
    the commond varies according to the system you are using
    it can be seen in SM49 transaction and according you need to chose that
    * connect to the FTP server and send the files.
    * Calculate password length
    u201C password used for connection
      v_slen = strlen( ppwd ).
    * Encrypt password
      call function 'HTTP_SCRAMBLE'
        exporting
          source      = ppwd
          sourcelen   = v_slen
          key         = v_key
        importing
          destination = v_encrypted_pwd.
    * Connect to destination server
      call function 'FTP_CONNECT'
        exporting
          user            = puser
          password        = v_encrypted_pwd
          host            = phost     u201CHost address
          rfc_destination = c_rfc_destination u201Cit is a constant   c_rfc_destination type rfcdes-rfcdest value 'SAPFTPA'.
        importing
          handle          = v_handle
        exceptions
          not_connected.
      if sy-subrc <> 0.
        message e002 with phost sy-subrc.
      endif.
      refresh it_result.
      refresh it_commands.
    Commands will depend on which OS is being used on server side and client side.
    This code is for unix machines
    * change the directory on the destination machine
      concatenate 'cd' prpath into wa_command-line separated by space.
      append wa_command to it_commands.
    * Change the local directory on the sap server
      concatenate 'lcd' plpath into wa_command-line separated by space.
      append wa_command to it_commands.
    * Set Ascii mode
      clear wa_command-line.
      if pbin eq 'X'.
        move 'bin' to wa_command-line.
      else.
        move 'asc' to wa_command-line.
      endif.
      append wa_command to it_commands.
    * files to be transferred
      loop at it_list into wa_list.
    * Put the file from the sap server to the destination machine
        concatenate 'put' wa_list-name wa_list-name
                             into wa_command-line separated by space.
        append wa_command to it_commands.
      endloop.
    * Send FTP commands to server
      call function 'FTP_COMMAND_LIST'
        exporting
          handle        = v_handle
        importing
          command_index = v_command_index
        tables
          data          = it_result
          commands      = it_commands
        exceptions
          command_error = 1
          tcpip_error   = 2.
      v_subrc = sy-subrc.
      if v_subrc ne 0.
    * if there is an error disconnect from the server
    * and display an appropriate message
        perform ftp_disconnect using v_handle c_rfc_destination.
        message e004.
      endif.
    form ftp_disconnect using
      in_handle
      in_rfc_destination.
    * Disconnect from destination server
      call function 'FTP_DISCONNECT'
        exporting
          handle = in_handle.
    * Close RFC connection
      call function 'RFC_CONNECTION_CLOSE'
        exporting
          destination = in_rfc_destination
        exceptions
          others      = 1.
    endform.                    "ftp_disconnect

  • Logic Pro 9 and GarageBand '11 won't recognize MIDI controllers

    Hi there,
    I have two MIDI controllers that are not getting picked up by Logic or Garage Band and I'm unable to figure out why. I'm running Mac OS 10.9.4 (Mavericks) on a Mac Mini with a 250 GB SSD and 4 GB of RAM.
    Setup 1 is a simple Acorn Masterkey 49 USB controller whose manufacturer claims needs no drivers, although it doesn't show up in my Audio/MIDI setup pane at all, no matter how many times I restart the computer and/or the controller in any combination. I can't use it with Logic or with Garage Band.
    Setup 2 is a Digi002 Rack connected to the Mac Mini by Firewire and connected to an old-school Korg M1 as a MIDI controller. I can launch and hear the tracks I've made in the past with Logic, but now that Korg M1 is invisible even though the Core Audio Manager says my Digi002 Rack is connected and running. This setup has really never been able to speak with Garage Band, although I have been able to connect it successfully in the past.
    I'm a newbie to this and don't know how to get under the hood to fine-tune MIDI set-ups within Logic or GarageBand. Is there something funky going on between Logic 9 and Mavericks, however? I'm beginning to wonder if that's the issue.
    With thanks,
    Dustin.

    Hi Dustin,
    Nice to see someone pose a complete question with all the details...
    First thing to do would be to delete Logic's preferences and the control surface preferences. Although I don't think it's going to help. I'll post the method at the end of this post.
    One of the problem with older MIDI devices is that Apple changed something in their MIDI spec and some older MIDI devices either don't work (not recognized) or if they are recognized don't work reliably. Another problem, depending on ho old your Mac Mini is, the newer machines have USB 3.0 ports and that poses another hurdle.
    Here's two things to try for the Acorn.
    Turn the computer off, unplug the Acorn's USB cable. Restart the MacMini and let it settle for a couple of minutes, open Audio-MIDI Setup... plug the Acorn in, see if there's and life.
    Try a powered USB 2.0 USB Hub, a hub that has it's own power supply. If you don't have one maybe you can borrow one as it's only a -possible- solution.
    The Problem with the M! and Digi002 may be related. Are you using the very latest drivers available for the 002? Again, this may be a MIDI compatibility problem, although I thought this was USB only, I suspect it's more of a Digi002 driver issue with Mavericks than anything else.
    MIDI Out on the M1 to MIDI IN on the 002
    Delete the Logic 9 preferences file and control surfaces file.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the  com.apple.logic.pro.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro User Manual for details on how to do this.
    If you are having trouble with a control surface in Logic Pro. then delete the com.apple.logic.pro.cs file from the preferences folder.
    Be sure to include the Tilde~ in the path name above, be sure and delete both files.

  • JavaBean Models, Command Bean and J2EE Design Pattern

    Hello,
    I have read the available "How To", “Using EJBs in Web Dynpro Applications” where the author mentions that one should use a Command Bean (according to J2EE Design Patterns) so that one can invoke business methods in a Session Bean from our Web Dynpro Application. Well, although, I have read some available articles in the internet about J2EE design patterns, I still have some questions about command beans and its usage in Web Dynpro applications.
    I have developed a WD App which uses EJBs to read data from the DB.
    Let's suppose I only have two tables: BOOKS and AUTHORS.
    Let’s also suppose I have to Entity Beans (one for each table) and a Session Bean with two methods: Book[] getAllBooks() and Author[] getAllAuthors();
    I also have a Command Bean which I imported in my WD App.
    My questions are:
    How should I design my Command Bean?
    Can I have only one Command Bean with two methods each calling one of the methods of the Session Bean?
    Or instead should I design two Command Beans, one for each call?
    In the last case do the methods must be named <b>execute</b> or can I name them whatever I want?
    Furthermore, how should I store the data in my command bean? In instance variables?
    If so, can I use array of a class representing a record in the database table (for instance, classes Book and Author) or do I have to store the data in a generic collection (such as ArrayList for instance)?
    I ask this last question because if I try to store the data in an array when I am importing the Command Bean as a JavaBean model I always get an error.
    One last question: Can the Command Bean execute method directly return the data or should I always store the data in an instance variable an then get it using getter methods?
    I know this questions are more about J2EE Design Patterns and JavaBeans specification than they are about Web Dynpro but I also have doubts about the rules that the command bean must obey in order to accomplish a successful JavaBean model import in WD.
    Some guidance or tips would be highly appreciated.
    King Regards

    I have the same problem.
    Does anyone know the solution?
    Thanks
    Davide

  • BC SETS creation and usage for sap mm  point of view

    Hi All,
    Need Information About  BC SETS  creation and usage from sap mm point of view.
    Thanks in advance for sap mm forum guys.
    Regards.
    Parameshwar.

    Hi,
    Customizing settings can be collected by processes into Business Configuration Sets (BC Sets). BC Sets make Customizing more transparent by documenting and analyzing the Customizing settings. They can also be used for a group rollout, where the customizing settings are bundled by the group headquarters and passed on in a structured way to its subsidiaries.
    BC Sets are provided by SAP for selected industry sectors, and customers can also create their own.
    When a BC Set is created, values and combinations of values are copied from the original Customizing tables into the BC Set and can be copied into in the tables, views and view clusters in the customer system. The BC Sets are always transported into the customer system in which Customizing is performed.
    Advantages of using BC Sets:
    1.     Efficient group rollout.
    2.     Industry sector systems are easier to create and maintain.
    3.     Customizing can be performed at a business level.
    4.     Change Management is quicker and safer.
    5.     Upgrade is simpler.
    To create BC sets follow the below step:
    Choose Tools ® Customizing ® Business Configuration Sets® Maintenance in the SAP
    menu, or enter the transaction code SCPR3 in the command field.
    Choose Bus.Conf.Set ® Create.

  • Can you run Logic Pro 8 and Logic Pro X on the same machine?

    Hello all!
    Congratulations to us on the release of the new Logic Pro!
    I am still running Logic Pro 8 (and was waiting for X to come out since I knew it wasn't too far off) but am concerned over the loss of 32-bit plug-ins with Logic Pro X (the wrapping of my old VST plug-ins alone hurts!).  I've heard that installing Logic Pro X doesn't in any way gimp Logic Pro 9's usage, but can someone confirm whether or not Logic Pro X and Logic Pro 8 can operate in harmony on the same Mac?
    As a bonus, is there any reason to believe that Apple would disable earlier versions of Logic Pro (such as version 8) from running on Mavericks?
    I am planning my Logic Pro and Mac OS migrations!  Thanks!!

    Try here:
    https://discussions.apple.com/community/professional_applications/logic_pro
    This forum is FCP X.
    Al

  • Cairngorm View Helper - Command resuability and tight coupling with view

    I am new to Cairngorm framework. Currently we are converting
    our project to Cairngorm framework. I have some very basic doubts
    regarding the framework. Basically I am a java/J2ee
    programmer and got very good experience in struts framework
    and other J2EE design patterns.
    I have some doubts and needs advice from the community .
    My very first doubt is regarding the ViewLocator pattern used
    in the Cairngorm framework to access
    the view from Command class. At a very high level my
    understanding about command pattern is that command object
    shouldn't know anything about the caller. Command should execute a
    the business logic and update the model.
    But if we use the ViewLocator pattern the command object
    should know about it's caller class and the method name of the
    view/viewhelper class which should be executed after the command
    logic. In this scenario we will not be able to reuse the command
    class and a very tight coupling is established between the command
    and view.
    I have read from flex and cairngorm related blogs about an
    'Observer' and 'ChangerWatcher' patterns which seems to be right
    approach for me rather than using the ViewLocator. But as far as I
    know these are not part of the framework.
    I would like to know what is the recommended approach from
    the cairngorm framework team for executing View related logic after
    firing the Cairngorm event.
    If we use the ViewLocator pattern, there is no reusability as
    far as the command is concerned and also a very tight coupling is
    happening with the command and view.
    Is this the right approach..?
    Please advice..

    Hi, the view Locator has very issues that we have to have in mind, y most of the  problems are similar when we are using the Drag Manager , when we are using modules and load this view dynamically.
    The solution is simple and you told it. Binding by Watchers in the model Locator and checking the model locator variables when we load a module.
    In the view that we want to change we can add a Change Watcher linking a model locator variable to a function in the view, we change the model in de command and automatically change the value in the view.
    There are 2 ways to do the same concept, but is good only when the call to a cairngorm only affects the view that its calling it and known more has to know, so in theory you don’t need to change the model to impact the view.
    First is adding a Iresponder in to the event by Get Set so in the view, when you create a event for cairngorm and have to pass through the event an IResponder  (mx.rpc.IResponder). When you are in the command in the result or fault you can do event.responder.result = event or event.responder.fault = event and this well go directly into the view result o fault. So you don’t have to pass through the model. (Responder is your get set in the Event of private var _responder:IResponder)
    The other way is the same but using UM cairngorm that has CallBacks. And it’s pretty much the same but the event and all the cairngorm has callbacks and notifyCaller.
    Well I hope I said something useful.
    I did a UM cairngorm diagram in English http://www.developyourdream.net/tutoriales/tutoriales_flex_avanzados/cairngorm_universal_m ind/Cairngorm.swf
    Sorry me English and if somebody talks Spanish you can go check my blog http://www.developyourdream.net/ 

  • I have a version 7.0.4.  I can't connect to the server.  My capacity is 13.5  with 10.4 GB available.  Diagnostics and usage data, when scrolled to the bottom, tells me I have low memory.

    I have a version 7.0.4.  I can't connect to the server.  My capacity is 13.5  with 10.4 GB available.  Diagnostics and usage data, when scrolled to the bottom, tells me I have low memory.How cani fix this?

    Clear Safari, close all apps on the iPad and reboot. Then see if you can connect.
    Go to Settings>Safari>Clear Cookies and Data.
    Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to each app then swipe "up" on the app preview thumbnail to close it.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If you still can't connect to the internet, you need to do some more troubleshooting with the network connection, but report back with more details if that doesn't work and don't just repeat the question in the text box are that you have to describe the problem. That serves no purpose at all.

  • HT5421 Logic Pro 8 and OS 10.8.2 ?

    Hi there, I want to installed Logic Pro 8 ( an upgrade version ) on my Macbook Pro with OS 10.8.2 and when I click on the installer on the DVD, the message is : You can’t open the application “LogicStudio.mpkg” because PowerPC applications are no longer supported. Is that mean that it is no compatible ? what can I do ?  Thanks.

    I had this issue as well.
    Check your Logic 8 packaging and see if you see "Universal Binary" written on the back or spine of the box.
    Logic 8 in later releases was both PowerPC and Intel supported. However I get the error "cannot run PowerPC applications" on OS 10.8 on my new MacBookPro.
    The cause of this is most likely that the installer was a PowerPC application, and Apple assumed at the time you could just run Rosetta for the installation.
    Solution: install Logic 8 on an older Mac, run a Timemachine backup of your mac, then plug your Timemachine harddrive into your new mac and run Migration Assistant (Under Utilties)
    Works perfect, even the plugins and Apple Loops carry over. It works 100% perfectly good. If you have the "Universal Binary" version there is no need to buy Logic 9.
    I wasn't really "wow'd" with the new features of 9 and thought I would hold off until 10 to upgrade. This was 3 years ago. I still use Logic but it's amazing how cutting edge it used to be, and how far Pro Tools and Cubase and FL studio have come in the mean time.
    Hope this helps

  • Logic 9 crashed and won't open again

    Hello everyone,
    I have the latest Logic Pro 9 and I'm working on a MacBook Pro
    2.7 ghz
    4 gigs memory.
    Started recording a track with midi and audio tracks,
    At one point logic crashed so I reopened it and kept recording.
    Everything was fine,then I shut my computer down and opened
    It again and it started searching for my battery drums which are all in the correct folder.
    After a few battery drum searches it just stays there trying to load ??!
    No more dialog messages ?
    I have never ever had an issue with either logic or my MacBook Pro.
    I try to open up early saves and sometimes it opens but not all the time.
    Anyone having the same issue ??
    Also since my system crashed I opened a fresh logic and dragged and dropped all the midi and audio files to a brand new project and I'm still having the same issue,it won't fully load up ?
    I'm starting to wonder if battery is messing with the computer ?
    The only fix I found was to shut down the computer and start it up again and then it loads sometimes ??
    Any advice would be helpful,
    Thank you

    It seems you have a corrupted Project so to rescue most of the data from this corrupted project you can open a new project and then use the Import Data feature of Logic to bring across the tracks from your corrupted project... to this new Project
    See this part of the Help Guide for further info...
    http://help.apple.com/logicpro/mac/9.1.6/en/logicpro/usermanual/index.html#chapt er=7%26section=6%26tasks=true
    If you need more help after reading the Guide, let us know...

  • HT4623 I'm an iphone virgin (so please excuse my stupid question if that is what it transpires to be) but when I try to update my iphone 3GS when I go into SETTINGS GENERAL my display reads ABOUT and USAGE but has nothing about software upgrade in between

    Help, I've just bought a second hand iphone (my first ever) but when i try to get any apps it tells me i require ios4.3 but wen i try to update it I seeem to be missing a catorgory inbetween about and usage i should have software upgrade so i've been told i'm learning as I go lol but i have set up an itunes acc and i cant put apps on that way either has anyone come across this and a friend looked at it and said check its not been jailbreak/broked I have no idea what this means or how to check for it is it reversable any help is appreciated as i'm slowly losing the will to live lol many thanx in advance. oh I think it is a 3gs or a 3 but deff no newer cheers

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • When I open logic express 8 with eyetv open but not active and i close logic express 8 and make eyetv active it won't show closed captioning even though closed captioning is turned on

    when I open logic express 8 with eyetv open but not active and i close logic express 8 and make eyetv active eyetv won't show closed captioning even though closed captioning is turned on.  When I totally close eyetv and reopen eyetv and open a live tv window the closed captioning comes back.  I never noticed this with os leopard, Just after i installed os snow leopard.  All software is up to date only I think, thanks to apple they droped support for logic express.  Thanks for any suggestions.

    Does toggling CC off & back on bring it back?
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • How can i install snow leopard on my mac G5 using a command line and booting from an external usb rom, since my disk i have is not a bootable media

    How can i install snow leopard on my mac G5 using a command line and booting from an external usb rom, since my disk i have is not a bootable media

    Hi.
    You simply can't. Snow Leopard is compiled in Intel binary only.
    Good Luck.

Maybe you are looking for