2006 Jul 11 11:10 AM
hi,
anybody will tell me what is the difference b/w
&itab-name1&
and
/: &itab-name1&
2006 Jul 11 11:13 AM
is to tell that itab-name1 will be printed as per the default paragraph setting.
/: is for commands. it will not have any effect on the format of itab-name1.
Regards,
ravi
2006 Jul 11 11:13 AM
Hi salil,
1. * = default paragaraph
2. /: = for writing commands
eg. /: new-page
/: include
etc.
regards,
amit .
2006 Jul 11 11:14 AM
First one signifies the default paragraph.
Second one is the command symbol that allows us to use commands like if else in sap scripts.
but in smartforms we cannot use this command.
2006 Jul 11 11:16 AM
2006 Jul 11 11:16 AM
2006 Jul 11 11:18 AM
Hi,
&itab-name1&
<b>*</b> is used to write the content with the Default paragraph format.
But <b>/:</b> is used to call the Script commands.
/: &itab-name1&
Regards
vijay
2006 Jul 11 11:19 AM
Hi Salil,
&itab-name1& -- Default paragraph.
/: &itab-name1& -- Command, the values of itab-name1 will be taken.
Check this (SAP Documentation).
Some format keys are defined by SAPscript. They have a predefined meaning and can be used in all texts:
<b>* Default paragraph</b>
The format definitions which are specified for the paragraph defined in the assigned style or form as the default paragraph are used for the output formatting of the paragraph involved.
<b>/ New line</b>
The subsequent text is written to a new line during output formatting. The formatting attributes of the last paragraph format are retained.
<b>/: SAPscript control command</b>
The characters contained in the actual text line are not output as text but are regarded as a control command. They are not interpreted or executed until output formatting of the text. Control commands must always fit into a line fully. Subsequent lines are not allowed.
<b>/* Comment line</b>
This line is not taken into account during output formatting of the text.
<b>= Extended line</b>
This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line.
<b>/= Like extended line</b>
But the subsequent text is placed in a new line during output formatting.
<b>( Raw line</b>
The subsequent editor line is not interpreted by the SAPscript composer during output formatting. This means that character formats, symbols, tab characters, masking characters, or hypertext links which may be contained in this line are not evaluated and are therefore passed unchanged to the output device. The text contained in this line is also appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line.
<b>/( Like raw line</b>
But the subsequent text is placed in a new line during output formatting.
<b>>x Fixed line</b>
The line is not ready for input in the SAPscript editor. It can also not be deleted or separated. You can only create fixed lines with a program . You can therefore give a text a fixed structure, for example, which cannot be changed by the user.
You can use any number or letter for the 'x'. You can therefore separate different sub-headings, for example. If several fixed lines occur consecutively with the same indicator, they are regarded as a unit by the SAPscript editor. It is not possible to insert anything between these lines in the editor.
In the case of fixed lines, SAPscript print formatting interprets the first two characters of the line as a paragraph format for formatting. You therefore need to enter the required paragraph format or blank here.
Regards,
Arun Samabrgi.
2006 Jul 11 11:23 AM
Hi salil,
1. * = default paragaraph
2. /: = for writing commands
*&itab-name1& --- It will print with default paragraph
/: &itab-name1& -- It's a command and will print the values of &itab-name1&