MESSAGE - sintaxis error

I'm new in ABAP and I'm trying to display a error message in the screen with the follow statement:
MODULE read_sflight INPUT.
  SELECT SINGLE * INTO CORRESPONDING FIELDS OF sdyn_conn FROM sflight
    WHERE carrid = sdyn_conn-carrid
      AND connid = sdyn_conn-connid
      AND fldate = sdyn_conn-fldate.
  IF sy-subrc NE 0.
    MESSAGE e038.
  ENDIF.
ENDMODULE.                             " check_sflight 
But it is not working. I got the error sintaxis below:
"MESSAGE-ID xx" is missign the "REPORT" statement.
I have checked already the transaction SE91 and the message exist.
Many thanks.
Cristina

HELLO;
GIve the message Id
F sy-subrc NE 0.
MESSAGE e038(MEssagfe-ID).
ENDIF.#
Else give it in the report stmt
Report xxxx message-id xxx.
Please reward the points.
Vsanth

Similar Messages

  • LKM SAP BW to Oracle (SQLLDR) generates sintax error in ABAP code.

    Hi Experts,
    We are installing a SAP BW KM's in ODI 11g.
    Actually, we are able to make reverse ingeneering succesfully.
    Now we want to use the LKM in order to extract SAP data.
    The KM fails, in step Generate ABAP Code. The code is uploaded to SAP system but with sintaxis errors.
    That's the beginning of the SAPAbapExecuteOpenTool_8001_7001.log.
    +##################################################+
    +############ Open Tool Logger ####################+
    +##################################################+
    +############ Upload value: 1+
    +############ Execute value: 1+
    +############ BASE RKM FLAG: 0+
    +############ ZRFC_RUN_INSTALL: 1+
    +############ Abap Function Name: ZODI_8001_7001+
    +############ Sap Host Name: XXXXXXXX+
    +############ Sap User Name: XXXX+
    +############ Sap password: ********+
    +############ Sap Client: 100+
    +############ Sap language: ES+
    +############ Sap system no: 00+
    +############ Sap Connection Pool Name: SAP_ODI_LKM_POOL_GLOBAL+
    +############ Sap Connection Pool Size: 10+
    +############ Sap Function group name: ZODIBW_LKM_FGRP+
    +############ File Delimiter:+
    +############ File Name: ZODI_8001_7001.txt+
    +############ FTP Host: XXXXXXXXX+
    +############ FTP User: ftpbi+
    +############ FTP Password: ********+
    +############ FTP Passive Mode: 1+
    +############ FTP Transfer Time out: 100000+
    +############ User abap parameter names: IV_DELIMITER,CHAR1;IV_FILENAME,CHAR255;IV_USER,CHAR35;IV_PWD,CHAR35;IV_HOST,CHAR35;IV_HASHVALUE,CHAR35;IV_PATH,CHAR35;IV_REQUID_L,RSSID;IV_REQUID_H,RSSID+
    +############ Abap rfc table parameters: RETURN,BAPIRETURN;ET_FILE_RETURN,BAPIRET2+
    +############ Log File Name: /tmp/SAPAbapExecuteOpenTool_8001_7001.log+
    +############ OpenHub Path: /tmp/+
    +############ Delta Extraction First Request ID : 0+
    +############ Delta Extraction Last Request ID : 0+
    +############ SAP Development Class : ZODIBW_PCKG+
    +############ Max Row Count :+
    +############ Fetch Batch Size :+
    +############ Hash Value Marker: HVM+
    +############ Generated Program:+
    *** ODS DSO extraction
    TYPES: BEGIN OF ty_final,
    +/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR+
    TYPE
    +/BIC/AZOFI_UTE00-/BIC/ZFI_SOCOR,+
    +/BIC/AZOFI_UTE00_SOURSYSTEM+
    TYPE
    +/BIC/AZOFI_UTE00-SOURSYSTEM,+
    END OF ty_final.
    In the SAP GUI shows a sintaxis error.
    Functions Module ZODI_8001_7001. line 25
    The name "/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR" is longer that allowed.
    +30 characters.+
    Really the TYPE "/BIC/AZOFI_UTE00_/BIC/ZFI_SOCOR" has 31 characters.
    The sufix "/BIC/" is the "NAMESPACE", a SAP grouping concept.
    AZOFI_UTE00 is a table name.
    ZFI_SOCOR is a column name.
    Are this sufix correct in the APAP code?
    Has anyone had that problem?
    Any comment will be wellcome.
    Thank's in advance.

    Hi Somchai,
    r U able to resolve ur issue ..........i'm also struck there at the same point.
    I am using shared folder for file transfer and my error message is
    java.lang.RuntimeException: Error occured in open tool execute method...Error in executing ABAP program...Error in executing ABAP program...Error occurred when creating dataset\\<hostname>\bi-interface$\ZODI_11001_12001_GLOBAL.txt
    Thanks.
    Edited by: Drona on Mar 26, 2012 7:25 AM

  • Sintax error depending database link used

    Hi every one, I have a weird weird situation and I need some tips to deal with it.
    A code like that:
    declare
    all variables;
    begin
    select xxxx
    into vl_xxx
    from t1@db_L1 a
    , t2@db_L1 b
    , t3@db_L1 c
    where etc;
    some stuff;
    end;
    WHY this kind of code could faisl with sintax errors: dbe_jobs_pkg.pr_eje_alm:26-04-2010 09:22 --> ast_codigo = 47:ORA-06550: line 69, column 14:
    PL/SQL: ORA-00904: "A"."TABLESPACE_NAME": invalid identifier)
    depending of the database link used. Indeed, if I execute de query in a isolated way (sql*plus for example) it works fine using the database link whose plsql fail
    I garantee there is not grants problems...
    By the way, the code begun to fails suddendly, and I don't know what happened....
    All the databases are 9.2.0.5
    I need sugestions to track o investigate the posible causes
    Thanks a lot, kind regards
    Mauricio Fernández C.
    ADDENDUM:
    I've restarted the source database and the PL/SQl with sintax error now works fine....Still I need some tips to understand what's going on.....
    Edited by: maufer on 26-abr-2010 7:10

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

  • Cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • SAP System Message: Syntx error or generation error in a screen

    dear sap basis gurus,
    i am currently having problems signing on to our DEV server. i get this error message:
    <SID>: SAP System Message
    Syntx error or generation error in a screen.
    it won't let me log on.
    there were no changes made on the server (i.e., profile parameters) lately. it was working really fine after our support package level upgrade about 5 months ago.
    have you encountered this problem before? please help me as there we have two imminent go-lives.
    thank you very much in advance.
    best regards,
    albert

    hello nick, ashok,
    thank you very much for your responses.
    i have already resolved this issue by just freeing up some space from our disks. not one of them was full though.
    i hope i would no longer encounter the error message.
    again, thank you.
    best regards,
    albert

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or

    I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.  File activity incomplete. 1 file(s) or folder(s) were not completed.  Files with errors: 1 /html

    Nobody can tell you anything without knowing exact site and server specs, but I would suspect that naming the folder "html" wasn't the brightest of ideas, since that's usually a default (invisible) folder name existing somewhere on the server and the user not having privileges to overwrite it.
    Mylenium

  • After the most recent FF update, FF 3.6.6 will not load, citing the error message: "XULRunner / Error: Platform version '1.9.2.3' is not compatible with minVersion =1.9.2.6 / maxVersion". Tried updating XULRunner with no luck. Downloaded fresh copy and

    After the most recent FF update, FF 3.6.6 will not load, citing the error message: "XULRunner / Error: Platform version '1.9.2.3' is not compatible with minVersion>=1.9.2.6 / maxVersion". Tried updating XULRunner with no luck. Downloaded fresh copy and installed. Still no luck.
    == This happened ==
    Every time Firefox opened
    == FF updated to 3.6.6 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Hello I am just wondering why there is a message of error 1004 when i tryed to make the update on my apps. Does someone know what it means?

    Hello I am just wondering why there is a message of error 1004 when i tryed to make the update on my apps. Does someone know what it means?

    Yes, many know what this means.  You can too.  Just type in "error 1004" in the search box at the top of this page.  Or, just look to the right.  You'll find many links in the "More Like This" box. 
    Always good forum etiquette to search for previous posts on the topic before posting.

  • I get error message: "An error occurred with the  publication of album...Authentication with server failed...whenever I open a facebook file in my iPhoto. In each file, most of my photos have disappeared. What do I need to do?

    I get error message: "An error occurred with the  publication of album...Authentication with server failed. Please check your login and password information" whenever I open a facebook file in my iPhoto. In each file, most of my photos have disappeared. I am hoping I can retrieve these "lost" files. What do I need to do?

    Message was edited by: leroydouglas
    better yet, try this solution:
    https://discussions.apple.com/message/12351186#12351186

  • Palm Pre crazy symptoms: "phone offline", will not charge battery, will not start, error message "an error has occured that cannot be resolved"

    This is a long description of a series of problems with my new Palm Pre. You may wish to search the text to find your specific issue(s). There is no solution in my post. Look for possible answers in the responses to come.
    I bought my Palm Pre 4 days ago and it arrived 2 days ago. Phone worked great. Last night I plugged in the phone and updated the OS. After completion, I selected "Done" and went to bed.
    - First Series of Issues: "Phone Offline", will not charge battery -
    In upper lefthand corner of the phone there is the message "phone offline". Although the phone has been charging all night it reads "26% battery". I called the general Sprint tech support number and we tried the following things:
    1) Restart phone (press and hold power button, then select "turn off". after power down, press and hold power button to power on.)
    2) Reset the phone (several different ways - call tech support so that you do this correctly)
    The individual at Sprint then sent me to another tech support person, presumably 2nd tier.
    - Second Series of Issues: Error message "an error has occured that cannot be resolved" -
    Sprint tech support person #2 also had me restart and reset the phone in a number of ways. In her words "we've tried every palm pre trick I know" and each time the phone was unresponsive. Often we received the error message "phone is offline". We did a full erase and after that the phone would no longer restart. At this point the error message came up saying "an error has occured that cannot be resolved" which referred me to www.palm.com for assistance. I think it's important to note here that this was not the typical error message (black screen with white letters) but rather the blue sky background with a semitransparent box over it with white text.
    Sprint tech support person #2 then connected me with Palm support and the dance continued. Again we tried a whole bunch of resetting and restarting and erasing options. Palm support instructed me to go to: www.palm.com/rom to download WebOS Doctor, which I did. I downloaded the file. While that was happening he had me hold the "volume up" button and plug the phone into the charger. This caused a USB symbol to appear on the phone. When the file was complete I received an error message that the file couldn't run. Palm tech support person seemed surprised. I mentioned that I was on a Mac and he said he couldn't help me. He then transferred me to another Palm support person who works with Mac users.
    Palms tech support person #2 then informed me that I should have selected the "mac" download option on www.palm.com/rom. I verbally walked her through the whole series of webpages, telling her that it says that you need Windows (version whatever) or Mac (version whatever) but that at no time was there an option to download a different WebOS Doctor for different operating systems. After some more discussion she told me she would have to have someone call me back tomorrow.
    - Third Series of Issues: phone stuck on USB symbol -
    So at the moment the phone is completely useless. Not fantastic. I booted up the mac in Windows 7 and downloaded WebOS Doc and received the same error. I also ran Windows Vista virtually and received the same error. Later this afternoon I'm heading into work to try the same thing on Windows XP.
    In the meantime, I got onto this forum and located a thread that provided a direct link to the necessary file:
    palm.cdnetworks.net/staging/rom/webosdoctorp100ewwsprint.jar
     After downloading that file, which I realized could totally be a virus, I was able to get WebOS Doc working on my computer. It required that I recharge the phone completely before beginning and now it's on the screen that says "Don't disconnect your phone" and the file is at 3% complete. Only... it's been at 3% complete for almost 30 minutes.
    I am hoping that Palm will follow up with me tomorrow, but I'm leaving at 7am on a business trip and would love to have the thing working. Any suggestions are welcome, even if you can just tell me how to get the think disconnected safely before my flight tomorrow. I don't fancy getting through security with my phone wired to my laptop.
    Thanks.
    Post relates to: Pre p100eww (Sprint)
    This question was solved.
    View Solution.

    Hello and welcome to the forums;
    Our phone support is open every day Monday through Sunday, although there are different hours of operation for the weekend. If after a webOS Doctor reset you are still experiencing the same problems, I would likely recommend replacement, either in a local store for your carrier or through our technical support department.
    There may be additional technical support offered or suggested over the phone, this would need to be done first before a replacement could be issued.
    Hope this helps,
    TreoAide

  • Acrobat 9 Pro: Message "An error exists on this page. Acrobat may not display page correctly.

    Hi everyone,
    I posted this in September: "Over the past week, I have received pdfs from 2 different graphic design contractors that do not open correctly in Acrobat 9 Pro. There is an error in the document and when I scroll to the page where the error is, I get: "An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." I did this, and the contractor remade the pdf 3 times, and I still couldn't open it. This contractor is already using CS5. For the problem today, I haven't asked for it to be remade yet--decided to see if I could find out if anyone else is having the same problem. The second contractor is using CS4. The only thing that I have done differently at my end over the past week is upgrade CS4 to CS5. I already had Acrobat Pro 9 so I didn't update it when I updated my CS5 products. Should I have upgraded Acrobat 9 anyway? Somehow, it doesn't feel right that this is the problem. Any info on this would be appreciated."
    I got one response from that posting, suggesting that the pdf was corrupted over email. That wasn't the problem.
    What I didn't say above is that whenever I got an error message upon opening the pdf and clicked OK, I got another message: "Insufficient data for an image." I found that one or all of the images in the pdf were missing. Upon further investigation, the contractor and I found that sometimes the error message pointed to a specific font used--that being a Helvetica Bold font. Once we substituted it with a Helvetica Neue LT Std Adobe Opentype font, we no longer had an issue.
    However, the problem rose it's ugly head today--what, 6 months later! I'm talking about 2 different pdfs this time.
    For PDF#1, I got this error message about the font: "Cannot extract the embedded font 'JNAGNS+HelveticaNeueLTStd-Bd'. Some characters may not display or print correctly."  When I click OK, I get another: "Insufficient data for an image." The images don't show up in the pdf. What I don't understand about this pdf is that this is one of those that was fixed in September. The only changes made in the document was to paragraph text--none to the text in the images. When I opened the revised pdf today, I am getting the same message again. This makes no sense.
    I returned to my September blog to see if any further advice had been posted, but nada--not even anything from Adobe about it. I goggled until I found where someone suggested running a "Report PDF syntax issues" analysis in Preflight. I did that and even though the analysis showed the pdf passed, I checked the fonts in the list and saw that the one pointed to in the error message showed that a long list of glyphs were missing on both pages of the pdf. I have asked my contractor to replace her font with a new one, in case it has gotten corrupted. Haven't a new pdf to open yet.
    Then when I opened PDF#2, I got the message: "An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." When I ran the "Report PDF syntax issues" analysis in Preflight, I found got this warning: "Invalid operand(s) for operator (1 match on 1 page)". I clicked through and under "Page Description Errors/Invalid operand(s) for operator", it identifies Operator Name, Stream State, Operators Read, and Traversal Path. Under "Trigger Values" is says "Invalid operand(s) for operator: is true". None of this means a thing to me so I can't figure out what the problem is.
    Let me say this: Both the contractor and I are using CS5 and Acrobat Pro 9, on Lion. If it helps, the contractor also sent one of the problem pdfs back in September to my boss who is running Acrobat Pro 9 on Windows 7 and she got the same messages.
    Does anyone out there have a suggestion for us? PLEASE HELP!!!!

    Thanks to all for posting suggestions. As it turned out, the contractor who was having a problem reinstalled Acrobat 9. She works from home and is emailing the pdfs to me. Things were running smoothly until this past week, when the problem started again. Whenever I get a pdf that won't open properly or print, I asked her to zip it and it is no longer a problem. Last week, I had the same problem start with a contractor in Florida and she also zips the pdf when there is a problem. Now I am thinking the problem might be at my end. I wonder if something is happening to them when they come through our firewall at work. I asked IT about it before but they didn't have a clue what the problem might be. Right now, zipping is the answer...who knows how long that will continue to work.

  • I have Lightroom 5 installed on my MacBook Air but when I try to open the program I receive the message "An error occurred when attempting to change modules".  I uninstalled, emptied trash and re-installed but I continue to get the same message.

    I have Lightroom 5 installed on my iMac which I downloaded (uploaded?) to my MacBook Air (via wi-fi) but unlike the iMac, I'm unable to use the program on the MacBook Air.  When I open the program on the iMac and click 'file', (as people using the program would know) there are 21 options - import pics, export, etc, etc - however, in the version on the MacBook Air, opening 'file' gives me four options - New Catalogue, Open Catalogue, Page Setup and Printer - and with that comes the pop-up message "An error occurred when attempting to change modules".  Any ideas please?

    A forum thread from 3 years ago talking about LR 1.x which had this problem seems to need permissions fixed or new folders created with the corrected permissions.  You might try doing a repair permissions for your user and/or run LR as an administrator user.  I am a PC person so cannot tell you exactly how to do that.
    https://forums.adobe.com/message/1457020

  • I can't install ADE on my PC, because as I try to open it a message of error appears to me: The application will be closed. I've already try with different browsers and also with the manual installation, but nothing..

    I can't install ADE on my PC, because as I try to open it a message of error appears to me: The application will be closed. I've already try with different browsers and also with the manual installation, but nothing..

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • Message has error status at outbound side File To Idoc Scenario

    hi ,
    In my File to Idoc scenario , when i go to sxmb_moni , i found that its showing red flag at Outbound Status Tab and showing message "Message has error status at outbound side".
    When i go to IDX5 and and select my idoc and click on Transaction Id it shows "Password logon no longer possible - too many faile" .
    Please suggest what may be the problem ?
    Regards,
    Rohit

    1. First check the RFC destination name used in receiver Idoc adapter communication channel.
    2. As i said earlier, in sm59 transaction in XI gui, u can check same rfc destination under type 3. There check the logon credentials and the username.
    3. Now goto the R3 system GUI and check in su01 that same user is locked or not. If locked unlock it.
    4. And if u change the password of that user, then do the similar change in XI -> sm59 -> rfc destination logon credential
    Regards,
    Prateek

Maybe you are looking for