Skip to Content
avatar image
Former Member

ABAP Help .. What does those brackets means

hi,

I am learning sap abap and trying to use f1 on certain key words, I am unable to understand even simple statements because of lot of brackets.

What those brackets means ?? Please let me know. may be this is silly, I am sorry about my ignorance.

Regards

madhu.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 11, 2007 at 04:11 PM

    Hi Venkat,

    Please check these.

    Vertical lines | between parts of statements mean that only one of the parts listed within a statement must be used. Lines are not a part of ABAP syntax.

    Example:

    DDMMYY | MMDDYY | YYMMDD

    Curly brackets { } group together related parts of statements, for example, on the right or left of vertical lines. Curly brackets are not part of ABAP syntax.

    Example:

    {NO EDIT MASK}|{EDIT MASK mask}

    Regards,

    Ferry Lianto

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2007 at 03:53 PM

    Hi,

    Please check this from ABAP Keyword Documentation.

    Path: F1 -> ABAP by Theme -> ABAP Syntax -> Syntax Conventions.

    Parts of statements that can be used but do not have to be, are displayed in square brackets [ ]. A list of parts of statements in square brackets means that all or some parts can be used. If at least one part must be used, this is noted in the text. Square brackets are not a part of ABAP syntax.

    Example::

    [NO-GROUPING] [NO-SIGN] [NO-ZERO]

    Regards,

    Ferry Lianto

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ferry Lianto and Others,

      Thanks you very much for quick replies. Specially Ferry you are always clear in your explanation and add code for better understanding. I really appreciate it.

      now, I got about square brackets. how about these flower brackets ' { } ' and vertical lines " | " means .

      thank you.

  • Oct 11, 2007 at 03:47 PM

    hi Madhu,

    the brackets mean the part between the brackets is not mandatory by the statement.

    ec

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2007 at 03:48 PM

    Instead of pressing F1 on every key word...go thru documentation and learn it.....then u can write sample programs on ur own.....

    check with this following link

    it is having very good documentation

    http://www.sappoint.com/abap.html

    Check out ebook of "Learn ABAP in 21 days"...

    http://cma.zdnet.com/book/abap/index.htm

    Regards

    Vasu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hello vasu, eric and ferry,

      thank you for your replies, i am closing this thread.

      I did not understand by

      abap theme -> abap -> syntax -> syntax convetions.

      what does these mean ??

      thank you.

      I will allot points.

      thanking you

      madhu