Application Development and Automation 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: 
Read only

terminologies in sapscripts

Former Member
0 Likes
520

Consider the standard form Medruck. In the main window when u go for text editor then the screen u get next has some tags on the left (viz: /E, /*, /:, etc) and some bold texts on the right ( eg. ITEM_INFO_REC, ITEM_INFO_ZONE1,etc) of each n every line . What are they called in ABAP ? I mean the terms used for them. Dont go particularly but in a generalised manner.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
504

Hi Binay,

You are talking about the Editor in SAP Scripts. In the left tab, for more info, just press f4 in the respective tab and you can find the related inforamtion about the the particular one.

Coming to the right side tab, here you need to provide the code for that particular window.

Hope this resolves your query.

Reward all the helpful answers.

Regards

3 REPLIES 3
Read only

Former Member
0 Likes
505

Hi Binay,

You are talking about the Editor in SAP Scripts. In the left tab, for more info, just press f4 in the respective tab and you can find the related inforamtion about the the particular one.

Coming to the right side tab, here you need to provide the code for that particular window.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
504

HI Sankar,

/E /* /: -


> These are called commands in the Script

/E --> Element

/* --> Commenting a line

/: ---> Command Line

If you find any text right side of the /E then the text is called Element.

Regards

Sudheer

Read only

Former Member
0 Likes
504

Hi Binay,

if ur in pagewindow click that window and goto changeeditor then it will display the layouteditor. it u press the f4 it will display all the available commands in that.

SYNTAX OF CONTROL COMMANDS

• In tag column, indicate control commands with paragraph

format /:

• Enter complete control commands and necessary parameters

on one

line

• Enter only one control command per line

• Editor formatting does not affect lines with control commands

SOME IMPORTANT CONTROL COMMANDS:

/: NEW-PAGE

/: PROTECT & /: ENDPROTECT

/: SET DATE MASK = 'date_mask’

/: SET TIME MASK = 'time_mask’

/: RESET paragraph_format

/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l ]

[PARAGRAPH p] [NEW-PARAGRAPH np]

(Cont….. Next page)

/: TOP

:

/: ENDTOP

/: BOTTOM

:

/: ENDBOTTOM

/: IF condition

:

/: ENDIF

SET DATE MASK command

The formatting for date fields can be defined with the SAPscript

SET DATE MASK command. Executing this command

causes all subsequent date fields to be output using the

specified formatting.

Syntax

/: SET DATE MASK = 'date_mask'

The following templates may be used in the date mask:

For day : DD / DDD / DDDD

For month : MM / MMM / MMMM

For year : YY / YYYY

Control Commands

Rgds,