Function Module  Error Message to appear in  Monitor-Detail TAB

Hello ABAP / BW Gurus,
how and can I write an error message in a function module
that it appears in the detail tab of the monitor ?
Thank You
Martin Sautter

OK

Similar Messages

  • Function module error message.

    Call Function ‘Z_function’.
    Imports
    Exports
    EXCEPTIONS
      no_entry_found       = 1
      OTHERS               = 2
    IF sy-subrc = 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Suppose
    if sy-subrc =  1.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    Giving me popup and is troubling.
    Could you please tell me if I comment below
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4....
    and proceed will it effect me in case of sy-subrc <> 0.
    Thank you

    Hi Sam,
    Yes you can. But some times the programs emphasises specific program errors.
    For e.g.
    Use the following code for function module for GENEREIC case.
    In this case you can remove total piece of code suggested by you. and replace the following  code.
    If sy-subrc ne 0.
    Messae 'Error in function module' Type 'E'.
    Endif.
    Use the following code for function module for SPECIFIC case.
    case sy-subrc.
    when '1'.
       Message 'No_entry found' type 'E'.
    when '2'.
       Message 'Undetermined error in Function module. Please contact system administrator' Type 'E".
    Endcase.
    Regards
    Bhupal Reddy

  • FRF-00025  Unable to call function. Error message: Syntax error in program

    hi,
    when we try to import the export file,we are getting the following error in the 24th phase
    i.e., check DDIC Password.
    The Error is
    INFO       2007-10-29 15:53:20 [iaxxrfcimp.cpp:1017]
               CAbRfcImpl::callLibraryFunction
    Generating interface for remote function.
    TRACE      [iaxxrfcimp.cpp:1056]
               CAbRfcImpl::performFunctionCall
    Calling function module: INST_RFC_GET_INTERFACE
    WARNING[E] 2007-10-29 15:53:21 [iaxxrfcimp.cpp:1089]
               CAbRfcImpl::performFunctionCall
    FRF-00025  Unable to call function. Error message: Syntax error in program SAPLSUNI                                . .
    TRACE      [iaxxrfcimp.cpp:1090]
               CAbRfcImpl::performFunctionCall
    RFC failure or system exception raised
    TRACE      [iaxxrfcimp.cpp:1091]
               CAbRfcImpl::performFunctionCall
    Syntax error in program SAPLSUNI                                .
    TRACE      [iaxxbjsmod.cpp:657]
               CJSlibModule::showOkCancelBox_impl()
    <html>Test logon to SAP System I50 failed.<p>Make sure that the system is started, that the user DDIC exists and that the password of user DDIC is correct.</html>
    TRACE      [iaxxgenimp.cpp:1093]
               showDialog()
    waiting for an answer from gui
    What Could be the solution for this.
    waiting for ur reply
    SS

    Hi Friend,
    Please check whether or not there is view missing error recorded in dev_w0 trace file.
    if there is , you can try to follow this procedure in order to manually
    import the missing view definitions.
    All steps must be carried out with the <sid>adm user of the target
    system and from the install-directory:
    1. In the install-directory
    <sapinst_instdir>\...COPY\IMPORTT\SYSTEM\ABAP\ORA\UC\DB
    create a file SAPVIEW.cmd with the following content:
    tsk: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\SAPVIEW.TSK"
    icf: "
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR"
    dcf: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL"
    dat: null
    dir: null
    ext: null
    Please make sure that all paths are written correctly (in one line) and
    the refered files are existant and readable. One exception:
    The SAPVIEW.TSK file is created with step 2.:
    2. Run from the command-line:
    R3load -ctf I
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR <sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL SAPVIEW.TSK ORA -l SAPVIEW.log
    If there's a problem reading the 'SAPVIEW.STR' file, copy the
    file to the install directory and adapt the path accordingly.
    3. Run the view import by:
    R3load.exe -i SAPVIEW.cmd -dbcodepage <YOUR_CODE_PAGE> -l SAPVIEW.log
    -stop_on_error
    4. Check both the SAPVIEW.log and the SAPVIEW.TSK file whether all views
    have been created successfully.
    If 4. is okay, restart the central instance and check whether you are
    able to log on now. If yes, continue 'sapinst' by the option 'retry' or
    'continue old installation'.
    I Hope It can be helpful.
    With Best Regards
    Julia

  • Has anybody gotten this popup error message: ASI Eve CL Monitor has encountered a problem and needs to close

    Has anybody received this error message: ASI Eve CL Monitor has encountered a problem and need to close?
    == This happened ==
    Every time Firefox opened
    == Don't know

    I don't think this is a Firefox problem. I have the same error message and I get it regardless of whether I'm using Firefox or another browser.
    In checking [http://www.whatsrunning.net/QueryProductID.aspx?Product=16854] it is a file owned by Microsoft. I suggest you check your registry for errors.

  • I have updated my iTunes to the latest edition and now my iTunes wont open saying MSVCR80.dll is missing from my computer and that i have to reinstall itunes. I have tried reinstalling twice now and this error message keeps appearing. What is going on?

    I have updated my iTunes to the latest edition and now my iTunes will not open saying MSVCR80.dll is missing from my computer and that i have to reinstall itunes. I have tried reinstalling twice now and this error message keeps appearing. What is going on?

    Solving MSVCR80 issue and Windows iTunes install issues.

  • Error message R6034 appears when trying to open itunes. Problems with C library?

    itunes will not open on my laptop. Error message R6034 appears:
    "Runtime Error! An application has made an attempt to load the C library incorrectly"
    I've uninstalled itunes an tried to reinstall with no success! Please help!

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • How to correct the error message that appears when installing photoshop CS5 for the third time

    I need help so solve the error message that appears on my computer when I try to register the program for the third time. Please helpppppp!

    If you're referring to the activations warning, simply call support to reset them.
    Mylenium

  • Function Module to message type

    Hi All,
    How can i convert a function module to message type?
    Thanks,
    Nidhi Kothiyal

    there's nothing like converting function module into message type
    you can attach a message type to a process code
    and in partner profile(we20)
    in the i/b message type
    you can call this process code by which that FM will be called
    let me know if you have any doubt
    Regards
    Manu

  • I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    Are you trying to update via wifi or connected to your computer?
     Cheers, Tom

  • How do I stop error message "Configuration appears to have changed"  reactivate!

    Adobe Acrobat repeatedly posts error message "configuration appears to have changed ...reactivate".  How to get rid of this annoyance?

    Please see http://forums.adobe.com/message/4919014#4919014 which discusses how to obtain a version of Acrobat 7 which does not include activation.  The activation servers for Acrobat 7 were shut down yesterday so even if you resolve the issue you would be unable to reactivate.

  • Getting "line disconnected" error message when trying to monitor

    Getting "line disconnected" error message when trying to monitor "live stream" on cameras from computer.  Anyone else have this issue?  Any suggestions on how to fix?  I have reconfigured each camera with the router but still having the error message.  I have a total of three cameras....(1) is wired and (2) are wifi......I am getting this message with all cameras (both wired/wifi).

    Is this an intermittent error that you get now and then, or were you able to successfully setup your cameras, then one day you got the "line disconnected" on all cameras since that point and on?
    If this is an intermittent problem, I can share that I experienced the same thing the first two days of having setup my cameras.  It seemed that my Gateway was communicating with the Verizon servers pretty heavily as I was getting my HMC first setup.  However, starting on day three and on, it has worked very well.
    The only odd thing I'm experiencing now is that I getting several "camera_detected" messages in the activity logs.  All my cameras show up in the My Devices list, and I can view them either as a snapshot or as live streaming, however, the log makes it seem that there is a mystery camera connected somewhere that I don't know about.  I have a call in to Verizon regarding this and hopefully will get an answer in the next couple of days.  It's not hurting anything, just kind of annoying to sort through those entries as you're going through your Activity Log.

  • Error message:printhead appears to be missing, not detected, incorrectly installed or incompatible

    new error message: "printhead appears to be missing, not detected, incorrectly installed or incompatible". I already tried restarting several times and have uninstalled and reinstalled all of the ink cartridges. Still receive same error mesage.

    Hey walter,
    I would advise performing the steps in the document linked below that addresses the printhead failure message you are receiving in this printer model.  Let me know how these steps go.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02899429&tmp_task=solveCategory&cc=us&dlc=en&lc...
    I hope this helps,
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • TS2776 An error message keeps appearing when I have I tunes open, saying could not complete request. Any similar problems or ideas to resolve?

    An error message keeps appearing when I have I tunes open, saying could not complete request. Any similar problems or ideas to resolve?

    Also I now can`t access any of my itunes library and am concerned that if I remove it from my computer I will lose everything as I have no option of accessing and therefore backing anything up. Any ideas?

  • Error message 70001 appears when I am trying to change DVD zone. How can I solve this issue?

    Error message 70001 appears when I am trying to change DVD zone. How can I solve this issue?

    This has already been brought up before:
    https://discussions.apple.com/thread/820087

  • CRM function module to update the attribute in the classification TAB of BP

    Hi All,
    Can any body let me know if there is any functionmodule to update the CRM function module to update the attribute in the classification TAB of BP tcode.
    I have searched a lot i get FM to update the marketing attribute and not the attributes in the classification tab.
    Thanks in Advance
    Edited by: Sharath Kumar on Dec 2, 2010 4:48 PM

    For material bom: CSAP_MAT_BOM_CREATE
    and CSAP_ORD_BOM_CREATE for Order BOM.
    Regards,
    Ravi

Maybe you are looking for

  • Can not log into Infoview with Windows AD credentials

    Hi, I am using CRS 2008 V1 SP3. I migrated all my AD users from XIR2 to 2008 version recently. I also mapped the AD users correctly and most of my windows AD users are able to log into infoview except some users. I checked those users exist in CMC us

  • Screen has a vertical line that flickers sometimes... please help

    My screen suddenly had a vertical line that flickers (sometimes), it's green. I don't know how it got there and where did it come from. It just suddenly appear. I left my computer running (and at that time the line wasn't there) as I was waiting for

  • Preparing Order??

    Ive been waiting like 2-3 days for an update on my ship to store ibuypower desktop.... Thats not very specific... Its still just "preparing"

  • Where did my bookmarks in the html file go?

    I exported my bookmarks to html. The file opened fine with FireFox and notepad and showed the bookmarks. I copied the file to a thumb drive and it still opened fine with FireFox or notpad. But, as soon as I eject the flash drive, and put it back in,

  • Shared font does not work when changed

    Hi, I am using a shared font in an eLearning course. The font is in a separate library file and is used in all pages. But if I change the font in the font properties, the text in the other pages does not show up. Has any one come across a solution fo