Problem with sap script table in main window

hi all,
i have created a sap script  for which output is in 7 pages.
except first page all the remaining pages are giving the correct output.
the problem with the first page is iam not not getting vertical lines in the table which is in the main window of page 1.
iam getting the vertical lines correctly in the mainwindow table of all the remaining pages.

Hi,
It's simple,
Pre- U should had declared a second page for the same window with header, main & footer.
now
First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
or
when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
This would solve the issue.
Thanks
Ravi

Similar Messages

  • Problem with SAP Script FAX output

    Hi Friends,
    I have problem with SAP Script Fax output.
    After I issued output using the messge type, the print preview format shows me correct alignments and the right data. But when I go to List display using the menu bar functions from the print preview screen, the list is showing me the right data, but all the alignments at the main window went wrong.
    How do I rectify this problem? I need correct alignments in both form display and list display.

    Hi Sasidhar,
    Have you tried with different fax machine.
    Regards,
    Atish

  • 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.

  • Problem with SAP Script (Control Commands)

    Dear friends,
          I am facing one problem withg control commands. When i use <b>PROTECT.....ENDPROTECT</b> with <b>VAR type</b> window then it is not working instead i use with <b>MAIN type</b> window it is working fine. Another problem with <b>BOX command</b> when i use with <b>MAIN type</b> window then it is not working but when i use with VAR type window then it is working fine. SO i am little bit confused that is there any relation between control commands and window type?
    THanks & Regards,
    Bhavin

    Hi,
    There is no restriction to use any control commands on any windows.
    The SAP doesnt give any error, but the point of using Protect Endprotect in windows other than main window doesnt apply.
    Only main window carries from one page to another. So in order to print certain lines in a single page we use this control command.
    Regarding BOX command it works fine on any window.
    Thanks and Regards.
    Lavanya.

  • Problem with sap script

    Hi All,
    I have a problem with a sap script (PO) everytime when an item is deleted (on me23e) it doesn't display on the on the print preview and the client wants to see on the preview with a sign indicating the deleted item.
    SELECT ebeln ebelp pstyp packno txz01 loekz
      FROM ekpo
      INTO TABLE it_ekpo
      WHERE ebeln = po_no
      AND  loekz NE 'L'
      AND  loekz NE 'S'.
    This is how it has been read from the ekpo.... Is there something that I need to change? 
    Thanks in advance.
    Regards,
    Fred.

    Hi,
    In EKPO table the field 'loekz'  indicates the Deletion status.
    So u can consider the deleted line item also.
    u change u r query like this.
    SELECT ebeln ebelp pstyp packno txz01 loekz
    FROM ekpo
    INTO TABLE it_ekpo
    WHERE ebeln = po_no.
    In it_ekpo table u can get all the line item(including deleted items).
    Then u cn print the data.
    Hope this will helps u.

  • Invoice List SAP script - Problem with SAP script functionality

    Hello Friends,
    I am working on SAP script - Invoice List SD_INVOICE_LIST. The invoice list contains the underlying billing documents. As per the standard functionality, in the line items, its printing the underlying billing documents with the net value. My requirement is to dig these line items into another level, meaning, I need to display the line items of billing documents  as well(like material, material description, quantity, net price and net value of that item etc).
    The billing linte item informatin is stored in VBRP table and the VBRP structure is not at all defined in the print program of SD_INVOICE_LIST (I.E.RVADIL01). Change of standard SAP program is not an option for me here.
    In the external subroutine we can fetch these line items for each billing document in the invoice list. However, my question here is how to take these line items back to the sap script and print them in SAP script (We can print one line item but how to loop these fetched lines and print them on SAP script. Any help in this regard would be greatly appreciated.
    I think there is no standard smart form exist for the invoice list. Please also let me know if there is any standard smart form available for INVOICE List.
    Thanks in advanace for any help in this regard.
    Best regards,
    Siva

    Hi
    As you cannot change the standard, you will have to see if there are any enhancements provided in the print program. if not you have to copy into a custom one and do changes accordingly.
    Thanks,
    Venkatesh

  • Problem with sap script while transporting from dev to quality server

    Hi experts,
    In dev server i am getting correct output in sap script.But when it is transporting to quality server alignment is different.Printer name is same both in dev and quality.Please give an answer for this query.
    Thanks
    suresh

    Hi Suresh,
    This could be a problem with the Sapscript buffers. Try running the report RSTXDELL on the system to clear the Sapscript buffers?
    To do this you can use RSTXDELL report with default settings except it is better to have * instead of the current client number in the Client field.
    After this, create a new spool and see if the problem is resolved?
    Regards,
    Aidan

  • Problem with sap script formatting?

    hi,
        can anyone please tell me how do we reduce the fony size in sap script, actually i have used it with character format by giving font name as helve and size as 6 pt but its not reflecting , what can be the problem? or my procedure is wrong.please help me out

    ok character format is the wrong thing
    just use paragraph formats for that.
    if you are insisting to use character formats you need to use the syntax as well.
    e.G. if you have defined yourself a characterformat lets say 't' like tiny, thnen the syntax in your form will be:
    SL | <t>you text</>.
    if you are using paragraph formats it will be
    SL | your text
    but now you should edit the font properties of that paragraph format

  • Problems with SAP Script print program

    Hi,
    I have the following scenario:
    I have a workflow which prints a sapscript with data stored in the workflow container.
    The workflow method 'executeform' populates a selection table and submits it to the print program using:
    SUBMIT ZPRINT_FORM WITH SELECTION-TABLE sel_table
    This print program then populates the form with data and calls the OPEN_FORM/WRITE_FORM/CLOSE_FORM FM's.
    My problem is that some of the variables in the workflow container are CHAR255, when these get moved to the selection table (seltab-low) they get truncated as seltab-low is a CHAR45.   Is there a way round this??
    This is the first time I have used sapscript, I notice that the variables printed on the form correspond to the parameters defined in the Print Program.  I assume therefore that this is why the
    SUBMIT ZPRINT_FORM WITH SELECTION-TABLE sel_table
    has been used and why the OPEN_FORM/WRITE_FORM/CLOSE_FORM was not coded directly in the workflow executeform method.
    Any guidance on how to proceed with this would be appreciated.
    Many Thanks,
    Paul

    Hi Paul,
       In general, in the statement
    SUBMIT ZPRINT_FORM WITH SELECTION-TABLE sel_table.
    sel_table is an internal table with the structure RSPARAMS.
    This variant allows you to set the names and contents of the parameters and selection options dynamically at runtime.
    You can use the function module RS_REFRESH_FROM_SELECTOPTIONS to read the contents of the parameters and selection options of the current program into an internal table seltab with the structure RSPARAMS. By using SUBMIT ... WITH SELECTION-TABLE seltab, you can then pass these values on directly.
    The work around for the variables that cannot be passed using the submit statement, can be exported to Global memory ids and the same can be retrieved in the print progra.
    The syntax for the export and import statements is something like this.
    TABLES INDX.
    TYPES: BEGIN OF ITAB3_TYPE,
              CONT(4),
           END OF ITAB3_TYPE.
    DATA: INDXKEY LIKE INDX-SRTFD VALUE 'KEYVALUE',
          F1(4), F2 TYPE P,
          ITAB3 TYPE STANDARD TABLE OF ITAB3_TYPE WITH NON-UNIQUE
                     DEFAULT KEY INITIAL SIZE 2,
          WA_INDX TYPE INDX.
    Fill the data fields before CLUSTR
    before the actual export
    INDX-AEDAT = SY-DATUM.
    INDX-USERA = SY-UNAME.
    Export der Daten.
    EXPORT F1    FROM F1
           F2    FROM F2
           ITAB3 FROM ITAB3
           TO DATABASE INDX(ST)  FROM WA_INDX ID INDXKEY.
    *********************************************************TYPES: BEGIN OF TAB3_TYPE,
              CONT(4),
           END OF TAB3_TYPE.
    DATA: INDXKEY LIKE INDX-SRTFD,
          F1(4), F2 TYPE P,
          TAB3 TYPE STANDARD TABLE OF TAB3_TYPE WITH
                    NON-UNIQUE DEFAULT KEY,
          WA_INDX TYPE INDX.
    INDXKEY = 'INDXKEY'.
    IMPORT F1   = F1
           F2   = F2
           TAB3 = TAB3 FROM DATABASE INDX(ST) ID INDXKEY
           TO WA_INDX.
    Regards,
    Ravi

  • Quantity field conversion problem in SAP script

    Hi experts,
    I have problem with sap script quantity field conversion.
    In purchase order the actual value of field( MDPM-ERFMG) is 3,500.
    But in Print preview it is showing only 3.5
    Any one Please help me in this problem
    thanks in advance
    murali

    Hello,
    check this:
    Number of Decimal Places
    A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
    Syntax
    &symbol(.N)&
    The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
    &EKPO-MENGE& -> 1,234.560
    &EKPO-MENGE(.1) -> 1,234.6
    &EKPO-MENGE&(.4) -> 1,234.5600
    &EKPO-MENGE&(.0) -> 1,235
    REgards,
    Vasanth

  • Problem with SAP logon 720 for printng with Citrix.

    Hi,
    I have a problem with sap logon 720 when printing for Citrix, one time print and other time don't print....
    I try to start SAPLPD for prompt comand... it's start but don't print....
    i'm write here for look if other people have this problem... I dont know what I can do.....
    Thank you very much....

    Hi Itmar,
    I was having the similar issue on my Windows Server 2003 Terminal Server. At times SAP prints stop working. Then i changed Printer Type to "G" and it had solved the problem. It skips the use of SAPLPD service and calling windows printing service directly.
    Just try with that.
    Regards,
    Gaurav

  • One more Problem with SAP query

    Hi All,
    I am having a problem with SAP query
    Execution of SAP query transaction is leading to Dump
    the dump says Field 'R01' contains no fields, syntax check on the program shows same error.
    When I tried regenerating the Query in SQ01
    " Query Specification cannot be use to generate list
    Ranked list contains only numeric fields
    Please help me

    Gianpiero Bucchieri wrote:
    > So its important to listening the following tables too: Faktura (invoice), Partner Role, Partnernumber and the requierements number. The table are EKKO EKPO AND VRKPA OR vbkd, but if I join this table the query doesn't listining any results. If I cancel this 3 or 4 table and I start the query, the listening are ok. 
    >
    I am not sure what business process you are describing here - is it some kind of third-party sales order? If so, your join is wrong.
    From VB E P, firled BANFN and BNFPO you can go to table EBAN, where in field EBELN you will find the number of the purchase order (if somebody already had an MRP+Me58 run over the PR) which will lead you to table EKKO, and EKPO.
    So what we have here (essentially is):
    VBAK -> VBAP -> VBEP -> EBAN -> EKKO -> EKPO
    But that only solves one of your problems - you still have a long way to go to get invoices, partner and partner roles into there and I am beginning to ask myself what exactly it is you want to evaluate.
    Care to explain?
    Edited by: Mylène Dorias on Apr 1, 2010 2:10 PM

  • Problem with a script to remove graphics

    Hello,
    I have tried to build a javascript to remove all graphics whose extension is not ".EPS" (with "EPS" really in upper cases, as it is for Mathtype equations in Word import).
    But It doesn't work and I can't understand why.
    Here is the script:
    //The script intend to remove all graphics whose extension is not ".EPS"
    var myDoc = app.activeDocument;
    var myGraphics = myDoc.allGraphics
    //Remove graphic if graphic extension is different from ".EPS"
    for (var p = 0; p < myGraphics.length; p++) {
        var myImage = myGraphics[p]
        if (CheckExtEps(myImage) != 0){
        myImage.remove ()
    //Compare graphic extension with ".EPS" and return myExtValue = 0 if it matches exactly
    function CheckExtEps(myImage) {
        var  myString = myImage.name
        myExt = myString.substr(myString.lastIndexOf( "." ))
        myExtValue = myExt.localeCompare(".EPS")
        return myExtValue
    When I run this script, ALL the graphics are removed, ".EPS" included.
    I do have ".EPS" graphics in my document and I expected them not to be removed.
    So there is something wrong somewhere, but I don't know what to change.
    Any ideas?
    By the way, I have a more generic question as a beginner:
    I am working with ExtendScript Toolkit. How can I do to check my script step by step?
    For exemple, how can I display my variables values as "myString", "myExt", "myExtValue" at each step?
    Actually, this script is a step for a bigger script I intend to build to deal with Mathtype equations in Word import.
    After not-EPS graphics beeing removed, I wish to relink all remaining equation prewiews to eps in a selected folder, by consecutive order.
    But this is a big piece of scripting to swallow for me, so I'm working slowly, step by step.
    TIA
    Best regards
    Nicolas

    Hello Ariel
    Thank you very much for your help.
    1. I added semicolons at the end of lines, but the script result is the same.
    2. Running line by line, I could see in the Console where is the problem:
    variable "myString" is always undefined.
    Well, I have to get more inside my script...
    Thank's again
    Best regards
    Nicolas
    Nicolas BALBO  
    [email protected]
    22, rue d'Hauteville  75010 PARIS
    Tel : 33 (0)1 42 57 14 31
    Le 18 avr. 2012 à 17:36, Arïel a écrit :
    Re: Problem with a script to remove graphics
    created by Arïel in InDesign Scripting - View the full discussion
    Well, I can't see any semicolons in your script. Maybe that's just the
    email interface, but there should be semicolons at the ends of lines.
    In the ESTK, you can step through a script a line at a time. Just click
    on the downwards pointing arrow instead of the "play" arrow. Each time
    you click, the script will advance one line. In the Console window
    (Windw>Console) you can then type the name of the variable you wish to
    examine.
    Ariel
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4344039#4344039
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4344039#4344039. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign Scripting by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Printing problem for SAP Script

    Dear Friends,
    I am facing strange problem for SAP Script. In the billing document output the sold to party and ship to party address are displaying. When user print the billing document on laser printer it print the Country for Sold to and Ship to. But when it print the same billing document on normal printer (other than laser) the Sold to country not printing.
    The print preview of billing document in SAP  correctly display country for Sold-to and Ship-to.
    I have recently make changes in the SAP Script form (Address window) to display country for Ship-to which was never displayed before. I have added FROMCOUNTRY option after COUNTRY in address window. COUNTRY will be Ship-to and FROMCOUNTRY will be VBDKR-SLAND.
    Can any one help me to solve this problem.
    Regards
    Nilesh Shete

    Used custom address print option instead of using ADDRESS

  • Problem with navigation script

    Hi I'm having trouble getting a button work correctly when
    pressed it should take user to a particular label on the main
    scene. Is there a problem with my script? The button is inside a
    movie clip which is inside another movie clip. Thanks in
    advance.

    this quite difficult to explain but here goes. i have a
    complex button with a roll in roll out effect. ie. a movie clip
    acting as a button that shows different buttons (in another movie
    clip) when it is rolled over. I then want the different buttons to
    go to other parts in the main timeline. the code works fine when
    the buttons are on the main timeline but because it is within
    another two movie clips it doesnt work like it should. In fact the
    script i have used in the first movie clip also affects the button.
    This script is as follows and belongs in the first frame of the
    first movie clip. In other words, I need the button not to be
    effected by the following script but by the gotoAndPlay script.
    Thanks

Maybe you are looking for

  • How to save data in file by puting the data in different colomns ?

    I am compiling a program by using Labview, and I use the 5 loops. For every loop, I get 10 data. I want to save all data in a file. But I don't want put them in one colomn, and just want to put the data getting from one loop in a colomn, and thus in

  • Button placement in IE vs. FF - resolution/workaround?

    Environment: APEX 3.1.1.00.09 on AIX 5.3 Greetings I have read several threads discussing the differences between how IE and FF display different items. I have an instance where IE displays the buttons on my pages vertically and FF displays them hori

  • Can only choose one email application for sharing photos

    In the iPhoto's 5 preferences pane there is a drop down list for choosing the email program you prefer when sharing photos using email. There is a list of 4 applications in the drop down list. "American Online" is selected. When I click on the list t

  • Setup / install - where is the Gateway page?

    I've got a Mac Pro here with the two built in ports. I'd love to use a Standard configuration and to have it act as a gateway. The docs seem to say this is possible and say that during the install process if you have >1 port, you will see a Gateway p

  • Windows 8.1 Two Finger Tap Right Click

    So, for anyone who has upgraded to 8.1 and suddenly lost their two finger tap right click functionality, I highly suggest that you use this: http://www.intowindows.com/how-to-enable-two-finge​r-tap-for-right-click-in-windows/.  It restores the functi