Function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' not sending detail in email

Hello experts,
I am using function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send emails from a workflow method. The emails are being sent out and received but there is no detail in the email.
The following are my parameters.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
  EXPORTING
    DOCUMENT_DATA                    = gd_doc_d
    PUT_IN_OUTBOX                    = 'X'
    COMMIT_WORK                      = 'X'
TABLES
   PACKING_LIST                     = it_packin
   OBJECT_HEADER                    =
   CONTENTS_BIN                     =
   CONTENTS_TXT                     = it_message
   CONTENTS_HEX                     =
   OBJECT_PARA                      =
   OBJECT_PARB                      =
   RECEIVERS                        = it_receiv
EXCEPTIONS
    TOO_MANY_RECEIVERS               = 1
    DOCUMENT_NOT_SENT                = 2
    DOCUMENT_TYPE_NOT_EXIST          = 3
    OPERATION_NO_AUTHORIZATION       = 4
    PARAMETER_ERROR                  = 5
    X_ERROR                          = 6
    ENQUEUE_ERROR                    = 7
I am inserting the detail in internal table 'it_message' but this is not transmitted....can anybody point out what I need to do to get detail in the email.
Thanks to all who might reply..

Hi,
Have you made sure that your code works without workflow? Just put it to a report and execute it with dummy values and see if it sends the email properly. If that works, then the problem might be in the workflow. I would first make sure that the bindings are correct - that your internal table containing the details is passed to the task. This you can see from the workflow log in the container.
Regards,
Karri

