Script box in ecc6
hi
i need two rows in the below code for script.
/: BOX WIDTH '15' CM HEIGHT '1' CM FRAME 10 TW
/: BOX XPOS '3' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '6' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '9' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '12' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
currently it is showing one row only and 5 colomns. i need two rows
thanx
rocky
Hi,
Just repeat the same code. But you need to specify the position
/: POSITION YORIGIN 2 CM
/: BOX WIDTH '15' CM HEIGHT '1' CM FRAME 10 TW
/: BOX XPOS '3' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '6' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '9' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
/: BOX XPOS '12' CM WIDTH 1 TW HEIGHT '8' MM FRAME 15 TW
For more detail, you better find some tutorials/documents on SAPScript.
Regards,
Teddy Kurniawan
Similar Messages
-
As long as I have been in the job and we have been using IE as our browser, we have controlled the proxy settings with an automatic configuration file.
Recently, with IE8 on WinXP and Win7, we have had situations with the user getting various connectivity errors. By unchecking the "use automatic configuration script" box, they start working. But we don't change anything else.
These error are not consistent from machine to machine.
We are in a AD Domain environment
These are the two errors I have documented.
Error: 5
Description: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
Access to resrouce is forbidden by server while attempting to access server at
http://content.mpl.org/cgi-bin/admin/pwtest.exe?CISOVER=60.
Please check the permissions to the file on th eserver.
Two very different problems. Both somehow fixed by unchecking the box.
The config file itself has not been changed in over a year.
Can anyone explain why unchecking this box, but not making any other changes to the proxy settings would fix connectivity problems? These are all external sites that need to go through the proxy.
Thanks.Hi,
You can use the steps in the following thread to disable this option:
uncheck "use automatic configuration script" in IE LAN settings
http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/05a7c683-075e-435c-8583-da8fd3559cf2
Or try to
reset Internet Explorer settings and select use automatic configuration script to see whether it could work.
Hope this helps.
Vincent Wang
TechNet Community Support -
What is with the black batch script box appearing on the Weather Channel? See Pix's.
I first noticed these Friday 06-01-2012 whenever I change to the Weather Channel (WC), it only happens when on WC.
The first pix shows it in mid-update. See the last character it is a zero. Every 15secs it tries to update itself.That last character will roll alpha-numerically until it stops at the bracket character ( ] ), then it does it again 15secs. later.
I was unable to get a pix of the first script box because it changes to fast, but it starts out:
[ T for Weather Channel...some type of code.....] Then goes to what I show in the above pix's.
I have tried both the STB Auto-Recovery, and STB reset, neither one will stop it from appearing.
The only way to get rid of it is either to shut the TV or the STB off, but it comes right back when I want to view the WC.
My release is 1.9, and the build is 10.95. Is this happening because the STB is trying to update to 1.9.1?
Does anyone have an answer?
Anak
Solved!
Go to Solution.I'm pretty sure that is coming from your TV. use your tv remote or the tv menu from the front panel of your TV (not the fios remote) and look in the menu for your closed captioning and turn it off.
you may even have a CC button on your original tv remote (the fios one looks different, so I don't think this is coming from the set top box) -
SAP Script Box Width Vs Font Size
Hi All,
I have a SAP Script where Boxes Width are based on CH for ex..
BOX YPOS 1 LN WIDTH 3 CH HEIGHT 1 LN FRAME 1 TW'
BOX YPOS 1 LN XPOS 3 CH WIDTH 18 CH HEIGHT 1 LN FRAME 1 TW
Now i have to populate the value in that 2 box with some values say mandt and matnr which are 3 and 18 char in length (Keeping those length in mind i desined the boxes)
When i use Courier Font Size 12 , it fits fine in box boxes but when i use font size 8 then everything is messed up...
It start up properly then the first character of matnr is displayed in the first box...
How do i determine the box size width based on the font size ...
In SAP Script header setting i have char/inch set up as 10 --Would that make any difference
Please the client needs in SAP Script only...
ThanksAny suggestions will be appreciated
-
HI all,
I have main window in my script. I have some text which will be written at the bottom of the main window using bottom and endbottom command. Now I want a box around this text. Can anyone explain how do I write my box command.
Regards,
Varun.You can also create a window just for your box, and have some of this code.
/* The top line
/: POSITION PAGE
/* First horozontal line
/: POSITION XORIGIN '1.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX HEIGHT '1.5' LN INTENSITY 10
/: BOX FRAME 10 TW
/* Second horozontal line
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '25.5' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
/* Bottom of Code Box
/* POSITION PAGE
/* POSITION XORIGIN '1.0' CH YORIGIN '51.0' LN
/* SIZE WIDTH '79.0' CH HEIGHT '0' LN
/* BOX FRAME 10 TW
/* The 1st vertical line
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '41.0' LN
/: BOX FRAME 10 TW
/* The 2nd vertical line
/: POSITION PAGE
/: POSITION XORIGIN '20.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/* The 3th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '40.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/* The 4th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '60.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/* The 5th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '80.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '41.0' LN
/: BOX FRAME 10 TW
/* Top of signature Box
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '57.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
/* Bottom of signature Box
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '65.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
Regards,
Rich Heilman -
Why do I keep getting "Unresponsive Script" boxes?
Several times a day a box will pop up and processing will stop until I click on one of the choices in the box. The message in the box is:
Warning: Unresponsive script
? A script on this page may be busy, or it may have stopped
responding. You can stop the script now, or you can
continue to see if the script will complete.
Script: [ I'll give examples below. ]
Don't ask me again
Continue Stop script
Some examples of listed scripts:
chrome://google-toolbar-lib/content/toolbar.js:76
chrome://browser/content/browser.js:1922
chrome://global/contents/bindings/general.xml:0Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
<br />
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")<br /> -
There is already a box in the script , in which there are 4 lines. i need to insert two more lines in the box. I have written the two lines in the code but i see last two lines are appearing in the box . i know that i should increase the box size but i dont see anywhere the command BOX postion...what can i do?
Hi
Please use the Xorigin and Yorigin , width and height of your window.
/:POSITION XORIGIN '5' YORIGIN '77' MM
/:SIZE HEIGHT '104' MM WIDTH '253' MM
/:BOX XPOS '10' MM WIDTH 0 TW HEIGHT '104' MM FRAME 10 TW
In case of Your window size is small , Increase the window size and set the box size.
Thanks
Sriiiiiiii(Srikanth) -
I need to uninstall an old userscript installed through Greasemonkey. Usually I go via Tools-->Greasemonkey-->Manage User Scripts or right-click on the monkey icon on the bottom left and choose Manage User Scripts and get this large window where I can manage whatever userscripts I have on here, but now I only get the small Add-ons window with the monkey icon last in the row (after Plugins and Installation icons) and the white area below is completely empty (whereas for example under Extensions I can see and handle those). How do I do this/Why can't I get the 'usual' managing window to show??
I also have this problem and it just started in the last week or so. It seems to be dependent on my home network and the problem only exists with firefox. I have used chrome and IE8 with no issues. I can verify tomorrow that it only exists in my network but one thing I was able to test is that the problem exists even on my linux boot. I am totally dumbfounded with this problem and I can't find anything that will allow the gmail page to load. All other pages I have tried load fine, all be it a little slower than normal but they load. If anyone knows of a difference between firefox and all other browsers on how it goes through the router I would appreciate the info cause I don't know of any differences.
-
SAP Script: Boxes and Lines appear on FIRSTpage but NOT in NEXT
I have code to create boxes, lines and shade . This code is in the "Main" window of the "FIRST" page and "NEXT page.
The program prints boxes, lines and shade in the FIRST page. When "Main" window fills up with data in "FIRST" page, then "NEXT" page prints. The boxes and lines and shade do not print in the "NEXT" page.
Can some one please help ?Vinay,
Where are the the "Boxes, lines and shade in the FIRST page"? The MAIN window is usually used to display lists. The length of the MAIN window dictates how many pages will be printed. If you have any static boxes, lines or shading (ie always the same spot on the page) then maybe you should not put them in the MAIN window.
If you must have them in the MAIN window, I would suggest that you find out which Text Element they are in. The SAPscript Print Program must explicitly call these Text Elements in order to make them appear (via the WRITE_FORM function).
If you want to print things like list headings and the like, you should pass 'TOP' into the TYPE parameter in your WRITE_FORM.
eg.
Let's say you want to display the "Header" Text Element as the heading (this heading has boxes, lines, etc) of your list.
call function 'WRITE_FORM'
exporting
element = 'HEADER'
function = 'SET'
type = 'TOP'
window = 'MAIN'
importing....
Hope this helps.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful. -
Hai all,
when u delete a file,it will ask 'Are you sure you want to delete the file?',what the alert box called?
Thanks in Advance
Regards,
CPTIn Java it would be JOptionPane. Don't know about JavaScript.
-
FF 7.0.1 on MacOSX 10.6.8 (not this machine!)
While doing a "Save As", and while the "Save As" dialog box is showing, a second dialog box "unresponsive script" shows up. I can't deal with the "unresponsive script" box as it doesn't have focus, and I can't complete the "Save As" operation because its script has become unresponsive. I end up having to Force-Quit Firefox via the Activity Monitor.
Any less brutal suggestions?figured it out:
- power off mac and turn back on while holding down Command + R (dont do it on an external keyboard just to be safe)
- choose the re-install Lion option (I'm sure there is another way to re-install Lion, this is just the way I did it, not saying its the best or only method)
- DO NOT INSTALL MACBOOK (Mid 2012) Software Update 1.0 - THIS SCREWS ADOBE UP! -
Custom Calculation Script Question
I'm flying blind here, I know nothing about this stuff. I just need something i can copy and paste into the "custom calculation script" box.
I'm working on making a character sheet for star wars saga edition auto calculate. The only thing I have left before it is completely done is one last calculating field. However, I have no clue how to do it.
What it needs to do is take the value from one field (user entered info) and then divide it by 2, always rounding down.
The field the user enters a number in is named "Level" and the field that needs to display that number is named "1/2lvl".If no one answers here you can try the Acrobat Scripting forum.
-
Sending an email via AppleScript and Dialogue Boxes
I am trying to write a script to send an email via Mail of which the body of the message is from a dialogue box. I decided upon using Automator and AppleScript. I have, so far, the following workflow:
1. Run Apple Script:
set mypass to text returned of (display dialog "What are you doing?" with icon 1 buttons {"Tweet", "Cancel"} default button "Tweet" default answer "")
2. New Mail Message.
3. Send Outgoing Messages.
4. Run Apple Script:
on run {input, parameters}
tell application "System Events" to set visible of process "Mail" to false
return input
end run
I wand this workflow to allow the user to input an answer and this answer to be in the message field of the email. I can use the "Ask for Text" action in Automator but it does not allow for any control over the appearance of the dialogue box. The first script returns the result "<whatever is typed>" (ie. "Test") in the Results field below the script box, as does the "Ask for Text" action but it does not insert it into the message. Does anyone know what is going wrong here?
I am relatively new to AppleScript which is why I am using Automator but would like any information on how this could be done entirely in AppleScript. My previous attempts at sending email using script was unsuccessful.
My aim is to save this as an Application with a proper icon.see my reply to your post in the snow leopard forum.
http://discussions.apple.com/thread.jspa?messageID=10318297� -
A message came up on my desktop asking me to click on it and it warned me about my toolbars would no longer work. I believe I had just deleted Google Chrome. Now every time I want to go online I have to wait a minute or so before a message comes up and states: A script on this page may be busy or it may have stopped responding. You can continue to see if the script will complete". Then under the above message is this:
Script:chrome://tavgp/content/libs/include.js:595.
There are two boxes underneath that state "Continue" or "Stop script". I click on the "stop script" box and then I can get online. I don't know what this means or how to get rid of it and how do I get Firefox toolbar to work again? Did I do anything to my computer that is causing this error? I never had this problem until I clicked on the first message and I am sorry I didn't write the info down but I didn't know all this was going to happen.That is a problem with an AVG extension (toolbar).
See:
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
SAP Script - How to write data in a table format.
Hi All,
In my requirement, I need to show item data in a table format ( In a box, with horizental & veritcal lines.
can somebody pl give me a small code to do this.
Regards,
HardikHi
SCRIPT BOXES
POSITION WINDOW
SIZE WIDTH '160' MM HEIGHT '140' MM
BOX FRAME 10 TW
Box
BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
linessssssss
BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
Boxes, Lines, Shading: BOX, POSITION, SIZE
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
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.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN
Origin of the coordinate system.
WINDOW
Sets the values for the left and upper edges to match those of the current window (default setting).
PAGE
Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
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.
<REMOVED BY MODERATOR>
Regards
Anji
Edited by: Alvaro Tejada Galindo on Jul 8, 2008 10:59 AM
Maybe you are looking for
-
I have a 1TB WD passport that currently contains windows files e.g photos, documents, etc. Can I partition it so that one partition contains these files and the other partition is used for time machine backups? Also, how do I change the partition sys
-
PO having negative Order quantity and Order value
Dear All I am facing a strange scenario as described below :- I made a framework order(FO) with target value as 100000 INR.Net price for the material in the FO is given as 100 INR and Target Quantity as 0.00 EA. Now when I am making a PO with referen
-
How to avoid slides (and movies) that are out of proportion
Hello, I've tried everything to optimize the images on the dvds. I've cropped the pictures to all sorts of different dimensions, and saved the projects as standard and widescreen. I've exported the finished project in many different file types. I've
-
Nokia PC Suite Error. Phone will not install. Reso...
Seek wdf01000.sys from c:\windows\system32\drivers folder rename or delete. Open regedit seek for keys and remove them, might be there or then not HKLM\SYSTEM\CurrentControlSet\Control\Wdf HKLM\SYSTEM\CurrentControlSet\Services\Wdf01000 Now plug your
-
Color control in printing: Aperture mayhem with Epson printer
With monitors calibrated and colorsync profiles loaded for my Epson 1280 printer, Photoshop prints are as close to screen as possible. Aperture starts off with something strange: each profile for my Epson appears 3X in the menu. When selecting the pr