Script total window problem

I have some range of customers
For every customer it should trigger a new page
but for every customer it should display the total amount in the total window that is only in the last page of each customer
Iam able to divide the customers into pages
but iam unable to print the total at the last page for every customer
can anyone tell me how to do it
Thank you.

Hi
In the driver Program use the Control break statements like AT NEW, AT END OF
and AT END OF KUNNR, do the SUM for him and move that Value into a Variable and move this SUM and KUNNR into a separate internal table.
and AT LAST display these internal table Values which will have customer wise totals
Regards
Anji

Similar Messages

  • Problem with sap script main window

    Hi,
    I am modifying the existed sap script. I added a box and some line items to the sap script main window.
    Now i want to increase the size of the mainwindow.
    Please guide me how to increase the lines of main window . I am unable to edit the standard attributes of the main window ,because all are in disable mode.
    Please guide me how to increase the size of the main window.
    Thanks in advance
    Regards
    Sudhakar

    Hi,
    You might be trying to edit the script in non original language. You can change the layout only in the original language.
    Check the attributes of the script to see the original language.
    Thanks,
    Vinod.

  • GP login script causes windows to crash

    We have a script that runs on all computers that opens our intranet. This script crashed Windows build 9926 overtime. Is there any way to fix this. Also I can't install the new build because the HP printers update fails everytime.

    Hi,
    How did you determined that it is the script caused this problem? If this problem caused by the script indeed, what't the function of this script?
    For HP printer problem, it's probably a driver compatibility with new system problem, it would be better to contact HP support to confirm this issue.
    Roger Lu
    TechNet Community Support

  • Getting the data in Total window

    Hi All(Experts),
    Here i have one sap script with total window just below mainwindow with USD
    followed by Invoice Subtotal, Gst, Frieght, Deposit, Totals.
    Last window is empty and we need to get data similar like USD data but with SGD currency.
    Program name is : "RFKORD50_IRE".Can you please let me know how to get this data?
    Thank you,
    Suman

    Hi,
    For data saving purposes aggregate button in the corresponding webdyn pro component and implement method ONACTIONSAVE.
    You will need to take profit of the function BAPI_BUS2173_GET_DETAIL to find path to the data you want to save..
    kind regards
    HF

  • Close script output window

    So after YEARS of working with MS SQL, I'm now working with Oracle. One of the biggest problems I'm having is that in Microsoft SSMS, you can hit Ctrl+R to minimize the query results window.
    1) Is there a shortcut key to minimize the script output window in SQL developer?
    2) I would like to change the shortcut to ctrl+r as it's such habit by this point, but not sure what the name of the proper shortcut would be either.
    Thanks in advance for any help with this!

    Check this thread where it was described how it works, however i don't think you can change the shortcut.
    Re: Request "Hot key to show/hide result grid" = how was implemented 2.1.1 ?
    Hope it helps,
    Dani

  • Computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    Which computer? Which Windows?
    What are you trying to do?
    -Jerry

  • Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem

    Dear Friends,
    We are giving print from Citrix. BUt the print iis giving me following problem.
    Please suggest on the same.
    (6:14:29 PM) Number of processors: 2
    (6:14:29 PM) Icon DLL loaded.
    (6:14:29 PM)
    (6:14:29 PM) Network Communication via SAP-NiLib
    (6:14:29 PM) Hostname: THMUMGDCCTX02
    (6:14:29 PM) IP Address: 16348016.2673954.2011564330.1225156
    (6:14:29 PM)
    (6:14:29 PM) SAPLPD Version 6.29 for Windows/NT (OPT) is listening
    (6:14:29 PM) OS-Info: version = 5.2, build = 0/3790, text = Service Pack 2
    (6:14:29 PM) Copyright © 1992-2001 SAP AG
    (6:14:29 PM)
    (6:14:39 PM)
    (6:14:39 PM) Receive job for printer BKC_7thFlr_HPColor3800 on THMUMGDCPS01 (from BKCDT (Berkeley LPD protocol / RFC1179)
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:40 PM) send_status called
    (6:14:40 PM) Job 000001723200001.PRD for user ATINJ queued.
    (6:14:40 PM) Start printing job 000001723200001.PRD on printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT
    (6:14:40 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:14:40 PM) Error: The printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT is unknown to Windows Print Manager.
    (6:14:40 PM) The following printers are currently defined:
    (6:14:40 PM) Printer = BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Printer = MICROSOFT XPS DOCUMENT WRITER (FROM BKCDT1017) IN SESSION 11
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Printer = MICROSOFT OFFICE DOCUMENT IMAGE WRITER
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    regards
    Jiggi

    Hi,
    You are getting the error because the printer name is greater than 40 characters.
    The SAPLPD can only recognize printer names with 40 characters or less.
    From the log, i believe you are using the printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
    but the SAPLPD is recognizing only till BKC_7thFlr_HPColor3800 on THMUMGDCPS01.
    Try to change the printer name .. it will work

  • 4.0EA1 - Copy/Paste in Script Output window on Mac is not working

    I'm running 4.0.0.12 on MacOS X 10.8.4, and I can't Copy from the "Script Output" window.  What I regularly do is generate some SQL using an SQL query, so I want to copy the output and paste it back into the Worksheet so I can run it.  For example:
    select 'alter tablespace ' || TABLESPACE_NAME || ' begin backup;' from DBA_TABLESPACES;

    This is a known issue and will be addressed for the next EA release.

  • Read header text from vf01 and print in script main window

    Hi Gurus,
               I need to read text from vf01 header note 1, there user type max 10 lines i want to read that 10 lines and print in sap script main window after line item printed. i used read text but  one line only  fetched. i declare variable like  data : NEXRSP LIKE TLINE-TDLINE and read_text function module. pls provide solution for this.
    Regards
    G.Vendhan

    HI GURUS,
    Thank u for reply i declare like
        ID = '0002'.
        PERFORM READTEXT USING EN NAME OBJECT ID TEXT_OUTPUT.
        NEXRSP = TEXT_OUTPUT . CLEAR TEXT_OUTPUT.
    FORM READTEXT  USING    P_EN
                            P_NAME
                            P_OBJECT
                            P_ID
                            P_TEXT_OUTPUT.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = P_ID
          LANGUAGE                = P_EN
          NAME                    = P_NAME
          OBJECT                  = P_OBJECT
        TABLES
          LINES                   = LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
       LOOP AT LINES.
        P_TEXT_OUTPUT =  LINES-TDLINE.
        EXIT.
       ENDLOOP.
      FREE LINES. CLEAR LINES.
      ENDFORM.                    " READTEXT

  • Bug? 4.0 EA1 Can't select all in Script Output window

    This seems to be a small bug. Open a worksheet and enter any query. Run as a script (F5) and the output appears in the Script Output window. Click in the Script Output window to give it focus and type Ctrl-A to select all the output. The text selected is actually the contents of the worksheet, not the output. Right-clicking in the Script Output window also has no effect. It looks like the Script Output window can't actually gain focus?
    This is a bit trivial, but was annoying when I was trying to move some data over to Excel using a /*csv*/ type query.

    for tracking this is logged as bug 17164225
    B

  • Error: BG: printfile failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll

    (12:58:18 PM) Number of processors: 4
    (12:58:18 PM) Icon DLL loaded.
    (12:58:18 PM)
    (12:58:18 PM) Network Communication via SAP-NiLib
    (12:58:18 PM) Hostname: WLRERW092
    (12:58:18 PM) IP Address: 33405096.2097184.8388736.1616984
    (12:58:18 PM)
    (12:58:18 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (12:58:18 PM) OS-Info: version = 6.1, build = 0/7601, text = Service Pack 1
    (12:58:18 PM) Copyright © 1992-2001 SAP AG
    (12:58:18 PM)
    (12:58:29 PM)
    (12:58:29 PM) Receive job for printer \\192.168.207.56\ULR_ZM400_HFW05 (Berkeley LPD protocol / RFC1179)
    (12:58:29 PM) send_status called
    (12:58:29 PM) send_status called
    (12:58:31 PM) send_status called
    (12:58:31 PM) send_status called
    (12:58:32 PM) send_status called
    (12:58:33 PM) Job 000NJJ3Z.WBP for user LR70343 queued.
    (12:58:33 PM) Job 000NJJ3Z.WBP (raw) started on printer \\192.168.207.56\ULR_ZM400_HFW05
    (12:58:46 PM) Error: The printer \\192.168.207.56\ULR_ZM400_HFW05 is unknown to Windows Print Manager.
    (12:58:46 PM) The following printers are currently defined:
    (12:58:46 PM) Printer = SEND TO ONENOTE 2010
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = PDF COMPLETE
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = MICROSOFT XPS DOCUMENT WRITER
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = HP EPRINT
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = FAX
    (12:58:46 PM) Printer = ADOBE PDF
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = \\192.168.207.21\SHARP MX-4111N PCL6
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:47 PM) Printer = \\192.168.208.21\SHARP MX-4111N WELSPUN 2
    (12:58:47 PM) Warning: Printer name contains spaces.
    (12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW05
    (12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW06
    (12:58:47 PM) Cannot do OpenPrinter \\192.168.207.56\ULR_ZM400_HFW05. Text = The operation completed successfully.(12:58:47 PM) Error: BG: printfile failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    please help
    Regards
    selvakumar

    Apparently our Sandbox system didn't have a Spool server configured. That's why the error. It works perfectly in other systems.
    The output device's Host Printer must be defined on the spool server for saplpd to recognize. Otherwise you see an error.

  • Sap script main window related question

    hi
    i have a requirement to add a new column to sap script main window picking information from some table
    this new column is C2 and it takes reference from C1
    i ahve below queries
    1) is is better to add a new column to main window and increase and decrease alsl columns width of all columns
    or create a new window below the main window in which this new field will apear
    ie C1 and C2 to appear in this new window
    c1 is already coming in main window it needs to reaper with the new C2 in new window
    my concern is that since main window is only one and it it being called again and again to polultate the data
    how this new window will work will it be able to display the corect data
    whcih is better approach
    2) ASLO the requriement is that the new field should appear only when Reprint is done for the transfer order
    can anyone tell how to catch the reprint option or code from teh program what is defined for reprint option in program and how to catch it and put condtion?
    regards
    Arora

    If you would like to have vertical lines as well inside the frame....
    /:   BOX FRAME 10 TW                                                
    /:   BOX XPOS '1.2'  CM WIDTH 0 TW HEIGHT '12.7' CM FRAME 10 TW     
    /:   BOX XPOS '11.00' CM WIDTH 0 TW HEIGHT '12.7' CM FRAME 10 TW    
    /:   BOX XPOS '15.5' CM WIDTH 0 TW HEIGHT '12.7' CM FRAME 10 TW     
    /:   BOX XPOS '18.4' CM WIDTH 0 TW HEIGHT '12.7' CM FRAME 10 TW     
    Regards,
    Rich Heilman

  • EA1 - DBMS_OUTPUT prints to Script Output window

    All,
    I saw another post about the window switching from the DBMS Output window to the script window after a script is executed (I don't like that either), but this is different.
    My DBMS Output is being output to the Script Output window.
    Example:
    begin
       dbms_output.put_line('Hello World');
    end;Yields (in Script Output):
    anonymous block completed
    Hello WorldDan
    Modified Subject
    Message was edited by:
    dmcghan

    This is definitely a change from 1.2.1.31.12, where even running as a script the DBMS Output was displayed on the DBMS Output tab.
    However, while this makes DBMS Output inconsistent (where it appears depends on how you run it) it does make scripts that produce DBMS Output and other output consistent (all output goes to script output).
    For example, if you were writing scripts like the following (assuming the PL/SQL generates DBMS Output), the output will now be consistent:
    select count('x') records from my_interface;
    begin
    process_my_interface;
    end;
    select count('x') records from my_interface;
    With the way the DBMS Output and Script Output tabs are set up now, either DBMS Output or Script Output has to be inconsistent when in comes to displaying DBMS Output. I think that the way 1.5 EA1 works is inconsistent in a more manageable way (largely because reconstructing a single stream of output from more complex cases of the example above would be difficult).

  • Script error: Window does not have a constructor: 324

    File-script-image processor then a script error: Window does not have a constructor:324
    trying to run a batch to resize photos and this happens everytime.  Same thing is said in all options under script.

    photoshop cs6 extended running on windows 7 home edition.
    i wanted to resize images, so i opened photoshop clicked file-selected scripts-selected image processor.
    every video i have seen to resize a few images says this is how you do it, then input some data. and you resize the images.
    But after i select image processor i get an error. 
    Script Alert: "Something major has happened and I can't continue.  Would you like to see more information?"
    I select yes
    Script Alert: "ReferenceErorr: Window does not have a constructor:324"
    If I select scripts event manager, it says the same thing
    If I select load files into stacks it says "Error 22, Window does not have constructor.  Line 388 var w= new window (res)
    If I select statistics I get the same error message.
    So nothing under scripts works.

  • Nested Window Problem

    Hopefully someone out there can help solve this one.
    How do you get a child window to automatically resize within a parent
    window?
    On their own both the child window and the parent window behave as
    expected but once we attempt to load the child window into the parent
    window the child window is sized to some unknown but excessively large
    size.
    Can this be solved with some creative use of parent size relationships
    or do we have to programmatically size the child window?
    Any help/comments/suggestions would be greatly appreciated.
    Sincerely,
    Sean G. Germain

    Glen,
    Thank you for the prompt reply.
    We have already done what you suggested (My explanation was not very
    clear ... sorry) to no avail.
    Any more takers and/or ideas anyone?
    Thanks,
    Sean
    -----Original Message-----
    From: Glen A. Whitbeck [SMTP:[email protected]]
    Sent: Monday, January 26, 1998 2:47 PM
    To: GERMAIN Sean
    Cc: 'Forte Users Group'
    Subject: Re: Nested Window Problem
    You may need to dynamically tell the child window what its parent is (such
    as a named grid that exists on the parent window). Setting the child
    window to size to its parent should work once the child window knows who
    its parent is. You should be able to put your window into that grid at
    specified row and column coordinates. To reset the parent and position a
    widget in a grid, you do something like the following:
    <Widget>.Parent = NIL;
    <Widget>.Row = 1;
    <Widget>.Column = 1;
    <Widget>.Parent = <TargetGrid>;
    I believe that you should be able to do the same thing for a window, too
    (using "Self.Window" instead of "<Widget>").
    Glen
    GERMAIN Sean wrote:
    Hopefully someone out there can help solve this one.
    How do you get a child window to automatically resize within a parent
    window?
    On their own both the child window and the parent window behave as
    expected but once we attempt to load the child window into the parent
    window the child window is sized to some unknown but excessively large
    size.
    Can this be solved with some creative use of parent size relationships
    or do we have to programmatically size the child window?
    Any help/comments/suggestions would be greatly appreciated.
    Sincerely,
    Sean G. Germain<< File: vcard.vcf >>

Maybe you are looking for

  • Security deposit refund which is already expired

    I found a check of security deposit refund that I got almost 2 years ago. I totally forgot about it, and it's already expired. Can I get it reissued?

  • Intercompany billing Delivery to Billing document

    Dear all, I have scenario intercompany billing process where in the proces as follows - customer billing is fine with 2 line items from different plants and i have 2 deliveries and i have 1 invoice - when it comes to intercompany billing with the del

  • Tutorial for hyperlinking table cell

    Anyone know where i might find a tutorial. Google bringing up nothing I want to be able to hyperlink table cells and change table cell background color on mouse over etc. I am really struggling with this therefore need a tutorial TIA

  • Bid Invitation - How do I know whether Bid Invitation is created from PR

    Dear Gurus, I am trying to implement a BBP_DOC_CHANGE_BADI and the method is BID_CHANGE. How do I know whether Bid Invitation is created based on PR (Shopping Cart) when I am implementing the above said BADI? Any help would be appreciated. Thanks, GS

  • IPhone5 phone lost on United 6521 Denver to San Diego 9/21

    I believe I lost my phone in the luggage bin and filed a claim on 9/21. Today, I had my cousins and friends keep calling/texting in hopes someone would hear the phone ring. My phone is locked. Is there a way to "override" the code and make the phone