Similar Messages

  • Function module SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi All,
    I'm using function module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending data in internal table to an email address with excel sheet attachment .
    The problem is in attachment i'm not getting the data in formatted.
    The whole data which is in internal table is being populated in the first cell of the excel sheet only.
    How can we format the data in the excel sheet.
    Thanks & Regards,
    Anil.

    Check the link below for how it works......
    /people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface
    Also check the Code below
    REPORT test.
    DATA: att_size TYPE i,                             " att Size
          att_itab_size TYPE i,                        " Attachment size
          mailtxt_size TYPE i.                         " Text in mail size
    DATA:
    it_mailpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE, " Dist details
    it_mailhead LIKE solisti1   OCCURS  1 WITH HEADER LINE," Header data
    it_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,   " Rec List
    it_mailtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,    " Mail Text
    it_att_data LIKE solisti1 OCCURS 0 WITH HEADER LINE,   " Attachment data
    it_doc_att LIKE sodocchgi1.                          " Attri of new doc
    * Text in the mail.
    it_mailtxt-line  = ' This is a test mail,  Line Number--1'.
    APPEND it_mailtxt.
    it_mailtxt-line = ' This is a test mail,  Line Number--2' &
                      ' This is a test mail,  Line Number--2'.
    APPEND it_mailtxt.
    it_mailtxt-line = ' This is a test mail,  Line Number--3' &
                      ' This is a test mail,  Line Number--3' &
                      ' This is a test mail,  Line Number--3'.
    APPEND it_mailtxt.
    DESCRIBE TABLE it_mailtxt LINES mailtxt_size.
    * Create the att File
    concatenate 'Attachment Line Number 1' space into it_att_data-line.
    APPEND it_att_data.
    concatenate 'Attachment Line Number 2' space into it_att_data-line.
    APPEND it_att_data.
    concatenate 'Attachment Line Number 3' space into it_att_data-line.
    APPEND it_att_data.
    DESCRIBE TABLE it_att_data LINES att_itab_size.
    * Attributes of new doc
    CONCATENATE 'Attach' space 'mail'
                INTO it_doc_att-obj_descr SEPARATED BY space.
    it_doc_att-sensitivty = 'F'.
    it_doc_att-doc_size   = mailtxt_size * 255.
    * Create Pack to text in mail body.
    it_mailpack-transf_bin   = space.
    it_mailpack-head_start   = 1.
    it_mailpack-head_num     = 0.
    it_mailpack-body_start   = 1.
    it_mailpack-body_num     = mailtxt_size.
    it_mailpack-doc_type     = 'RAW'.
    APPEND it_mailpack.
    * Create Pack for Attach.
    it_mailpack-transf_bin   = 'X'.
    it_mailpack-head_start   = 1.
    it_mailpack-head_num     = 1.
    it_mailpack-body_start   = 1.
    it_mailpack-body_num     = att_itab_size.
    it_mailpack-doc_type     = 'XLS'.
    CONCATENATE 'My' space 'Attachment' INTO it_mailpack-obj_descr.
    it_mailpack-doc_size     = att_itab_size * 255.
    APPEND it_mailpack.
    it_reclist-receiver   = '[email protected]'.
    it_reclist-express    = 'X'.
    it_reclist-rec_type   = 'U'.
    it_reclist-notif_del  = 'X'. " request delivery notification
    it_reclist-notif_ndel = 'X'. " request not delivered notification
    APPEND it_reclist.
    * Call FM to send email
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              document_data              = it_doc_att
              put_in_outbox              = 'X'
         TABLES
              packing_list               = it_mailpack
              object_header              = it_mailhead
              contents_txt               = it_mailtxt
              contents_bin               = it_att_data
              receivers                  = it_reclist
         EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              OTHERS                     = 8.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Cheers,
    Thomas.

  • Regarding  the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'

    Hi
    I am using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send an email with tab delimited text file as an attachment. while doing this i'm facing the folloing issues.
    1. a) Here the subject line field is char 50. My subject line is more than 50 characters. Is there any other way to do so?
    1.b) I am facing the data alignment problem in attached file if it is the case of Text file.
    can you please let me know how to resolve these issues and also let me if there are any other function modules to do so.

    Hi!
    1. You will have to manage with a subject of 50 char. In any case a longer subject would not be visible in your mailbox.
    2. For TAB delimited contents: Concatenate the fields of your internal table separated by HEX 09 (TAB). For every new line add HEX 0D at the end of the string.
    Cheers!

  • What is the function module used to send an email

    hi
    what is the function module used to send an email

    Hello,
    Try this, It will help you. Sure.
    Regards,
    Rakesh.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
      CONSTANTS:
      con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
      con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      TYPES: BEGIN OF typ_item,
             asno(10) TYPE c,
             matnr TYPE mseg-matnr,
             maktx TYPE makt-maktx,
             menge TYPE mseg-menge,
             meins TYPE mseg-meins,
             END OF typ_item.
      DATA: wrk_menge(17) TYPE c.
      DATA: sum_srno TYPE i VALUE 0.
      DATA: wrk_srno TYPE n.
    *Internal tables
      DATA: it_std_objhdr  TYPE TABLE OF solisti1.
      DATA: it_std_objcnt  TYPE TABLE OF solisti1.
      DATA: it_std_rcvlst  TYPE TABLE OF somlreci1.
      DATA: it_std_objtxt  TYPE TABLE OF solisti1..
      DATA: it_std_objpack TYPE TABLE OF sopcklsti1 .
      DATA: it_std_cntbin  TYPE TABLE OF solisti1.
      DATA: it_std_items TYPE TABLE OF typ_item.
      DATA: is_items LIKE LINE OF it_std_items.
    *  DATA: it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    *  DATA: wa_attachment TYPE solisti1.
    * Internal structures
      DATA: is_docdata LIKE sodocchgi1.
      DATA: is_objhdr  LIKE LINE OF it_std_objhdr.
      DATA: is_objcnt  LIKE LINE OF it_std_objcnt.
      DATA: is_rcvlst  LIKE LINE OF it_std_rcvlst.
      DATA: is_objtxt  LIKE LINE OF it_std_objtxt.
      DATA: is_objpack LIKE LINE OF it_std_objpack.
      DATA: is_cntbin  LIKE LINE OF it_std_cntbin.
    *Work variables
      DATA: wrk_lines TYPE i.
      is_docdata-obj_descr = 'Movement of parts to processor'.
    *Cover letter of the mail
      is_objtxt = 'Dear Sir,'.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = ' '.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = text-001.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = text-002.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = text-003.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = ' '.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = 'Thanks n Regards,'.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = ' '.
      APPEND is_objtxt TO it_std_objtxt.
      is_objtxt = 'abc MOTORS'.
      APPEND is_objtxt TO it_std_objtxt.
    * Write Packing List (Main)
      DESCRIBE TABLE it_std_objtxt LINES wrk_lines.
      READ TABLE it_std_objtxt INTO is_objtxt INDEX wrk_lines.
      is_docdata-doc_size = ( wrk_lines - 1 ) * 255 + STRLEN( is_objtxt ).
      CLEAR is_objpack-transf_bin.
      is_objpack-head_start = 1.
      is_objpack-head_num   = 0.
      is_objpack-body_start = 1.
      is_objpack-body_num   = wrk_lines.
      is_objpack-doc_type   = 'RAW'.
      APPEND is_objpack TO it_std_objpack.
      BREAK-POINT.
    *loop for selecting the data into contents bin//// Excel.
      CONCATENATE 'SRNO' 'ASN no:' 'PARTNO' 'PART DESCRIPTION'
                  'QUANTITY' 'UNIT' INTO is_cntbin
      SEPARATED BY con_tab.
      CONCATENATE con_cret is_cntbin INTO is_cntbin.
      APPEND is_cntbin TO it_std_cntbin.
      LOOP AT it_std_items INTO is_items.
        sum_srno = sum_srno + 1.
        wrk_menge = is_items-menge.
        wrk_srno  = sum_srno.
        CONCATENATE wrk_srno is_items-asno is_items-matnr is_items-maktx
        wrk_menge is_items-meins
        INTO is_cntbin SEPARATED BY con_tab.
        CONCATENATE con_cret is_cntbin INTO is_cntbin.
        APPEND is_cntbin TO it_std_cntbin.
      ENDLOOP.
    *To be implemented later
    *  CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
    *  INTO it_attach SEPARATED BY con_tab.
    *  CONCATENATE con_cret it_attach INTO it_attach.
    *  APPEND it_attach.
    *  LOOP AT it_ekpo INTO wa_charekpo.
    *    CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
    *    wa_charekpo-aedat wa_charekpo-matnr
    *    INTO it_attach SEPARATED BY con_tab.
    *    CONCATENATE con_cret it_attach INTO it_attach.
    *    APPEND it_attach.
    *  ENDLOOP.
    *ENDFORM. " BUILD_XLS_DATA_TABLE
      DESCRIBE TABLE it_std_cntbin LINES wrk_lines.
      READ TABLE it_std_cntbin INTO is_cntbin INDEX wrk_lines.
      is_objpack-doc_size   = ( wrk_lines - 1 ) * 255 +
                               STRLEN( is_cntbin ).
      is_objpack-transf_bin = 'X'.
      is_objpack-head_start = 1.
      is_objpack-head_num   = 0.
      is_objpack-body_start = 1.
      is_objpack-body_num   = wrk_lines.
      is_objpack-doc_type   = 'XLS'.
      is_objpack-obj_name   = 'Document File'.
      is_objpack-obj_descr  = 'Document File'.
      APPEND is_objpack TO it_std_objpack.
    *Start of testing code
      IF sy-uname = 'DEVELOPER'.
        is_rcvlst-receiver = sy-uname.
        is_rcvlst-rec_type = 'B'.
        is_rcvlst-express  = 'X'.
        APPEND is_rcvlst TO it_std_rcvlst.
        CLEAR is_rcvlst.
      ENDIF.
    *End of testing code
    *Creating the recepient list
      is_rcvlst-receiver = '[email protected]'.
      is_rcvlst-rec_type = 'U'.
      is_rcvlst-express  = 'X'.
      is_rcvlst-com_type = 'INT'.
      APPEND is_rcvlst TO it_std_rcvlst.
      is_rcvlst-receiver = '[email protected]'.
      is_rcvlst-copy     = 'X'.
      is_rcvlst-rec_type = 'U'.
      is_rcvlst-express  = 'X'.
      is_rcvlst-com_type = 'INT'.
      APPEND is_rcvlst TO it_std_rcvlst.
      BREAK-POINT.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = is_docdata
       put_in_outbox                    = 'X'
       commit_work                      = 'X'
    * IMPORTING
    *   SENT_TO_ALL                      =
    *   NEW_OBJECT_ID                    =
        TABLES
          packing_list                     = it_std_objpack
    *   OBJECT_HEADER                    =
       contents_bin                     = it_std_cntbin
       contents_txt                     = it_std_objtxt
    *   CONTENTS_HEX                     =
    *   OBJECT_PARA                      =
    *   OBJECT_PARB                      =
          receivers                        = it_std_rcvlst
    * EXCEPTIONS
    *   TOO_MANY_RECEIVERS               = 1
    *   DOCUMENT_NOT_SENT                = 2
    *   DOCUMENT_TYPE_NOT_EXIST          = 3
    *   OPERATION_NO_AUTHORIZATION       = 4
    *   PARAMETER_ERROR                  = 5
    *   X_ERROR                          = 6
    *   ENQUEUE_ERROR                    = 7
    *   OTHERS                           = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      COMMIT WORK.

  • Function module "GM_DOCUMENT_REVERSE" not found.  after Patch Update

    Hi Abapers/Basis
    After patch update i am not able to do FBCJ reversal entry getting below error message.
    Runtime Errors         CALL_FUNCTION_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FUNC
    Date and Time          25.05.2011 14:43:26
    Short text
         Function module "GM_DOCUMENT_REVERSE" not found.
    What happened?
         The function module "GM_DOCUMENT_REVERSE" is called,
         but cannot be found in the library.
         Error in the ABAP Application Program
         The current ABAP program "SAPLRWCL" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
         not caught in
        procedure "CALL_DISPATCHER_STORNO_R" "(FORM)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "SAPLRWCL" contains the CALL FUNCTION statement.
        The name of the function module to be called is "GM_DOCUMENT_REVERSE".
        No function module exists with the name "GM_DOCUMENT_REVERSE".
        All function modules are listed in the Function Library (SE37).
        Possible reasons:
        a) Wrong name specified. Pay particular attention to
           upper/lower case and underscores ("_").
           or
        b) Transport error
        c) In the case of an enqueue/dequeue module,
           the lock object may not have been activated
           (ABAP/4 Dictionary).
    How to correct the error
        Check the last transports to the SAP System.
        Is the program "SAPLRWCL" currently being changed?
        If an enqueue/dequeue module is involved, is the activation
        of the lock object missing in the ABAP/4 Dictionary?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"
        "SAPLRWCL" or "LRWCLF10"
        "CALL_DISPATCHER_STORNO_R"
        Function modules with names similar to "GM_DOCUMENT_REVERSE":
        GM_DOCUMENT_CLOSE
        GM_DOCUMENT_RECORD
        GM_DOCUMENT_DELETE
        GM_DOCUMENT_POST
        GM_DOCUMENT_CHECK
        G_DOCUMENT_RECORD
        GJ_DOCUMENT_RECORD
        GM_DOCUMENT_PROJECT
        GET_DOCUMENTS
        GM_DOCUMENT_DISPLAY
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    Moderator message: please don't just dump your dumps, search for SAP notes or open a call with SAP instead.
    Edited by: Thomas Zloch on May 25, 2011 2:16 PM

    Hi Karthik,
    Thank you for ur reply.
    I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
    I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
    Regards,
    Kusuma.

  • Function module "CRM_DOWNLOAD_RCV_EXIT" not found error

    Hello experts,
    We are using SRM 5.0 connected to an ECC 6.0 backend system
    In SRM, trans. SMQ2 I see queues with status SYSFAIL, and inside them I find that supposely the error is "Error in Mapping (Details: transaction SMW01)".
    When I re-process it, I get the following dump in ST22: "Function module "CRM_DOWNLOAD_RCV_EXIT" not found". This module does not exist in SRM, and my guess is that CRM is sending stuff to SRM.
    I have everything configured correctly, exactly as note # 720819.
    I'll appreciate your comments on this.
    Regards,
    Gilberto Gallardo

    Hi
    CRS_DOWNLOAD_RCV_EXIT -check this fm you defined in CRMSUBTAB table in r/3
    CRMSUBTAB for subscription table for Up and Download Object and add the following values:
    User ObjectName U/D Obj. Class Function Obj. Type Funct. Name
    CRM empty Download Material empty empty CRS_MATERIAL_EXTRACT
    CRM empty Download Material empty empty CRS_CUSTOMIZING_EXTRACT
    CRM empty Download Material empty empty CRS_SERVICE_EXTRACT
    BR
    Muthu
    Edited by: Muthuraman Govindasamy on Oct 24, 2008 6:22 AM

  • Function module "URL_SERVER_TYPE_DATA_GET" not found

    We do get every day follwing dump
    Runtime Errors         CALL_FUNCTION_NOT_FOUND
    Function module "URL_SERVER_TYPE_DATA_GET" not found.
    Its happening at particular time. Any clues ? Notes .
    SRM 4.0
    Appreciate your help
    Raman

    Hi,
    Pls see the foll notes:
    Note 379462 - Menu is not displayed in the browser
    Note 674605 - Short dumps when sending mails with object attachments
    Note 385353 - Stability improvemnt of URL generation of Launchpad
    Also do you have any jobs  scheduled for sending  emails to external mail from SRM system?
    BR,
    Disha.
    Do reward points for useful answers.

  • Function module "UPC_PROFILE_GET" not found

    Hi All,
    This is the first time we are trying to connect BW SEM & CRM system for KEY FIGURE planning in Marketing & Campaign Planning. I created everyting in SEM BPS but CRM system is giving following errors...
    <b>Function module "UPC_PROFILE_GET" not found</b>
    <b>Function module "API_SEMBPS_PLANSTRUCTURE_GET" not found</b>
    <b>Function module “UPC_FW_START_RFC” not found</b> (RFC connections are tested +ve/working in SM59-Test connection)
    Please help me in resolving these issues, also while making Planning Profile Groups in CRM F4-Help is not working for selecting Planning Profiles from SEM-BPS.
    Thanks & Regards
    Vikas Sharma

    Hi Marc,
    As explained above i created Planning Profiles, Planning Area, functions & Packages in BW-BPS. Now for Key Figure Planning in Marketing Planner these Planning Profiles should be visible (RFC Conncetion is tested successfully. But the system is giving above errors.
    What looks to me that the CRM system calls these function modules in BW BPS but is unable to find and hence generate the errors.
    Can you give some details of how to correct these "Function Module not found" errors.
    In my BW System Status>SAP System Data>Component Version, i can only see SAP_BW(Release-350) & BI_CONT (Release-352) but no BPS component can it be the cause of problem. But still i can work in transaction bps0.
    Regards,
    Vikas
    [email protected]

  • Function Module "SO_OBJECT_SEND" not working in ECC6

    Hi experts,
    We have upgraded our SAP version from 4.6c to EEC6, in 4.6C one of our
    Z program has used function module u201CSO_OBJECT_SENDu201D for sending mails
    to external user.  But the same prog throws error in SOST "Message cannot be processed as it cannot be
    converted ".
    If I try with another  FM u201CSO_NEW_DOCUMENT_ATT_SEND_AP1u201D is not fulfill our requirement. ie. we can send the mail to external user but we cannot send output List as attachement.
    Our requirement is first we have to convert the list into a object and
    send that object to external user. We are using following FM for
    sending mails.
    SAVE_LIST - Save the list as Object.
    TABLE_COMPRESS u2013 Compress the object to compressed attachment.
    SO_OBJECT_SENT u2013 Finally send the attachment to external user.
    Pl. suggest me, how to sort it out.
    Thanks,
    Regards
    M.Veerabadran

    Hi
    Answer is pure assumption
    Pls check the OSS Note 170175 - SAPconnect: Message not convertable
    Pls take opinion from SAP / BASIS before implementing the note
    Regards
    Madhan D

  • Any Function Module For getting Shipment Details

    Hi All,
    I want to get all details of shipment. i tired , but unable to get any function? I was able to find the creation or change shipment function modules, but not able to find the function module for getting the details for Shipment.
    like BAPI_SHIPMENT_CHANGE           Change Shipment
    BAPI_SHIPMENT_CREATE           Create Shipment
    similary
    Do you have any idea for getting (display)the details of Shipments?
    Regards,
    Raju

    hi,
    you can use
    VTTP,VTTK
    or
    RV_SHIPMENT_READ

  • Reg:Function module SAPWL_GET_SUMMARY_STATISTIC not working in CRM ABAP 6.0

    Hi All,
      When i execute the function module SAPWL_GET_SUMMARY_STATISTIC in CRM ABAP 6.0 passing the values below,
    PERIODTYPE                    
    HOSTID                         
    STARTDATE  
    it's not showing any values in the summary.
    it's showing the exporting parameters as,
    RFC_ERROR_TYPE                  L
    SUMMARY_AVAILABLE               N
    HITLISTS_N_PROFILES_AVAILABLE   A
    if this function module will not work means kindly provide me the solution for calculating
    Average Response Time as in tcode st03 - Instance - total - Workload Overview.
    Average CPU Time and some more fileds.
    Regards,
    Suresh

    Hi
    I used the FM mentioned and found the details as below:
    VKORG
    TABNAME                        TVKO
    FIELDNAME                      VKORG
    LANGU                          EN
    POSITION                       0001
    OFFSET                         000006
    DOMNAME                     VKORG
    ROLLNAME                    VKORG
    CHECKTABLE
    VTEXT
    TABNAME                        TVKOT
    FIELDNAME                      VTEXT
    LANGU                          EN
    POSITION                       0002
    OFFSET                         000014
    DOMNAME                        TEXT20
    ROLLNAME                       VTXTK
    CHECKTABLE
    LENG                           000020
    Shiva

  • Error in ERM: Function module does not exist

    Hi all,
    Lately, we are experiencing a frequent error in ERM (5.3 SP 15.0) that we had not had before. We are unsure what caused the error. The message displayed to the user is "Unhandled error". The log error message is "Message Code is 651 Messsage Details Function module  does not exist Message Type is E" (see full logs below).
    The error occurs for example, when users are trying to generate derived roles after saving the org values for the derived role during the methodology process, or when administrators are trying to update the impacted derived roles after for org value mappings.
    Has anyone experienced this or someting similar before? Any ideas what could be the reason here?
    Thanks!
    Patrick
    Edited by: Patrick Weyers on Sep 15, 2011 9:36 AM

    Log extract:
    2011-09-15 09:05:15,103 [SAPEngine_Application_Thread[impl:3]_18] ERROR Message Code is 651 Messsage Details Function module  does not exist Message Type is E
    java.lang.Throwable: Message Code is 651 Messsage Details Function module  does not exist Message Type is E
         at com.virsa.re.service.sap.dao.ManageAuthDataDAO.getAuthorizationData(ManageAuthDataDAO.java:1064)
         at com.virsa.re.bo.impl.AuthorizationDataBO.getNewTransactionObjects(AuthorizationDataBO.java:821)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.addObjsForNewTxns(AuthAuthorizationDataAction.java:3527)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.reloadTransactions(AuthAuthorizationDataAction.java:4128)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.execute(AuthAuthorizationDataAction.java:157)
         at com.virsa.framework.NavigationEngine.execute(NavigationEngine.java:273)
         at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:230)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:286)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.virsa.comp.history.filter.HistoryFilter.doFilter(HistoryFilter.java:43)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    2011-09-15 09:05:15,105 [SAPEngine_Application_Thread[impl:3]_18] ERROR com.virsa.re.role.actions.AuthAuthorizationDataAction
    java.lang.Throwable: java.lang.NullPointerException
         at com.virsa.re.service.sap.dao.ManageAuthDataDAO.getAuthorizationData(ManageAuthDataDAO.java:1084)
         at com.virsa.re.bo.impl.AuthorizationDataBO.getNewTransactionObjects(AuthorizationDataBO.java:821)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.addObjsForNewTxns(AuthAuthorizationDataAction.java:3527)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.reloadTransactions(AuthAuthorizationDataAction.java:4128)
         at com.virsa.re.role.actions.AuthAuthorizationDataAction.execute(AuthAuthorizationDataAction.java:157)
         at com.virsa.framework.NavigationEngine.execute(NavigationEngine.java:273)
         at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:230)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:286)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.virsa.comp.history.filter.HistoryFilter.doFilter(HistoryFilter.java:43)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • Function module "Z_XSI_ACTIVE" not found

    Dear all,
    I m getting an error
    Runtime Errors CALL_FUNCTION_NOT_FOUND
    Except. CX_SY_DYN_CALL_ILLEGAL_FUNC
    Date and Time 18.07.2008 16:02:20
    Short dump has not been completely stored (too big)
    Short text
    Function module "Z_XSI_ACTIVE" not found.
    Pls see details
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
    not caught in
    procedure "XSI_ACTIVE_DELV" "(FUNCTION)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The program "SAPLVVTR" contains the CALL FUNCTION statement.
    The name of the function module to be called is "Z_XSI_ACTIVE".
    No function module exists with the name "Z_XSI_ACTIVE".
    All function modules are listed in the Function Library (SE37).
    Possible reasons:
    a) Wrong name specified. Pay particular attention to
    upper/lower case and underscores ("_").
    or
    b) Transport error
    c) In the case of an enqueue/dequeue module,
    the lock object may not have been activated
    (ABAP/4 Dictionary).
    Pls view Function Module "XSI_ACTIVE_DELV" and tell me about function "Z_XSI_ACTIVE".
    I think it has problem with user exit.

    In the IMG (tx SPRO) you have Logistics Execution->Shipping->Basic Shipping Functions->Configure Global Shipping Data.  If you execute that, you have the choice for field ExpDlvCo to have
    Inactive
    Active
    Active depending on function module XSI_ACTIVE
    Active depending on function module XSI_ACTIVE with changes
    Help on this field says:
    Express Delivery Company Active
        This indicator dictates whether the express-delivery-company interface
        is active and may contain the following values:
           "X": clients active
           " " (blank): clients inactive
        Special processing:
        The values of "S" and "U" call up the "XSI_ACTIVE" customer function
        module. "S" indicates that the data is read-only, whereas "U" means that
        data can be changed. The interface for this function module must be
        identical to the one in the function module "XSI_ACTIVE_SAMPLE".
    I.e., if you set the ExpDlvCo field to be  "Active depending on function module XSI_ACTIVE" or "Active depending on function module XSI_ACTIVE with changes", then you have to create a function module Z_XSI_ACTIVE, with the same interface as XSI_ACTIVE_SAMPLE.
    matt

  • I can not send or receive email on my Iphone 5S, error message.  Been like this for 3 days.

    I can not receive or send email from my Iphone.  Microsoft had server issues, says it is fixed but still can not send or receive emails.  Anyone else having this problem?

    The outrage is still ongoing, in the mean timeyou can use your browser to check your e-mail.

  • Function Module (ENQUEUE_ES_PROG) not working in Background

    I scheduled a job which runs every 15 mins in the the background to fetch data from an external system,depending on the data volume ,the program can sometimes run for over 15 minutes.To avoid data conflict I used a function module ENQUEUE_ES_PROG on the program to first check if the job started is still running before another job gets kicked.The problem I have is the fact that this function module does not seem to work in the background but in the looks perfect in foreground. Does anyone have a clue on how to use this FM for background job?

    Hello Mochabo,
    Consider the following scenario:
    Your job is running for more than 15 minutes. Since it is running in the background, it will be executed by a work-process of type BACKGROUND. If there's only one BACKGROUND work process configured for your application server, then the second job will have to be waiting till the first one finishes and releases the background work process.
    But when you are executing this in the foreground, the DIALOG work-process does the processing. So you are not finding any problem.
    So, to my knowledge, there will be a problem when there's only one BACKGROUND work process. Please go to transaction SM50 and see how many of them are configured for the current application server.
    Also, in case there's only one BACKGROUND work-process, you will not have toworry that the second job will start before the first has finished. It simply can't. It has got to wait.
    Hope this explanation helps.
    Regards,
    Anand Mandalika.

