Add message to Processing Log for an action

Hello experts!
I wanted to know, if it is possible to add a custom message to the Processing Log.
Background:
I have an action, which is defined as a method call. In this method, I send a mail to multiple recipients. Now I want to show these recipients in the log.
Does anybody know how I can solve this problem?
Greetings,
littlesam

CALL FUNCTION 'CRM_MESSAGE_COLLECT'
      EXPORTING
        iv_caller_name = gc_object_name-orderadm_i
        iv_ref_object  = is_orderadm_i_wrk-guid.
  ELSEIF ls_set_maintain-data-zz0010 EQ 'B'.
    MESSAGE ID 'ZMSG_CRM_ORDER' TYPE 'E' NUMBER '012' WITH
      is_orderadm_i_wrk-ordered_prod
      INTO lv_save_message.

Similar Messages

  • Error message in processing log in VA02 in External send.

    Hi,
    In my smartform I am using READ_TEXT to read one text and I have checked the exceptions also in the call to function module.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    ID                            = 'ST'
    LANGUAGE                      = ZNAST-SPRAS
    NAME                          = Y_LV_NAME
    OBJECT                        = 'TEXT'
    TABLES
    LINES                         = y_i_tline
    EXCEPTIONS
    ID                            = 1
    LANGUAGE                      = 2
    NAME                          = 3
    NOT_FOUND                     = 4
    OBJECT                        = 5
    REFERENCE_CHECK               = 6
    WRONG_ACCESS_TO_ARCHIVE       = 7
    OTHERS                        = 8.
    endif.
    But I am not maintaining the text in SO10 and the READ_TEXT will return sy-subrc 4 .In va02 in messages tab ,I am creating output 1(print output) and 5 (external send) and save the document.when I check the processing log for both,In print output I can't see any error messages.But in external send I am getting error message that the text <my text> not found in language <my lang>.I want to know why the error message (exception thrown by READ_TEXT)comes in EXternal send in processing log and it is not coming in the processing log of print output ? .can anybody help me out ? I can't debug while saving the document since everything is handled in back groud(The smartform won't get triggered while saving).

    hi
    Please debug, for which u need to '/H'  B4 that have a break-point in  ur Driver program on SSF or the READ_TEXT Fm and SAVE  in debug mode. When in DEBUG mode ,Under SETTINGS  choose SYSTEM DEBUGGING and UPDATE DEBUGGING  which allow you to debug and check the Error/Exception from the READ_TEXT FM ...
    surya

  • Getting processing log for our custom output triggering FM?

    Hello,
    VA02 > Extras>Header>Output>Edit --- Triggering an custom IDOC
    Stadnard SAP output programs shows IDOC number on output processing log. But, our custom programs/FMs the one we use to trigger on order IDOC, don't show the processing log. How to get this processing log for custom FMs just like standard SAP?
    Thank you

    Hello
    I am sending my custom IDOC by using FM  'MASTER_IDOC_DISTRIBUTE', if it went well (sending successfully - status is '03') in next step am using PERFORM FILL_NAST_PROTOCOL(ROIKCALE) routine.
    But, when i checked the PROCESSING LOG of the associated green latest item in VA02/03>Extras>OP>Header>Edit....am getting a message that "No processing log exists"
    How to get/see my IDOC #?
    when i saw the F1, it says, "System logging has been de-activated for the selected output type (use settings in Customizing for current application for the selected output type)"
    When i checked the settings in NACE (and then clicking lense), they are fine.
    Am i seeing correctly to get/know the generated IDOC #?
    Thank you

  • Processing log for customer_H fields

    Dear all,
    We are cusomizing the Processing Log for Service Request.
    In the customizing, we can add some fields coming from the CUSTOMER_H table.
    However, after adding those fields , they are not in the processing log of the transaction type in CRM7. It seems that it does not take into account the customizing. When we modify the created fields, they are not shown in the processing log history.
    Would anyone had already meet this problem?
    Thank you,
    Regards,
    Anaïs Jaussaud

    Hi,
    Just closing the question as I have my answer. when developpers create the fields in AET, they have a possibility to track it in the history tab.
    regards,
    Anaïs

  • Need help to get processing log for mass invoice output

    Hi Experts,
    I have one requirement,
    My customer will send invoices to their customers in bulk on monthly basis. The customers will receive the invoices through emails, fax or printout. Now the issue is when they send the output to the customers there might be some failures in delivery because of some reason to some customers. I want to capture all the invoices, customers, medium and error text and want to display as a report.
    We can see the processing log for a single invoice in VBFA transaction but I want to display one consolidated list where the user can see all the error log records at one place.
    I know some tables where we can see some data in NAST, NACH but I would be greatful to you if you provide some more information about this.
    Please provide whatever info you have.
    Regards,
    Dileep.

    Hi Study abap,
    go through this code and use the HTEXT fm accordingly to ur requirement. This is just a sample kind of thing which will help u to write s-kunnr in htext.
    SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
    S_WERKS FOR PBIM-WERKS.
    DATA: BEGIN OF HTEXT.
    INCLUDE STRUCTURE THEAD.
    DATA: END OF HTEXT.
    DATA: BEGIN OF LTEXT OCCURS 50.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF LTEXT.
    DATA: BEGIN OF DTEXT OCCURS 50.
    DATA: MATNR LIKE PBIM-MATNR.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF DTEXT.
    DATA: TNAME LIKE THEAD-TDNAME.
    SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
    MOVE PBIM-BDZEI TO TNAME.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = 'PB'
    LANGUAGE = 'E'
    NAME = TNAME
    OBJECT = 'PBPT'
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ''.
    MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
    MOVE PBIM-MATNR TO DTEXT-MATNR.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    ENDSELECT.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
    ENDLOOP.
    Kindly reward fi found helpful.
    cheers,
    Hema.

  • No processing log for outbound delivery for output type

    Dear Gurus,
    I want to see processing log for output type for outbound delivery .
    But when i click processing log push button for output type for outbound  delivey  , one error is comming as 'NO PROCESSING LOG FOR OUTPUT TYPE'.
    Could you please let me the reason ?
    Edited by: susheelkodam on Sep 9, 2010 10:33 AM

    Hi,
    What transaction are you running when you press the [Output log] button?  If you're in the create transaction, then I think the output log should be available but if you subsequently go in to VL02N and press the Log button, the I don't think the log is available.
    Regards,   Andy

  • Log for rm actions?

    Is there a log for rm actions?

    Moo-Crumpus wrote:You know, they are kids, 12 and 14 years old and soccer hooked. They are -- well, seemed to be - no nerds, greyhats etc.
    14 is a good age to start breaking things (16-17 is a good age to start fixing them...). Perhaps they have a nasty little friend that wanted to show off?
    Dusty

  • How to ADD a contact from log for messaging

    Hello,
    I am a new user of Nokia E72. I just want to know that how can i add the number from log. I mean i want to send a message and contact is not in my contact list but it is in my call log history?
    Regards,
    Message Edited by awanjee on 02-Dec-2009 09:38 AM

    awanjee wrote:
    Hello,
    I am a new user of Nokia E72. I just want to know that how can i add the number from log. I mean i want to send a message and contact is not in my contact list but it is in my call log history?
    Regards,
    Message Edited by awanjee on 02-Dec-2009 09:38 AM
    Open the log and the specific number-> options-> save to contacts
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How to display custom error message in Job log for batch processing

    Hi All,
    I am rexecuting one R/3 report in batch mode and i want to display all the custom error i have handled in job log when its executed from SM36,SM37. The custom error are like 'Delovery/Shipmet doe not exits' or others which we can display in online mode like message e100(ZFI) or any other way and accordingly we can handle the program control like come out of the program ro leave to transaction'Zxxx' or anything. But i want my program to be executed completely and accumulate all the error in job log of batch processing.
    Can anyone tell me how can i do so...
    Thanks,
    Amrita

    Hi,
    Thats what i have done from the begining. I have written message like this:
    Message i100(ZFI).
    I was hoping to see this message in the log. But i cant see. Can you help me pleae...

  • Messages in Processing State for a long time on Oracle B2B 10 G

    Messages posted for all the protocols (FTP,Email,Ebxml) are taking a long time to be processed .Usually after redeploying the agreements it was taking quite a bit of time to be processed . For one of the problems , we purged the entire configuration , imported the backed up export file and deployed all the agrreements for all the trading partners after which it is taking a long time for the messages to be processed (more than 5-6 hours) .
    IS there any way to figure as to what the issue may be ?

    Is this happening for inbound or outbound? Do you see any errors in the b2b.log?
    Regards,
    Anuj

  • Write processing log for custom output type

    Hi,
      I have defined a new output type at delivery header level . This is processed using a special function and on processing moves  stock from unrestricted to a order special stock.
    I need to update the "processing log" of the output with the material document number. Can any one please let me know how I can write to this "processing log" of the output?
    Thanks in advance.
    Regards.
    Hari.

    Use function NAST_PROTOCOL_UPDATE:
    * No orders found
        wa_msgv_1 = nast-objky+0(10).
        CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
          EXPORTING
            msg_arbgb = c_msgtype
            msg_nr    = 30
            msg_ty    = 'S'
            msg_v1    = 'No orders found for delivery'
            msg_v2    = wa_msgv_1
          EXCEPTIONS
            OTHERS    = 1.

  • IdocType, Message Type & Process code for Payroll Posting

    Hi Gurus,
    In My Project, the SAP HCM is Maintained as a separate instance and rest such as FI/CO resides in ECC ERP. Now We need to Interface the HCM Instance with ECC ERP, where FI/CO resides to post Payroll Results. Hence I am writing a Technical Specs for ALE interface between SAP HCM and ECC ERP. I came to know that a standard ALE is existing for this purpose and I hereby need its Idoc type, Message Type and Process code for the same.
    Thanks in advance.
    Regards
    Vinoth Kumar.R

    Guys
    I could not use above message type/idoc type as they are not released in SAP.
      So i am again back to where i have come from. I am trying to use DESADV01 and Mess Type DESADV.
    Regards
    Srikanth M

  • Updating processing log for sales order header output

    I want to prevent a custom sales order confirmation from printing when the order has not been approved.  When the user requests the form to print in the background, I want to update the processing log to have a red light and a message indicating the order has not been approved, so it cannot be printed.  When I pass an error message to the protocol processing, the update is terminated and my changes to the sales order are lost.  Is there a way to update the processing log, show the red light, and not get the hard error? 
    Thank you in advance. 
    Jay

    Setting the return code after the protocol update did the trick.

  • To add message in Application Log in Me2xn

    Hello Experts,
    This is my requirement.
    During creation of PO item it is required to put a check if the Vendor is one among the Vendors in the table: ZTABLE.
         If yes, it means that the PO is an internal order. Then you should check if the flag: GR Non-valuated is set for the newly added items.
         If not, send out an error into the application log when the document is saved, so that the user is notified and it has to be checked to make the document complete for further processing.
    I have implemented is check in the exit <b>EXIT_SAPMM06E_012</b>. But I don't know how to update the application log.
    Could you please send some sample code to update the application log saying that <b>the PO is inetrnal Order</b>
    Thanks in Advance.
    Regards,
    Vasanth

    Hi Vasanth,
    in this case u have to USE BADI only ,
    path-.Se18->f4--.SAP Application and check under ME package.
    Regards
    Prabhu

  • Log for all actions of Users

    Hello :
    I need  development that load table Z*  the information of all user actions as log the actions ( Push button , call transaction , eject report ect.. ) . I thinked to do with user-exit but i didn't think it . Could you give a idea to done it ?
    I am thinking abap interpret but i don't know . If it is posible and if there is a user exit .
    Thank you

    Hi
    No! I don't believe it's possible to do it, u can use the trx STAT in order to get some informations.
    Max

Maybe you are looking for

  • F4IF_INT_TABLE_VALUE_REQUEST - return more than 1 field in return_values?

    In a dialog program I"m using the 'on value request' to call a routine that builds a dropdown on a field.  It looks like this: PROCESS ON VALUE-REQUEST.   FIELD ekpo_ci-zzlicnum module build_search. Within build_search, I build itab_values with the d

  • PHP form/Captcha alternative

    I have a php form that works fine. In part: <form method="post" action="sendmail.php"> Now, to add some security to it I created a required field: What is 6 plus 6? A bot can't fill in 12, right? So then the form doesn't go to the sendmail.php file.

  • Captured video is stretched too wide

    I connect my camcorder to my Mac with a Firewire cable and capture video but the result is stretched too much. Instead of widescreen (16:9) it is more like 19.5 to 9! I am new to Mac, I have a new Macbook Pro and am still learning.  The camcorder is

  • Prin character mode report (do not want to use Samba)

    Helo, i need input from someone experience implement oracle reports 10g for character mode report. this is the issue : 1. Client doesn't want to use Samba cause some security issue. 2. Because of issue no.1 we can not use file sharing or printer shar

  • Cash Journal Problem

    Hi gurus, When I post a cash journal (expenses) in last fiscal year i.e. 2006 it is getting posted. But when I click on that particular expenses item it is showing two accounting documents. 1 is for 2006 and another is for 2007which  is already poste