About math calculation in form command

i want to know  if  we can do math calculation in script form's command line?i try it by using define command ,but cann't get the result,i have to make sure if the command line have the function of math calculation?

do ur calculations inside a subroutine and call ur subroutine in ur script.
check this wiki on how to use subroutines inside scripts
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/external%2bsubroutines%2bin%2bsap%2bscript

Similar Messages

  • HelpuFF01any information about Web dympro Appraisal forms

    hi,experts
    i am fresh in Appraisal for web dynpro and need any information about Web dympro Appraisal forms?
    anyone can give a link or any articles..
    looking forward for your answers.
    best regards.

    Pls go through here
    http://help.sap.com/erp2005_ehp_04/helpdata/en/70/c2cff7a92249198c2947567677a003/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/en/98/1222d3404e3849912015524dce03e5/frameset.htm
    Aneez

  • What are the advantages/disadvantages of using the Form Command over Creating a User Form in VBA?

    I’m in the early stages of creating a spreadsheet that will require data entry into the worksheet. The worksheet could get to 1000s of rows, depending on the particular user.
    When I refer to the ‘Form Command’ I’m referring to the option of adding a Quick Access Tool bar button by selecting ‘more commands’, ‘all commands’, ‘Form…’
    My questions/concerns would be relating to ‘should I develop this spreadsheet with the Form Command or a User Form in VBA?
    Concerns/Questions:
    Deployment to other users
    Protecting worksheet cells so the user can only add records using the form command or the user form in vba. In other words, don’t allow users to edit cells that are not within the table structure of the sheet or add rows if they’re not using the form
    Data validation when entering data…
    Keith
    Keith Aul

    Hi,
    Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
    That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
    for. You also have the possibility to work on placements of the data entry.
    So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
    Just my 2 cts
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • About global variables in forms personalization

    Hi all,
    I did forms personalzation based on global variables.
    When when i login for the first time untill and unless i validated the global variables the following error is displaying.
    Tokens in the string could not be evalated. please check the syntax.
    Once i validated the global variables then it will working fine.
    Did any of you have faced this problem please let me know the solution.
    Thanks and Regards
    Zaheer.
    Edited by: zaheer on Feb 5, 2010 1:23 AM
    Edited by: zaheer on Feb 5, 2010 1:24 AM

    Hi again;
    In addition to above please check:
    Form Personalizations in Oracle E-Business Suite (Release 12) [ID 395117.1]
    Information About the Oracle Applications Form Personalization Feature in 11i [ID 279034.1]
    Hope it helps
    Regard
    Helios

  • Questions about Lulu ISBN, Tax forms, distribution, Please help

    Hello,
    I've wrote some poetry books and I recently added a new one.
    I hope I can ask the right questions and get the most up-to-date and correct answers.
    Well, I got the Free ISBN numbers from Lulu for all my books. I went for the global distribution.
    I went to update one of them tonight, before I buy proof copies of them all, and go through to 'accept' the distribution.
    I was going to purchase them some time this week.
    But when I went to update one of them, it said my title and author's name was 'locked'.
    I am worried about the whole tax forms thing, because honestly I don't know how that works, and I just wanted to write books, buy copies for my friends and family, and hopefully, if it is possible, get my books into some bookstores online or something. I don't know, just as long as people read them, I don't care so much about making money because poetry for me is great therapy and an emotional outlet.
    So I guess I'm wondering:
    Do I have to fill out tax forms in order to continue with the Free Lulu ISBN number and global distribution?
    I don't have a lot of money to spend on distribution and I just really CANNOT do the thing with the taxes. And I don't really understand it.
    I'm ashamed to have to ask these questions. I did read the terms of service and all, but I didn't know if it would really affect me or apply to me in a way where I HAD to pay anything for my books to be distributed.
    I know I should have asked this before hand, that's why I'm embarassed now. Please bear with me, I'm really new to understanding this kind of stuff.
    I live in the USA by the way.
    Also, if I DO have to fill out tax forms in order to get the free isbn from lulu and global distribution, is there any other way I can still have my books available for people to buy without me having to fill out tax forms and all?
    And would 'any other way' mean me having to start my books over again here on lulu (like, retire them and start new projects)?
    Any information will help me greatly. I apologize for my ignorance of the subjects.
    Thank you in advance, I greatly appreciate it.

    Hi!
    Thanks for replying.
    My books don't sell much at all, and I don't mind. I just thought that having an ISBN would make it more available to people, along with having the global distribution. I'd like to try to give a copy to my library and another bookstore here in town, the lady that owns it has taken my brother's books before that he wrote, as well. I wasn't sure if either of them required an ISBN or not. I'll try to go talk to them sometime so I will know. My brother used Lulu for one of his books, but used ... I think it was called 'damnation publishing' or something (it was a horror novel, please excuse the name).
    I understand and thank you for explaining what you did. But I have a tiny issue I might need to talk to someone in private about. I didn't really want to say it publicly.
    I'm really just writing books for fun, it's a great way to get out frustrations creatively. And I've been writing poetry for years now. I just like to have a copy of my book to say to myself "I did this, I can do something with my life".
    Well I'll tell just a little of my issue here... I live with my mom, I'm in my 30's and she advised me not to do the global distribution after I told her about what I read concerning taxes and all. She wants me to ... I think ... drop the ISBN and global distribution due to any taxes that will ever come with it. My aunt is into taxes for a living, and maybe she can explain it more to me.
    I, too, think it will be okay since I don't sell many books (I've been publishing here on lulu since 2012 after my dad died and I still haven't sold one book... I do buy them, however, and pass them out to friends and family). But my mom sorta got scared about this when I told her about taxes.
    Well, I'll just say it. I'm disabled, and I don't do taxes that I know of. My mom pays them but I don't think I do. (I've got some illnesses, I'm embarassed to say).
    So that's why I was not sure about how the whole taxes thing would affect me.
    I'm embarassed because I know a lot of people would look down on me because of my illnesses and maybe ask 'why are you on the internet if you're sick?' ya know. I'm very ashamed of my situation, but making books on lulu gives me something to look forward to in life. It's something I'm able to sit and do. (And I know I shouldn't worry what others think about me.)
    Anyway, I apologize for giving a life background story. I just wasn't sure how or if all this would affect me at all.
    I highly doubt my books will sell millions. I'm just happy to be here, and getting to do something.
    Well anyway, I do greatly appreciate your answer to my questions. I really do. I'll check back in a little while to see if anyone else knows anything about these subjects.
    I thank you again for your knowledge. :-)
    OH, also, would it be easier for me to just set the prices of my books so I don't get any revenue? I know this may sound strange, but I just love writing. I don't mind not getting paid as long as people will read my books.

  • Question about doing math in pdf form

    Hi, I have created a filable form in adobe. I am trying to perform some basic math in this pdf form but I can't seem to get it to work. I have few fields that I am using basic logic to calculate one field. I used the following code.
    if (Dropdown4> 0){
    KWH = Dropdown3 * Dropdown4 * KWH1;}
    else
    {KWH = Dropdown3*Dropdown4*Dropdown1;}
    endif
    KWH1 is a fillable field but dropdown1, dropdown 3 and dropdown 4 are fields with drop down lists. I want to populate field KWH based on the logic above. I don't get any result whatsoever. The KWH field is blank.

    The custom calculate script for the KWH field would be something like:
    // Get the value of the fields, as numbers
    var DD1 = +getField("Dropdown1").value;
    var DD4 = +getField("Dropdown4").value;
    var DD3 = +getField("Dropdown3").value;
    var KWH1 = +getField("KWH1").value;
    // Set this field's value
    event.value = DD4 > 0 ? DD3 * DD4 * KW1 : DD3 * DD4 * DD1;
    That last line is equivalent to:
    if (DD4 > 0) {
        event.value = DD3 * DD4 * KW1;
    } else {
       event.value = DD3 * DD4 * DD1;
    There are a number of tutorials available if you want to learn more about creating custom calculation scripts in PDF forms. Post again if you need help finding them.

  • Question about using calculations in PDF form

    I am creating an order form with fields using simple calcuation math (price field x qty field = subtotal field). My question is, if the quantity fields in the order form are blank I would like the subtotal and total fields to remain blank as well. However it shows and prints as 0.00. Is there a way to change that?

    Use this code as the custom validation script for that field:
    if (event.value == 0) event.value = "";

  • Calculation in Form 16

    hi all,
    in my form 16 there is a notice pay amount which are displaying correctly, but its not getting deducted in calculation. can anyone please tell me that how would i include it for calculation?
    regards saurabh.

    Guyz,
    I belive you must have clarity which Form-16 Values you talking about.
    There are two places Form -16 will come
    1 Payslip
    2 Form 16 (Just form)
    In payslip after pay and deduction components one summary will come in the boxes As Evani said.
    There is another form16 where you are getting problem
    Warm Regards

  • About Work progress on Forms 6i

    Dear Ainath,
    Thanks for your useful information about the work progress on forms 6i.
    The code you sent is run successfully.
    With regards to your code, How should I associate this with the task which will run on my forms 6i.
    I wanted that when the task begins on my forms 6i, it display the progress bar implicitly and when the task ended successfully the progress bar will also ended implicitly.
    And if the task on my forms fails , the progress bar also terminated.
    Could you plz also suggest me about that?if possible.
    Thanks
    David

    Does HOST('touch me'); create a file called 'me' in your working directory? Have you tried the command independently in UNIX as the same UNIX user? The results of these two tests may offer clues.

  • Confused about the 11g R2 Forms Server and using SSL

    All,
    I just installed the 11g R2 Forms Server software without configuring it.
    I then ran the config.sh script to configure it which creates a weblogic server domain.
    I'm a bit confused now. If I run opmnctl status command I get the following:
    Processes in Instance: frmrep_inst_1
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    emagent_frmrep_inst_1 | EMAGENT | 28279 | Alive
    RptSvr_eiaorapptest_frmrep_ins | ReportsServerComp~ | 28124 | Alive
    ohs1 | OHS | 27831 | Alive
    This looks to me like there is an Oracle Http Server installed.
    Is the Oracle Http Server answering web calls when I run forms or is the Weg Logic Server answering the call?
    Also, the Oracle Forms Installation Documentation talks about securing your environment with Oracle Identity Manager but we are not using Oracle Identity Manager. I want to use SSL but I'm not sure how to secure the environment with SSL. Do I need to configure the WebLogic server to use SSL or the OHS?
    Any help would be greatly appreciated.
    Cheers

    Fusion Middleware 11.1.x does include HTTP Server (OHS) and also requires WLS. Both HTTP Server and WLS are http listeners, amongst other things. So whether WLS handles a request or HTTP Server does it will be entirely up to you and/or the end-user.
    OHS has a listener which by default (in FMw) listens for requests on port 8888. On the other hand WLS_FORMS is preconfigured to listen on port 9001.
    This means that if your URL looks like the following, WLS_FORMS will directly answer the client:
    <blockquote>http://server:9001/forms/frmservlet?form=abc</blockquote>
    If the URL looks like the following, the HTTP Server will reply:
    <blockquote>http://server:8888/forms/frmservlet?form=abc</blockquote>
    The request path when using OHS as the listener to call Oracle Forms would look like this:
    <blockquote>CLIENT --- OHS --- WLS_FORMS --- FORMS SERVLET --- FORMS RUNTIME (frmweb.exe) --- DATABASE</blockquote>
    The request path when using WLS_FORMS as the listener to call Oracle Forms would look like this:
    <blockquote>CLIENT --- WLS_FORMS --- FORMS SERVLET --- FORMS RUNTIME (frmweb.exe) --- DATABASE</blockquote>
    Although removing OHS from the path would seem to be better because it is one less server to administer and less system resources consumed, generally it would be argued that the advantages of having it will outweigh the disadvantages.
    There are numerous advantages to use OHS in front of WLS, but the most obvious should be that OHS can be set up so that you have one and only one entry point into your FMw environment. In other words, even though for example Forms WLS listens on 9001 and Reports on 9002 and some other app on 9999, all requests can be routed through a single OHS port (e.g. 8888). This gives added security since only one port would need to be open assuming a firewall was in place. This configuration is also helpful when calling one application from another. For example when calling Reports from Forms. If you use OHS, references to other WLS managed servers can be called with a relative reference rather than a fully qualified one.
    Regarding whether or not SSL needs to be enabled at any particular point in the path is entirely up to you. You can enable SSL from the client all the way back to the db or any where in between. It is fairly common to see SSL between the client and OHS then no SSL to WLS. But if security is a great concern then you may want to consider SSL from front to back. However, keep in mind that SSL comes at a price. Performance will degrade slightly when SSL is enabled.
    Also, OAM (Oracle Access Manager) has nothing to do with SSL. SSL refers to traffic encryption. OAM is for authentication - single sign on.
    Consider reviewing the Forms Deployment Guide as well as the other Fusion Middleware documents referenced within it.
    <blockquote>http://docs.oracle.com/cd/E24269_01/index.htm</blockquote>
    Finally, and most important, this topic really has nothing to do with Oracle Forms. This is more about how a web server or its environment works.

  • Help with math / calculations in RTF templates

    Greetings,
    I know that there are math capabilities in the templates... I've seen the code samples in the Core Components guide.
    What this doesn't tell you is WHERE these things would go in a template. And... that... is my question.
    We are just starting to use BIP in conjunction with JDE EnterpriseOne (8.12, tool set 8.97.12). For our first attempt we're creating our template over a new report.
    I have a template where I sum two different repeating values (through the normal BI Properties) and place these values in two separate cells in a table. I want to sum the two of these together for a "grand" total.
    I've seen the "examples" but they really aren't very helpful. The xsfo, etc. for doing addition is fine, but WHAT are the values to add and WHERE does the code go?
    If anyone has done something like this or has experience using the embedded code I would appreciate hearing from you.
    Thanks in advance

    I see what you are saying about the spaces... but it made no difference... still got the error.
    The XML file is too large and convoluted to be pasted here.
    With reqards to the following snippet:
    COLA = <?sum(current-group()/COLA)?>
    COLB = <?sum(current-group()/COLB)?>
    Summ== <?sum(current-group()/COLA) + sum(current-group()/COLB)?>
    Where does THIS code go?
    Here is the error detail:
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\jdenison\My Documents\BIP Templates\R5642001\R5642001_TEMPLsave.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\jdenison\My Documents\BIP Templates\R5642001\R5642001_RICE0001_D081029_T144059683.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'sum'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 15 more

  • Math calculations in Acrobat 8 Pro.

    I am using Acrobat 8 Pro on a windows machine running XP SP-3.
    I am building a form from a PDF document. I want to make some of the fields calculate totals from other fields... According to the Users manual (printer from the on-line documents), when I go to field properties, there should be a calculate tab which gives you the options to set the way you want the field to do calculations.
    THIS IS A TEXT FIELD.
    In the (Object)(Value) tab, I can select from a drop down box of 6 types of data; User Entered - Optional; User Entered - Recommended; User Entered - Required; Calculated - Read Only; Calculated - User Can Override; and Read Only. If (Calculate - Read Only) is sellected, I only have two radio buttons available. (Calculation Script), which gives me NO place to enter any script and, (Runtime Property) which gives me other options like page number viewer locale etc.
    I don't get what the manual says like; (Value Is Not Calculated) or (Value Is The) options. These, the way I understand it, should give more option to set up a calculation field...
    What am I doing wrong?
    By the way, the User manual I downloaded has reference to this on page 220.
    HELP

    Hi rdenichilo,
    Just out of curiosity, how many form fields are in the document? If the document is primarily text with just a signature field I'd recommend saving as RTF, but that will remove form fields. If you've got a lot of form fields we'll need a different idea
    Steve

  • Questions about using a PDF form online

    I have a client who wants to create an online version of a PDF form that they are currently using. I am currently trying to explain to them that this would be best done as an HTML web form, but I may not win this argument. I have only used PDFs for printed forms (either hand-written or using form fields) so I am not familiar with any problems that converting the form for use online would entail.
    When the 'Submit' button is pressed on the form, is there a way to redirect to another web page after the data is submitted? (i.e. does the PDF have access to it's outer 'environment'?)
    Are there any security issues submitting data using the PDF form as opposed to using a standard web form? (There may be sensitive data being submitted)
    I'm not sure how they plan to handle the data that is submitted, but there are several options in the submitForm parameters - I am assuming that using the HTML option would submit the data in the same format as a web form would. Am I correct here?
    Can the PDF be prevented from being downloaded or printed? This form should only be used to submit data to their server, not as a printed form.
    Are there any other 'gotchas' that I need to look out for? Does anyone have a recommendation for a site which contains any tutorials or guidelines for using PDF forms online?

    Thanks for the information.
    Yes, I agree that there is less reason for it to be a PDF form (Actually, no real reason other than the original form already exists in PDF), but I am unfortunately in the position that my input in this project is not necessarily being considered (my company is following direct -and inconsistent- directions from the client, and I have no contact with the client to ask questions about what their actual needs are). I have been told to give the client the 'Tomato' that they are asking for, even though they are describing an 'Apple'.
    The reason this form is not meant to be printed is that we have replaced the 'Signature' fields from the original form with checkboxes that the user must check to confirm they have 'signed' the document. If they are to print/fax/whatever the document, they should use the original form, not this one. And I am still trying to explain to them that this would be better served with an HTML web form, but I fear I am losing that battle.
    I have brought up the fact that it is not 100% guaranteed that Acrobat will be available in the browser, although I can only guess that it is less than likely that anyone will not have some sort of PDF viewer available to their browser.
    I will also mention that issues may arise if the file is not submitted from within the browser.

  • A question about UDA and Data-Forms

    Hi all,
    I have a couple of questions about UDA. I am using Hyperion Planning 11.1.1.3m, and when I desing a Data-Form I would need to use the UDA I asigned for the Entity dimension: is that posiible?
    The other question is, when creating a Substiution Variable in Essbase I use the function @UDA (+dimension+, "MemberA"), but when using this variable in the Data-Form, it does nothing at all(in fact, it is been detected as an error). Why is that happening?
    Thanks a lot

    Use an attribute dimension to achieve what you are trying to do with UDA's in a data form. An attribute dimension will allow you to filter on members in the base dimension by a specific attribute the same way a UDA will. You can create the attribute dimension in the dimension editor in Planning by selecting the base dimension (Entity) and then select the custom attributes' button. Check the dba guide for a step-by-step approach.
    With regards to the subvar, are you trying to add the function as a value of the subvar when you create it in EAS? If so, this is not allowed. What are you trying to do with the subvar on the form? Subvars are supported in data forms as part of the member selection for a dimension. For instance, you can set up a subvar called CurYear and set the value equal to FY11 for the Fiscal Year dimension. In the data form you can set the member selection for the Fiscal Year dimension to CurYear. When the user opens the form, the member FY11 is returned.

  • Need help on complex math calculation in labview

    I need some help by being pointed in the right direction.  I have a piece of old lab equipment that I will be connecting to labview.  In order to send commands to the hardware, I have to calculate a checksum.  The checksum algorythm requires me to take alphanumeric characters, convert them to binary, perform binary addition, perform an Xor, mask certain digits, and convert the resultant binary string back to an ascii character.  Does labview have the capabilities to do this on it's own, or should I look at connecting to something like an external dll? 
    I have Visual Studio 2008 and some previous VB experience, so I think I could write a program that would do the calculation, but don't really know exactly what type of project (dll, etc.) is best.  Are there any specific settings for the dll so that labview can use it.  I see an example for C++ for Visual Studio 2005, but that is as close as I can get.  I only know VB, not C# or C++
    Can someone please point me in the right direction?
    Tron
    Solved!
    Go to Solution.

    You basically need some logical shifts and ANDs.
    Check version 2.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Attachments:
    Checksum ver 2.vi ‏10 KB

Maybe you are looking for

  • Go to transaction after user clicks on report.

    Hello experts, Our users want that when they click on the report output, they want to go to a particular transaction in this case transaction AW01N(Asset Explorer) to see the values of that asset. So what I want to do is that I would make the assets

  • My macbook pro screen page jumps around without touching the touch pad

    When I am on Mail or my Firefox Browser the screen keeps jumping forward, back or to another site without my touching the trackpad. (Macbook Pro 2014.  At first I thought it was the Firefox Browser, but it also happens on "mail" (verizon.com).  This

  • How to obtain a summary for age group

    I have a field named birthdate, a field named date of service, and a field named amount for each date of service.  I need to get a summary of total amount of adult and child.   I was able to figure out the age at the date of service already.  Adult i

  • Ordering party has to be a company

    Hi All, I have the following error when i post PO from R/3 to SUS. An error occured within an XI interface: Exception occurredA:BBP_BUPA:263 -Ordering party has to be a company Programm: CX_BBP_BD_ERROR===============CP; Include: CX_BBP_BD_ERROR=====

  • WindowsXP Pro 64bit Driver vs Windows Server 2

    Hi Jason-CL and everybody else ! understand where is a possibility that the drivers for Windows XP Pro 64 bit. can work under Windows server 2003 64bit aswell under 32bit is that right ?Message Edited by audiogy2newbie on 06-9-2005 08:47 PM