Maybe you are looking for

  • 1.4.2_13 Oracle Forms - Problem after change of JAR, JRE does not respond

    Hi, We use JRE version 1.4.2_13 as this was the certified version for Oracle Forms 10g. We recently implemented a new module that uses a Java Bean. We use Java Beans already but this one allows the user to save from an Oracle Form to there PC. Becaus

  • Passcode

    My ipad is asking for a passcode and i didn't put one in so therefore I don't know what one to use. My iPad has me locked out and is saying that it is disabled.

  • Amended file thumbnails not showing in Organiser

    If I amend an image and then save the file (using various formats such as tif, psd and jpg) in a version set  the amended file's thumbnail does not show in Organiser. It appears a 'broken file' icon. How can I get it to show the amended image?

  • Powering on is mest up! Need Help!

    When I turn on my Blueberry iBook G3 Clamshell it turns on properly making the chimes noise and everything. Then it just stays on a gray screen and in the center a folder switches from a folder with the "finder: logo on it to a folder with a "?" on i

  • Message no. SY499

    Hi, can you guide me on SAP Std. Message no. SY499? "Invalid combination of material XXXXXX and Document Type XXXX in Co.Cd XXXX" I am getting this error at the time of creating a PO. I do not understand how materil and Doc Tpes are linked in the sys