Warning: include_once(http://erpgenie.com/_borders/topabap.htm) [function.include-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Warning: include_once() [function.include]: Failed opening 'http://erpgenie.com/_borders/topabap.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52
Home arrow Tips and Tricks arrow SAPScript / Smart forms
SAPScript / Smart forms
Printing Barcode without Script PDF Print E-mail
User Rating: / 1
Written by zebra.com   
Friday, 02 March 2007
Here is typical ZPL code for a label without use of SAPScript.
Note the other example uses field numbers (^FN) to tie the data with field placeholders in the SAPScript.
Device type is usually LB_ZEB, unless you need to support CJK characters, then just use ASCIIPRI.
ASCIIPRI will usually work except some graphics will get messed up if codepage 850 isn't used (LB_ZB is 850).
This example has no graphics.
Read more...
 
How to change a SAPScript's development class PDF Print E-mail
User Rating: / 2
Written by Alan Cecchini   
Wednesday, 31 January 2007
Use program RSWBO052
Last Updated ( Wednesday, 14 February 2007 )
 
Debug SAPScript PDF Print E-mail
User Rating: / 2
Written by Paul Kjaer   
Wednesday, 31 January 2007

You can debug a SAPScript: Use Tools - Word Processing - Layout Set. Enter name of layout set and then Utilities - Activate Debugger.

A further note to the tip above was provided by John Verbestel: It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger. This is quite handy when verifying which layoutset is being called (Verifying customizing settings).

Another way to set the SAPScript debugger is to run program RSTXDBUG.

 
Other useful programs for SAPScript PDF Print E-mail
User Rating: / 1
Written by Paul Kjaer   
Wednesday, 31 January 2007

RSTXFCONConverts SAPScript page formats
 
RSTXSCRPUpload and download SAPScript layout sets

Calling an ABAP form from SAPScript (provided by Paul Kjaer)


Example:
      In Layout Set:
DEFINE &X& = ...
DEFINE &Y& = ...
DEFINE &Z& = ...
PERFORM XXXXXX IN Zxxxxxxx
USING &X&
USING &Y&
CHANGING &Z&

In ABAP program Zxxxxxx
FORM XXXXXX TABLES INPUT1 STRUCTURE ITCSY
OUTPUT1 STRUCTURE ITCSY

*get input parameters
LOOP AT INPUT1.
CASE INPUT1-NAME.
WHEN 'X'.
INPUT_X = INPUT1-VALUE.
WHEN 'Y'.
INPUT_Y = INPUT1-VALUE.
ENDCASE.
ENDLOOP.

{logic to use program variable input_x and input_y to set say program variable output_z}

*set output variables:
REFRESH OUTPUT1.
OUTPUT1-NAME = 'Z'.
OUTPUT1-VALUE = OUTPUT_Z.
APPEND OUTPUT1.

 

 
How to transport Standard Texts PDF Print E-mail
User Rating: / 1
Written by Anon.   
Wednesday, 31 January 2007

Use Program RSTXTRAN or enter directly in transport

Put entry directly into the transport:

R3TR TEXT TEXT,Text Name,ST,Language

R3TR TEXT TEXT,Z_ALLERGAN_SWISS_DISTRIBUTOR,ST,E

 
Change the font on the X_65_255 paper size PDF Print E-mail
User Rating: / 0
Written by Sheila Tichener   
Wednesday, 31 January 2007
If you need to use a large line-size to get all your data in I know the sap version of X_65_255 for hp laser jet 4 gives an unnecessarily small font .

You can change it in SPAD (or copy to Y_65_255) as follows.

Example:

Choose Device formats, Change
hplj4
x_65_255
Execute
Double click on printer initialisation
Change from:-
 # select Courier 16.67 CPI normal font
 \e(s0p16.67h0s0b4099T
to:-
# select arial 24 cpi 15 point normal
\e(s0p24h15v0s0b16602T
................
Also bold as follows:-
# select arial 24 cpi 15 point bold
\e(s0p24h15v0s3b16602T

It still fits and looks better.

Also the error you get when changing a format in the output screen is only a warning and can be overidden by pressing the green tick.

If the sap standard formats don't fit your requirements you can create your own eg Y_65_170 . It seems to be the numbers in the name that somehow triggers which one the abap chooses.
 
<< Start < Prev 1 2 Next > End >>

Results 16 - 21 of 21

Google Search

Google Ads


Warning: include(http://erpgenie.com/_borders/bottom.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22

Warning: include() [function.include]: Failed opening 'http://erpgenie.com/_borders/bottom.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22