Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem when compiling example from TechEd 2008


I' am using sap sneak preview 7.01 and I'm trying to compile the ZMHO_EX3_* webdynpro example.

I get the error :

"syntax error : long text".

When I check the syntax I have allways the same error :

Field ")" is unknown...

each time the source code follow this structure :

wd_this->mr_message_manager = wd_this->wd_get_api ( )->get_message_manager( ).

All the attributes of the assistance class ZCL_MHO_WD_SERVICE are red highlight.

I need to use FlashIsland to create mockups for a ramp up client, can you help me to solve this this problem ?



Former Member
wd_this->mr_message_manager = wd_this->wd_get_api( )->get_message_manager( ).

Remember in the Mentors' Hands-On session we said that we were using a 7.1 based system so that we could preview the Enhanced Expression Handling and Statement Chaining that will be coming next year in 7.0 EnhP2. This is an example of the Statement Chaining.

I thought that I had removed all instances of Statement Chaining before I created the transport file, but I must have missed this one. You will be able to use this simplifed syntax structure next year with 7.02, but for now to compile the code on 7.01 it must be turned back into its long form:

*   get message manager
  DATA lo_api_controller     TYPE REF TO if_wd_controller.
  lo_api_controller ?= wd_this->wd_get_api( ).
  wd_this->mr_message_manager = lo_api_controller->get_message_manager( ).

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question