SAP ABAP DOCU TEMPLATES KEYWORD



Get Example source ABAP code based on a different SAP table
  


TEMPLATE

ABAP - Docu Templates, Syntax
Theme block - Subject, ABAP language element, e.g. ABAP CDS - Annotation Syntax, value

ABAP_SYNTAX
... $[ABAP|SYNTAX|DIAGRAM$] ... $[CDS|SYNTAX|DIAGRAM$]

ABAP_SYNTAX_FORMS

Syntax Form 1
1 ... $[ABAP|SYNTAX|DIAGRAM$]

Syntax Form 2
2 ... $[CDS|SYNTAX|DIAGRAM$]

ABAP Addition
1 ... Addition 1 ...

ABAP_VARIANTS:
1 ... Variant 1

ABAP_ALTERNATIVES:
1 ... Alternative 1 ...

What does it do?
The statement consists of ...
Define ... in ...
Use ... to define ...
Use ... only to/for/in ...
A ... must ...
(Developers can) specify/define/determine the following for:
Use this statement/keyword to ...
The statement can (perform/do/execute) ...

ABAP_USE
Use ... to ...
Use the ... keyword to ...
Define/specify/access ...
Use ... only in/to ...
Use the following ... :
The following ... are allowed:

System Fields
If ... is specified, ... the system field ... is set to ...
When ... the system field ... is set to ...
The keyword ... sets ... to the line number of the last appended line in the primary table index.
If ... is used as ... this sets ...

ABAP_RESTRICTIONS
For ... the following restrictions apply to ...
If ... the restrictions for ... apply.
If ... is ... must ...
There are no restrictions for ...
Use only ...
... restricts the use of ...
ABAP_RESTR_END

Dependencies
If ... is ... then/it is ... in Programming Language
In Programming Language ... keyword ...

ABAP_FURTHER_INFO
For more information about ... see name of the topic/section
Name of the website, Name of the topic/section



Latest notes:

If ... is ... then there is/are ...
If ... then ... can ...
Developers can/cannot ...
Avoid ...
... is only ...
ABAP_HINT_END



Example ABAP Coding

The following ... shows/demonstrates/executes/performs/defines ... :
ABAP_EXAMPLE_END

ABAP_EXAMPLE_ABEXA
The executable example ... shows ...
If the executable example refers to the example key block use:
The example above is explained in detail in the executable example ...
ABAP_EXAMPLE_END

ABAP Addition

What does it do?
The statement consists of ...
Define ... in ...
Use ... to define ...
Use ... only to/for/in ...
A ... must ...
(Developers can) specify/define/determine the following for:
Use this statement/keyword to ...
The statement can (perform/do/execute) ...

ABAP_USE
Use ... to ...
Use the ... keyword to ...
Define/specify/access ...
Use ... only in/to ...
Use the following ... :
The following ... are allowed:

System Fields
With ... the system field ... is set to ...
When ... the system field ... is set to ...
The keyword ... sets ... to the line number of the last appended line in the primary table index.
If ... is used as ... this sets ...

ABAP_RESTRICTIONS
For ... the following restrictions apply:
If ... the restrictions for ... apply.
If ... is ... must ...
There are no restrictions for ...
Use only ...
... restricts the use of ...
ABAP_RESTR_END

Exceptions:
If ... the exception ... applies.
If ... is activated/used/specified/must ...

ABAP_FURTHER_INFO
For more information about ... see name of the topic/section
Name of the website, Name of the topic/section



Latest notes:

If ... is ... then there is/are ...
If ... then ... can ...
Developers can/cannot ...
Avoid ...
... is only ...
ABAP_HINT_END



Example ABAP Coding

The following ... shows/demonstrates/executes/performs/defines ... :
ABAP_EXAMPLE_END

ABAP_VARIANT_1 ... Variant 1 ...

What does it do?
The statement consists of ...
Define ... in ...
Use ... to define ...
Use ... only to/for/in ...
A ... must ...
(Developers can) specify/define/determine the following for:
Use this statement/keyword to ...
The statement can (perform/do/execute) ...

ABAP_USE
Use ... to ...
Use the ... keyword to ...
Define/specify/access ...
Use ... only in/to ...
Use the following ... :
The following ... are allowed:

System Fields
With ... the system field ... is set to ...
When ... the system field ... is set to ...
The keyword ... sets ... to the line number of the last appended line in the primary table index.
If ... is used as ... this sets ...

ABAP_RESTRICTIONS
For ... the following restrictions apply:
If ... the restrictions for ... apply.
If ... is ... must ...
There are no restrictions for ...
Use only ...
... restricts the use of ...
ABAP_RESTR_END

Exceptions:
If ... the exception ... applies.
If ... is activated/used/specified/must ...

ABAP_FURTHER_INFO
For more information about ... see name of the topic/section
Name of the website, Name of the topic/section



Latest notes:

If ... is ... there is/are ...
If ... then ... can ...
Developers can/cannot ...
Avoid ...
... is only ...
ABAP_HINT_END



Example ABAP Coding

The following ... shows/demonstrates/executes/performs/defines ... :
ABAP_EXAMPLE_END

ABAP Alternative 1 ... Alternative 1 ...

What does it do?
The statement consists of ...
Define ... in ...
Use ... to define ...
Use ... only to/for/in ...
A ... must ...
(Developers can) specify/define/determine the following for:
Use this statement/keyword to ...
The statement can (perform/do/execute) ...

ABAP_USE
Use ... to ...
Use the ... keyword to ...
Define/specify/access ...
Use ... only in/to ...
Use the following ... :
The following ... are allowed:

System Fields
With ... the system field ... is set to ...
When ... the system field ... is set to ...
The keyword ... sets ... to the line number of the last appended line in the primary table index.
If ... is used as ... this sets ...

ABAP_RESTRICTIONS
For ... the following restrictions apply:
If ... the restrictions for ... apply.
If ... is ... must ...
There are no restrictions for ...
Use only ...
... restricts the use of ...
ABAP_RESTR_END

Exceptions:
If ... the exception ... applies.
If ... is activated/used/specified/must ...

ABAP_FURTHER_INFO
For more information about ... see name of the topic/section
Name of the website, Name of the topic/section



Latest notes:

If ... is ... then there is/are ...
If ... then ... can ...
Developers can/cannot ...
Avoid ...
... is only ...
ABAP_HINT_END



Example ABAP Coding

The following ... shows/demonstrates/executes/performs/defines ... :
ABAP_EXAMPLE_END

Catchable Exceptions
No authorization for this transaction.
Invalid call of ... .
Error when/in ... .
... is not allowed in ...

Uncatchable Exceptions
... cannot ...
... does not ...
Invalid ...