‎2007 Aug 28 8:11 PM
why r u using the Text elments in Scripts ?
what is * / /: explain commands plzzzzzzzz ?
if u use *, what happend ? like all commands what hapends when they r using explain plzz ?
‎2007 Aug 28 11:47 PM
Hi Spart,
The use of text elements is to control the flow of the output..
Suppose that you are printing a document and the value of the header document number, come after a specific part of your driver program code, so will need to ensure that the code in your sap script window is not executed till this point, otherwise you will get blank output..
To do so, you declare text elements in the windows by using /E in the tag column.
When a text element is declared in the window, then the following code will not be executed by default.. you will need to call WRITE_FORM function passing the name of the WINDOW and the text element ELEMENT in your driver program , when you want the window to get executed..
So, the only purpose is to control the flow of data between the Sap script and the driver program.
I feel i have answered your question..
Thanks and Best Regards,
Vikas Bittera.
**Points for useful answers**
‎2007 Aug 28 8:14 PM
Hello,
The explantion for each object....
* Default Paragraph
AS Standard paragraph
P1 En negrilla y minuscula
P2 Texto mayusculas sin Negrilla
P3 Texto minusculas sin negrilla
P4 Texto en mayusculas y negrilla
P5 lINEA
P6 Texto mayusculas sin Negrilla
PD Parrafo por Defecto
Continuous Text
= Extended Line
( Raw Line
/ Line Feed
/= Line Feed and Extended Line
/( Line Feed and Raw Line
/: Command Line
/* Comment Line
/E Text Element
Hope this helps
Gabriel P.
‎2007 Aug 28 11:47 PM
Hi Spart,
The use of text elements is to control the flow of the output..
Suppose that you are printing a document and the value of the header document number, come after a specific part of your driver program code, so will need to ensure that the code in your sap script window is not executed till this point, otherwise you will get blank output..
To do so, you declare text elements in the windows by using /E in the tag column.
When a text element is declared in the window, then the following code will not be executed by default.. you will need to call WRITE_FORM function passing the name of the WINDOW and the text element ELEMENT in your driver program , when you want the window to get executed..
So, the only purpose is to control the flow of data between the Sap script and the driver program.
I feel i have answered your question..
Thanks and Best Regards,
Vikas Bittera.
**Points for useful answers**
‎2007 Aug 28 11:51 PM
Hi Spart,
forgot to answer the other doubt..
Tag column values
/: command line (to write any logical statment)
/ Blank line feed (add blank line)
/E text element (text element)
default formatting for text
apart from this you will get all the paragraph names that you have created for ur sap script.. using one of them will apply the formatting options set for that paragraph in the following text.
Thanks and Best Regards,
Vikas Bittera.
**Points for useful answers**
‎2007 Aug 29 7:13 AM
Hi
text element in scripts are triggerd by ur driver program.they print the data which you pass from the driver program.for 1 test element you need 1 WRITE FORM in ur code. /* is commented line.
= is continous line
is default paragraph what you have set for that particular page.
/: is command line for writing commands like if esle etc
please reward points
‎2007 Aug 29 2:50 PM
Hi
reward if usefull
Tag column: The tag column contains format keys which define the output formatting
of the text or initiate control commands.
Text line column: Contains the actual content of the window.
Special characters
Default paragraph
/: Command line
/* Comment line
/E Text element
<u><b>Layout Set Symbol </b></u>
SYSTEM symbols are supplied by SAPscripts. They can be used in all texts. Following are list of frequently used system symbols.
&DATE& = Current date
&DAY& = Day
&MONTH& = Month
&YEAR& = Year
&TIME& = Time of day
&HOURS& = Hours
&MINUTES& = Minutes
&SECONDS& = Seconds
&PAGE& = Page
&NEXTPAGE& = Page number of next page
&SPACE& = Blanks
&ULINE& = Underline
&VLINE& = Vertical line
&NAME_OF_MONTH& = Name of month
FORMATTING of the symbol can be done in following different ways:
&SYMBOL+ 4& = Off set
&SYMBOL(5)& = Length
&SYMBOL(I)& = If the symbol is initial, output nothing
&SYMBOL(Z)& = Suppress leading zeros
&SYMBOL(C)& = Compress blanks
&SYMBOL(R)& = Right-justified output
&SYMBOL(S)& = Suppress +/- sign
&SYMBOL(5,2)& = Decimal place formatting
&SYMBOL(E3)& = Exponential notation
&text1SYMBOLtext2& = Concatenation of symbol and text
Examples :
&VBDPR-MATNR+2(4)&
&VBDKL-BRGEW(I13)&
&Currency : VBDKA-WAERK&
&Case # &PREFIX&VBDPR-BSTNK+2(8)00&