How to create Box in scripts

hi
  can anyone send how to create box, like table including vertical and horizontal lines in sap-scripts
regards
ratna

BOX Command
Syntax
/: BOX
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
· TW (twip)
· PT (point)
· IN (inch)
· MM (millimeter)
· CM (centimeter)
· LN (line)
· CH (character).
The following conversion factors apply:
· 1 TW = 1/20 PT
· 1 PT = 1/72 IN
· 1 IN = 2.54 CM
· 1 CM = 10 MM
· 1 CH = height of a character relative to the CPI specification in the form header
· 1 LN = height of a line relative to the LPI specification in the form header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
SIZE Command
Syntax
/: SIZE
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT
Dimensions of the rectangle or line.
WINDOW
Sets the values for the width and height to the values of the current window (default setting).
PAGE
Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.

Similar Messages

  • I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
    If that solution is not flexible enough, consider using the very affordable (12$)  Elements+ add-on which offers a 'meta stamp' script :
    http://elementsplus.net/v5/en/meta-stamp.htm
    Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview...

  • How to create the Sap script & Layout Set (wants sample code)

    Hi All ,
    Can you please provide me the step by step procedure
    to create the Sap script & Layout Set .(please provide sample
    code/links /docs for layout & print program).
    Regards
    Rahul

    hi,
    go through the following links  what i found to create sap script.
    http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
    http://abapliveinfo.blogspot.com/2008/01/free-sapscript-made-easy-46-book.html
    http://www.thespot4sap.com/articles/SAPscript_example_code.asp
    http://idocs.de/www3/cookbooks/sapscript/sapscript_1/docu.htm
    http://idocguru.com/www5/cookbooks/sapscript/sapscript_1/example.htm
    www.geocities.com/wardaguilar25/sapscript-tutorial.html
    http://logosworld.de/www3/cookbooks/sapscript/sapscript_8/docu.htm
    how to create a  scripts?give steps?
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    Other Links

  • How to create power shell script to upload all termset csv files into the SharePoint2013 local taxonomy ?

    Hi Everyone,
    I want to create a powershell script file
    1) Check a directory and upload all termset csv files into the SharePoint local taxonomy.
    2) Input paramaters - directory that containss termset csv files, Local Termstore to import to,
    3) Prior to updating get a backup of the existing termstore (for rollback/recovery purposes)
    4) Parameters should be passed in via XML file.
    Please let me know how to do it.
    Regards,
    Srinivas

    Hi,
    Please check this link
    http://termsetimporter.codeplex.com/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to use box in Scripts?

    Hi Guys,
                  can anybody tell me how to use Box and purpose of box?
               My req is i have to display 5 columns ina Script thru printer but problem is i am not able to display the columns values in a vertical way i am getting in a jig jag way.so what shall i use ?  is BOX ok ?
    Thanks,
    Gopi.

    Hi Kodandarami,
                           I had done like that only see here is the code below.here L1 L2 L3 and L4  are paragraph left Justified item's.
    so do u think is ther anything wrong with the code Now my doubt is what shall i do to get the Columns Values in staright even if there is not value for some of their previous columns?
    =    -
    L1   Itm,,Material,,Mat.Desc,,             Batch,,  SLoc,,  Stor.bin        
    /*   Stock type                                                             
    L3                                 ,,              Counted qty.,,Un         
    L    -
    =    -
    /E   POS_BELZEILE2                                                         
    /:   PROTECT                                                               
    /:   BOX WIDTH '5.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 6                
    L4   &ISEG-ZEILI&,,&ISEG-MATNR+0(5)&,,&MABDR-MAKTX&,,&ISEG-CHARG&,,        
    =    ,,&ISEG-LGORT&,,&MABDR-LGPBE&                                         
    /*   ,&T064B-BTEXT&                                                        
    L3        ,,              _______________,,&ISEG-ERFME&                    
    /:   ENDPROTECT                                                            
    /E   POS_ENDPAGE                                                           
    Thanks,
    Gopi.

  • How to create a logon script to delete folder, subfolders and contents when a user logs on ?

    I need to create a logon script which will delete a folder, subfolder and contents when a user logs on. I have no experience with scripting so any pointers you can give would be much appreciated.
    Thanks

    depending on how you have thing set up, it might be easier to make a LaunchAgent to handle this.  do this:
    copy the text below into a text editor
    save it as a plain text file in /Library/LaunchAgents with the file name "user.startup.folderDeleter.plist" (the name doesn't matter so much, but the 'plist' extension is required)
    load the plist into launchd by restarting the machine or by opening terminal and running the command launchctl load /Library/LaunchAgents/user.startup.folderDeleter.plist
    This will delete the folder any time any user logs in.  You could also expand this to delete the folder periodically (once a day, for instance) if that would be helpful.
    Note, this file must be saved as plain text. apps like TextEdit sometimes default to making rich text files which will not work.  Either download a programmer's text editor like TextWrangler, or make sure that TextEdit is using plain text (if the window has a formatting toolbar it's using rich text;  select "Make Plain Text" from the Format menu).
    copy the text below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Label</key>
              <string>user.startup.folderDeleter</string>
              <key>RunAtLoad</key>
              <true/>
              <key>ProgramArguments</key>
              <array>
                        <string>osascript</string>
                        <string>-e</string>
                        <string>tell application "Finder" to delete folder "Final Cut Express Data" of folder (path to preferences from user domain)</string>
                        <string>-e</string>
                        <string>tell application "Finder" to empty trash</string>
              </array>
    </dict>
    </plist>

  • How to create chaque in script

    how to create a cheque using  script. is there any standard program for that .i want step by step process ,plz help me

    Hi Raju,
    There are some standard checks provided by SAP, you can copy them and modify them accordingly to your requirement. The standard driver program is RFFOUS_C. Search with the Key Word Checks in the print workbench.
    Regards,
    Sai

  • How to create a sap script for sales order header items?

    Hi friends i am totally new to scripts i have got a task where i have to create a sap script for sales order header items details, the clue that i have got is to create using MEDRUCK but i have got no idea please can any body help me with this task with any sample sap script?
    Points will be rwwared with out fail Thks in advance.

    Hi,
    The Standard Form NAme is RVORDER01
    Regards
    Sandipan

  • How to create box in the sap script.

    I have a address like
    SAP America,
    Pala alto,Ca
    USA
    I want to put the above address in the box in sap scritp.
    How to do it .
    Please let me know.
    Any help would be highly appreciated.
    Thanks
    Edited by: mark_yellow mark on Jul 8, 2008 1:54 AM

    Hi Mark,
    If u you what to display the window with a box thw u can simply write this way
    /: BOX FRAME 10 TW
    You can use the POSITION and SIZE commands to set default parmeters for a box.
    You can write:
    /: 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
    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
    Best regards,
    raam

  • How to create a .exe script to start and stop Oracle EBS R12 in Linux

    Hello,
    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.
    Ali

    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.Please see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Autostart+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Auto+AND+Start+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

  • How to create an automated script

    Hi friends!
    Back with my doubts!
    I am working with a web based and client server based program.
    I making some enhancements into the program to generate some new reports. What it has to do everyday is
    1 - create the tables/insert records needed for the report - the query is ready
    2 - the web presentation is ready, so when someone chose the report and click, it will access the most updated table. so, nothing much to worry on this part.
    3 - it has to generate an excel file for this report. - i have the program ready, but to use the program, i need to use around 10 lines of script to send the parameters
    4 - the it has to email it to certain addresses. - the coding is ready and i can use the script as well.
    5 - I am wondering, how can i consolidate them into one script ... is it just like call the excel program, next line you call the email program ....
    6 - and how to call it everyday automatically?
    please advice.
    NOTE: the scripts for excel and email, are fixed, even i might not have to do any changes to the paramaters being passed, like the file name and the email addresses.
    Thanks a bunch
    cheers
    alagu
    Edited by: user645399 on Jun 28, 2009 8:24 PM

    Hi,
    user645399 wrote:
    but its going to have fresh info eveyday
    you can refresh the materialized view whenever you want and with ever interval you want.
    When you make a complete refresh, all data of the materialized view will be refreshed and the materialized view is actual.
    but since we are not going to store the info, may be materialized view will do.
    which one uses the resources more efficiently?
    a normal table or a materialized table?There is normally no big difference between a materialized view and a table. The materialized view belongs to a normal
    table. A materialized view demands no additional programming effort for a refresh.
    When a materialized view is refreshed complete, the existing data will be deleted first. This behaviour creates undo information,
    which needs some resources.
    But when the refresh of the materialized view fails, then the data will be rolled back, so there is always data available.
    When you truncate or drop a table, this is normally faster, but the data is always lost.
    The best way depends on your special requirements.
    Tobias

  • Database Development, how to create a drop script generated by JDeveloper

    Hi to all,
    JDeveloper generates a "create script" for an offline database or a real one. But, I can not see a drop script generation for that. Is there any practical way to generate one? Or do we need to use data dictionary and write something customized?
    Also, is there a way to avoid generation of the tablespace information in create script? Even though I'm disabling the tablespace information from the table definition, it gets created to the "create script" anyway. That is nice, but it degrades the portability.
    Thank you for your time.

    Hi Susan,
    1. A drop script would be a script to reverse the creation of the create script. Of course, this would be in somehow intelligent way, such as dropping constraints and foreign keys first, and then removing the tables etc. This was a feature in another product that I have abandoned before switching to Oracle JDeveloper. I'm missing this feature because : Me and my colleagues are working on one single schema, with some part is production ready and some is not and each part is assigned to different people. So, it would be nice if we could have a chance to load the creation script of the part which is under development next to the production ready part, test it, and drop only the newer(development) one without affecting production ready tables which are under production test. The database modeler is very useful, and the offline database concept is great, but I would be very happy if we had this feature too.
    2. "Remember to remove the storage options from Indexes (properties - storage options)" Aaahh, that was I missing. Also, the reason I want to remove the storage options from the generation script was also related with the scenario I stated in 1. The production machine has more detailed, optimized and advanced storage properties that we can not mimic on our test/development machines.
    Your answer was very useful, thank you for your time.
    Caglar Toklu

  • How to create a Script in AW server

    Hi all,
             Can anybody pla help me with how to create a simpal script in AW server.
    Thanks
    Ravi Sharma

    These products are all based on the GeoTel acquisition.
    GeoTel ICR (Intelligent CallRouter) was the base product, enabling many different peripherals (i.e. PBXs like Lucent, Nortel, Rockwell etc. - and IVRs like InterVoice, Periphonics etc.) to be joined together in a functional contact center, although the initial implementation of ICR was in a different context - as a network router for service providers (AT&T, MCI, Optus, BT) through an interface called a NIC.
    The NAM was a high-end conglomeration of a Network ICR (NICR) and 1 or more Customer ICR (CICR) suitable for service providers, allowing a hosted solution to be built.
    When Cisco bought GeoTel the name was changed to Intelligent Call Manager (ICM) to avoid marketplace confusion with Cisco's existing line of routers. Thus the NAM (the hosted solution) now consisted of a NICM and several CICMs.
    Since Cisco had developed their own switch/PBX for VoIP (after the Selsius acquisition) called CallManager, it could also be treated as a peripheral and slotted into an ICM. This became IPCC - IP Contact Center.
    A couple of years ago, Cisco branding brought all products under a "Unified" umbrella.
    Although the lines are a bit blurry (and I'll probably get corrected on this ), UCCE is IPCC (well, almost), ICM Hosted is the NAM, and the term ICM is mainly used when UCCE is implemented with non-Cisco switches (i.e. not CallManager).
    Yeah, it's not that clear cut, but you get used to it.
    Regards,
    Geoff

  • How do i create a "shell script" as root? [SOLVED]

    Really a newbie question, i know, but any how.
    I just downloaded and installed a google-drive client and is about to set it all up. Following a guide from github.
    https://github.com/astrada/google-drive … tomounting
    "Create a shell script named gdfuse in /usr/bin (as root) with this content:"
    There were no explanation how to create a shell script. So i just want to know how du i do that?
    I assume it's really simple,  when logged in as su in a terminal, but shell script is new to me.
    I read a tutorial on creating scripts, (http://linuxcommand.org/wss0010.php) but  dont know how to create the actual file. e.g. if i open leafpad and try to save it in the /usr/bin i presume it's not as root. Or shall i open thunar as root and do it that way?
    Last edited by dockland (2015-06-19 21:39:44)

    There's seldom need to run graphical application as root. For editing as root, it's best to stick to a text-based editor.
    One of the first hits on a ddg search for 'how to create a shell script' was http://www.linfo.org/create_shell_1.html
    Last edited by karol (2015-06-19 21:57:23)

  • How To Create Plugin/Script

    I have seen some source for LR plugins/scripts. However, searching for some books or posts on this forum I have not found any information on how to create such plugins/scripts. Where can I find some documentation about that?

    http://www.adobe.com/devnet/photoshoplightroom.html
    http://forums.adobe.com/community/lightroom/lightroom_sdk
    Beat

Maybe you are looking for

  • Is there an emulator for OS 9.2 that works on 10.4.11?

    Hello, I am running OSX 10.4.11 and I need to run a program that says it will only run on 9.2 or OSX in classic mode. I haven't just tried it yet, as I don't want to spend the money and then find out later I can't get it to work. I've been reading ab

  • Macbook w/Airport Extreme Base Station

    I have a Macbook that I just bought 3 days ago. Like everyone else, I am having the same problem with wireless encryption. However, when I turn off the WPA and just use WEP, I can connect but it seems to lag. What I mean is everytime I browse, it's a

  • Connection printer to laptop

    I was trying to connect OFFICEJET 6500A printer to laptop with USB cable. The needed software was installed. Yet there was no printing. I have Windows Vista. No changes or upgrades made before. Could it be because I don't have land telephone line and

  • Slide size change destorys presentaiton...

    I am working on a presentation, and thought it would be wise to change the slide size to fit the larger monitor I would be using (changed from 1024x768 to 1920x1080). Everything scaled fine. To my horror, when I changed the slide size back to 1024x76

  • When I preview a page in my browser, I only see the background

    Just recently when I try to view a page or the entire site in a browser, all I am seeing is the background of the site. All the rest is missing, same thing happens when I try and publish the site as a testsite, just the background appears. The asset