To capture messages after CALL Transactiom

Hi all,
I am doing call transaction for IM32,CJ30 and IM52.But iam unable to capture the messages.
when we enter a wrong budget values then it throws a error message saying 'Errors found-> see error log'(The same is present in BDCMSGCOLL). But we need the errors present in the error log not the error which mentioned above.
So is there any possible way to catch those errors. Please help as early as possible.
Thanks
sagar.

hi ,
use the function module FORMAT_MESSAGE
like this,
CALL FUNCTION 'FORMAT_MESSAGE'
      EXPORTING
           id        = tb_msgtab-msgid
           lang      = sy-langu
           no        = tb_msgtab-msgnr
           v1        = tb_msgtab-msgv1
           v2        = tb_msgtab-msgv2
           v3        = tb_msgtab-msgv3
           v4        = tb_msgtab-msgv4
      IMPORTING
           msg       = tb_messages-message
      EXCEPTIONS
           not_found = 1
           OTHERS    = 2.
regards,
venkat.
Edited by: venkat  appikonda on Mar 13, 2008 10:29 AM

Similar Messages

  • Empty message after call

    When my Skype contacts call me i get en empty message. Sometimes a get en empty message after a call too.. Ex. When my dad calls me, i get an empty message shortly before i recieve his call.
    Attachments:
    Udklip.PNG ‏8 KB

    Hi Lucky,
    Try this.
    data: wl_opt type ctu_params.
    wl_opt-updmode = 'S'.
    wl_opt-nobinpt = 'X'.
    wl_opt-dismode = 'A'.  "'N'.
    wl_opt-nobiend = 'X'.   "Simulate background mode
    CALL TRANSACTION 'XD02' USING bdcdata OPTIONS FROM WL_OPT
      MESSAGES INTO messtab.
      LOOP AT messtab.
        WRITE: / messtab.
      ENDLOOP.
    I was getting in all mode the messtab.
    Sujay

  • Startrfc: Error message after calling a FM/report

    Hello Experts,
    I am working on a solution to call a RFC function module from outside of SAP via startrfc. This FM opens a report displaying standard report output.
    The call via startrfc works as expected. The sapgui opens. As long as the report is open the startrfc command console hangs. When I close the SAPGUI window with the report, logoff popup is displayed. But in the console I got an error message:
    RFC Call/Exception: SYSTEM_FAILURE
    Group Error group 104
    Key RFC_ERROR_SYSTEM_FAILURE
    Message connection closed without message <CM_NO_DATA_RECEIVED>
    Does anybody kow what causes this behavior? And further on: can I change the behavior that the startrfc call blocks the console? Why does it not return immediatly?
    Any hints are welcome?
    Regards,
    Andreas

    Yes, we are using RAS. Our setup is BOE XI 3.1 on Linux. We are using the RAS/CrystalReportViewer java API to execute/view the reports from a JBoss server also running on Linux.
    We did find a CRConfig on the BOE server and it did contain a <SocketTimeout>60000</SocketTimeout> entity. We modified it to 600000 and restarted the BOE service. Unfortunately, we still the same problem ("Failed to retrieve data from the database; Error in File {B608A22A-1E54-11E0-ABFC-000E0CB8A71E}.rpt: Failed to retrieve data from the database").
    We thought that when using the CrystalReportViewer java API, rendering is done "locally" (that is, on our web server). In that case, shouldn't we have a CRConfig.xml on our web server? We're seeing conflicting information about this on the forum. If we do need CRConfig.xml on our web server, then should we copy it from the one on the BOE, and where should we put it?

  • Capture message after SUBMIT report

    I have called submit report like below in  RFC function module .
    submit rfitemap
                  with kd_lifnr in r_it_lifnr
                  with x_apar   eq abap_true
                  with x_merk   eq abap_true
                  with x_norm   eq abap_true
                  with x_opsel  eq abap_true
                  with x_park   eq abap_true
                  with x_shbv   eq abap_true
                  exporting list to memory and return.
    how to capture  or skip  error or information populated by submit program ?
    As the function module is a RFC function module, the FM is called from some SMDL program  .  Once the program executes  submit statement
    is giving system failure exception and giving message like 'No connection with development system'.
    Instead of giving messages populated in return table ,the SMDL program returns "NO connection"  message.
    How to display the message from return table ?

    Hello Kachana,
    You can try like mentioned in the below thread with JOB OPEN, submit your program, JOB CLOSE and read the job log to get the messages raised during the submit program.
    How do I capture error/information messages and Output of a report using SUMBIT statement, when called in a function mod…
    Regards,
    TP

  • Contacts are placed into my messages after call?

    Anytime I call or two way someone when I'm done there is a small icon at the top of my screen and the contacts are placed in my messages with an option to send my info. Is there anyway to fix this? 

    NM fixed it.

  • My iphone 4s is no longer making sound when i have an incoming call or message after installing ios7.... any help?

    My iphone 4s is no longer making sound when i have an incoming call or message after installing ios7.... any help?
    It still vibrates but no calling sounds or message sounds. It's not on mute and the speakers are working... I can hear music etc.
    Oh yeah no keypad noises either.

    Same thing has happened to me. I have tried every trick that's been posted here. I just ran out of options. Galaxy phone is starting to look better by the minute.

  • Phone no longer can send / receive picture messages after "support" call

    Hoping someone can help.
    A few weeks ago my phone was having intermittent problems sending picture messages (text are fine). I would sometimes have to retry several times for it to go through, but I could always get it to go through. I have a LG VX9400, btw.
    Since it did not resolve itself I decided to place a support call. During that call the technician did "nothing", but after he had me dial *228 option 1 I can no longer send messages at ALL! I was then told I needed a software upgrade or could not be helped further. Now I've received the software update and it still does not work. It has been escalated to engineering and closed (without contacting me) and has been attributed to my phone, but nobody can tell me how they came to this resolution.
    I have had this problem in the past where it's been on the Verizon network the configuration has to be changed (there have even been blocks that I've never put on there), but nobody is willing to dig into this and says I now have to reflash, hard reset my phone or get another one.
    Also note, mobile web even for account management doesn't work (I did have blocks, have since taken them off so not sure if I have to wait). It also seems I am getting a message receipt failed when I turn my phone off and on, again I only noticed this after calling support.
    Any help / suggestions / etc greatly appreciated as I really don't think it's my phone since it was working (albeit intermittent) prior to the "support" I received from Verizon.
    Thanks!!

    @MySlickDeals
    It's very upsetting having picture messaging issues, especially after calling in to technical support and not getting the issue resolved. Let's get this worked on right away.
    Have you tried deleting the old text and picture messages and retrying? Please also remove and reinsert the battery and retest.
    Does this happen everywhere or just one location? After the software upgrade did they hard reset the device?
    Hard reset instructions:
    From the main screen, press Menu.
    Scroll to Settings & Tools.
    Scroll to Phone Settings, press OK.
    Scroll to Security, press OK.
    Enter Lock Code ???? displays,
    enter the 4 digit lock code ( default: last 4 digits of phone number ).
    Scroll to Reset Default, press OK.
    Reset Default - Preference Settings will be set to factory defaults. Press <OK> to continue. displays, press OK.
    Scroll to Revert, press OK
    If you are still experiencing issues after this reset please send me a PM and I will look into your account.
    Thank you

  • After call summary messages

    Dear Apple Customer Care
    I am using iphone4, guide me how to stop after call summary messages. it is eating up my battery lifte in data

    unfortunately, the only time I can see a call summary is right after the call is completed on a wp device.
    the only thing you can see after that is if you open phone and it will show you if incoming/outgoing/missed, and if you tap on that name or number of the caller, just opens to their contact info, where you can swipe left to see the history, but this is not detailed. tapping on the call, or calls would only start to call them again.

  • Suppressing status bar message after function call?

    Hi,
    I'm calling a few functions in a program.
    After calling them, for example function "L_TO_CREATE_DN", I get a message in the status bar, in this case saying that a TO has been created successfully.
    How can I suppress all status bar messages for all the functions that are being called in the program?
    THX!

    Hi
    Try to use the default excption error_message
    CALL FUNCTION
    EXCEPTIONS
        error_message = 1
        OTHERS        = 2.
    Max

  • How do I retrieve my recent calls and recent text messages after I restored the settings

    How do I retrieve my recent call log and recent text messages after I had to restore the settings?

    If they were in your most recent back up and you restore your phone to that back up, you'll get them back. If they're not in the back up, there's no way to get them back.

  • [svn:fx-3.x] 7197: Bug: BLZ-354 -  Client still polling after calling ChannelSet.logout() when subscribed to messaging destination.

    Revision: 7197
    Author:   [email protected]
    Date:     2009-05-21 14:49:44 -0700 (Thu, 21 May 2009)
    Log Message:
    Bug: BLZ-354 -  Client still polling after calling ChannelSet.logout() when subscribed to messaging destination.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: In polling channels, stop polling as soon as logout ack is received.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-354
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    Any advice would be helpful. Thanks

  • HT1338 debugger called panic message after updating computer is now stuck?

    debugger called panic message after updating my macbook pro...computer is stuck

    Attempt to boot into Safe Mode If it does, download and run this app: http://www.etresoft.com/etrecheck
    Post the results.
    Also, open Console, click on System Diagnostic Messages in the log list, and see if the Kernel Panic log is there. If so, copy and paste the results here.

  • Displaying messages after BDC execution

    Dear All,
    I am running a BDC to change the pricing of the return document in transaction VA02. The BDC is getting executed after the execution of one report which is diaplying some records in the output. The output values of the report are : Check Box, Sales Document No & Billing Document No.
    After the BDC is executed for the selected records, I am getting a screen which displayes me for each record if that has been executed successfully or is there any error while executing BDC.
    Now, I want that after the BDC has been executed, a list should be displayed which just shows about the Sales Document No which has been processed successfully by the BDC and another list which displays about the Sales Document No which are not processed successfully.
    Kindly guide me on how I can proceed on this.
    Waiting for your reply.
    Warm Regards,
    N.Jain

    hi Nishu..
    Use the BDCMSGCOLL structure to capture the Messages:
    Using BDCMSGCOLL Structure we have to declare an itab.
    DATA : IT_MSG LIKE TABLE OF BDCMSGCOLL .
    Then We can catch the messages using:
    CALL TRANSACTION 'MK01'
    USING IT_BDCDATA
    MODE 'N'
    MESSAGES INTO IT_MSG.
    IF sy-subrc ne 0.
    LOOP AT IT_MSG INTO WA_MSG
    WHERE MSGTYP = 'E' OR MSGTYP = 'A'..
      <<process Error messages>> 
    ENDLOOP.
    Else.
    LOOP AT IT_MSG INTO WA_MSG
    WHERE MSGTYP = 'S'
      <<process Success messages>> 
    WRITE:/ 'Doc No', WA_MSG-MSGV1.
    ENDLOOP.
    Endif.
    <b>reward if Helpful.</b>

  • Error messages when calling RSDRI_INFOPROV_READ for more than one time

    Hello all,
    I need to write a cube, however, before I do this I need to check whether there are already data in the target cube for a certain accounting period. This I do by reading the cube via FM RSDRI_INFOPROV_READ. The following coding is called from a running program after pushing a button on the screen.
    <i>* clear internal tables.
          CLEAR gt_range.
          CLEAR gt_sfc.
    *fill internal tables
          CLEAR ls_sfc.
          ls_sfc-chanm    = '0FISCPER'.
          ls_sfc-chaalias = '0FISCPER'.
          ls_sfc-orderby  = 0.
          INSERT ls_sfc INTO TABLE gt_sfc.
          CLEAR ls_range.
          ls_range-chanm    = '0FISCPER'.
          ls_range-sign     = rs_c_range_sign-including.
          ls_range-compop   = rs_c_range_opt-equal.
          ls_range-low      = '2007001'.
          APPEND ls_range TO gt_range.
    here I do not know what exactly to do with this flag
          lf_first_call = abap_true.
          CALL FUNCTION 'RSDRI_INFOPROV_READ'
            EXPORTING
              i_infoprov             = 'T01'
              i_th_sfc               = gt_sfc
              i_th_sfk               = gt_sfk
              i_t_range              = gt_range
              i_packagesize          = 1
            IMPORTING
              e_t_data               = lt_rd_cube
              e_end_of_data          = lf_eod
            CHANGING
              c_first_call           = lf_first_call
            EXCEPTIONS
              illegal_input          = 1
              illegal_input_sfc      = 2
              illegal_input_sfk      = 3
              illegal_input_range    = 4
              illegal_input_tablesel = 5
              no_authorization       = 6
              illegal_download       = 7
              illegal_tablename      = 8
              trans_no_write_mode    = 9
              inherited_error        = 10
              x_message              = 11
              OTHERS                 = 12.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          lf_eod = abap_false.
          IF NOT lt_rd_cube IS INITIAL.
            RAISE target_data_found.
            EXIT.
          ENDIF.</i>
    When testing with a period for which data already exists, it runs through quite perfectly. The return table is filled and I know that data exists and I EXIT.
    However, if I press the button again (program is still running) I get an error message 'Nested call of RSDRI_INFOPROV_READ'. And this for each time I press the button.
    So I thought I should clear the flag lf_first_call. After having done so I get an error message 'SQL Error'. Funny is that I get this error only every second time the Function Module is processed. Every other time it works perfectly.
    How can I get rid of those error messages?
    PLEASE - can anybody help me?
    Many thanks in advance,
    Thomas

    Hi,
    you have something like:
    end_of_data = ' '.
    first_call  = 'X'.
      WHILE end_of_data = ' '.
            CALL FUNCTION 'RSDRI_INFOPROV_READ'
              EXPORTING  i_infoprov             = ....
                         i_th_sfc               = ...
                         i_th_sfk               = ...
                         i_t_range              = ...
                         i_reference_date       = ...
                         i_save_in_table        = ....
                         i_save_in_file         = ....
                         I_USE_DB_AGGREGATION   = ...
                         i_packagesize          = 100000
                         i_authority_check      = ...
              IMPORTING  e_t_data               = .....
                         e_end_of_data          = end_of_data
              CHANGING   c_first_call           = first_call
              EXCEPTIONS illegal_input          = 1
                         illegal_input_sfc      = 2
                         illegal_input_sfk      = 3
                         illegal_input_range    = 4
                         illegal_input_tablesel = 5
                         no_authorization       = 6
                         ncum_not_supported     = 7
                         illegal_download       = 8
                         illegal_tablename      = 9
                         OTHERS                 = 11.
      ENDWHILE.
    hope this helps...
    Olivier.

  • How to process an output message after pick and pack in LM46?

    Hi,
    I've implemented the User Exit to print the HU using LM18, it's working great but no output message is processed (and indeed, the sticker is printed on my own printer instead of the one defined in my Z custom output message).
    I used LM46 to pick and pack the HU, am i missing a step?
    In other words, how to process my custom output message after the pick and pack?
    Is there some code I must add in the LM18 User Exit?

    You know, in a user exit or a BADi you can access any variable of the program you want.
    Just find what which program calls the Exit User, put a break-point in it, and find the variable you need to access.
    Then add this kind code in your Exit :
    DATA: l_var TYPE ....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)variable') TO <fs_var>.
    IF sy-subrc = 0.
      l_var = <fs_var>.
    ENDIF.
    Same thing for a table :
    DATA: lt_var TYPE TABLE OF....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)table[]') TO <fs_var>.
    IF sy-subrc = 0.
      lt_var[] = <fs_var>.
    LOOP AT lt_var ASSIGNING ...
    ENDLOOP.
    ENDIF.

Maybe you are looking for

  • Dynamic table in RFC function

    Dear all I like to create a dynamic table in a RFC function and pass this table to the calling programm. Is this possible? Herbert

  • Video truncates on import

    I have an MPEG that was converted from an MPG4 using AVS Video Converter. The MPEG plays all the way through in a viewer like Microsoft's Windows Media Player. However, whenever I bring the MPEG into Adobe Premiere Elements 3 to edit, I get only the

  • Display content if user group

    I'm using PL/SQL to render a whole host of content in HTML via Oracle Portal. What I'd like to do is display a piece of HTML if the current user is within groups X, Y or Z. So in layman's terms: IF user_group = SLCPortalDeveloper then htp.p('<p>this

  • Personal Oracle 8i for Win98

    Hi all! Is it possible to install Personal Oracle 8i for w98 to win Me? Thanks.

  • CF Mail Form Validation

    I am putting together a form where one of the fields needs to be an 8 digit number that begins with a 0(zero) and ends with a 0(zero). I know this is possible to validate with the onvalidate code, but what is the correspoding javascript needed to mak