1

In a customer object, we found an SWC statement that our parser chokes on.

  IF NOT ( pyparaid IS INITIAL OR dataset_exp IS INITIAL ).
    swc_set_element container 'DATASET' dataset_exp+10.
  ENDIF.

Although this page seems to imply that they are well known in the ABAP world, I cannot find a page where they are documented officially. (Similar to the ABAP keyword documentation).

Are these macros considered part of the language? In other words, if they are not covered, would you consider a parser incomplete? Please point me to their documentation.

Ulrich Scholz
  • 2,039
  • 4
  • 30
  • 51

1 Answers1

3

Please try searching for yourself next time. The first hit when googling for "site:help.sap.com swc_set_element" would have lead you straight to the reference.

Yes, a parser that is unable to process macros is incomplete. You have been warned about that half a year ago... :-)

Community
  • 1
  • 1
vwegert
  • 18,371
  • 3
  • 37
  • 55