Capture a message

Hello guru's,
I have the following problem:
I have a BPM where I do a sync call to a partner. My abstract Message Interface sends out ORDERS05 IDOC and needs to Receive a ORDRSP05 IDOC. Now I get back a different kind of message, it is an error message. So If i look in my moni I see at Response Message a message with a different format.
Now I want to capture that message and do some mapping with it. So I created a switch which determines if the response is an IDOC or not. If not then I wanted to do some other mapping, but this doesn't work, I get the message: no payload found.
How can I do mappings with the response message which is different than ORDRSP05? Is it possible?
Best regards,
Guido

When you are getting this different message, was there any error reported by system?  I meant any exception raised? In such case you can use and exception handler for mapping this new message in error mapping.
But as you said, does the error has any XI SOAP strucuture which is understood by XI? Then only you would be able to put a mapping for this.
VJ

Similar Messages

  • Exception ERROR_MESSAGE in FM - Capture Success message

    Hai Experts,
    We all know that we have Exceptions in Function Modules.
    If we call a FM using Pattern button in the Editor it gives all the Importing, Exporting.. and Exceptions.  If the FM gives an Error or Abort message (MESSAGE TYPE 'E' or 'A') using MESSAGE keyword, we can capture this message using Exception ERROR_MESSAGE instead of message displayed as a pop up.The Addition ERROR_MESSAGE can be added manually to Exceptions after calling the FM using Pattern button.
    My requirement is, using ERROR_MESSAGE we can capture only type 'A' and type 'E' kind of messages.  The remaining types (S, I and W) are written to the Application Log(The help documentation says about this point -  just check out).  I just want to read these messages from the Log or some other means.
    How could I get these messages ?
    To brief the scenario, what I want is, if the FM runs successfully (without any errors) how could I get the messages (type S, I and W) if I am using Addition ERROR_MESSAGE.
    I tried this scenario, but could not see any log using TCodes SLG1 or SM21 (if I am not wrong) after I ran the FM successfully.  There are also some FMs to read the logs, but they were not helpful.
    Thanks in Advance....
    Shashidhar

    Raj,
    If I am using a Standard FM in which an Information message pops up, then to suppress this pop up we can add ERROR_MESSAGE to EXCEPTIONS.  I am running this in Foreground.
    I question is, how could I read this pop up message info after calling the FM, i.e. I just do not want a pop-up, instead I want to read this info message without pop-up.
    I think you get it.  Correct me, if I am wrong.
    Thanks for your reply,
    Shashidhar

  • What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

    Hi,
    i am connecting a Bluetooth device to my laptop. I notice that Message Analyzer could capture Bluetooth messages only if I am using windows 8? I am using window 7. What driver or software patches do i need to install in my windows 7 laptop, in order for
    the laptop to capture Bluetooth messages, which is possible with window 8?
    Also, i notice that using window 8, i am able to capture Bluetooth message but i am not able to display wireless perfromance statistics such as signal strength, throughput, etc? Is there a way for me to get such information.
    Please help.

    If you look at the link you sent me:Default Trace Scenarios
    http://msdn.microsoft.com/en-us/library/jj659262.aspx
    "Windows 8 Bluetooth (Windows 8/Windows Server 2012 or later) 
    Troubleshoot Bluetooth issues"
    So what about Windows 8 earlier? Not supported?
    My question: What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

  • Facing problem while capturing error messages in ME51N

    Hi Experts,
    In ME51N transaction, we have included custom fields and tried to capture Error messages by building ex_message.
    Below is the code that we used:
             loop at tb_error into wa_error.
                wa_message-type   = WA_ERROR-TYPE.
                wa_message-id     = c_zpr.
                wa_message-number = '007'.
                 wa_message-message    = wa_error-message.
              wa_message-message_v1 = WA_ERROR-MESSAGE.
                wa_message-message_v2 = wa_eban1-bnfpo.
                APPEND WA_MESSAGE TO EX_MESSAGES.
                CLEAR WA_ERROR.
              endloop.
    In my message class we have not hardcoded the messages because we need to capture dynamic messages(In message class it is 007: & & ). For that we have passed message text in wa_message-message.
    But when Check button is selected, we are not the desired error message.
    But if we pass the same message in Message_v1, we are getting the error message but it is getting truncated as the size is small when compared to Message field.
    Waiting for your response.
    Thanks & Regards,
    Amarnath

    Looks like configuration prob.
    Have you tried jms examples of weblogic ? you may need to re-configure your server setup, to create example server.

  • CcBPM, how to capture error message in the exception branch ?

    Hi,
    Can I capture error message in the exception branch ? how to do that ?
    because i want to raise the alert including with the error message ?
    Cheers
    Fernand

    Hello Fernand,
    I hope at the end of this you may get some knowledge on Alerts.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step XI:Alerts step-by-step. (fundamental Basic)
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i CCMS Monitoring for XI. (CCMS monitoring for XI is enough later
    we configure to Adapter Engine).
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 Configuring scenario specific E-mail alerts in XI-CCMS: Part-1
    (This is Important)
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    /people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies Solution Manager CEN and Alerting configuration (Advanced)
    Please reward points if it is useful...
    Thanks,
    Satya Kumar

  • Capture R3 Message V1/150

    Hi,
    We are using the SAP E-Commerce 7.0/ECC landscape.
    We are trying to capture R3 Message V1/150 and display a custom text on the UI.
    We have done the following modifications:
    1.     Extended the backend object OrderR3
    2.     Extended the backend object ReadStrategyR3
    3.     Maintained the entry in backendobject-config.xml
    4.     Also overridden the method replaceR3MessageTexts
    It seems that OrderR3 is not getting called at all in the framework, though it is maintained in backendobject-config.xml.
    Does the above mentioned approach is supported by SAP E-commerce 7.0 framework ?
    If yes then what else needs to be done.
    Best regards,
    Rohit Sharma

    Hi Mark,
    I refered to SAPNote - 641132. I have changes the className for the Business Object 'Order'
    I couldnt find any entry for OrderR3 in the existing version of config.xml.
    I have changed the class name for OrderR3 by my customised one.
    Is it necessary to make any changes to config.xml.
    if yes then where exactly do i need to make the change.
    Please give a detailed answer.
    Thanks in anticipation !
    Best regards,
    Rohit Sharma

  • How to capture ALV messages(popup window) in BDC...

    Hello Experts,
    I am currently doing a recording for transaction ABT1(Intercompany asset transfer)
    and I noticed that messages are displayed via ALV popup if you post it. The messages
    contain the posting information(what company it is posted, document number, etc)
    Now, is there a way to capture those messages? because I noticed that it is not captured
    in my recording so I have no way of knowing if it was successfully posted or not.
    Also, is there a way to supress transaction/status messages in a transaction?(E.g. posting
    will take place in an earlier fiscal year, etc)
    Hope you can help me guys. Thank you and take care!

    Hi,
    have a look at fm 'AMDP_MESSAGE_SEND'.
    it is used in transaction ABT1.
    you can as well use this:
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    LOOP AT it_return_bapi.
        CALL FUNCTION 'MESSAGE_STORE'
             EXPORTING
                  arbgb                   = it_return_bapi-id
                  exception_if_not_active = ' '
                  msgty                   = it_return_bapi-type
                  msgv1                   = it_return_bapi-message_v1
                  msgv2                   = it_return_bapi-message_v2
                  msgv3                   = it_return_bapi-message_v3
                  msgv4                   = it_return_bapi-message_v4
                  txtnr                   = it_return_bapi-number
                  zeile                   = ' '
             EXCEPTIONS
                  message_type_not_valid  = 1
                  not_active              = 2
                  OTHERS                  = 3.
      ENDLOOP.
    CALL FUNCTION 'MESSAGES_STOP'
           EXCEPTIONS
                a_message = 04
                e_message = 03
                i_message = 02
                w_message = 01.
    IF NOT sy-subrc IS INITIAL.
        CALL FUNCTION 'MESSAGES_SHOW'
             EXPORTING
                  i_use_grid         = 'X'
                  i_amodal_window    = i_amod_window
             EXCEPTIONS
                  inconsistent_range = 1
                  no_messages        = 2
                  OTHERS             = 3.
      ENDIF.
    Best regards
    Edited by: pablo casamayor on Jun 23, 2008 8:31 AM

  • I want to capture system message during data upload.

    Hello,
    I want to capture system message during data upload.
    How should I do this?
    suppose during call transaction system shows message:-
    " Info record for vendor 102925 and material DYND80000 does not exist"
    then How can I get that message?

    Hi Megha,
    CALL TRANSACTION tcode USING i_bdcdata
                              MODE lws_mode
                            UPDATE lws_update
                          MESSAGES INTO <b>i_messages.</b>
      CLEAR wa_error.
      IF sy-subrc NE 0.
        cnt_failed = cnt_failed + 1.
        wa_error-status = c_fail.
        LOOP AT i_messages . "WHERE msgtyp EQ 'E' OR msgtyp = 'A'.
          flg_fail = c_x.
    *---Calling FM to get for Error Message Text
          <b>CALL FUNCTION 'MESSAGE_PREPARE'  </b>                     "#EC *
            EXPORTING
              language               = 'E'
              msg_id                 = i_messages-msgid
              msg_no                 = i_messages-msgnr
            IMPORTING
              msg_text               = lws_text
            EXCEPTIONS
            function_not_completed = 1      " Invalid Date Error Description
              message_not_found      = 2
              OTHERS                 = 3.
    <b>Reward points if this helps.
    Manish</b>

  • Xtra: trouble capturing windows message

    We are trying to use the RegisterNotificationClient in an
    Xtra to capture couple windows messages from an external DLL.
    I basically have two questions:
    1. Is using RegisterNotificationClient the right way to
    capture windows messages from an xtra?
    2. If the answer to 1 is yes, then I have another question as
    when we try to set up the parameters for the
    RegisterNotificationClient I have a misstmatch in the nid, second
    parameter to specify the id of the message to be captured. I have
    for windows an integer constant, but the nid param expects a GUID
    number ...
    Thanks!

    Thanks for the reply Tom. (BTW I'm not the original poster.)
    You are correct- It is a USB drive formatted FAT 32 . After my original post, I erased the drive and started over with a clean slate. This was successful for tape one (about 60 minutes). About twenty minutes into tape two though, it was deja vu all over again. FC froze, I force quit, and lost all of what I had captured from tape one in the process. I unsuccessfully tried to recapture tape one. Same problem again.
    Although this is the first time I've tried to capture through FC onto an external drive, I've got three other USB drives full of video I've captured from VHS with the same computer through a DV encoder. When you say USB is not supported by Apple for video applications, does that mean video editing applications? As for complete information, apologies but I'm not exactly sure what other info. you mean. Please let me know. Thanks again. I appreciate the time.

  • How to capture error messages for BCP when running through XP_CMDSHELL

    XP_cmdshell returns 0 as success when running BCP that causes insertion failure for any records (failure because of truncation, data type mismatch etc.)
    One way is to capture output message in temp table and can parse the messages. but I am looking for some direct methods.

    Hi Naveen Raikwar,
    We can use insert/execute syntax to insert error output to a file, here is a good article, please see:
    http://www.sqlservercentral.com/articles/Error+Handling/69196/
    And here is a similar thread, please refer to:
    http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/b37ec1fd-ea2f-4546-93c1-8bb9d589710d
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • Capturing of messages

    Hi,
    I am trying to run CA75 transaction in BDC mode for updating the PRT's . This CA75 inturn Calls CA02 in BDC mode .
    I have to capture the messages returned by CA02 but the messages pertaining to CA75 are returned to my program. Is there any way to capture the messages returned by CA02.
    Thank You.

    Hi...
    Ensure that you have Executed REFRESH on the Messages internal table(BDCMSGCOLL) .
    Eg:
    DATA : IT_MSG TYPE TABLE OF BDCMSGCOLL,
               WA_MSG TYPE BDCMSGCOLL.
    REFRESH IT_MSG.
    CLEAR WA_MSG.
    CALL TRANSACTION 'CA72'
               USING IT_BDCDATA
              MODE 'N'
              MESSAGE INTO IT_MSG.
    IF SY-SUBRC NE 0.
        LOOP AT IT_MSG INTO WA_MSG.
          WRITE:/ WA_MSG-MSGID,
                       WA_MSG-MSGNR,
                       WA_MSG-MSGTY,
                       WA_MSG-MSGV1,
                       WA_MSG-MSGV2,
                       WA_MSG-MSGV3,
                       WA_MSG-MSGV4.
        ENDLOOP.
    <b>Reward if Helpful</b>

  • Unable to capture error message while creating an SO using bapi

    Hi,
    Can anybody suggest how to capture the error message while creating a SO using BAPI.
    I have developed a customeized BAPI and using the BDC format to create the SO.
    Note: i am using a call transaction method for the BDC.
    I am sending the message into message1.
    but i am unable to send the same into an internal table
    shyam.

    Hi Shyam
    If my understanding is correct, you are performing BDC process within the customized BAPI...
    And you want to collect the messages from BDC to an internal table and pass to the output.
    Proceed as below:
    1. While calling BDC, use CALL TRANSACTION .... with addition: <b>MESSAGES INTO itab</b>. The structure of itab should be like <b>BDCMSGCOLL</b>.
    2. Now the messages will be collected in ita.
    3. Prepare the messages using FM: <b>FORMAT_MESSAGE</b>
    4. Collect to the returning table.
    Hope this helps...
    Though i could not understand the reason of creating a BDC within BAPI, you can opt for loading orders via BAPI's like: BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
    Kind Regards
    Eswar

  • How to Capture warning message in SHDB recording

    Hi SDN,
    I am getting problem in Recording FB03 through SHDB.
    when i am clicking on save as complete button i am getting a warning message as duplicate entry.
    when click on enter button the actuval object got saved bu from recording it is not captured.
    how we can continue with this

    Hi
    Sorry
    i know that
    i don't want to display messages.
    when i am recording a Transaction code.
    i am getting a warning message as check for duplicates.
    when click on enter button that warning message is got disappiared but that enter click is not recorded in FB03 recording.
    when i process that recording it is stopping that transaction code at that warning message in BDC.
    please suggest

  • How to capture error message log for Tcode MIR7

    Hi ,
    I have a problem to capture the error message outside the tcode which are created by MIR7/MIR0 .
    Are they stored in any database table?
    Is there any other way to access them?
    Anybody knows how to solve this that will be very helpful.
    Thanks,
    Anu

    call transaction 'XK01' using i_bdcdata
                     mode 'N'
                     update 'S'
                     messages into i_bdcmsgcoll.
    if sy-subrc <> 0.
        perform get_error.
            write:/ itab , v_text.
    endif.
    *Form
    form get_error.
    loop at i_bdcmsgcoll.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = i_bdcmsgcoll-MSGID
       LANG            = sy-langu
       NO              = i_bdcmsgcoll-MSGNr
       V1              = i_bdcmsgcoll-MSGV1
      V2              = SY-MSGV2
      V3              = SY-MSGV3
      V4              = SY-MSGV4
    IMPORTING
       MSG             = v_text
    EXCEPTIONS
      NOT_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.
    endloop.
    endform.                    " get_error
    Edited by: Bala Krishna on Sep 9, 2008 7:50 PM

  • How to capture error message in a FM call during exception

    Hi,
    The FM i'm trying to call is giving an exception and don't have the built in mechanism to pass on the error message that occured during processing.
    However, if i see the job log in SM37, I'm able to see the corresponding error message.
    Please let  me know on how to capture this error message with in my program.
    Thanks,
    Vijay.

    Hi,
    add the exceptions...ERROR_MESSAGE to capture the error message..raised in the function module.
             EXCEPTIONS
                  ERROR_MESSAGE = 1.
    Thanks
    Naren

Maybe you are looking for

  • Is there not enough customer service reps to handle all the complaints

    I have been a long time Verizon customer. I have home internet and wireless.  I think you have excellent service all around.  I will admit I have had a few issues over the years, but for the most part very happy.  Since Feb. 19, 2014 I have had nothi

  • Adding a new field to 2LIS_12_VCITM

    Hi Gurus,               I have a standard extractor 2LIS_12_VCITM, the R/3 functional team decided to use to field EXIDV2 instead of EXIDV for tracking. now EXIDV is present in the extractor but since they r using EXIDV2, I need to add that field in

  • WHY is BT stealing money from a disabled woman ???...

    Since 30th December 2011 I have been having massive trouble with BT.  Firstly my broadband just stopped and despite my trying to get this sorted it took BT over 11 days to finally get my broadband up and working.  I had to put up with no landline for

  • DND in the same JTable (rows)

    Hi, First, sorry for my english, I come from Montral, Quebec, so my mothertongue is French! But I feel good to read in English. I my project, I have to implement Drag n drop in the same JTable, that contain just String elements (In fact, my JTable wo

  • Consuming Web Services in SSIS Script Task

    Hello Sorry for my English, I' ll try to explain my problem. I am new to SSIS. Using this article http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/01/28/consuming-web-services-in-ssis-script-task.aspx I have tried to consume web service. 1