SAPSCRIPT Quantity Symbol printing different values

Hi,
I am generating a Printout & Fax at a time for the Purchase Order output, a SYMBOL which is having a conversion value is printing different values in FAX output. Both the Printout and Fax uses the same Print Program but different sapscripts which have same formatting for printing the conversion value (different scripts but copied one and no changes in the script).
the following symbol is printing different values:
Print program:
data: p_value type ekpo-menge,
         umbsz TYPE umbsz.
umbsz = marm-umrez / marm-umren.
p_value = umbsz.
Script
&p_value(7.0R)&
This &p_value(7.0R)& gives different values in Printout and Fax and this difference is not for every document, it is for some documents and there are no changes in conversions also.
My question is: "Is there any problem in using (7.0R) for datatype menge, I mean restrict the no.of characters and decimals at a time for quantity field type".
Thanks in Advance.
Ravi

Hi Ravi,
Try doing a WRITE - TO in your program. Make the variable p_value type char.
Another suggestion would be to get the value doing a PERFORM xxxxx IN PROGRAM and retrieve the value from there.
Regards,
Ernesto.

Similar Messages

  • Priting same SAPscript form on different printer: different results

    Hi,
    my client has different printer models and is claiming now that the forms appear different.
    Do I have to create a SAPscript form for each printer type?
    Is there a way to use the same form for all printer models?
    Would we have the same problem using SMARTFORM?
    Thanks for your help in advance!!!
    thomas

    Hi.
    You should not have one SAPscript for each printer type. Thats not really a good idea. I would first of all try to do some tests with different device types on your output devices.
    I don't think converting to SMARTFORM is the way to go if you don't feel like you have to. It is much easier to experiment with the device types.
    BR
    Niklas

  • Move values of one field symbol to other field symbol of different structur

    Hi all,
    i need to move values of one field symbol to other field symbol of different structure.
    I need to perform operations like MOVE-CORRESPONDING on two field symbols of different structure.
    How can i achieve this?
    field symbol 1 have 2 field and field symbol2 have 4 fields....
    Best Regards,
    Vijay.

    Hi,
    You can use -
    MOVE-CORRESPONDING <struct1> to <struc2>.
    In this case it will move the contents of the components from struct1 to struct2 that has identical names.
    You can refer this link also-
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3260358411d1829f0000e829fbfe/content.htm
    Regards,
    Sujit

  • Currency symbol printing

    Hi experts,
    In scripts, i need to print currency symbol with amount.  How it can be done ?
    EX : $1100.  - US dollar.
    Please help me to do .
    Thanks.

    Hi
    I think You can't print the symbols for currency like $ and Pound etc
    see this doc if needed
    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&
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to print the values of type Object?

    Hi All,
    I am not able to print values of the following can anyone telme where i am wrong and what i can do in this regard.
    Object one = request.getAttribute("values");
    When i try to print these values as following
    System.out.println("one ="+one);
    am not getting the values in a different format something like [Ljava.lang.String;@1234f. I tried to convert the following Object to String still its not working. Can some one please suggest me what i can do in this regard.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ferrari_sun wrote:
    I am getting a Null pointer exception if i typecast it to a string array. Not sure what to do nowThe hell you are. You don't get Null pointers out of casting. However you might be accessing null elements of the array afterwards.
    You really should throw away the code, go fetch some "How to learn basic Java with Wiggles The Bear" ebook and then start learning the basics instead of tripping on every single line of your code which is too complicated for you.

  • How to print different pages of sap script  from diff. trays of printer

    Hi All,
    I have the requirement in SAP script. How to print different pages from different trays in the printer.
    For example  page 1 logo and address has to print from tray-1,
                        page 2 main data print from tray-2,
                        page 3 footer data print from tray-3.
    will appreciate if u come up with solutions asap.
    Thanks in advance.

    Hi,
    May be the links given below might help you,
    SAPScript:Selecting Different Tray in SAPscript
    Print to different output tray in SAPscript/Print Workbench
    Regards,
    Hema.
    Reward points if it is useful.

  • How to Print the Value of a variable inside a PL/SQL package

    Hi Friends,
    Here is my Scenario
    I have a PL/SQL Package. Let us call it Baseline Package.
    This Package includes a dynamically built merge Statement.
    Execute Immediate v_merge_query.
    I have a procedure which replaces which few Keywords from the Package Text and Creates a new one depending on Inputs I provide. (This is something like a Code generator)
    Now while Creating the new package, I need to print the Value of v_merge_query.... I Need s Static Query to be Printed inside the new package and not a dynamic query.
    My Question is "Is there a way to print the value of the variable inside a different PL/SQL package?
    Thanks in Advance,
    Mohit

    Print where?
    That PL/SQL code is server-side code. It runs in an Oracle server process.
    That server process does not have a keyboard. Or a screen/monitor. Or display canvas. Or an attached printer.
    That server process is incapable of "printing" as that is not its job or responsibility and not part of its environment.
    What is can do is record data for the client to look at afterwards. This can be done using static PL/SQL session variables. Or a SQL table.
    The former is done by DBMS_OUTPUT - a very primitive interface for writing text into a static PL/SQL string array. That btw resides in expensive private process server memory. The client can query the array after a database call and render the contents.
    PS. Also keep in mind that bind variables are critical for performance and server robustness - especially when (ab)using dynamic SQL.

  • Multiple repeating frames with same source printing same Values

    Dear all,
    I have a report which is having more than 10 repating frames in this 4 repating frames have same source assingned,during the report execution just before printing the repeating frames at various levels am inserting records into the source table assignd to the 4 repating frames.i actually want the repeating frames to print values i just inserted in to the table,diffrent repeating frames should print diffrent values.
    i have put source query like this;
    select * from <table> where print_status is null.
    just before printing the repeating frames am inserting values in to this table
    insert into <table> values ();
    print repeating frame 1
    insert
    print repeating frame 2
    insert
    print repeating frame 3
    insert
    print repeating frame 4
    in this particular case the report is printing only one row which i have inserted before printing the repeating frame 1.(basically the query is not refreshing at various grups)
    I want to print records which is inserted at each level .using one source query and 4 diffrent repeating frames.
    Hope am clear with my query.

    Dear Kumar,
    You are exactly right, but during the execution of the report at different interval I am modifying the data of the source table.
    Dear Andreas,
    Currently am modifying an existing report which is designed few years before, and having hell lot of frames and repeating frames and I need to include the above said portion between these repeating frames. The major reason why i tried to adopt this method is, during the execution of the report at each different intervals I am doing some calculation and then inserting the results into a global temporary table, again the same global temporary table am trying to print it in different places .Since I have multiple rows to print from this table I am using a repeating frame.
    I have resolved this issue using packages and assigning values into packaged variables. But I had a gut feeling that declaring too much variables might confuse others especially some other developer.
    Edited by: mayannajeeb on Jun 8, 2010 12:27 PM

  • Aperture shot is recorded at different values in output file

    Dear Lens users,
    Please explain why the aperture values which I used in my images for my sets that I used to profile my lenses, are showing up in the output data, in the .LCP file, as having different values. For instance, at f2.8 which I used for several lens image sets, the aperture value is listed as "2.970854" and not as 2.8. Likewise for my shot aperture of f8, the aperture value listed in the output .LCP file is 6.00000.
    There must be some technical explanation of why the apertures shown on the aperture ring(when there is one) or camera screen, traditional apertures thought of as f2.8, f4, f5.6, etc., are stated within the data files as other values, close but not the same.
    Thanks, Debra

    Thank you phototrek and T.Phanngam.
    I do not see the value "FNumber" in any of my profile .LCP Files, unfortunately, I only see only the ApertureValue(I also used "Search" for "FNumber").
    T.Phanngam - thanks very much for the pdf file on the technical white paper on the Lens Profile Creator - I have not seen this document before. I am printing it to read it thoroughly.
    Thanks to both for replies,
    Debra

  • Assembler: subtracting symbols in different sections

    Hello,
    the x86(_64) assembler that comes with Sun Studio refuses to compute the difference between symbols in different sections with an error message: "Illegal subtraction - symbols from different sections".
    Even if it makes sense to refuse such subtractions (is there a standard somewhere that says they are illegal? The ELF ABI maybe?), gnu tools accept them, so people start using them (apparently there can be some benefits), and the code fails to compile with Sun Studio. I know gcc regularly has such problems since around 2005, and the latest version of gmp also has this issue.
    Is there a chance such subtractions may become legal in some not too distant future?

    The GNU assembler manual says that a program cannot subtract
    symbols from different sections. The text states
    Subtraction. If the right argument is absolute, the result has the section of
    the left argument. If both arguments are in the same section, the result is
    absolute. You may not subtract arguments from different sections.
    I wrote some trial programs that subtracted symbols from different sections.
    The assembler accepted one of them, but most failed to assemble with error
    messages such as
    t.s: Assembler messages:
    t.s:27: Error: can't resolve `a' {.data section} - `main' {.text section}
    There is a reason to reject such expressions. There is no ELF relocation type
    for such expressions.
    The one program that succeeded in assembling produced the value zero for
    the subtraction even though it should have been nonzero.
    I ran my tests under SLES 10 SP2. I used the assembler in /usr/bin/as. It is
    possible that other Linux distros would produce different results.
    Bob Corbett

  • Moveing average price after posting invoice with different value  than GR

    Hello all
    I have a question as in subject.
    If I will post goods receipt and after this I would like to post an invoice in MIRO with different value than in goods receipt , the MAP on my stock will change about this different???

    Hi,
    Your MAP will get recalculated as the price difference will change the total value of the stock and the stock quantity will remain the same
    MAP=Total value/Total stock
    Hope this will help you
    Reward if useful
    Thanx and Regards
    SHYAM.R

  • Printing different pages by clicking single button

    Hi,
    I want to print different jsp pages by clicking single button.all process should be done in back ground.Is there any way to do this.
    please help me.
    thanks

    If you are using JavaScript you can do the following:
    In the HTML Header add :
    <link rel=alternate name="printlink" media=print href="{path to jsp}">
    This will cause the jsp/html page pointed at in {path to jsp} when you do a javascript:window.print().
    Such as :
    <input type="button" class="stdButton" value="Print" name="Print" onClick="javascript:window.print();">
    If you have different pages to print you can redirect the link like this:
    <input type="button" class="stdButton" value="Other Report" name="OtherReport" onClick="printOtherReport();">
      function printOtherReport() {
      window.document.getElementsByTagName("link").item(0).href   = "{path to other jsp}";
      window.print();
      window.document.getElementsByTagName("link").item(0).href = "{path to first jsp}";

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • Print different triangle in vertical and horizontal

    Hi,
    I have a problem to print different type of triangle like this:
    Someone can me help?
    Thank you very much.
    Jas

    Yes, but with different for what is the way?
    For exemple with this two triangles:
    public class Triangles
    public static void main(String[] args){
    int number =7;
    String triangle = "";
    String triangle2 = "";
    //first triangle
    for(int i=0; i< number; i++)
    triangle = triangle + '*';
    System.out.println(triangle);
    System.out.println("\n");
    //second triangle
    for(int f=0; f<number+f; f++)
    for(int k=0; k<number; k++)
    System.out.print('*');
    number = number -1;
    System.out.print("\n");
    System.out.println("\n");
    }

  • How can I use the print module to print different size images on one large "canvas"?

    How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
    I was thinking the print module would do this automatically for me.

    You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.

Maybe you are looking for

  • Soundmax XP driver unstable in Windows 7

    I recently upgraded my Pavilion zv5000 (PC742AV) from Win XP Pro to Win 7 Ultimate (32-bit). Everything went fine except that the only audio driver that "works" at all is the one for Win XP, it's version 5.12.1.5170 from 7/8/2004, and downloaded from

  • XML error since SAP field name has the character '/'

    Hi all, Forgive me if this is the wrong forum for this post. Here's goes my problem. There's a field in VBAP /BEV1/SRFUND which is mapped to an XML structure directly. Because of the existing '/' character in the name, the XML output appears as </BEV

  • Photos won't hide after marked hidden - how may I do that?

    After I hide a picture in the new Photos program the picture it doesn't actually hide even tough it's marked hidden. How may I make sure the picture won't display in my library?

  • What are the possible Monitor Object status data members

    I have problems connecting to the object over ethernet. I need to know what the status data member text info means.

  • Contacts list

    in the past I was always able to see my contacts, but every time I login now it's a complete waste of time. I cannot use skype because I have no contacts now as the list is hidden. to say skype has become useless tois an understatment. Can you either