Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SF

Former Member
0 Kudos

hi,

anybody will tell me what is the difference b/w

  • &itab-name1&

and

/: &itab-name1&

8 REPLIES 8

former_member181962
Active Contributor
0 Kudos
  • 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

Former Member
0 Kudos

Hi salil,

1. * = default paragaraph

2. /: = for writing commands

eg. /: new-page

/: include

etc.

regards,

amit .

Former Member
0 Kudos

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.

0 Kudos
  • - Defaulat Paragraph

/: - Command

Former Member
0 Kudos
  • is for Comment

/: is for default element

former_member188685
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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&