External Email error in SO_DOCUMENT_SEND_API1 from 4.6c to ECC

Hi everyone,
We are using SO_DOCUMENT_SEND_API1 Funtion module in a program to send to external emails in 4.6c,now if we use the same program in ECC 6.0 it shows document_not_send (exceptions no. 2)
while debugging that Function module(SO_DOCUMENT_SEND_API1)  the bcs exception (CL_SEND_REQUEST_BCS) is occuring in Function Module SO_OBJECT_SEND 
(Error type : DNS_SREQ)
can anybody help to resolve this exception...
i found that the Function module(SO_DOCUMENT_SEND_API1)  is different
in both the systems (4.6c and ECC)

Hi,
Use this Code as-is.. this will work.. I am using in the Interface. logic. .now these are in PRD
*Send Log as E-Mail Attachment
*Get E-Mail ids from Table ZINT_PARAM
  SELECT intid
         parid1
         parid2
         pval1
         FROM zint_param
         INTO TABLE t_zint_param
         WHERE intid  = c_concur_empexp
         AND   parid1 = c_email.
*Attachment Heading
  CLEAR v_cnt.
*Get Week ending date
  CALL FUNCTION 'GET_WEEK_INFO_BASED_ON_DATE'
    EXPORTING
      date   = sy-datum
    IMPORTING
      sunday = v_lastdate.
  WRITE v_lastdate TO v_datum.
  CONCATENATE sy-uname text-010 v_datum INTO v_reportname SEPARATED BY space.
  v_name = sy-uname.
  CONDENSE v_name.
  LOOP AT t_log INTO s_log.
Code Replace by balal
    CONCATENATE
      s_log-xref1
      s_log-ref
      s_log-lifnr
      s_log-textgl
      s_log-type
      INTO s_attach-line SEPARATED BY c_tab.
    CONCATENATE c_cret s_attach-line INTO s_attach-line.
    CONDENSE s_attach-line.
    APPEND s_attach TO t_attach.
    CLEAR s_attach-line.
    CONCATENATE c_tab s_log-log INTO s_log-log.
    CONCATENATE  s_log-log
                 s_log-belnr
                 s_log-amount
          INTO s_attach-line SEPARATED BY c_tab.
    CONDENSE s_attach-line.
    APPEND s_attach TO t_attach.
    CLEAR s_attach.
    CLEAR s_log.
  ENDLOOP.
  CONDENSE s_attach-line.
  CONCATENATE space c_cret INTO s_attach-line.
  APPEND s_attach TO t_attach.
  CLEAR s_attach.
Body Message
  s_mailbody-line = space.
  APPEND s_mailbody TO t_mailbody.
  CLEAR s_mailbody.
  CLEAR v_datum.
  WRITE sy-datum TO v_datum.
  CONCATENATE  'Attached is the upload file for the Expense Reports Authorized on'(001) v_datum
  INTO s_mailbody-line SEPARATED BY space.
  CONCATENATE s_mailbody-line 'from Concur'(002) INTO s_mailbody-line SEPARATED BY space.
  APPEND s_mailbody TO t_mailbody.
  CLEAR s_mailbody.
*Subject
  CONCATENATE 'Expense Reports Authorized on'(003) v_datum INTO  v_subj SEPARATED BY space.
  t_send_request  = cl_bcs=>create_persistent( ).
  t_document  = cl_document_bcs=>create_document(
                i_type = c_raw
                i_text = t_mailbody
                i_importance = '1'
                i_subject =  v_subj ).
*Attachment
  CONCATENATE v_subj '.xls'(004) INTO v_subj.
  CALL METHOD t_document->add_attachment
    EXPORTING
      i_attachment_type    = 'XLS'
      i_attachment_subject = v_subj
      i_att_content_text   = t_attach.
*Receivers
  t_send_request->set_document( t_document ).
