Gráficar suma variables

Alguien sabe si es factible graficar la suma de dos variables que han sido historizadas? Es decir, en Citadel tengo información de la variable A y la variable B. Vamos a suponer que extraigo las últimas 24 horas de cada variable y las grafico. Eso es sencillo. La pregunta es, si pueden graficarse las últimas 24 horas de la suma de A + B sin haber creado previamente una variable C que contenga este resultado. He visto que hay una función Arithmetic que hace la suma (o resta, multiplicación y división) de dos señales pero hasta donde logro entender lo hace de información que se está adquiriendo en este momento y no sobre información histórica.
Saludos.

Mete un campo de formula que sume dichos campos, los unicos que quieres sumar, los otros los puedes dejar como ocultos quitando la casilla de Visible en pestaña General

Similar Messages

  • Sum of variable

    I have a report data as following:
    Invoice | Invoice Line | Supplier | Total Amt
    Inv 1 0001 A 100
    Inv 1 0002 B 100
    Inv 2 0001 A 200
    Inv 2 0002 B 200
    I have done the report into grouping the data by suppress the Duplicate amount and become following
    Invoice | Invoice Line | Supplier | Total Amt
    Inv 1 0001 A 100
            0002 B
    Inv 2 0001 A 200
            0002 B
    I have use a variable to calculate how much of Supplier available by using count. In order to avoid duplicate Total Amt = 200, I create a variable C = sum(Total Amt) / count(Supplier). But one things is if I want to do the sum for Total Amt for the entire report. I am not able to use the Sum(Total Amt) in Report footer. And I am not able to do the Sum (Variable C). Any idea?

    i gather you are grouping your report by customer then invoice number
    use MANUAL running totals, the wizard may be the reason it is incorrect.
    create 1 set of the 3 formulas listed below for customer and one set for invoice id.
    RESET
    The reset formula is placed in a group header report header to reset the summary to zero for each unique record it groups by.
    whileprintingrecords;
    Numbervar  X := 0;
    CALCULATION
    The calculation is placed adjacent to the field or formula that is being calculated.
    (if there are duplicate values; create a group on the field that is being calculated on. If there are not duplicate records, the detail section is used.
    whileprintingrecords;
    Numbervar  X := x + ; ( or formula)
    DISPLAY
    The display is the sum of what is being calculated. This is placed in a group, page or report footer. (generally placed in the group footer of the group header where the reset is placed.)
    whileprintingrecords;
    Numbervar  X;

  • ALD VAT Sum Question

    I am a realy newbie regarding to the ALD in Business One.
    I am trying to print out at the end of my producttable in my invoice a line like this:
    "incl. VAT with Code A2 at 16,00% (for instance) of (the amount of all the lines which are calculated with the Code A2) (and then the sum of the taxes)"
    Could you tell me how to describe the function ?
    Thanks in advance

    I had the same problem. At first it looks as though SAP has already worked upon tax summaries inside ALD, but there was no way to find out how they should work.
    One can only shout out loud that, at least with german laws, <b><i>ALD is no use for sales documents as long as it can't produce VAT sums</i></b>.
    <u><b>Here's a workaround:</b></u>
    1. Create three sum variables for each relevant vat group:
    - price before taxation (e.g. "PRICE")
    - price after taxation (e.g. "GROSS")
    - tax itself (e.g. "VAT")
    Example:
    Implementing two tax groups, create:
    @PRICE1,@PRICE2,@GROSS1,@GROSS2,@VAT1,@VAT2
    2. Use conditional accumulation for the sum variables:
    Example for a @GROSS1 variable:
    if( Belegzeile.Steuerdefinition_VatGroup.Code="A1" , Belegzeile.Preis_inkl__Steuer * Belegzeile.Menge , 0 )
    Sorry 'bout the german field names; I'm sure it'll be easy to translate.
    3. Create taxation summary in the footer of your table:
    - Add one line per tax group.
    - Use the corresponding sum variables to print out values.
    - Use one of the sum variables for definition of a print condition. Example:
    @GROSS1>0
    The corresponding VAT sum line will only be printed if there are amounts available in the current document.
    That's all!
    It's quite easy, but it requires static definition of known tax groups. Sum variables can only be numeric, so there's no way to extract the tax group names from the database for later use.
    However, to create a more generic template you can define the group names and codes by user variables. Usage of such "constants" could make adaption of form templates much easier (I use them for tax names and fstring$ format definitions).
    ====================================
    Extension:
    If you want to extract the vat percentage rates into sum variables you would have to expand the variable calculations as such (example for sum variable @PERC1):
    if(@PERC1=0 and Belegzeile.Steuerdefinition_VatGroup.Code="A1",Belegzeile.USt__Prozentsatz_pro_Zeile,0)
    @PERC_A1 will only be accumulated once and takes over a single desired value.
    <i>keywords: "advanced layout designer" tax taxation "tax summary" "vat summary" vat invoice legal</i>

  • About variables in scripts

    what type of variables used in scripts to out put data

    Hi
    See the script symbols
    A variable in SAPscript is called a symbol. There are the following types.
    • System symbol (e.g. the number of the current page)
    • Standard symbol (usable in any document)
    • Program symbol (value from the print program)
    • Text symbol (“local variable”)
    The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
    goto any PAGEWINDOW's Text elements in Script (SE71)
    from the Menu-> INSERT-> Symbols
    you find all symbols here
    System symbols
    System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
    1. General system symbols
    See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
    2. SAPscript system symbols
    See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
    3. ABAP system symbols
    For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. [SYST is the dictionary structure for ABAP system fields.]
    Sample code:
    User: &SYST-UNAME&
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
    Standard symbols
    Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
    Tools
    Form Printout
    Administration
    Settings
    Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
    The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
    We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
    Standard symbols complicate searching a SAPscript form, since text like ‘Charity registration 211581’ may be hiding in a standard symbol.
    Text symbols
    A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
    /: DEFINE &COMP_NAME& = ‘University of Warwick’
    /: DEFINE &WS_RATE& = &TAX_SUMM_C&
    SCRIPT COMMANDS
    ADDRESS : Formatting of Address
    BOTTOM, ENDBOTTOM : Define Footer text in a window
    BOX, POSITION, SIZE : Boxes, Lines and Shading
    CASE, ENDCASE : Case Distinction
    DEFINE : Value assignment to text symbols
    HEX, ENDHEX : Hexadecimal values
    IF, ENDIF : Conditional text output
    INCLUDE : Include other texts
    NEW-PAGE : Explicit forms feed
    NEW-WINDOW : Next window main
    PRINT-CONTROL : Insert print control character
    PROTECT...ENDPROTECT : Protect from page break
    RESET : Initialize outline paragraphs
    SET COUNTRY : Country-specific formating
    SET DATE MASK : Formating of date fields
    SET SIGN : Position of +/- sign
    SET TIME MASK : Formating of time fields
    STYLE : Change style
    SUMMING : Summing variables
    TOP : Set header text in window MAIN
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Changes Interactive forms after SAP_BASIS SP19, SUM in formcalc

    Hi,
    after updating to SP19 of SAP_BASIS, formcalc has changed in sum() evaluation (I know it is strange):
    Before SP19 in this expression:
    Sum($form.IK.IN.DATA[*].N_HOD), Sum returns zero value if table has zero rows (nothing to count)
    now I get error (if table have zero rows) :
    Script error:.....Error:accesor '$form.IK.IN.DATA[*].N_HOD' is unknown.
    Before SP19 behaviour was better, now I have to check all tables if have data, perform sum into variables and then sum variables...
    this means 4x longer formcalc code........
    Many thank for any explanation or workaround.

    Hi,
    It's my problem only.
    Coming to my FORMCALC/JAVASCRIPT Problem,I made some mistakes in my scripts, which lead me to this confusion.
    And coming to my BADI Method problem which I mentioned below...I didnt activate my BADI Method, but I was expecting those changes to be there in EP. I checked these methods carefully and found that my METHOD is not ACTIVE.After ACTIVATION of my method, I can see the CHANGES happening perfectly.
    So there is absolutely <b>NO BUFFER PROBLEM</b> from <i>ADOBE INTERACTIVE FORMS</i>.
    Regards,
    Raja Sekhar

  • How to use one button for mltiple task?

    hi, every body,
    how do i get one button to do mitple tasks,for example
    i have one button called(+), i'd like it to do addition and get the answer,in other word:
    1-press any number, called it 1.
    2-press the (+) button to add previous number.
    3-press anthor number, called it 5.
    4-again press the (+) button to add two numbers(1+5)and show the answer(6) .
    5-again press anthor number called it 4.
    6-press the (+) button again ,to add previous result(6) to current number(4)and show the answer that is(10) and so on...

    sorry for being late here is the code
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    public class Calc2 {
    private JTextField d1;
    private JFrame frame;
    private int a,s,sum;
    public static void main (String[] args) {
    Calc2 g = new Calc2();
    g.go();
    } // close main
    public void go() {
    frame = new JFrame("Simple");
    Panel mainPanel = new Panel();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Font bigFont = new Font("sanserif",Font.BOLD,24);
    d1 = new JTextField(10);
    JButton b = new JButton("+");
    b.addActionListener(new AddListener());
    mainPanel.add(d1);
    mainPanel.add(b);
    frame.getContentPane().add(BorderLayout.CENTER,mainPanel);
    frame.setSize(500,600);
    frame.setVisible(true);
    }//close go()
    public class AddListener implements ActionListener {
    public void actionPerformed(ActionEvent ev) {
    String x = d1.getText();
    s = Integer.parseInt(x);
    d1.setText("");
    d1.requestFocus();
    String z = d1.getText();
    a = Integer.parseInt(z);
    sum = a + s;
    //Now how to keep track of a sum variable, and a currentValue variable.
    d1.setText(Integer.toString(sum));
    }//close inner
    }//close class

  • Can any one help me??

    I need the full code for this question. Can any please give me the solution?
    Write a java program which does the following:
    1.     Declares 2,  1 -D integer arrays called M and N, with 16 elements each.
    2.     Populates M and N using Scanner.
    3.     Prints the sum of all the elements in M
    4.     Prints the maximum and the minimum values in M
    5.     Counts the number of even and the number of odd values in M.
    6.     Copies the distinct values in M into another array called P, and then print the values in P.
    7.     Prints all the elements in P which are not in N.I have tried doing it a bit but got errors.
    import java.util.Scanner;
    public class hw4 {
    public static void main(String[] args) {
         Scanner kb = new Scanner(System.in);
         int[] M = new int[16];
         int[] N = new int[16];
         System.out.println(" Enter elements of M:");
         for(int i=0; i<16; i++) {
                   M[i] = kb.nextInt();
         System.out.println("\n Enter elements of N:");
         for(int j=0; j<16; j++) {     
                   N[j] = kb.nextInt();
         for(int k=0; k<16; k++) {
              int sum = M[k] + N[k];
         System.out.println("Sum: " +sum);     
         max(M);     
         System.out.println("Max: " +maximum);          
    public static int max(int[] t) {
        int maximum = t[0];
        for (int i=1; i<t.length; i++) {
            if (t[i] > maximum) {
                maximum = t;
    return maximum;
    }Please help me...continue the program. Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    JaVa_MAsTeR wrote:
    I need the full code for this question. Can any please give me the solution?One bit of advice, never ask for "full code" as that marks you as possibly being lazy. I'm sure that's not what you intended, but the full code is your responsibililty, not ours. Also, when asking for free advice, it's best not to put stipulations on that advice. It can be thought of by some as being kind of rude.
    Anyway, your sum doesn't sum M. What you are doing is adding each element in M array to the same element in the N array, and each time you over-write the previous result in Sum. To add the elements of M together, you need to add each element to the sum variable. Inside of the for loop, something like so:
    mySum = mySum + arrayElementor to shorten:mySum += arrayElement[i]Edited by: Encephalopathic on Dec 24, 2007 9:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Receving two idoc in ratio 1:n and branch to 2 receiver

    Hi All,
      I need help to configure the scenario that I need to receive 2 idoc of different type one with 1 occurene and the other with n occurence. I configured BPM like this
    1. Fork step with 1 receiver step in one branch and other receiver step inside the loop (because we need to sum the value of one single field f1 using container step) in the other branch. for the loop and receiver step correlation condition is specified.
    2. Switch step for 2 branch with the correlation condition of summed variable. In this if condtion is satisfied we need to send file to both email and file adapter. so used fork step with sender in 2 branch else if the condition is not satisfied only one sender to the mail adapter.
    please let me know whether this BPM configuration is correct .  because it is picking the file but there is an error in BPM.  Please let me know how to check in which step the error is.
    Regards,
    Dhill.

    Hi Ahmad,
      I gone through the blog but here we have multiple sender but not multile receiver... In my case i have multiple sender (two idoc n:1 occurence) and multiple receiver (file and email).
      If need to sum the value of the field in the idoc which comes n times and then i need to compare the thing with the field in other idoc whosse occurence is one..
    if the above condition is satisfied i wil be sending for the both the sender file and mail if not only to mail.  Can you please tell me can we do it without BPM.. because now i have totally 3 sender.. 2 in fork and 1 separately.. but all the sender the message type is same.
    Now i don't know whether to specify the communication channel for the sender to differentitate between the two sender.
    Regards,
    Dhill.
    Dhil Kumar

  • Error in a Select with a second Select in stored procedure.

    Hi,
    Can you help me please to know why this query works in a PL/SQL Console but not in a stored procedure.
    Query :
    SELECT
    variable1,
    variable2,
    (SELECT sum(variables) FROM foo), <---- Error here
    FROM
    bar
    this query works in console but if i compile a stored procedure with this i have the error :
    Compilation errors for PACKAGE BODY INFOC.BSS
    Error: PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
    ( - + mod not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string>
    Line: 2804
    For information, i use Oracle 8 and PL/SQL Developer
    Thanks

    In earlier versions of Oracle (like 8) there are some differences between the SQL engine and the SQL engine in PL/SQL. Things that work in SQL may not work on PL/SQL. I can replicate your error in my 8.1.7.4 instance, but it works correctly in my 9.2 instance. I don't have anything in between to test, so I can't tell you which version it will work on.
    The workaround is to create a view in the database using the query, and query that view in your stored procedure.
    HTH
    John

  • BInput Data mismatch with currency format

    i am working with fs10 transaction
    I want to sum up the balance amount with respect to all
    companycode and post SUM to the bseg table using Batch input.
    i defined sum variable as below and coded.
    data : sum like glt0-hsl01.  (currency format)
    After all SUM operation.
    I have done like this to diplay SUM in report first(to check SUM output)
    SUM = SUM * 100.
    write : sum decimals 0.
    >>>>Now in report output i get value '17,222-'
    if u see in  fs10 screen we are getting same value.
    but when i try to post in Batch input.
    i have done like this below.(before posting i have checked
    for negative value )
    if sum < 0.
    sum = sum *100.
    compute sum = abs( sum )
    now...
    perform open_group................
    perform bdc_field using 'bseg-wrbtr'  (currency format)
                                    sum.
    when i execute this BI i get error in Amount(Sum)value
    display screen. (saying something differs in length )
    how to match the field.
    ambichan.

    Hello,
    Go to the Domain of the Field BSEG-WRBTR, which is WERT7. There you see the Output length as 16. So you decalre a local variable in BDC which is of CHAR16 in length to hold the value of WRBTR.
    Hope this helps you.
    Regds, Murugesh AS

  • Control break statements in Scripts

    Hi All
    Please help me.
    What are the control break statements are possible in SAP Scripts for Main Window.
    Regards
    Praveen

    This gives over view of almost all control commands.
    ADDRESS               Formatting of addresses
    BOTTOM, ENDBOTTOM     Define footer text in a window
    BOX, POSITION, SIZE   Boxes, lines and shading
    CASE, ENDCASE         Case distinction
    DEFINE                Value assignment to text symbols
    HEX, ENDHEX           Hexadecimal values
    IF, ENDIF             Conditional text output
    INCLUDE               Include other texts
    NEW-PAGE              Explicit forms feed
    NEW-WINDOW            Next window MAIN
    PRINT-CONTROL         Insert print control character
    PROTECT, ENDPROTECT   Protect from page break
    RESET                 Initialize outline paragraphs
    SET COUNTRY           Country-specific formatting
    SET DATE MASK         Formatting of date fields
    SET SIGN              Position of +/- sign
    SET TIME MASK         Formatting of time fields
    STYLE                 Change style
    SUMMING               Summing variables
    TOP                   Set header text in window MAIN

  • Queries In Smart Forms

    Hi Friends,
    I am doing smartforms for the first time and have gone thru the SAP's document for smartforms but still
    have few querries which are left unanswered.
    Kindly help in clarifying those :
    1.  If we are retrieving data from driver program and data is in internal table, we will define it in Tables tab
         of Form Interface with table type. But I have seen in Import parameters in demo example some import
        parameters have structures as there types. Then how do we use those import parameters?
    2. How to do total and sub totals for numeric fields? And also how to change amout in words?
    3. What is the purpose of Command, Program Lines and Loop with Specific example, so I can understand
        what to apply and when to apply out of these?
    It would be great if I get fruitful answers of these queries with relevant example and business requirements?
    Regards,
    Pradeep

    hi pradeep,
    1. If we are retrieving data from driver program and data is in internal table, we will define it in Tables tab
    of Form Interface with table type. But I have seen in Import parameters in demo example some import
    parameters have structures as there types. Then how do we use those import parameters?
    => generally when u define in table tab u will retrive data using a loop. but if u define in import tab u can directly access that one.
    for example: i want to print matnr from mara
    in import tab write: abc type mara
    in text write: &abc-matnr&
    then the value u passed in driver program will b printed in place of matnr.
    2. How to do total and sub totals for numeric fields? And also how to change amout in words?
    => to get the totals
    if u r printing data using table in smartform. then in for table, u will get its settings, in that select calculations tab. there u select total under operation, give the field name for which u want to have the total, give the target field name in which the total sum will b stored.
    for eaxmple: im printing employee details
    in the table i have 3 fields- empno, empname, empsal
    i have defined a variable sum type i.
    now i want to have sum of all employees salary.
    now in table -> calculations tab -> give
                   operation = total
                   fieldname = empsal
                   target field = sum
    now sum variable will have the total summed value.
    3 What is the purpose of Command, Program Lines and Loop with Specific example, so I can understand
    what to apply and when to apply out of these?
    => command:
    it is to execute the commands like NEW-PAGE etc
    program lines:
    it is to write the code
    here u have input parameter, output parameter n space to write the code
    for example: i want to print the data in table MARA
    in global definition -> global data tab
    it_mara type MARA
    in program lines: at input parameter give MARA
    at output parameter give it_mara
    in space below write: select * from MARA into it_mara.
    endselect.
    now u can get the data into it_mara. using table u can print them. like this u can write any code here.
    or u have 2 variables with values v1,v2
    u want to have the sum of them into v3
    then: input parameter - v1
                                      v2
            output parameter - v3
            code - v3 = v1 + v2
    loop:
    when u have data in a table, u dont want to print all the data. u just want to have the no.of entries in that or sum of one field in that table, then u can use this loop.
    hope this helps you.

  • Someone could help me?

    Hey, i hope i'm not annoying u with this :S ...
    I have a just small problem on this code. I'm trying to figured out but im didn't solve it yet.
    COuld u helpe me?
    thanks!
    the out print must be something like this:
    Insert a number: 12
    The Solution of 12 is: 3 <<<------- (1+2)
    another example: number : 145
    Solution is : 1+4+5 = 10
    NOTE: The problem is in the last 4 lines before the { , i'm almost sure =)
    Code:
    import java.io.*;
    public class SumewithFor
    public static void main(String[] args) throws Exception {
    int num,x;
    int sum =0; int digit;
    //if the number is < 0
    do {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    System.out.print("Insert a number > than Zero: ");
    num = Integer.parseInt(br.readLine().trim());
    if(num < 0) {
    System.out.println("Incorrect number. Must be > than zero!!");
    }while (num < 0);
    x=num;
    System.out.print("The solution of "+x+" is : ");
    //pick the last digit of the number and save it in the digit variable then, sum it with the sum variable
    for(; num >0; num = num / 10) {
    digit = num %10;
    sum= sum + digit;
    System.out.print("??? Print what?? ");
    thanks

    Now posted over here:
    http://forum.java.sun.com/thread.jspa?threadID=654063

  • Need Help With Check Box count Script

    Need to count the number of checked boxes. I'm using the script below and its not working. What I'm I doing wrong? It's driving me crazy.
    // document level function to sum named fields
    function Sum(aFieldNames) {
    var sum = 0; // sum of values
    // loop through fields
    for (var i = 0; i < aFieldNames.length; i++) {
    if(!isNaN(this.getField(aFieldNames[i]).value) )
    sum += Number(this.getField(aFieldNames[i]).value);
    return sum;
    } // end of Sum function
    // array of field names sum
    var aCheckBox = new Array('Check Box5', 'Check Box8', 'Check Box11', 'Check Box16', 'Check Box19','Check Box22', 'Check Box25','Check Box28', 'Check Box31', 'Check Box34','Check Box37', 'Check Box40','Check Box43', 'Check Box46', 'Check Box49','Check Box52', 'Check Box55','Check Box58', 'Check Box61', 'Check Box64','Check Box68');
    // sum named fields
    event.value = Sum(aCheckBox);

    Then why are you checking if they're a number by using the isNaN function, and then trying to add that number to the sum variable? It looks like you just copied the code from somewhere else, even though it doesn't apply to your situation.
    Replace those two lines of the code with this:
    if (this.getField(aFieldNames[i]).value!="Off") sum++;

  • Script symbols

    dear ,
    in script i want to display char symbols of sap in my script when i selecting the FOLDER SYMBOL in chnage editor it is displaying soome some for ex <677>. but when see the print testing it is displaying . plz help.

    Hi
    see this reg script symbols
    A variable in SAPscript is called a symbol. There are the following types.
    • System symbol (e.g. the number of the current page)
    • Standard symbol (usable in any document)
    • Program symbol (value from the print program)
    • Text symbol (“local variable”)
    The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
    goto any PAGEWINDOW's Text elements in Script (SE71)
    from the Menu-> INSERT-> Symbols
    you find all symbols here
    System symbols
    System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
    1. General system symbols
    See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
    2. SAPscript system symbols
    See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
    3. ABAP system symbols
    For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. [SYST is the dictionary structure for ABAP system fields.]
    Sample code:
    User: &SYST-UNAME&
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
    Standard symbols
    Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
    Tools
    Form Printout
    Administration
    Settings
    Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
    The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
    We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
    Standard symbols complicate searching a SAPscript form, since text like ‘Charity registration 211581’ may be hiding in a standard symbol.
    Text symbols
    A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
    /: DEFINE &COMP_NAME& = ‘University of Warwick’
    /: DEFINE &WS_RATE& = &TAX_SUMM_C&
    SCRIPT COMMANDS
    ADDRESS : Formatting of Address
    BOTTOM, ENDBOTTOM : Define Footer text in a window
    BOX, POSITION, SIZE : Boxes, Lines and Shading
    CASE, ENDCASE : Case Distinction
    DEFINE : Value assignment to text symbols
    HEX, ENDHEX : Hexadecimal values
    IF, ENDIF : Conditional text output
    INCLUDE : Include other texts
    NEW-PAGE : Explicit forms feed
    NEW-WINDOW : Next window main
    PRINT-CONTROL : Insert print control character
    PROTECT...ENDPROTECT : Protect from page break
    RESET : Initialize outline paragraphs
    SET COUNTRY : Country-specific formating
    SET DATE MASK : Formating of date fields
    SET SIGN : Position of +/- sign
    SET TIME MASK : Formating of time fields
    STYLE : Change style
    SUMMING : Summing variables
    TOP : Set header text in window MAIN
    Regards
    Anji

Maybe you are looking for

  • Ipod wifi wont go up

    My ipods wifi bar if soposed to be 3 bars and it shows only one why?

  • IWeb sites Back Up

    Perhaps someone can help me with this... I'm planning to wipe my PowerBook G4 (and re-install everything) and am backing up files on my external HD. Looking for my iWeb files all I get is a file called "Domain" is this the only one I have to drag-and

  • Please Help ! Nokia 5800 GRPS needing applications...

    OK so i bought a nokoia 5800 around 2 months ago. i hav updated it to V30 also. but the problem none of the messengers i.e. nimbuzz , fring, ebuddy etc are working. I do allow them to read and edit data. i do select the proper acces point also. The s

  • Is it better for the computer to shut it down or put it to sleep?

    For a while I thought that it was bad to put a computer to sleep, but that was when I had a really old colored OS 9.1 iMac. Someone else who uses a powerbook G4 said that sleeping is better, and that they never actually turn off the computer. I ask t

  • How do i get source value in netui:image tag at runtime ?

    Hi i am trying to get the src value in netui:image at runtime. is this possible?           <pt:getSetting id="imgServer" type="gateway" settingName="<%= GS.PT_IMAGESERVER_URI %>"/>           <pt:getSetting id="imgBaseDir" type="admin" settingName="im