cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial 2: Using Select Options

Former Member
0 Kudos

Hi,

When following the tutorial 2 in <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d">here</a> , there is an error message:

Method WDDOINT

Names like "NAME()" or "NAME+", as in "WD_THIS->WD_CPUSE_SELECT_OPTIONS()" are identical to "NAME". These are no longer allowed in Release 4.0.

I would like to know if any of you have encountered this before ? Do you have any idea about this error ?

Thanks in advance !

Patrick Cheung

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Patick,

is there a space betwen the brackets in "WD_CPUSE_SELECT_OPTIONS()" ?

Regards

Uwe

Former Member
0 Kudos

Hi Uwe,

Thanks very much indeed ! the problem is solved.

However, why there should be a space between the brackets ?

Patrick

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Hi Patrick, glad to see that someone is getting some use out of this tutorial. The reason for the space between the parenthsis, is simply ABAP syntax, this is just the way that the language is written. A lot of times, you will find importing and exporting parameters between them and you will notice that there is always a space after the ( and before the ).

Regards,

Rich Heilman

Former Member
0 Kudos

Hi Rich,

Thanks a lot !

I am very exciting that you come to the forum and answer to my question !

May I ask one more question here...

Why sometimes after creating the application for Z_TUTORIAL2, and test run, a browser then appear. But the browser is empty with the message "Done", instead of displaying any UI as in Z_TUTORIAL2 ?

Thanks !

Patrick Cheung

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What you are describing happens when one forgets to embed the view into the window. There is no error, you simply get a blank browser. Go to the windows section in the object tree and embed the view into the window.

Please check step 6

Regards,

Rich Heilman

Former Member
0 Kudos

Hi Rich,

Thanks once again !

Patrick Cheung

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Your quite welcome!

Regards,

Rich Heilman