SAP Script :change position of window margins (resize window)

Hi,
how to change position of window margins (resize a window)?
Sounds very simple, but when I open my SAPScript form in layout editing mode it does not allow me to change values of window margins...
Regards,
Mindaugas

Hi...
Make sure your entering language and orginal language of the script is same or not.
utilities -> convert orginal language..
Procedure if you are using English as entering language:
Enter script name -> Enter language as DE -> change -> utiliteis -> convert orginal language -> change it DE to EN -> now back and re-enter into script...
Thanks,
Naveen.I

Similar Messages

  • Change position of another app's window

    I am using python and pyobjc. I need to change position of another app's window.
    Information I have is title of window. Also I can get window number by using Quartz.CGWindowListCopyWindowInfo().

    This is an annoying problem for me too. Recently upgraded from CS2 to CS4. I use styles a lot and like to keep the palletes for them open on the bottom right of the screen. I used to reduce the width of a window of a document back so it sat to left of these palletes and it would stay this way whenever I opened it, but now every time I open a document it defaults to full screen width and so need to move the styles palletes to access the thing at the bottom right of the document window to resize it. This is very annoying. How do you set it so Indesign remembers a document's window width as well as its position? If you can't, why the hell not? Also tried this with application frame, but it has the same behaviour within the frame. Not keen on application frame anyway, still like the option-click on the desktop behind to hide the app quickly.

  • Sap script block positioning.

    hi,
    i have 2 pages in my sap script.
    both the pages have the same "main" window.
    i have given box command in the begining of this main window:
    /:BOX XPOS '.5' CM YPOS '0' CM WIDTH '25' CM HEIGHT '1'  CM FRAME 0 TW  INTENSITY 15
    /:BOX XPOS '.5' CM YPOS '0' CM WIDTH '25' CM HEIGHT 0 TW FRAME 10 TW
    /:BOX XPOS '.5' CM YPOS '1' CM WIDTH '25' CM HEIGHT 0 TW FRAME 10 TW
    The problem i am facing is :the box is coming at the right place for 1st page, but at the top of the page for the next window. i think it must be taking y coord. from the top of the page for the next window.
    Please give a suitable solution for this,
    thanks in advance,
    Ravindra

    hii Ravindra,
    try this out
    /: POSITION XORIGIN '11.21' YORIGIN '5.31' MM
    /: SIZE HEIGHT '2' MM WIDTH '76' MM
    /: BOX  FRAME 10 TW INTENSITY 10
    This can be usefull if you gave several boxes that share the same parameters.
    If you want to set the position realtively to the window use POSITION WINDOW
    to set the position to the top/left start of the window. Then use POSITION
    to set the current position relatively to the start of the Window.
    Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.
    /: POSITION WINDOW
    /: POSITION XORIGIN '5' MM  YORIGIN '10' MM
    the position is now 5 MM from the left and 10 MM from the top of the window
    NOTE: After using the position command you can move the current position
    realtively to the last used position
    /: POSITION XORIGIN '10' MM  YORIGIN '20' MM
    Now the position will be X = 15 and Y = 30
    Drawing a line. You can draw a line by setting the Height or Weidth to 0
    and add a frane. E.g. a horizontal line:
    /: SIZE HEIGHT '0' MM WIDTH '200' MM
    /: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100
    i guess this will help
    revert  back for more help
    Regards
    Naresh

  • SAP Script, Change form , SE71

    Hi all,
    I am totally new to SE71, I need to change content in one of the Window in the form, i opened  <a href="http://www.geocities.com/cocwaye/screen.jpg">this</a>  in SE71 , is this the way to change the content of a form?
    Everything goes fine, but one of the window cant be access, it read some kind of 'error in codes' everytime i click on <a href="http://www.geocities.com/cocwaye/screen.jpg">this</a> button, the program SE71 shutdown.
    I am trying to access that code in another way... Is there any other way to access the script ?
    Thanks anyone who helps...

    Hi kokwei
    to enter the content in the window in sapscript you have to use the text elements. for text elements
    goto
    PAGE WINDOWS->select the window->EDIT->TEXT ELEMENTS
    then
    click GOTO->CHANGE EDITOR.
    in the editor you can enter the content. to write a text just write the text in the lines with required paragraph format in the left. to include any standart text wirte the INCLUDE statement
    to write any parameter from internal table write the parameter name like
    &itab-vbeln&
    reply for any problem
    regards
    kishore

  • Printing sap script to spool by skipping print parameter window

    Hi all,
    I am trying to print an output (derived from sap script) directly from program to spool and then fetch the spool request and download it to PDF. This should happen automatically when the end user executes the program by giving required inputs. Can any one guide me on this ?
    Rgds,
    Praveen

    Hi all,
    I got the problem solved. Thanks for all who replied and supported me. This is how i solved it. This is not the full code. I am not giving declaration part here. But this is the main blocks which is going to work.
    Data: purdocno TYPE string,
                        v_len_in TYPE i.
    PERFORM open_from.
        LOOP AT it_itab.
          ON CHANGE OF it_itab-ebeln.  
              PERFORM start_form.
              PERFORM write_form.
              PERFORM end_form.
          END ON.
        ENDLOOP.
    PERFORM close_form.
    PERFORM convpdf.
    FORM convpdf.
        CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           format                      = 'PDF'
    *       MAX_LINEWIDTH               = 132
    *       ARCHIVE_INDEX               = ' '
    *       COPYNUMBER                  = 0
    *       ASCII_BIDI_VIS2LOG          = ' '
           PDF_DELETE_OTFTAB           = 'X'
         IMPORTING
           BIN_FILESIZE                = v_len_in
    *       BIN_FILE                    =
          TABLES
            otf                         = i_otf
            lines                       = i_pdf
         EXCEPTIONS
           ERR_MAX_LINEWIDTH           = 1
           ERR_FORMAT                  = 2
           ERR_CONV_NOT_POSSIBLE       = 3
           ERR_BAD_OTF                 = 4
           OTHERS                      = 5.
        purdocno = s_ebeln+3(10).
        concatenate 'c:\' purdocno '.pdf' INTO purdocno.
        CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
    *      BIN_FILESIZE                    =
          filename                        = purdocno
          FILETYPE                        = 'BIN' " important
    *    IMPORTING
    *      FILELENGTH                      =
         tables
           data_tab                        = i_pdf
         EXCEPTIONS
           FILE_WRITE_ERROR                = 1
           NO_BATCH                        = 2
           GUI_REFUSE_FILETRANSFER         = 3
           INVALID_TYPE                    = 4
           NO_AUTHORITY                    = 5
           UNKNOWN_ERROR                   = 6
           HEADER_NOT_ALLOWED              = 7
           SEPARATOR_NOT_ALLOWED           = 8
           FILESIZE_NOT_ALLOWED            = 9
           HEADER_TOO_LONG                 = 10
           DP_ERROR_CREATE                 = 11
           DP_ERROR_SEND                   = 12
           DP_ERROR_WRITE                  = 13
           UNKNOWN_DP_ERROR                = 14
           ACCESS_DENIED                   = 15
           DP_OUT_OF_MEMORY                = 16
           DISK_FULL                       = 17
           DP_TIMEOUT                      = 18
           FILE_NOT_FOUND                  = 19
           DATAPROVIDER_EXCEPTION          = 20
           CONTROL_FLUSH_ERROR             = 21
         OTHERS                            = 22.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.

  • SAP SCRIPT CHANGE

    hI,
    I am having stardard script  form . i need to change that form. i copied that to zform . i need to add one field and description to that field. first i tried to add description for that field but i cant able to see that description in output
    this is the form name: F150_BE_DUNN_01
    plz give me solution
    Edited by: vasanth kandula on Jan 5, 2008 1:13 PM
    Edited by: vasanth kandula on Jan 5, 2008 1:14 PM
    Edited by: vasanth kandula on Jan 5, 2008 1:15 PM

    Hi kokwei
    to enter the content in the window in sapscript you have to use the text elements. for text elements
    goto
    PAGE WINDOWS->select the window->EDIT->TEXT ELEMENTS
    then
    click GOTO->CHANGE EDITOR.
    in the editor you can enter the content. to write a text just write the text in the lines with required paragraph format in the left. to include any standart text wirte the INCLUDE statement
    to write any parameter from internal table write the parameter name like
    &itab-vbeln&
    reply for any problem
    regards
    kishore

  • SAP script change editor

    Hi All there,
    In SAP-Script when I am writing in commands in form editor it shows half part of the page and outside the editor it shows '>' which indicate there are line exist how to go o the end of lines.
    Regards
    Sagar

    Hi
    Place your cursor in the line, Press Shift+F8.
    Regards,
    GP

  • Can I change the colours in the Resize window?

    When resizing (either image size or canvas size) I can't tell which numbers I've highlit, as the highlight colour is dark blue on a dark grey background.  Is there any way of changing this to something more useful?
    PE10   Windows XP SP3

    You can change the highlighted color by right clicking on your desktop and choosing Properties.
    Then in the properties dialog under Appearance>Advanced click on the drop-down list below where it says Item
    and find the Selected Items and to the right where it says Color 1 you can change the highlight color to something easier to see.
    Just be aware that will affect the whole operating system just not pse 10.
    (click on the screenshots below for bigger views)
    After change:
    added:changed the post to reflect xp instead of 2000.
    Message was edited by: R_Kelly

  • Trying to re-size the windows in Z SAP Script!!

    Hello,
    Am looking  to do some modifications to the custom SAP Script Layout-set, mainly re-sizing the windows, including the MAIN window.
    So, SE71>Change mode>Graphical Form Paiter checked, then, opened the Windows layout in graphical manner.........but, am unable to edit/move/re-size/modify the sizes of the windows with the help of mouse (pointer) movements!!
    And also am unable to edit the left side dimensions numericals of these windows, bcoz, those (dimensions numericals) fields are GREYED OUT!!
    I also tried by selecting the radio button of PAGE WINDOWS ........here also the dimensions numericals fields are GREYED OUT!!
    So, pls. let me know the options for editing/re-sizing the windows of SAP Script. I prefer to re-size them by changing the dimension numerical digits, instead of graphically changing with mouse pointer.
    Thank you

    logged-off and logged-in.......its worked
    Thank you

  • SAP Script ~ Put Amount in words & amounts

    HI guys: Please help me... I have a requirement where the client wants to put the amount in words on a check sap script as follows:
    If the amount is 27,150.95 USD
    they want "27,150 DOLLARS AND 95 CENTS"
    this is a combination of amounts and words in the "amounts in words" window of the sap script
    please help
    thanks
    Brian

    Hi,
    In the window where the amount is displayed in words,
    add the following code:
    Script:
    Say you have the amt in &amt&
    /: DEFINE &DOLLARS& = SPACE
    /: DEFINE &CENTS& = SPACE
    /: PERFORM split_amount USING &AMT(T)&
    /:                                     CHANGING &DOLLARS&
    /:                                     CHANGING &CENTS&
    P &DOLLARS& Dollars &CENTS& Cents Only
    ( P can be any paragraph format you want to use.
      (T) in the AMT while passing will get your amount rid of thousand seperators)
    Code should be put as follows in the Routine program:
    DATA: amt(10) TYPE C, (Length specified should correspond to the total length of the amount field including the decimal)
               p_dollar(7) TYPE c,
               p_cents(2) TYPE c.
    FORM split_amount USING in_tab STRUCTURE itcsy
                                  CHANGING out_tab1 STRUCTURE itcsy
                                  CHANGING out_tab2 STRUCTURE itcsy.
    READ TABLE in_tab INDEX 1.
    MOVE in_tab-value TO amt.
    CHECK sy-subrc EQ 0.
        SPLIT amt AT '.' INTO p_dollar p_cents.
        IF sy-subrc NE 0.
           SPLIT amt AT ',' INTO p_dollar p_cents.
       ENDIF.  (We have two SPLIT cos we may either have dot OR comma for decimal notation. This will cover both the cases)
    READ TABLE out_tab1 INDEX 1.
    CHECK sy-subrc EQ 0.
       MOVE p_dollars INTO out_tab1-value.
       MODIFY out_tab INDEX sy-tabix.
    READ TABLE out_tab2 INDEX 1.
    CHECK sy-subrc EQ 0.
       MOVE p_cents INTO out_tab1-value.
       MODIFY out_tab INDEX sy-tabix.
    Plz let me know if you have questions.
    Thanks
    Geetha

  • Text display issue in SAP script

    Hi All,
    I have developed a sap script (Invoice) which is having a Footer window.
    The footer window should display page number and some text (address of company). The address data is stored in an internal table and the same will be made to display in sap script.
    Now my problem is the address data is displaying correctly in the second page. But no data is getting displayed in the first page. If the Invoice is of single page, the address data in Footer window is getting printed properly.
    The problem occurs only, when the invoice is of multiple pages....
    What might be the problem in this regard...??????
    Please help me, as this bug need to be fixed as early as possible....
    Regards
    Pavan

    The size of MAIN and FOOTER window are not getting truncated. Both window have designed properly.
    In the first page, the footer window will display Page No data and the address data will be invisible. In debig mode, i can see the value of address will be passed to text symbols of sap script.
    There are no conditions set in the sap script for Footer window.
    one more observation is that after execution (at print preview screen), if i go back and again click for print preview, the address data is getting printed in the first page...!!!
    Regards
    Pavan

  • Firefox 5.0 on Windows 7 jumpy, window title bar pops in and out, window resizes.

    Question pretty much sums it up. Windows Title bar keeps flitting in and out, causing screen to jump. Concurrently, right and bottom window margins resize a bit smaller. No apparent rhyme or reason, but leads to a lot of bad mouse clicks. Unrelated to whether the bookmarks tab is open or not. Happens in safemode as well, and my theme is the default. I don't want a plug-in to fix this, I want Firefox 5.0 to behave properly on its own.

    The Views menu is only meant to view bookmarks in a different sort order (hence the name of that menu). It doesn't have any lasting effects.
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * SortPlaces: https://addons.mozilla.org/firefox/addon/sortplaces/

  • How do we identify the standard texts used in a sap script?

    Hi,
    Is there any way that i can identify the standard texts used in SAP scripts?
    Not manually going to each window in the script and checking.
    Will there be any table where I can look ?
    Thanks,
    krishna.

    Hi,
    GO to the forminfo of the sapscript in SE71..and then search for INCLUDE
    after displaying the form...utilities->form info..
    hope this works..
    Thanks
    Naren

  • Step by step procedure to design  a form using SAP Scripts (SE71)

    Hello Experts, I am new to SAP Scripts ...I am interested to learn SAP Scripts,
    Please help me out to learn SAP Scripts  by giving some example codes.
    Thanks and Regards,
    Shaik.

    check the following link for the same.
    SAP Script, Change form , SE71
    Regards,
    Gauravjit
    Reward points if the link is helpful

  • SAP Script: Include text in MAIN window prints outside MAIN window margins

    Hi,
    We're facing a peculiar issue. We call a text element in the MAIN window of an SAP Script form using FM WRITE_FORM.
    The element has 2 includes.
    The problem is that when the content of any of the 2 includes is large enough, the include text prints overflows outside the MAIN window margins on the first page and into the area of the footer window of the same page. It does not automatically flow to the next page MAIN window.
    We have checked that the MAIN window and FOOTER window margins do not overlap. Infact they are quite far from each other.
    We have tried stuff like using a forced PROTECT, change the para format etc, but nothing solves the problem.
    Does anyone have any idea?

    You do not need to use the subroutine READ_ORDER_TEXT to get another text name because you already have it: TMP_TXNAM2 .
    Pass this value back to your SAPscript, and it is okay.
    Or you can even check the text object is empty or not, if no text is found, print 2 empty lines:
    still use your subroutine to read the text, if no line is found, set TMP_TXNAM2  to empty, otherwise, no change,
    In SAPscript, check the value is empty or not, then print 2 empty line or the text object...

Maybe you are looking for