Ideas for stored formulas

I am working on a custom report system for my company. The report contains data pulled from newspaper articals. I have several core values (size, date, page number, paper, etc.) that are stored ina database. What I need to do is make a system to be able to create new values from the stored values. For example, advertising equivelancy is calculated by multiplying the artical size with the newspapers advertising rate.
What I have done is created a report column class that stores a formula to calculate the value in that column. In my example the formula is CI (column inches == size) X AR (ad rate). this is stored in a string that looks like "CI*AR" What I want to do at runtime is to convert the string to values and calculate the column value. Is there an easy way to do this, or do I need to write my own parser?

Thanks for the tip. I did some searching on Google and found a package called JEP - Java Mathematical Expression Parser (http://www.singularsys.com/jep/) that might do the trick. All I will have to do is write the parser to replace the variables with numbers

Similar Messages

  • Ideas for storing a specific utilisation %

    We currently use both infotype 0008 Basic Pay, 0007 Planned Working time, and 0315 timesheet defaults. So we can tell what % of time people should work each week/month. We would like to store an additional target, of say 80% of time being booked to a project, to use this in a report with CATS data to see if people are working more/less on fee earning work. Has anyone else store this type of data and which field have they used. It needs to be a separate field to any which would link to pay, and would be advised in advance annually. Maybe appraisal?
    Any suggestion welcome.

    Hi Wendy,
    although I don't understand your question completely, I know IT0027 can be used to store a percentag for cost center, order and WBS - element.
    Maybe it helps.....
    Wilfred.

  • Creative ideas for Remote Backups and Working from Home??

    Here's my problem in a nutshell:
    My primary workstation is at my office where all my important files are stored. I backup once a month onto an external firewire drive which I (usually) keep off location in case of fire/theft etc.
    In the future I'm going to need to conduct about 75% of my work from my office and the remainder from home. I'd like to be able to work on a file at my office. Go home. Sleep. And be able to work on the same file from home the next morning.
    Any ideas for how I should do this? One solution I had was to run a nightly backup of my office computer (a tower) to a remote firewire drive at home (basically a clone). I could then plugin into the firewire drive with my laptop. This would also serve as a remote backup of my client's files.
    Does this make sense? And if so, does anyone have any suggestions or pointers in terms of easy-to-use backup software. And how complicated would it be to set this up to a remote drive? And will there be problems with remotely backing us, say, a 500 MB file?
    Cheers!

    What O/Ss are involved; are they both OS X? Home OS X, work Windows?
    Many people telecommute by running the applications remotely, with a display server connecting their application to the system they're using. For instance, my work system is Linux; all applications use X windows as their display interface. My home system is OS X, which includes an optional X windows display server. Most of the time, when I need to work from home, I run a VPN client and use 'ssh -X' from an xterm under X on OS X to log in to my office system; and then I can run any application on my office system and have it display on my OS X system.
    Similar solutions exist for most common OSs. Windows systems can run VNC or Citrix to export their display to clients that can run on OS X, Linux, or Windows; OS X can run Remote Desktop to export their display to clients that can run on Linux or OS X; etc.

  • Give me some ideas for the project.

    Hi,folks
    I am not familiar with programming in web services. Now i have a project related to web services need to finish. I want to someone give me some ideas for the project. how can i implement the access control services. is there anyone can give me some related links for me to learn.
    Project Title: Implementing an access control service
    Project Description:
    Web services are emerging as a new approach to system construction and will make a major impact on the engineering of future business systems. They will allow a move from enterprise to inter-enterprise computing. However, with inter-enterprise computing, there are major problems with providing access to shared data, given that enterprises will not wish to share all data with partners.
    This project aims to investigate this problem by developing a prototype of an access control service that will help decide whether or not data access should be permitted. In essence, companies will outsource their access control to this service and so will not need to maintain their own access control lists for a potentially rapidly changing set of users.
    Suggested Platform: Windows or Linux
    Suggested Languages & Tools: Java

    Well, the approach I've come accross is a central server which is typically accessed indirectly from the web servers (e.g. through SOAP protocol or RMI).
    The remote server sends a user id and a password (or more likely a digest of the password), and receives a session token, basically just a random string of characters which is checked with the central server each time a secure transaction is attempted. The token will be stored in a session object, or perhaps directly in a cookie or in the URLs.
    Active session tokens are stored on the central server for comparison. This means the password doesn't have to be retained in the server.
    It's possible for the session token to be transfered if the user switches from one site to another on the same authentication server.
    Sun distributes one of these beasties, by the way, so you could take a look at their product specs.

  • Need Ideas For Storage Units Data Storage Capabilities - Special Attributes? History? 2 Ind-UMs

    Hello experts,
    The company I'm working for is looking into permanently-storing pallet level information (keep a history of the pallet movements) and use RF-scanners to move product in the warehouse. They have made a decision to implement Warehouse Management's Storage Unit Management functionality. They looked into Handling Units as well, but they don't want to use HUs for many reasons.
    They would also like to store 2 units of measure at the Storage Unit level without activating "Catch Weight Management" because that would require them to run parallel systems for a while and also deal with CWM functionality restrictions. Keep in mind that most of the products they handle are catch-weight products, so UM conversions don't work for them.
    Solutions I have in mind:
    For storing 2 independent UMs: Store the quantity of the 2nd unit of measure in a custom table at the Storage Unit level and use custom RF-scanner programs to "receive, issue, scrap, and move" goods in the warehouse. These custom RF-scanner programs would update SAP standard table with 1st (base) UM and also custom table with 2nd UM.
    For permanenlty-storing SU history: Use custom table to to store Storage Unit History. The custom programs created to handle the SUs would update this custom table.
    Last time I checked, the history of a Storage Unit is not recorded in SAP, correct? ONLY in Handling Units, correct?
    OR are there any documents/tables that permanently store the Storage Unit number so they can be queried after the Storage Unit is consumed/issued?
    I know SAP keeps improving its applications with every release, so I'm just looking at my options here.
    Does anyone else have any other ideas on how to approach this other than Using Handling Units & Catch Weight Management?
    Thanks in advance!
    -Mr. Bello
    Message was edited by: Jürgen L

    For storing 2 independent UMs
    Can you please explore the LS26 option there also system is allowing you to change the parameter"Unit of measure" and displays the stock on different UoM, hopefully this will solve your problem and you need not design a custom table to store the value at different UoM level
    For permanenlty-storing SU history:
    System store the storage unit related value in table : LEIN however the moment you do any consumption or movement to non SU the entries goes off from this table hence i think the approach taken by you seems the only one approach  to store the historical data. (Make sure you are taking into consideration of the archiving activity as you proceed further the size of database will get bigger and time to generate any report will take longer then expected

  • System change in BW for enabling Formula editor

    I have a basis related question in BW.
    While trying to add the process type 'Decision between Multiple Alternatives' to my process chain in quality and production systems, I get a 'system not modifiable message' when I try to create a formula in the subsequent screen . I know this is because the systems are disabled against any customising and repository changes. Which setting(s) do I change to get this to work ?
    I tried changing SCC4 to allow repository changes and some settings in tcode RSWBO004 'System change option' but they had no effect. Any ideas as to what namespace setting I need to enable to allow the formula editor screen to be displayed ?
    I work in BW and was trying my hands at SCC4/system change etc hence am asking it in this forum. This is more of a BW relevant question rather than a generic basis question.

    Hi Daya,
       The object changeability option does not seem to help in this case. The formula builder or process type 'Decision between Multiple Alternatives' is not to be seen. FYI, the technical name for the formula builder is 'RSFO'. So there might be some setting around this.
    Thanks..

  • Ideas for synth programing

    I'm having fun playing with (learning) about programing the syths that are built into Logic Express. I've read the manuals about how the various synths work and how programing works etc...
    I was wondering if there was some type of website or forum where folks share settings, patches and programing ideas for LE synths. In other words, if say someone were to program a great "mini-moog" lead sound for example, I would like to know about it.
    Can patches be shared between users? Or would an explaination of a patch ex. set the filter to 2 o clock, set the modulation to 9 o clock be the way to share patches.
    I think it would speed up my programing learning if I knew some nice sounds that people had found and tweaked them myself to learn how they were made.
    Any thoughts,
    Morris

    Hi Morris,
    your own created patches are saved (using default folder) into
    Library/Application Support/Logic/Plug-in Settings/"Pluginname"/...
    They are .pst files so you can transfer them where you want.
    About sharing your opinion and sounds give a look at the Logic User Group on Yahoo Groups; there you'll find shared patches too.
    Note: http://logic-users.org/ is exactly the same group but the menu file, where patches are stored, is only on the original Yahoo group.
    cheers
    rob

  • Alternate idea for XMP storage and issue over RAW-JPG pairs.

    Posted by me first in http://www.adobeforums.com/cgi-bin/webx/.3bc35b1d/16
    >DonRicklin - 3:25pm Mar 10, 07 PST (#16 of 17)
    I'm think that maybe what needs to happen here is not necessarily having the JPEGs show in LR, but when they are present that they are used as the Sidecars to the RAWs for storing the Metadata for both, instead of having a third file, ie XMP sidecars.
    Now for me, my camera does not produce both together, so LR would do the current XMP sidecars, but for others it would use the JPEGs instead, and update them for the preview. Also, if desired, by option show them in a stack with the RAWs. I think this would be much the best option for many that Adobe could provide.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.8 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

    hi all,
    as a professional photojournalist i am with you rory. the fact that i can not import and store both RAW and JPEG at the same time and keep them side by side is really serious oversight on adobe's part. it makes LR all but unusable for me. as i said in my library hell post, i am on tight deadlines and don't have time to mess around. i need to keep and manage both kinds of files for work purposes.
    camera manufactures have implemented the RAW/JEPG combo because the pros have demanded it. canon even allows the RAW and JPEG files to be stored on separate cards as a back up in case one card gets corrupted.
    so, please alex, don't try to market this bug to me as a benefit because adobe has crossed the final frontier of image editing software and i just don't "get" their hip new idea. even a program as humble as iphoto keeps jpegs and raws together without issue. what is the point in having a library at all if images can not be stored and organized in a logical manner?? also, for those who wish to shoot only one format there is a very easy option - don't turn it on in the camera.
    and don, i would be interested to hear more of your idea, though for me i would like to see all files treated equally be they JPEG, RAW. TIFF, PSD. at any rate i think it is really urgent for adobe to address this issue.
    i would like to request that adobe implement the standard storge/organizational scheme with RAWs and JPEGs being imported simultaneously and stored side by side. further, i am requesting that any other file types of the same image also be stored side by side with the master image.
    regards,
    photo_j

  • TS1362 Everything works except the **** thing won't play. I push the play arrow or instruct it to play and it stays eternally paused. No problem buying things from these dogs,just can't play the when everthing pops up on screen.Any ideas for a hopeless ol

    Everything works on ITunes except play function.I can select as song I want but cannot get it off "pause."I tried going to controls and instructing it to play(no go) and clicking again and again on play arrow(which flips it to pause...).Any ideas for a very old,very frustrated non-tech guy???
    Please!! Thnaks!!!

    Replying to myself. Kept trying different areas of the ipod this evening, clicking various buttons, including some I'd never used before. All of a sudden I could see my Nano in iTunes. I quickly clicked on Restore before iTunes changed its mind about recognizing the iPod. Moved some songs onto it and it appears to be back to normal.  Keeping my fingers crossed. 

  • HT1384 My ipod nano 3rd generation, when connected by usb, does not show up in itunes, does not show up on my computer, does not seem to charge by the wall charger. It just has a black screen. Any ideas for me?

    My ipod nano 3rd generation, when connected by usb, does not show up in itunes, does not show up on my computer, does not seem to charge by the wall charger. It just has a black screen. Any ideas for me?
    I've run diagnostics. Can't find device. I've tried resetting. The toggle has been turned on and off.

    Cable works fine on my other iPod. Reset by pressing menu and center button together for 6-10 seconds. Left it to charge for many hours. Started acting up while running. Suddenly the music stopped playing but my Nike + was still working for the rest of my run. Took it straight it home and plugged it in to the wall to recharge since the battery was fairly low. Looked like it recharged ok but then screen went blank and now does it not show up on iTunes, does not seem to recharge by the wall charger (apple wall charger plugged into a surge protector in India). I have turned the hold switch off and on many times.
    Sounds like a repair issue, which is not easy to do in India :(

  • I bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    i bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice

    Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice.
    I'm fixing a Numbers document that I use in business daily that's become overly complicated, but while I want to clear/delete a number of cells in it to clean it up, I'm not sure if those cells are being used as source for other formulas on the page. I don't have to open all my formulas one by one to see if that cell is in there, do I?! That'd be a huge amount of work if I wanted to eliminate say 10 cells to search each formula on the page to see if it is in there or watch all the cells when I delete that cell to see if the numbers change! There's got to be an easier way! Right click doesn't seem to be any help.
    I don't want to damage my daily tool to make it cleaner and reorganize it. Is there really no way to do a reverse look-up of which formulas a particular cell is in?! Any time I click on a formula it highlights all the CELLS in that formula. Why can't I (or can I?) do the reverse and see all the FORMULAS that contain a particular cell?
    As a Numbers document ages or gets used frequently, you can sometimes forget which cells are tied to which formulas. You just look for the results of your formulas. Would be a nice thing to be able to do. Thoughts? Work-arounds? Answers?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • How do you set a default format property for a formula defined in the AWM?

    Is there a way to define a default format property for a formula that I create in the AW?
    For example, if I define a formula in AW I can assign it a datatype of decimal. But what property do I need to add if want that formula to by DEFAULT always display a certain way, regardless if I use the Discover Plus with OLAP option or OracleBI Spreadsheet Addin?
    Example: want to display it by default, in the AW cube, as being associated to a format of 00.0000 or 00.0000% or $###,##0.00 etc. This way, no mater what tool I use to view the cube, it will by default inherit my default format (set in the AW).
    Thanks.

    Okay, but if I use the out-of-the-box products Oracle provides (ie: Discover Plus with Olap, and the OracleBI Spreadsheet Addin) I still dont understand what my solution is?
    The only other solution we tried was to create formulas using AWM template files. The issue here is trying to find out what property syntax needs to be added to the XML code, so that my formula, by default, is associated to a certain formating style (ie: 00.00). And then when you reference that formula in those out-of-the-box Oracle products, it displays as expected.

  • Some calendars in iCal appear corrupted but OK on iPhone. If I sync will the calendar data on the phone restore info on the desktop iCal? any other ideas for how to sort this please?

    Some calendars in iCal appear corrupted (ie have red exclamation mark by them) but are still OK on iPhone. If I sync, will the calendar data on the phone restore info on the desktop iCal or will I lose that as well? Or could I back up the calendars on my iPhone somewhere and then import them into iCal? any other ideas for how to sort this please? it's driving me mad. thanks.

    I don't think there will be a solution to this. Exchange 2003 just isn't supported.

  • How to display a Sum field for a formula column?

    Hi,
    I need to display a sum for a formula column at the end of report. for example: my formu_col=col_1-col_2
    col_1 col_2 formu_col
    3 1 2
    6 5 1
    total:sum(col_1) sum(col_2) sum(formu_col)
    now i have sum(col_1) and sum(col_2), but i don't have sum(formu_col)
    thanks

    Hi
    You may add a summary column in the same data group that you have sum(col_1) and sum(col_2). In that properties of the new column point the source as formu_col.
    Hope this helps.
    Fouwaaz

Maybe you are looking for