Problem in pinting sap script

what is this syntex in sap script plz explain BOX XPOS '0'CM YPOS '0'CM WIDTH '2'CM HEIGHT '3.5'CM FRAME 10 TW.   what is 'frame 10 tw' is here?

hi,
the syntax implies,
BOX
this draws a box at the specified  position with the specified size.
xpos ypos upper---upper left corner of the box
width Width of the box.
height: Height of the box.
frame: Thickness of frame around the box. Default: 0 (no frame).
intensity : grayscale value of box contents as % .
TW (twip)  · PT (point)    · IN (inch)    · MM (millimeter)   · CM (centimeter)   · LN (line)   · CH (character).
tw is an unit of measurement
BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
Regards
Jayapriya

Similar Messages

  • Problem in PO SAP Script, producing a  PDF  format.

    Hi,
    Description: We have developed a Purchase Order script. Both the Print Program and SAP Script are customised i.e., we are no longer using the standard MEDRUCK. The print preview is fine and when we take a print out the output looks good.
    Problem: When the output type is changes to External Send using the Messages tab in the transaction ME23N, the output is given to a PDF file. In this output the vertical lines are not coming properly. The vertical lines are printed using the VLINE statement of sap script.
    Solution Required for: Could any one please tell me why are we getting this problem and a possible solution for this.
    Code:
    M9   &VLINE&,,&GT_EKPO-EBELP(Z)&,,&VLINE&,,<TX>&GT_EKPO-IDNLF(C14)&</>   
    =    ,,&VLINE&,,<TX>&GT_EKPO-TXZ01(C40)&</>,,&VLINE&,,&GT_EKPO-MENGE(C.0)&
    =    ,,&GT_EKPO-MEINS(3)&,,&VLINE&,,
    =  &GT_EKPO-NETPR(9.2)&                 
    =    ,,&VLINE&,,&GT_EKPO-NETWR(9.2)&,,&VLINE&                           
    Thanks and Regards,
    Raghavendra Goutham.
    NOTE: Helpfull answers will be rewarded definitely.

    Hi,
    Best practise is 1st you FRAME the window with boxes.........
    Example.....
    /*   BEGIN OF CHANGE LDEEPAK 09/12/2005.
    /:   IF &VBDKR-VBTYP& = 'O' OR &VBDKR-VBTYP& = 'S' OR &VBDKR-VBTYP& = '6'.
    /:   BOX YPOS '0.0' CM WIDTH '25.4' CM HEIGHT '0.85' CM FRAME 4 TW
    /:   BOX YPOS '0' CM XPOS '4.4'CM WIDTH '0'CM HEIGHT '0.85'CM FRAME 4 TW
    /:   BOX YPOS '0' CM XPOS '8.35'CM WIDTH '0'CM HEIGHT '0.85'CM FRAME 4 TW
    /:   BOX YPOS '0' CM XPOS '11.6'CM WIDTH '0'CM HEIGHT '0.85'CM FRAME 4 TW
    /:   BOX YPOS '0' CM XPOS '19.65'CM WIDTH '0'CM HEIGHT '0.85'CM FRAME 4 TW
    B     <K>CUSTOMER NO.</>            <K> CONTRACT NO. / SALES ORDER NO.</>
    =     <K>  ORIGINAL INVOICE NO.</>  ,,<K>  CUSTOMER PO.</>
    =                               ,,,,<K>TERMS</>
    /:   BOX YPOS '3.25'CM WIDTH '25.4'CM HEIGHT '0.95'CM FRAME 0 TW INTENSITY 8
    /:   BOX YPOS '5.1'CM WIDTH '25.4'CM HEIGHT '0.95'CM FRAME 0 TW INTENSITY 8
    /:   BOX YPOS '6.95'CM WIDTH '25.4'CM HEIGHT '0.95'CM FRAME 0 TW INTENSITY 8
    /:   BOX YPOS '8.85'CM WIDTH '25.4'CM HEIGHT '0.95'CM FRAME 0 TW INTENSITY 8
    /:   BOX YPOS '10.6'CM WIDTH '25.4'CM HEIGHT '0.95'CM FRAME 0 TW INTENSITY 8
    Like this you can give commands.
    Later you can code for getting the values in to window.
    Here while populating the values you need to use TABS to place the value in correct position.
    Thanks.
    If this helps you reward with points.
    Message was edited by: Deepak333 k

  • Problem while printing SAP Script

    Hi All,
    I have one scenario, in which I have to copy the Standard SAP Script  form (HR_ALL_FIX) client '000' and import in the development server as custom SAP script(ZHR_ALL_FIX)  and making change in main window the text. Instead of  "Yours Faithfully" text I have changed it to 'Warm Regards'.
    When I try to view the print preview of the script from PP40 tcode,  the output is overlapped.
    Instead of 'warm regards' to be displayed at the end of the page, its being printed in between somewhere.
    No other changes I have made.
    Any inputs and help will be really helpful.
    Thanks in advance

    I am still facing the problem . tried everything. Have only changed the language while copying from DE to EN.
    Also, just creating a Z form without ANY change at all( even the printer used to check print preview is the same)... and attaching it to OOVM transaction and then checking the print preview - TEXT comes randomly (in different order)
    Any help will be really appreciated and rewarded..
    Awaiting help.
    Edited by: HeenaChampaneri on Apr 15, 2010 8:39 AM

  • Facing problem while migrating sap scripts

    Hi all,
    My scenario is to migrate the script from one server to another server using the program RSTXSCRP.
    Iam able to import the txt file,iam getting message that "Object imported and activated".
    But when i try to open the same form in se71,its giving me error message that "Form XXXXXX language JA is inconsistent in the text file".
    Iam getting this message only if the original language of the script is Japanese(JA),for all forms in EN i am able to migrate to other system.
    Please advice.
    Regards,
    Sravanthi Chilal

    first create the sap script , means copy the standard script form DE to  JA language then you can use same name and migrate the script.

  • Problem in saving  SAP Script

    Hi all,
    i have saved  sap script in local object($tmp) so i have to save  the same script in package  i could not able to transfer it to package
    please let me know how to do it
    thanks in advance

    Hi,
    when saving standard text in so10,
    it won't ask for request!
    1. goto se09 and create a new
    customizing rqeuest.
    2. after that
    in the object list,
    go in edit mode
    and a new window will come
    where u can add the objects(in table control)
    3. there u put
    program id = R3TR
    object type = Form
    object name = Form,YHRS_FNF_LTR,E
    where
    YHRS_FNF_LTR = name of script
    E = english language
    it helps..
    or goto SE03.
    In that object directory..
    Change object directory entries...
    Cheers,
    Simha.

  • Problem releted to SAP script

    Hi all experts,
    I am very new to SAPscipts, i have a lot of doubts please help me and please tell in a descriptive way.
    Problem first: The Print preiview for the purschase order is not coming properly, i mean the page number in the footer is getting merged with other things, i need to push it little down. Please tell me in detail as how to do it.
    Second: i want to insert a blank line between two Text elements. Please help me. It will be great.
    Thanks in advance.
    nikesh kumar

    Hi,
    Kindly goto scripts link in SDN.
    For printing footer ,create a variable window at the bottom of main window,adjusting the window dimensions as neede.
    For displaying blank line,use * and leave it blank
    in the text editor,
    /E one
    &page&
    /E two
    &date&
    try this.

  • Problem in fom(sap script)

    hello friends
    i am new in forms and facing a problem
    thare is a output type (Zz09 )
    address header on the left the destination country name is written in
    English (NAST-SPRAS) but at present  it is written in German, though output language is English
    can any one pls help.
    points will be awarded.
    Edited by: Pankaj Prasad on Apr 29, 2010 7:54 AM

    Hi,
    I think you have copied the standard script to a zscript in all languages.
    The default language was Germany. The copied zscript with german language,
    selected radio button for translate to all language and changed the default language
    to english from utility->change default language.
    if you did change the default language, have you entered in the SAPscript with language "EN" ?
    Are all the texts really in english when you enter in english in the form?
    Because if they're not, you'll have to put them in English manually.
    Regards,
    Raj.

  • Problem in printing SAP Script Page Numbering

    Hi All,
    Am facing a problem like : Page Numbering in one of my form is getting printed from 0 (I mean initializing from 0).
    Eg : Page 000 of 003
           Page 001 of 003
           Page 002 of 003
    I want to get printed as :
          Page  001 of 003
           Page 002 of 003
           Page 003 of 003
    Could you pls help me in this regard.
    Thanks In Advance.
    Thanks,
    Madhu.

    Hi,
    You can solve this problem by setting the page counter mode to "start" and the numbering type as "Arabic", in the page attributes.
    Regards,
    Ajith V

  • Problem while sending SAP SCRIPT to Spool

    Hi Gurus,
    I got the requirement that when I select Total in USD the script is not going to SPOOL.
    But when I use any other Currency the script is going to spool.
    Please help me for this.
    Thanks and Regards,
    Ashwin.

    Hi,
    I have checked  the driver program but i dint fine any thing which is related to currency.
    can u plz help me out.
    thanks and regards,
    Ashwin

  • Problem while changing SAP Script

    Hi all,
    while trying to display or change a form in SE71, it gives the following msg ...
    " <b>Form *** language EN is inconsistent in text file</b> "
    Please can anyone help me on this ?
    I have tried for language DE also

    Hi
    Which sapscript? a std one or custom one?
    Anyway try to see the note <a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=326801&_NLANG=E">326801</a>
    Max

  • Layout problem for Customised SAP Script  ZQM_QCERT_01

    hey guys,
                     i need to generate a customised layout for QM_QCERT_01 used in QC21 tcode.
    I had copied QM_QCERT_01 INTO ZQM_QCERT_01 but after making changes in the HEADER,the table goes to second page and the alignment of all the fileds in table also gets changed. What should i do in this regard ??
                 Pls reply ,,,,<removed by moderator>
    Thanks in Advance,
    Ajay
    Edited by: Thomas Zloch on Nov 21, 2011 11:52 AM

    With the information you provided, I think the easiest thing to do is to create a new copy. Or then you could check the differences by comparing the old and new smartform.

  • Problem in SAP-Script

    Hi All,
    I am creating one report form using SAP Script, it is a replacement of standard SAP Script and which uses standard driver program. I am getting one dump while running SAP Script, it shows like "variable with name 'XXX' has not been used in so and so window".
    In that window there is a code block like,
    /: IF XXX == 'yes'
    /: ENDIF
    As I dont want this block I have commented this like,
    /* IF XXX == 'yes'
    /* ENDIF
    Please let me know how to overcome this short-dump and provide solution why such dump is comming?
    <<removed by moderator>>
    Edited by: kishan P on Sep 13, 2010 4:19 PM

    Hi,
    This is one of the problem of Standard SAP Script driver program, we can over come easily, we no need to comment anything rather do follow the code you can easily solve your issue, I also face the same issue previously.
    your code is,
    /: IF XXX = 'Yes'
    /: ENDIF
    like this means, then change the code like this,
    /: IF 1 = 2
    /: IF XXX = 'Yes'
    /: ENDIF
    /: ENDIF
    here, you didnt write any comment, also the code will never execute.
    Why we are doing this means, driver program expects particular variable has to be used in particular window, but it never expects that variable has to be executed. By using this code you can use the variable also it will never be executed.
    Hope it will be helpful. If you find any other solution please let me know, Thank you:)

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

  • SAP Script  - resize window / paragraph

    Hello Gurus,
    I have two problems related to sap script. ( ver 4.6c)
    I have copied the original order confirmation form from 000 client in diff.languages like FR/DE/EN ( these forms are used by diff. offices in diff. location ) now we have to create a form for our china office location so I copied an existing form ( FR language) to language ZH.
    a. I cannot resize or move the window of the form ZH, to do this I have to convert the original laguage to ZH ( original language of the form is FR) , to change the original language I have to edit the FR language form and use the utilities->convert org.lang option , my question is if I do this process what will happen to our FR language settings users? or is there anyother way to do this ( move or resize window ) without disturbing other forms.
    b. I am using two paragraph settings for printing the item line in the order form, ex. ZZ and IS , if I use IS the item line appears but for ZZ there is no item lines printed on the form. ( blank ) What could be the problem for using ZZ Par.format.
    Any help is appreciated.
    Thanks and best regards,
    A drop in an Ocean

    Try to identify the original language of the SAPscript.
    EX: GOTO SE71, give your form name and language ZH. select radio button Header and click change.
    under adminstrative data, identify the original language. EX: if original language is DE
    GO back to SE71, now give your form name and key in language as DE. Modify all windows here.. i.e. re-size etc., it will automatically gets changed in your ZH language. Also you can create new paragraph formats or change existing paragraph formats here using original language. you can see all changes in form ZH.
    If you want to re-size in "ZH" itself .. try to change original language to ZH.
    I guess, this info will help you to close the thread.
    Regards,
    SaiRam

  • Sap Scripts Error

    Hi All ,
              I have a problem changing my sap script in dev. say client 200 , i can display the form in 200 , when am trying to change the form in client 200 it showing 'ERROR IN OBJECT EDITING ' and displays an error message 'REQUEST/TASK kd1..... HAS INVAILD SOURCE CLIENT 100'. Any suggestion on how to change the form pls...
    Thanks,
    Vind.

    Hi
    May be the problem is with wrong request number. You can do one thing you can copy the script to other client by going to se71 transaction and using menu utilities-> copy from client. If you want the script only in this client do one thing make any changes in the script and try to save the script then it will ask for the package and request then you give the request id of this client.
    Hope this will help you.
    Regards
    Haritha

Maybe you are looking for

  • How to Set Report Region Title Dynamically

    I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header: <script type="text/javascript"> //automatic reload IRR function fnc_reloadIRR () { gReport.search('SEARCH'); window.setTimeout(f

  • DVD burning - Can't figure this out

    I've exported my 35 minute sequence to compressor then to DVDSP and the resulting DVD is poor:  colors are off, shakes and jiggles in my stills, video cuts out momentarily in spots, interlacing on some clips.   My settings and workflow are as follows

  • Loading data from flat file...

    Hello, I am actually experiencing a problem where I cant load data from a flat file into a table. I have actually reverse engineered the flat file into ODI. But the thing is I don't know how to load the data that is reversed into a RDBMS table. Added

  • Mozilla Firefox crashes more often than a Ford in the winter. What's with this?

    I have been using Mozilla Firefox for quite some time now, until about 2 months ago when it started having random crashes. I shrugged it off as a coincidence, until it began happening anywhere from 5-30 times per session. I had to switch to Google Ch

  • Database rolling upgrade cpu patch with minimal service outage

    Oracle 11gR2 Primary Instance Oracle 11gR2 Active Physical Standby Requirement of applying CPU and CVE patches with minimal downtime. I believe that I've been able to apply CPU patch to Active Standby after deferring redo transport and applying patch