2006 Oct 02 4:39 PM
Dear Pals,
Kindly help me to print delivery note logo in SAP Scripts in center of page and then to print all the information regarding the delivery note over it. It is very urgent and how could i achieve it.
Regards
Omer Farook.
Dear Pals,
Kindly help me to print delivery note logo in SAP Scripts in center of page and then to print all the information regarding the delivery note over it. It is very urgent and how could i achieve it.
Regards
Omer Farook.
2006 Oct 02 4:41 PM
Hi ,
i believe the background logo in scripts is not possible. it is possible with Smart forms.Many a times people use prited stationery to acheive that functionality.
Hope this helps.
2006 Oct 02 4:45 PM
To use graphics in the SAPScript FORMS they must be imported to R/3 system for this we use transaction SE78 or report <b>RSTXLDMC</b> and give the graphics a name . The image type is generally .TIF(tagged image format) or .BMP (windows bitmap file) .
The <b>RSTXLDMC report</b> is used to import images which are in Tagged Image Format (.TIF) into R/3 and saved as standard text (OBJECT TEXT and ID ST) in the system. Since these images (.TIF) are stored as standard text they can be included in the sapscript using the standard INCLUDE statement. The image to be used if is not in .TIF format than it should be converted to this format e.g. by using IMAGING program in WINDOWS.
Once converted to .TIF they can be used in RSTXLDMC report. The image is stored by the name of <b>ZHEX-MARCO</b>-name . The other parameters in this report e.g. are used to indicate the type of IMAGE
BCOL for color or BMON for mono color images.
<b>e.g. /:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST</b>
After the graphics has been imported we can use the INCLUDE statement to include the graphics or use the menu Edit->Graphics->Create.
<b>e.g. /:BITMAP logo OBJECT GRAPHICS ID BMAP .</b>
The above include statement is inserted automatically if we use the menu command.
<b>BOXES and LINES</b>
To use boxes in the form or to create a table in the form we use BOX statement. a table can be constructed by using a combination of BOXes.
<b> /:BOX XPOS val unit YPOS val unit WIDTH val HEIGHT val INTENSITY val FRAME val unit .</b>
The Unit used in the sapscript cane be:
<b>TW twip
MM milimeter
CM centimeter
LN line
CH character
IN inch
PT point</b>
The parameters like WIDTH , XPOS etc should be followed by a proper unit.
The INTENSITY is in the percentage of the grey scale.
The FRAME parameter is the thickness of the frame the default value is 0.
e.g.
<b>/:BOX XPOS '5' CM YPOS '2' CM WIDTH '14' CM HEIGHT '20' CM FRAME 20 TW INTENSITY 10</b>.
e.g.
<b>/:BOX INTENSITY 10</b>
will fill the current window background with a shading of grey scale 10%..
To draw a horizontal line we set the HEIGHT parameter to the value of 0.
e.g.
<b>/:BOX XPOS '5' CM HEIGHT 0 TW FRAME 10 TW.</b>
This will draw a horizontal line across the top edge of the window.
To draw a horizontal line we should set the value of WIDTH parameter to 0.
e.g.
<b>/:BOX XPOS '5' CM YPOS WIDTH '0' TW FRAME 10 TW.</b>
This will draw a vertical line across the complete height of the left edge of the current window.
<b>POSITION and SIZE</b>
We can use POSITION and SIZE to set default position and size of the window and also for relative positioning. With POSITION we can use the paramters XORIGIN , YORIGIN ,WINDOW. With SIZE we can use WIDTH and HEIGHT and WINDOW and PAGE.
e.g.
<b>/:POSITION XORIGIN '5' CM YORIGIN '5'CM
/:SIZE HEIGHT '5' CM WIDTH '14' CM
/:BOX FRAME 10 TW INTENSITY 10</b>
<b>POSITION WINDOW</b>
We can use POSITION WINDOW to set the position relative to current window i.e to the left,top of the current window ,then we can use POSITION with XORIGIN and YORIGIN to specify the current position relative to the start of the window, we can use '+' and '-' with the values.
e.g.
<b>/:POSITION WINDOW
/:POSITION XORIGIN '5' CM YORIGIN '5' CM</b>
In the above example the position now becomes 5 CM left from the origin of the window and 5 CM from the top of the window.
WINDOW sets the value of the WIDTH and HEIGHT to current window and
PAGE sets the value of the WIDTH and HEIGHT to current page.
e.g.
/:SIZE WINDOW
e.g.
/:SIZE PAGE
regards
vivek
reward points if this helps
2006 Oct 02 4:50 PM
<b> ALV_GRID_DISPLAY, how to ovewrite subtotal obtained by ALV sort</b>
I want to overwrite the subtotal value in column C (Currently 60 ) which i got using standard ALV sort.
Example: using ALV_LIST_DISPLAY function module & sort functionality:
Column-A____Column-B_____Column-C____Column-D
K1____________2_____________10__________20
K1____________2_____________20__________40
K1____________3_____________30__________90
subtotal:________7____________60_________150
Note : Each row in Column C is calculated as D/B.
I would like to extend the calculation in subtotals also.
But subtotals give me the sum of values in C.
In column C,I want 150/7 (subtotal of D / subtotal of B)
I.E., Column C = 150 / 7 = 21.42.
Farooq & Imtiyaz bhai please any inputs regarding my problem would be much appreciated.
Thanks in advance !!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |