Lesson 11 – Few ABAP Keywords …

Lesson 11 – Few ABAP Keywords …

 

/( forward slash) – /( forward slash) is a new line indicator, wherever ‘/’ is used in the ABAP program, it indicates a new line is being added there.

 

Skip (no. of lines) – Skip (no. of lines) is used to skip the no. of lines.

 

Example of above keywords in ABAP Program – 

 

write : ‘ESAPTRAINING.COM’.

write : / ‘Welcome to esaptraining.com’.

skip 2.

write : / 2 ‘FREE SAP’.

write : / 11 ‘ABAP’.

write : / 15 ‘TRAINING’.

 

Note:-  Here in the above example, ‘/2’, ‘/11’ , ‘/15’ shows the position of first character after single quotes.

 

COLOR- COLOR is used to color the particular phrase. See example below.

 

Write : /2 ‘ESAPTRAINING‘ color1.

 

Note:- From 1 – 7 – seven colors are there.

Color 1 = Blue, Color2 = Sky blue, Color3 = Yellow, Color4 = Darkline,

Color5 = Green, Color6 = Red, Color7 = Brown.

 

HOTSPOT-

Write : /2 ‘reliance‘ color 1 hotspot.

Hotspot is used to create a hand icon in the reports or other developments.

 

WRITE-

Write is an O/P statement in ABAP which triggers an output list. (Actual Output)

 

See things in action in the below video:-

Add a Comment

Your email address will not be published. Required fields are marked *