*Add Recipient E-mail Id's are available in this internal table
  LOOP AT t_zint_param INTO s_zint_param.
    v_mailid  = s_zint_param-pval1.
    t_recipient = cl_cam_address_bcs=>create_internet_address( v_mailid ).
    t_send_request->add_recipient(
      EXPORTING
        i_recipient = t_recipient
        i_express   = '' ).
    CLEAR : v_mailid ,s_zint_param.
  ENDLOOP.
*Send Mail
  t_send_request->set_send_immediately( 'X' ).
  t_send_request->send( ).
  COMMIT WORK.

Similar Messages

  • Error during Upgrade from 4.6c to ECC 6.0

    Hi All,
      We are facing an error when upgrading from 4.6c to ECC 6.0. We are facing this error on the table COEP - runtime object inconsistancy. What we found is there is ERP upgrade has created new extra fields in the table. In log file the error is specified as : Duplicate Field name, But we not able to find the duplicate field name in the table.  Please kindly help as early as possible. The upgrade process is stuck.
    Regards
    Anil Kumar K

    Hi Anil,
    Is this issue fixed? Can i know how you fixed it?
    replied to your message Re: How to adopt the index changes during upgrade.
    Thanks,
    Somar

  • Ical server invitations to external email adresses are sent from "user"@localhost.localdomain

    Hello,
    I have quite a bad time getting the ical server in OSX 10.7 server to work correctly.
    If I invite a co-worker who also has an account on the server, everything seems to be fine.
    When I invite someone with an external email address, an email is sent to the given address, but the sender address is not my Adress but "MyName" @localhost.localdomain.
    Besides the fact, that this looks quite strange for a corporate company to send emails like this, some receipients who use outlook cannot accept these invitations.
    Unfortunately I cannot find any settings where I could change this behaviour.
    The ical server is configured to connect to an external email service with its own email address.
    Can anybody help?

    Hi,
    Is there only a single user encounter this issue?
    If only a single user has this issue, try to move the mailbox to another database and check the result.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Error while RRI from BW reports to ECC CJI3 transaction

    Hi All,
    When we try to set up RRI from BW reports to ECC CJI3 transaction, we get an error message (Stop message):
    You cannot use the report-report interface to call up report RKREP000
    Diagnosis
    Line Item report RKPEP000 is not suitable for the report/report interface
    Procedure
    Always enter RKPEP000 as the receiver report for project line items in the report/report interface. This program uses the transfer parameters to determine which line item reports can be accessed.
    <b>As per the other reply tried the ABAP Report RKPEP000/3 also ..no use ..
    can you please suggest , how to go about this CJI3 issue for RRI , what settings need to be done in the RSBBS ...</b>
    We have attemped to use "S_ALR_87013543" as well but the parameters don't go through properly which means when a user jumps from a BW report, they end up at the ECC selection screen of S_ALR_87013543.
    Drill through is working for our Cost Center reports. Just not this one in particular.
    Any advice would be greatly appreciated.
    prasad

    Hi,
    I'm facing the same problem so please If you have found some solution please tell me what should I do to use RRI from BEX query to CJI3 transaction.
    Regards,
    Ana

  • Unicode error while upgrading from 4.7 to ECC 6.0

    Hello all,
    I am upgrading our SAP from 4.7 to ECC 6.0. while doing so we had folllowing error in the adjoinig statement of Search.
    Error : Table I_VBLS must have a character line type (data type C,N,D,T or string)
    Statement :
    W_TMP10 = I_VBLS-VBELN.
    SEARCH I_VBLS[] FOR W_TMP10 STARTING AT 1
    IF SY-SUBRC NE 0.
       EXIT.
    ENDIF.
    Now I tried to remove this error by putting a loop on internal table I_VBLS and inside it concatenating the header line with a Field symbol and after that to a string variable. Then I used SEARCH statement for the same string. but unfortunately this is changing the functionality of the program by large extent. Does anybody know the exact code snippet to replace search Internal Table
    Edited by: Aalhad Deshpande on Feb 23, 2009 3:18 PM
    Edited by: Aalhad Deshpande on Feb 23, 2009 3:19 PM

    Hi,
    Try to use this method.
    CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
    E:G :-
            WRITE crlf TO i_linea-linea2.
    In this case also their are not mutually convertable. try to use this method and let me know
            CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
              EXPORTING
                IM_VALUE               = crlf
              IMPORTING
                EX_CONTAINER           = i_linea-linea2
              EXCEPTIONS
                ILLEGAL_PARAMETER_TYPE = 1
                others                 = 2.
    Regards,
    Sathish

  • Unicode error while upgrading from 4.6 to ECC 6.0

    Dear All,
    I am getting unicode errror while upgrading from 4.6 to ECC 6.0, when iam trying to open downloaded file in excel.
    In debugging, error occurs while executing statment "CALL METHOD OF obj_ex_sheet " in the code given below:
    FORM open_downloaded_file_in_excel            *
    FORM open_downloaded_file_in_excel.
      DATA:
        lv_ole_books       TYPE ole2_object,
        lv_ole_sheets      TYPE ole2_object,
        lv_subrc           LIKE sy-subrc,
        lv_title(70)       TYPE c,
        lv_text1(70)       TYPE c,
        lv_text2(70)       TYPE c.
    start excel
      CREATE OBJECT obj_ex_sheet      'EXCEL.SHEET'.
      IF sy-subrc NE 0.
        lv_subrc = sy-subrc.
        FREE OBJECT obj_ex_sheet.
        PERFORM error_handling_ms_excel USING lv_subrc.
      ENDIF.
      CALL METHOD OF obj_ex_sheet     'Application' = obj_ex_app.
      IF sy-subrc NE 0.
        lv_subrc = sy-subrc.
        FREE OBJECT obj_ex_app.
        FREE OBJECT obj_ex_sheet.
        PERFORM error_handling_ms_excel USING lv_subrc.
      ENDIF.
      SET PROPERTY OF obj_ex_app 'Visible' = 1.
    open data file: main file
      CALL METHOD OF obj_ex_app        'Workbooks'  = lv_ole_books.
      CALL METHOD OF lv_ole_books      'Open'       = obj_ex_wbook
        EXPORTING #1  = gv_filename
                  #2  = 2
                  #3  = 0
                  #4  = 1
                  #5  = 0
                  #6  = 0
                  #7  = 1.
      IF sy-subrc NE 0.
        lv_subrc = sy-subrc.
        FREE OBJECT obj_ex_wbook.
        FREE OBJECT obj_ex_app.
        FREE OBJECT obj_ex_sheet.
        PERFORM error_handling_ms_excel USING lv_subrc.
      ENDIF.
      FREE OBJECT lv_ole_books.
      CALL METHOD OF obj_ex_wbook      'Worksheets' = lv_ole_sheets.
      CALL METHOD OF lv_ole_sheets     'Item'       = obj_ex_wsheet
        EXPORTING #1 = 1.
      FREE OBJECT lv_ole_sheets.
      GET PROPERTY OF obj_ex_wsheet    'UsedRange'  = obj_ex_usedrange.
      CALL METHOD  OF obj_ex_usedrange 'AutoFormat'
        EXPORTING #1 = 18.
      SET PROPERTY OF obj_ex_wsheet    'Name'       = sy-tcode.
      FREE OBJECT obj_ex_usedrange.
      PERFORM free_ole_objects.
      CALL FUNCTION 'FLUSH'
           EXCEPTIONS
                OTHERS = 0.
    ENDFORM.                              
    regards,
    Divya

    hi,
    In the OPEN DATASET STATEMENT ADD THE ENCODING ADDITION IN TEXT MODE.
    Regards,
    Balakumar.G
    Reward Points if helpful.

  • Schema error after upgrade from 4.6C to ECC 5.0

    Hi all,
    We have recently upgraded from 4.6C to ECC 5.0. We are having problem in payroll run. When I did a syntax check in schema, I got "UDPM" rule doesn't exist. I checked, this rule is present in 4.6C. This is the standard rule. If I am right, it should have come with upgrade right?
    or SAP has changed this? From where Can I get the info about this?
    Also similar error I got in Function 'USTAX' parameter 3 is not allowed. If I remove that parameter, I don't know what is the implication of that.
    I checked for SAP notes. I did not find anything.
    Please let me know if any of you have come with such situation.
    Thanks in advance.
    Sarika.

    Hi Sarika,
    We are also in a similar transition i.e. 4.6C to mysap Ecc5.0 . But we are on Canadian Payroll.
    I had search OSS and got a PDF document regarding " Upgrading to SAP R/3 Enterprize - A User Guide to Canadian mysap HR Customers" . U may be can find a similar one for US payroll. I can give u mine, but it wont be of any use as it is for Canadian Payroll.
    In Canadian mysap Upgrade , the function P0224 has been replaced by function KXDTM . Although P0024 is still in used in Schema K00T for conversion purposes.
    Regards,
    Jay Gandhi

  • LONGPOST.LOG Errors during Upgrade from 4.6C to ECC 6.0

    Dear all,
    We have received the below errors during our upgrade from 4.6C to ECC 6.0.
    Basically we have received three types of errors:
    1.
    4PETG065 RSUPGDEC: Table/structure "BAPE_VBAK" (component "SD-SLS" ) enhanced illegally: Error "2"
    2.
    A2PESEEF_BADI 103 BAdI implementation "/IRM/BADI_SDDOCFLOW" must still be migrated
    A2PESEEF_BADI 103 BAdI implementation "ZOTC218E_1" must still be migrated
    A2PESEEF_BADI 103 BAdI implementation "ZZ_MG_MASS_NEWSEG" must still be migrated A2PESEEF_BADI 103 BAdI implementation "ZOTC218E_1" must still be migrated
    A2PESEEF_BADI 103 BAdI implementation "ZOTC218E_1" must still be migrated
    3.
    3PETG447 Table and runtime object "/SSF/DHEAD" exist without DDIC reference ("Transp. table")
    3PETG447 Table and runtime object "/SSF/DTAB" exist without DDIC reference ("Transp. table")
    3PETG447 Table and runtime object "/SSF/PTAB" exist without DDIC reference ("Transp. table")
    Can anyone help us how to solve this issues.
    Thanks & Regards
    Senthil

    Hi,
    Senthil following are ans to ur questions
    1. After the SPAU remediation is completed, should I manually release the transport or should I start the upgrade and the upgrade will release that transport?
    Ans : Once your SPAU remediation is completed you should release the requests and then start the upgrade of the DEV system.
    2. How do we import this SPDD & SPAU transport in the QA and PRD, I mean at what stage of the upgrade we need to specify/ include this transport?
    Ans : Now when you start the QA or PRD upgrade at that time you come across a phase during PREPARE called ADJUSTPRP.
    Refer following note for further information --
    SAPNote 124522 - Importing a modification adjustment in 2nd upgrade
    3. Suppose the QA & PRD has more objects to adjust than our Dev box, and this transport will not take care of the delta objects, so in that case how should we remediate, we need to create an other transport request in QA and then it will become two transports?
    Ans : First of all this should not be the scenario where you have more modified objects than that in DEV. As all the modfications should take place in DEV first and then should be transported to QA and then PRD. But in such case what you can do is complete the upgrade of QA system and then you are still having 14 days to complete the SPAU objects. So you can make another request which can be transported as a post upgrade activity once the upgrade is completed in production. For SPDD you will have to take care of the SPDD objects if there are different than those in DEV during the ACT_700 phase only or else you might risk data.
    This is the reason why SAP always asks you to follow a proper transport path.
    4. If our dev box has more objects for remediation than our QA & PRD, then will these objects be also imported into the QA & PRD box?
    Ans : Yes, thats why you should be very sure about the SPAU objects that you have found in DEV. You need to compare the objects with QA and PRD and then only make the modifications.
    I hope i have answered all your queries.
    Regards,
    Suhas

  • Regarding syntax error while updating from 4.6b to ECC 6.0

    hello Experts,
    I'm presently working in upgrade project, Here it shows an error for one of the form pasted below.
    FORM MAKEPRINT USING TXT.
    DATA: BEGIN OF CVT_TABLE,
            X0(1) TYPE X VALUE 0,
            C0(1) VALUE '#',
            X1(1) TYPE X VALUE '7F',
            C1(1) VALUE '#',
            END OF CVT_TABLE.
      TRANSLATE TXT USING CVT_TABLE.
    ENDFORM.                    "MAKEPRINT
    Error - CVT_TABLE must be a character type data object ( data type C,N,D,T or STRING ).
    I dont have solution for the above code, Would you please kindly provide me the solution.
    <removed_by_moderator>
    Thanks,
    Abdur
    Edited by: Julius Bussche on Sep 22, 2009 1:26 PM
    Edited by: Julius Bussche on Sep 22, 2009 1:26 PM

    Hi,
           This happens due to unicode conversion in ECC.You will have to change the type X to type C using the class cl_abap_char_utilities. For code help see the below link
    http://help.sap.com/saphelp_nw04/helpdata/EN/79/c554d9b3dc11d5993800508b6b8b11/content.htm

  • Error in upgrade from 4.6 to ecc 6.0

    Hi all,
    We are upgrading from SAP 4.6 c to ecc 6.0 anr we are getting the following messages
    UPGRADEPHASE XPRAS_UPG
    1PEPU203X> Messages extracted from log file "SAPR700WG4.ORD" < Long text:
    Cause
    During the upgrade, a message relevant for postprocessing was writte to a log file. This message is not dealt with until the end of the entire upgrade. The upgrade continues.
    System Response
    The upgrade stops in phase CHK_POSTUP. To create the reference to the original log file, this message is generated by R3up.
    What to do
    Note the messages following this message and proceed according to the instructions.
    A2PESEEF_BADI 103 BAdI implementation "Z_PMORDER_CONFIRM" must still be migrated
    A2PESEEF_BADI 103 BAdI implementation "Z_PMORDER_UPDATE" must still be migrated
    A2PESEEF_BADI 103 BAdI implementation "ZWORKORDER_UPDATE" must still be migrated
    1PEPU203X> Messages extracted from log file "SAPR700ZG1.ORD" < Long text: see above
    A4PECOM_PRODUCT 063 Execute the upgrade report "COM_PRODUCT_UPGRADE"
    UPGRADEPHASE JOB_RDDNTPUR
    1PEPU203X> Messages extracted from log file "RDDNTPUR.ORD" < Long text: see above
    3PETG447 Table and runtime object "/SSF/PTAB" exist without DDIC reference ("Transp. table")
    Long text:
    Cause
    A runtime object was found for a table which is unknown in the ABAP Dictionary. The table contains data, which is why, as a precaution, the runtime object was not deleted. Since there is a runtime object, this means the table was once create in the ABAP Dictionary. The fact that the table can no longer be found in the ABAP Dictionary could be due to the following reasons:
    It is a customer-specific table which was created when the correction system was switched off.
    Depending on the history of your system, there may also be SAP tables which were not deleted completely, or for which only the runtime object was delivered without the related definition in the ABAP Dictionary
    System Response
    What to do
    RESET N1
    Customer-specific tables
    If it is a customer-specific table, and you still need the data, try to restore the table in the ABAP    Dictionary.
    Note the specified table type
    when you do this (transparent table, pool table, and so on). The table may still, for example, be contained in the version database.
    You can access version management through the menu "Utilities" in the  in the ABAP Dictionary (transaction SE11).
    You may also still have a copy of the system that still contains the table definition. You can also display the runtime object and create the table according to the field names, types and lengths specified in the definition. You can display the runtime object in the menu "Extras" of the database utility (transaction SE14).
    Tables in the SAP namespace
    Search for notes on these tables in OSS using the key words RDDNTPUR and TG447.
    3PETG447 Table and runtime object "STGLTRAN" exist without DDIC reference ("Transp. table")
    Long text: see above
    3PETG447 Table and runtime object "STSLEVNTSV" exist without DDIC reference ("Transp. table")
    Long text: see above
    3PETG447 Table and runtime object "STSLTOBJSV" exist without DDIC reference ("Transp. table")
    Long text: see above
    3PETG447 Table and runtime object "STSLTRANSV" exist without DDIC reference ("Transp. table")
    Long text: see above
    3PETG447 Table and runtime object "TIBAN_ACTIVE" exist without DDIC reference ("Transp. table")
    Long text: see above
    3PETG447 Table and runtime object "ZPH_RESS_STATUS" exist without DDIC reference ("Transp. table")
    Long text: see above
    Please suggest what to be done in these cases.
    Thanks

    Hi,
    I think you have some BADIs or other enhancements donne in 4.6, whn tried to migrate to 6.0 causes this. Pls check whether all these objects are available/changed in 6.0.
    Regards.
    Renjith Michael.

  • Send External email only when PR's created

    Hi
    i need help in the following workflow scenario
    I need to send the external Email (outlook,gmail etc) from workflow on a daily basis..
    The body of email should contain the purchase requisitions created for a particular day
    if there are no PR's Created ..we should not send an email.
    Approve and Reject are not necessary for now...
    Please let me know how to approach this scenario..
    Thanks
    Madhusudhan

    Hi Madhu,
    You need to identify the BO to be used for PR (for Overall PR its BUS2105, Item wise PR its BUS2009).
    Check if you can use the existing events else, create a Z-BO, delegate it to std BO and add an event CREATED.
    Trigger this event when ever the PR is created.
    Use this event as the triggering event of the workflow.
    In the workflow add a send mail step to send mail to the desired user email address.
    You can also use Action profiles to achieve the same.
    Hope this helps!
    Regards,
    Saumya

  • Email not getting send: Error message 'No delivery to external email id

    Hi All,
    Whenever i am trying to send mail to external address from Business Workplace (Tcode: SBWP), it initially sets the status of the mail as waiting with message 'Will be sent after server date:server time'. But after 6 hours, its status changes to error with message 'No delivery to <external email id>.
    When i checked in error log (in SOST), it displays the following messages:
    1. Document sent
    2. Wait for Communications service
    3. No delivery to <external email id> (after 6 hours from Document sent/Wait for communications service time)
    Please suggest me how to resolve this issue.
    Thanks in advance.
    Regards,
    Shradhanjali Mishra

    Hi Shane,
    Extremely sorry for the late reply.
    I asked the BASIS team to fix the issue.. and i think they did some configuration as a result of which i am not getting any error msg now while sending email.
    I guess you also need to check with your BASIS team to fix this issue.
    Regards,
    Shradhanjali

  • To send external email from ABAP

    How to send external email from ABAP Program and what are the settings to be done for the same ?

    Please check..
    Sending External email through SAP
    What is the FM for sending the external email through SAP by attaching layout set  to it?
    These are the FM for sending external email :-
    SO_DOCUMENT_SEND_API1 
    SAPoffice: Send new document with attachments via RFC 
    SO_NEW_DOCUMENT_ATT_SEND_API1
    (In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
    SAPoffice: Send new document with attachments via RFC 
    Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject. 
    SO_NEW_DOCUMENT_SEND_API1 
    SAPoffice: Send new document 
    How to send a report to an external mail-id?
    Try this sample code :-
    REPORT ZREPORT_TO_EMAIL NO STANDARD PAGE HEADING LINE-SIZE 200.
    DATA : BEGIN OF ITAB OCCURS 0,
    PERNR LIKE PA0001-PERNR,
    ENAME LIKE PA0001-ENAME,
    END OF ITAB.
    DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
    receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
    packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
    listobject LIKE abaplist OCCURS 10,
    compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
    w_object_hd_change LIKE sood1,
    compressed_size LIKE sy-index.
    START-OF-SELECTION.
    SELECT PERNR ENAME
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM PA0001
    WHERE PERNR < 50.
    LOOP AT ITAB.
    WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
    SY-VLINE.
    ENDLOOP.
    Receivers
    receiver_list-recextnam = '[email protected]'. "-->
    EMAIL ADDRESS
    RECEIVER_list-RECESC = 'E'. "<-
    RECEIVER_list-SNDART = 'INT'."<-
    RECEIVER_list-SNDPRI = '1'."<-
    APPEND receiver_list.
    General data
    w_object_hd_change-objla = sy-langu.
    w_object_hd_change-objnam = 'Object name'.
    w_object_hd_change-objsns = 'P'.
    Mail subject
    w_object_hd_change-objdes = 'Message subject'.
    Mail body
    APPEND 'Message content' TO message_content.
    Attachment
    CALL FUNCTION 'SAVE_LIST'
    EXPORTING
    list_index = '0'
    TABLES
    listobject = listobject.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    compressed_size = compressed_size
    TABLES
    in = listobject
    out = compressed_attachment.
    DESCRIBE TABLE compressed_attachment.
    CLEAR packing_list.
    packing_list-transf_bin = 'X'.
    packing_list-head_start = 0.
    packing_list-head_num = 0.
    packing_list-body_start = 1.
    packing_list-body_num = sy-tfill.
    packing_list-objtp = 'ALI'.
    packing_list-objnam = 'Object name'.
    packing_list-objdes = 'Attachment description'.
    packing_list-objlen = compressed_size.
    APPEND packing_list.
    CALL FUNCTION 'SO_OBJECT_SEND'
    EXPORTING
    object_hd_change = w_object_hd_change
    object_type = 'RAW'
    owner = sy-uname
    TABLES
    objcont = message_content
    receivers = receiver_list
    packing_list = packing_list
    att_cont = compressed_attachment.

  • Giving users control of their own distribution list control to add or remove external email addresses from their list

    We are a Exchange 2010 SP3 shop, we have distribution groups (with over 200 email addresses ) from another email system which has only external email addresses (i.e [email protected] [email protected]  and so on …..)
    We want to import these groups into exchange. we called microsoft, they said create mail contacts for each address and put those in a Distribution Group.  I know this will work. 
    Our goal is to have the user create / maintain / add / remove external their own email addresses  (Not the IT department)
    There must be many companies whose requirements match ours. Are there third party tools that would handle creation of distribution list? 
    Any constructive advice would be greatly appreciated ! THank you

    I wouldn't give the ability to create contacts to everyone in the environment because it will become mess at some point of time and IT will have to jump to control it
    anyway so why don’t from the start...
    I would give this to certain people like Leads or Managers of the groups under certain IT Policy so it will be still under control and people
    will think before asking their superior to create them and someone gets responsibility to manage these contacts...
    Though here is the more specific article on how to delegate creating and editing contacts...
    Creating RBAC Role To Delegate
    Editing Contacts
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Error when connect from portal system (abap ) to external ssl client - sm59

    Hi I am tryign to setup a ssl connection from the abap sm59 portal system to an exteral server.. I have setup the certs that the client has given me in strust.but i m gettign the ffg error.
    sysno      60
    sid        PID
    systemid   370 (Solaris on SPARCV9 CPU)
    relno      7110
    patchlevel 0
    patchno    150
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    /usr/sap/PID/SYS/profile/PID_DVEBMGS60_pidevdb
    pid        3911
    [Thr 01] Thu Jun 14 08:38:48 2012
    [Thr 01] TRACE FILE TRUNCATED
    [Thr 07] Thu Jun 14 08:39:07 2012
    [Thr 07] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL
    [Thr 07]    session uses PSE file "/usr/sap/PID/DVEBMGS60/sec/SAPSSLA.pse"
    [Thr 07] SecudeSSL_SessionStart: SSL_connect() failed
    [Thr 07]   secude_error 536871970 (0x20000422) = "SSL record with the wrong SSLPlaintext.version received"
    [Thr 07] >>            Begin of Secude-SSL Errorstack            >>
    [Thr 07] ERROR in ssl3_get_record: (536871970/0x20000422) SSL record with the wrong SSLPlaintext.version received
    [Thr 07] <<            End of Secude-SSL Errorstack
    [Thr 07]   SSL_get_state() returned 0x00002120 "SSLv3 read server hello A"
    [Thr 07]   SSL NI-sock: local=57.24.111.151:34110  peer=57.24.110.116:5081
    [Thr 07] <<- ERROR: SapSSLSessionStart(sssl_hdl=10720d530)==SSSLERR_SSL_CONNECT
    [Thr 07] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT {00020a7c} [icxxconn_mt.c 1957]
    When i change the sm59 connection not to use ssl. it give me a pop up screen . and asks me to enter user and password...
    He then  give me a private key file .. i.e a .pfx file but not sure how to load this in strust. I tried to convert in useign sapgenpse. but it fails with teh ffg error
    12% sapgenpse import_p12  -p /usr/sap/PID/amos/amos_client.pse /usr/sap/PID/amos/amos_client_pk.pfx
    import_p12: MISSING password for PKCS#12 file "/usr/sap/PID/amos/amos_client_pk.pfx"
    Please enter PKCS#12 encryption  password: *******
    PKCS#12/PFX file contains 1 keypair:
      1. FriendlyName = "amos.server.interface.webuser.web_int.cert"
         X.509v3 (type=Both) RSA-2048 (signed with sha1WithRsaEncryption)
         Subject="CN=AMOS WebService Interface Client, OU=IT&S MRO, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"
         Issuer ="[email protected], CN=ca.flysaa.com, OU=Certificate Authority, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"
    ERROR: Incomplete certification path -- NEED certificate of "[email protected], CN=ca.flysaa.com, OU=Certificate Authority, O=South African Airways (Pty) Ltd, L=OR Tambo International Airport, SP=Gauteng, C=ZA"!
    I have attached a doc of what it looks like.. appreciate any help

    Hi,
    There is an error in the publishing of template
    Template :"bbpsc02" is not publised in ITS.
    Go to T.code: SE80
    Publish all the templates again and check
    Check with your SAP  BASIS team for the help
    Regards
    Ganesh

Maybe you are looking for

  • Using variable datastore in LKM

    Hi, I am new to ODI, I have created a POC environment and now looking at using substituition methods for KMs. I have a situation where I have set of source tables and a direct of copy of these in my DW staging schema. I have reversed engineered both

  • Itunes won't recognise ipod touch

    When I try to connect ipod touch get error message that cannot be used as requires itunes version 10.5 or later. Tried to download latest as suggested but no change.  I have itunes on windows xp machine and no problem connecting to nano, classic or s

  • Required Quantity are not copy from BOM

    Dear SAP GURU, I encounter this situation when i try Convert Plan Order ---> PO , Or Try create Process Order Manully. But the issue here , when i look into the Material component list , the quantity for all required quantity are "ZERO". I suspecting

  • Folder permissions set in Powershell not visible in Windows Explorer

    Hi I have created the following script to grant TestGroup access to c:\MyFolder: $MyFolder = "c:\MyFolder" $rule = new-object System.Security.AccessControl.FileSystemAccessRule ("TestGroup","FullControl","Allow") $acl = Get-ACL $MyFolder $acl.SetAcce

  • How to extract a WAR file..

    Hi, How to extract a WAR file.. please help me.. thanks in advance