Problem when compiling example from TechEd 2008

Hi,
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 ?
Thanks,
Regards

Hi,
thank you very much for answering me so quickly, I really appreciate this.
I'have already try to fix the problem by splitting the line code, but it doesn't work.
I paste bellow my piece of code, it is located in the method wdoinit of the component controller
METHOD wdoinit .
data l_api type ref to if_componentcontroller .
l_api = wd_this->wd_get_api( ) .
wd_this->mr_message_manager = l_api->get_message_manager( ) .
wd_this->init_new_record( so_id = '00000000005000000010' ) .
wd_this->read_products( ) .
ENDMETHOD.
I get the following error :
The result type of the function method cannot be converted into the type of l_api type of l_api.
Instead of if_componentcontroller I tried ig_componentcontroller too, but it doesn't work too.
The long text error at the origin of my post as a lot of occurences in the syntax error window when I check this application: about 10 errors with the same origin.
All attributes of the assistance class ZCL_MHO_WD_SERVICE are allways displayed in red, is it normal ?
Have I to setup/upgrade something on my system in order it will work ?
(There is a lot of errors, since is there a global solution to fix it in one shoot ?)
Thank you,
Regards.

Similar Messages

  • Silly problem when compiling main class

    hi there,
    i have a problem when compiling the main class.
    the classes used by the main class are not recognized. the compiler can't locate the children classes.
    i've already set the path and classpath environment variables, but there's still something missing.
    how should i organize my folders in order to be able to compile the main class successfully, please?
    thanks.

    It would be good to have a precise problem description: the actual command used, folder structure and environment variable settings. Even if you have to construct a simple test case with a couple of classes that illustrates the problem.
    In the absence of that some generic remarks:
    The PATH variable typically points at all the folders that contain executable files that you use often. You can always access other executable files by specifying there full names.
    The CLASSPATH variable is typically left unset.
    When you use the java tools (like the javac compiler or the java runtime) you can specify the classpath that you want to use with -cp. This will override any CLASSPATH value. So in the simple case of two classes (Main and MyClass), you can put them in anywhere you like (for example C:\MyJavaStuff) and compile and run with:
    {noformat}
    C:\MyJavaStuff> javac -cp . *.java
    C:\MyJavaStuff> java -cp . Main
    {noformat}(Mind the dot after -cp))
    By a "main" class I guess you mean a class with a static void main(String args[]) method, but I am suspicious of your "child" classes. Perhaps packages are involved. A precise description of the problem would help.

  • Problem when compiling TWIN

    When compiling TWIN from AUR (here), I got stuck at "make" phase. I download the tarball from AUR and makepkg from my home directory. The point at where I got stuck is this:
    libTw.c: In function 'Tw_Close':
    libTw.c:1224: error: invalid storage class for function 'DeleteAllListeners'
    libTw.c:1253: warning: implicit declaration of function 'DeleteAllListeners'
    libTw.c: In function 'Tw_StrError':
    libTw.c:1634: error: static declaration of 'DeleteAllListeners' follows non-static declaration
    libTw.c:1253: error: previous implicit declaration of 'DeleteAllListeners' was here
    make[2]: *** [libTw.o] Error 1
    make[2]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs/libTw'
    make[1]: *** [build-dir-libTw] Error 2
    make[1]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs'
    make: *** [build-dir-libs] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    I have read this thread and have installed termcap-compat and required deps as mentioned. It configures fine.
    Any help is appreciated..

    Duplicate post, please go here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=204588
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • EVDRE error "encountered problem when retrieving data from webserver"

    Hi,
    in a EVDRE we always get the error "encountered problem when retrieving data from webserver"
    When analysing this further we noticed this is always generated when a base member is selected in the CV and the expansion on the row for this dimension is has one of the following expansion settings:
    DEP
    ALL
    NOEXPAND
    if we select SELF, the error disappears again and the EVDRE works fine again ... is this normal behavior?
    there is no problem with application nor dimension.
    D
    solved it

    Note that the keyword "ALL" does not include the member itself. This may cause some confusion, but as Harish implies, when you select a base member it finds no matches if your memberset is "ALL".
    If you want to design a report to handle the user moving back and forth between base and non-base members in their CV, you either need to include SELF,ALL or SELF,DEP, or something similar....
    OR you need to get a little fancier, and use EVPRO to look and see if the CV member is base -- evpro(app,member,"CALC") -- and then use some conditional logic in Excel to choose the correct expansion options. If Calc=N, use Self, otherwise use SELF,DEP or whatever you choose. This can be a bit tricky if you then want the user to be able to drill down in the report (especially if you want the workbook option to insert add'l rows on the expansion, rather than replace), but it's all possible.

  • Hello guys i face a problem when i upgrade from iOS 4.2.1 to iOS 5.1.1  .when i upgrade i don' t found the camera app from the built in apps.when i try to install from the app store i don't  found the correct camera app .please help me .

    hello guys i face a problem when i upgrade from iOS 4.2.1 to iOS 5.1.1 on ipad 3 .when i upgrade i don' t found the camera app from the built in apps.when i try to install from the app store i don't  found the correct camera app .please help me .please give any suitable link where i find the correct camera app

    It's a built-in app, so it can't be deleted nor downloaded from the store. If you can't find it on any of your homescreens or app folders, and you can't find it via the spotlight search screen (swipe your first home screen to the right), then is it hidden by Settings > General > Restrictions > Camera being set 'off' ?
    If not then have you tried a reset to see if you can find it after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Jikes compiler problem when importing class from a jar

    hi everyone,
    I'm new there so please excuse me if i post a pb that have been already answered...
    I've a pb with jikes that is encountering a problem and so closing when compiling. I use ant to build my project.
    In my classpath I have, among others, a jar named 'kepler.jar' in which I use the following class 'WSResult;'
    In my java class I have the following import :
    'import com._4d.kepler.model.WSResult;'
    Do you think it is the character "_" that makes jikes to bug ?
    What else can be the problem of not compiling and stopping building the project ?
    Thank you very much for your help, looking forward to your answer...!
    Florence.

    Editing material is vastly different from just playing it.
    With Audio, a player is accessing the actual file on the HDD, and reading the info from there.
    The big difference is that with PrE (and PrPro), those files are not being used directly. When Imported, a couple of things happen:
    PrE creates links to those files, for later use, when one Exports/Shares
    PrE creates "proxy files," to display the Video on the Timeline, based on those links. It also creates proxy files for better display, when one Renders the Timeline, or portions of it.
    PrE creates a CFA (Conformed Audio) and a PEK (Waveform Display) file, that are used - the CFA is to allow for critical editing and the PEK is what one sees on the Audio Track. The actual files are NOT directly accessed - only the CFA file.
    For a bit more info on Conforming, see this ARTICLE.
    Now, there have been some problems reported, where the Audio was Linear PCM/WAV. I do not know what there is about the LPCM, that causes the issue, but the "plain vanilla" PCM/WAV's seem to be trouble-free. I would love to read, from an Adobe employee, or audio engineer, explaining on why there might be issues.
    For the red, and as there is some "earthiness" to it, I like the Acacia Carneros Pinot Noir. I pick it up at Costco for about US $22. It has proved to be about the best inexpensive PN, that I have encountered. Another, is the Peachy Canyon Incredible Red, which I have picked up "on sale" for around US $ 9. Their Peachy Canyon East Side Zinfandel, is even better, and I've found it as low as US $ 15. If you can find the Glen Carlou Grand Classique (South Africa), it is about the best cheap Bordeaux Blend, that I have ever found at ~ US $ 12.
    Good luck,
    Hunt

  • Problem when transporting form from DEV system to PRODUCTION system

    Hi Experts,
    We are developing forms in ABAP, for example there is a form developed in dev system and this form has JS coding in some UI elements events like initialize, on change and on exit; also has one script object defined as variable. this script object has some functions defined in order to do some common validations and field specific ones too.
    The form in DEV work fine, all the functions calling, all the validations and the events are working properly as expected. But there is a problem when we moved the changes done in development system into production system. Specifically the script object has the problem: even though the coding is the same in both systems, in production system we had an script error: "Body.CATALOGPARAMS has no properties", as if the Body.CATALOGPARAMS was never instanciated, or it is not defined...
    The code that produces this error is the following:
    var itemCount = 0;
    itemCount = Body.CATALOGPARAMS.DATA.instanceManager.count;
    CATALOGPARAMS is table defined as context table coming from an ABAP FM where is filled and passed into the form.
    In order to fix this problem I changed that part for the following
    var itemCount = 0;
    var catalogTable = null;
    catalogTable = xfa.resolveNode("Body.CATALOGPARAMS.DATA");
    itemCount = catalogTable.instanceManager.count;
    This still works as fine as the other in DEV system. But my question is: will I have the same problem when we transport the changes to production system, you have to know that a transport is not something that you can do every day, so I am taking precautions before the transport. Which of both coding is the best for doing this?
    Any observations, comments, questions in order to clarify some points are welcome, so please do it.
    In advance, thanks a lot.
    Mauricio.-
    Edited by: Mauricio Poblete on May 11, 2010 4:20 PM

    As always, you are the first one to reply... thanks for that!
    before everything, I activated the form, then I added this form to a new transport using se80 transaction: I navigated through the form objects and I added the form to a new transport by second click on the form -> other functions -> write transport entry. is this the correct way to assign a transport package with the entire form (including script objects, layouts, and all you told in the last reply)??
    Can you give me a guide on how-to add the specific parts to the same transport for forms?
    as always, thanks in advance.
    Mauricio.-

  • Problems when copying music from CD to i-Pod library

    Does anyone have problems with transferring music from a CD to the itunes?
    When i do this the CD sometimes sticks / jutters
    What should i do?
    SIMPLE answers please!
    Thank you

    Hi,
    Some music, like in normal CD, is in just CD music format (I dont know what they're called), and iTunes will automatically convert into format you specify (for example, if you would like iTunes to convert it into mp3, then select mp3) some CD are in mp3 format, but this is generally by individual, not retailer CDs.

  • Oracle Report Font problem when run report from oracle EBS R12

    Dear All
    I have developed one Report in ORACLE REPORT BUILDER in windows environment. I see the output of that report, its ok, I deployed it on the EBS R12 which is on Linux environment, when i see the output, its fonts totally change and due to change in fonts, output not same as like in previous stage. When i print from dot matrix Printer then sometime its shrink the character and sometime break the output..
    Kindly help me in this regard, because this problem i am facing from last few days.
    i am waiting for your quick response.
    Thanks in advance....
    Regards,
    Nawaz
    Edited by: Haq Nawaz on Nov 5, 2012 11:45 AM

    Thank you very much for your reply
    I have changed the fonts in the report, but when i run it from the EBS its has the same problem. from the EBS output font look like as (COURIER) rather than CALIBRI WESTERN.
    tell me what i have to change anything.

  • Create problem when compiling the servlet

    hi,
    i got a problem when i compile a servlet
    when i try to compile the servlet, it shows that it could
    not found the classes like httpservlet, etc.
    means the classes of the servlet
    i am using the j2sdk1.4.1 edition,
    i had include the javax.servlet.*; in the program
    please tell me what can be the problem & especially any solution for that

    the javax.servlet package and it's sub packages (javax.servlet.http, javax.servlet.jsp, javax.servlet.jsp.tagext) are not included with the Standard Edition. These packages are part of the Enterprise Edition. Check out this link for download:
    http://java.sun.com/j2ee/sdk_1.3/

  • Problem when exporting Query from Web template to Excel Sheet.

    Hello,
    Im encoutering a problem when im trying to export query output from web template to excel sheet.
    A popup windown appears when excel sheet opens which reads.."problem cameup in the following areas during  load : Cell Value".The report layout appears to be fine but the totals shows unwanted values starting with * followed by number.
    Any valuable inputs, what could be the problem. where can i rectify the same.
    Regards
    Ellora

    Hello A K,
    Thanks for ur time and response but the option u mentioned did not serve my purpose.
    The problem seems to be only with pirticular cells.As mentioned earlier the layout appears properly..all the values are seen..but the end result..totals are disturbed.
    eg: If the report shows in template the total value :20,668,554...when exported the values is shown as **668553.88000000600000.
    So what could be the problem ? any template setting ? global setting to look at ?
    Regards
    Ellora

  • N8 problem when installing apps from Nokia Store

    Hey guys! I have problem with my Nokia N8. Most of the time, when I try to install app on it using Nokia Suite on my PC, Suite says that app has just been installed correctly, but on the phone says "Downloading error" and the app doesn't exist. Same thing happened today when I tried to install Viber. Help please

    I would suggest you try and update to the latest Ovi Store, now called Nokia Store.
    With your phone's browser go to the following address:
    http://lr.ovi.mobi/store/new-symbian-3
    you should then get the option to install the latest Nokia Store client, and this should include new QT files. Corrupt QT files are usually the problem when installations from the Nokia/Ovi Store fails.

  • Document Problems when upgrading B1 from 2004 to 2005

    When upgrading from B1 2004 to b1 2005 any documents over 2 pages cause B1 to crash - anyone found the same problem or a solution.

    Hi clive
    When you say it crashes, does it just close and no error. i've came across that problem when making complex documents. If you have made your document as an A4 document, check what the default printer is? Go to file->page setup  .You'll see the printer it will print with and it's page size (letter,A4,etc). Make sure that is the same as the one you have set in the pld in the document.
    Hope this helps

  • Problem when activating Query from Business Content

    Hi Gurus,
    I'm currently encountering problems when activating a query (Financial Statement and P&L: Actual/Actual Comparison) in the business content under these 2 cubes (0FIGL_VC1 and 0FIGL_VC2). Since I was told that these cubes are Virtual Cubes I also have already activated Basis Cubes (0FIGL_C01 and 0FIGL_C02)  as a prerequisite of the 2 Virtual Cubes. I have also loaded the data for the 2 cubes and have encountered no problem at all.
    But while activating the said Query (Financial Statement and P&L: Actual/Actual Comparison). I have encountered a problem during activation and only this error message appears 1. Error when activating element DO9NE34DKNREWIBWNVAW8BS7M (Technical Name of the Query) and 2. BEx transport request '' is not available or not suitable.
    What other possible steps am I missing here?Is there anything else I should do or activate before activating the Query. Thank you again for all the help.
    - Kit

    Hi Kristian,
    Do the following ->
    Goto transaction RSA1 -> Transport Connection -> Edit -> Transport -> Switch On Standard.
    After this try activating your Query again.
    Hope this helps!
    Regards,
    Saurabh

  • Codepage problem when compiling with fastjavac

    Hi,
    I'm getting the following warnings when compiling with fastjavac:
    fastjavac: warning: Can't find codepage for "Cp1250" encoding.
    fastjavac: warning: Use default ANSI codepage.
    2 warnings
    How could I suppress these warnings?
    Thanks in advance

    I think you are posting it on the wrong Forum. This is for Forte 4GL not Forte for Java.

Maybe you are looking for

  • Error while executing the table statistics using Brtools

    Dear Team, We are getting ORA-01031: insufficient privileges error whenever we have tried to execute the update or table statistics using brtools on our SAP development server. I have checked the permissions of sapcheck directory and changed it to 77

  • Volume exceeds maximum file size

    Hi, I am trying to compress a FC7 file using Compressor. I want to compress as a ProRes and as .264 file. I have an error each time: it says: "volume exceeds maximum file size". I don't understand where it come from. I have got space on my disk. I do

  • JDeveloper11g - code editor font looks horrible

    Why is it that my preferred coding font (Consolas - fixed-Width font) looks like sh.t in JDeveloper 11g? And is there any way to improve that? I'm using Java6 -J.

  • Softonic Toolbar

    The Softonic toolbar attached itself to Safari after I downloaded this :http://paintbrush.en.softonic.com/mac. Now every time I open Safari it crashes because of ct_plugins and i get this error report Process: Safari [323] Path: /Applications/Safari.

  • RE: Crash Report

    Hi I am currently using a 2012 macbook pro 2.5ghz intel core i5. it has recently been in apple for a problem where it wasnt booting up and they replaced the logic board however ever since then i am getting this message once a day and on some days twi