munich enterprise software
  • SAP Digital Platform
    • Digital communication with the MailCenter platform
      Expand your digital possibilities! Now increase the efficiency of your SAP systems with smart add-ons for digitizing and automating your processes.
    • MailCenter
      • Communication via mail
      • Send and receive email
      • Archiving
      • Receive ▶ Outlook to SAP
      • Exchange Connector
      • Stamping documents
      • SMS Short Message
    • E-Invoice | Release
      • XInvoice
      • ZUGFeRD
      • Release procedure
      • Approval Process App
      • Confirmation
    • Monitoring
      • SAP Monitoring
      • IDoc Monitoring
      • Process Monitor
      • Log Monitoring
      • KPI Monitor APP
  • Support
  • Success Stories
  • Company
    • munich enterprise software
      supports companies in digitizing their SAP processes regardless of size and industry. We transform old, manual working methods into modern, digital processes. Less work, more productivity.
      • company
      • News
      • Presse
      • Contact
      • SAP Jobs
      • Become a sales partner
  • English
    • Deutsch (German)
    • Español (Spanish)
  • Menu Menu

MailCenter Extensions

You are here: Home1 / SAP Blog2 / Collection of contributions to SAP Mail3 / MailCenter Extensions

Examples of customer enhancement

Storage from MailCenter Outlook for supplier inquiry – transaction ME43

Customer requirement: Is it possible to send to the request and the quotation at the same time when sending to the supplier request (transactions ME43 and ME48)? Depending on the progress of the request, it would be desirable at the request or the offer and there came the idea: why not at the same time to both …

Lösung: BADi /MESERP/OL_MCPOSTDOCUMENT - Methode:  /MESERP/OL_IF_MCPOSTDOCUMENT~ARCHIV_POSTED
METHOD /meserp/ol_if_mcpostdocument~archiv_posted.

*  DATA: l_zt604 TYPE t604.
*  l_zt604-land1 = 'ZZ'.
*  l_zt604-stawn = 'ZZ1'.
*  MODIFY t604 FROM l_zt604.

*IM_ARCHIV_ID Importing Type  TOAV0-ARCHIV_ID   Content Repository Identification
*IM_ARC_DOC_ID  Importing Type  TOAV0-ARC_DOC_ID  SAP ArchiveLink: Document ID
*IM_AR_OBJECT Importing Type  TOAOM-AR_OBJECT   Document type
*IM_OBJECT_ID Importing Type  SAPB-SAPOBJID   SAP ArchiveLink: Object ID (object identifier)
*IM_SAP_OBJECT  Importing Type  TOAOM-SAP_OBJECT  SAP ArchiveLink: Object type of business object
*IM_DOC_TYPE  Importing Type  TOADV-DOC_TYPE  SAP ArchiveLink: Document class
*IM_DESCR Importing Type  /MESERP/OL_D_CHAR60 Description
*IM_FILENAME  Importing Type  CHAR255 Filename
*IM_CREATOR Importing Type  SYUNAME Creator (user name)
*IM_/MESERP/MC_ARCLI  Importing Type  /MESERP/MC_ARCLI ArchiveLink
*IM_/MESERP/MC_SOOIN  Importing Type  /MESERP/MC_SOOIN mes MC-DB: Protokoll Dokument Senderequest - eingehend

    " Fragen, wie hängen Anfrage und Angebot zusammen? => immer gleiche Nummer?
    " Lieferantenanfrage BUS2010 / ME43
    " Lieferantenangebot BUS2011 / ME48

    DATA: ls_/meserp/mc_sooin TYPE /meserp/mc_sooin.

    MOVE-CORRESPONDING im_/meserp/mc_sooin TO ls_/meserp/mc_sooin.
    ls_/meserp/mc_sooin-typeid = 'BUS2011'.

    "     Eintrag Archiv & Journal
***************************************************************************
    IF im_arc_doc_id IS NOT INITIAL AND im_sap_object = 'BUS2012'.

      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = im_archiv_id
          arc_doc_id            = im_arc_doc_id
          ar_date               = sy-datum
          ar_object             = im_ar_object
          mandant               = sy-mandt
          object_id             = ls_/meserp/mc_sooin-instid
          sap_object            = ls_/meserp/mc_sooin-typeid
          doc_type              = im_doc_type
          filename              = im_filename
          descr                 = im_descr
          creator               = im_creator
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
      IF sy-subrc = 0.
        COMMIT WORK.
        MODIFY /meserp/mc_sooin FROM ls_/meserp/mc_sooin. "Journaleintrag
      ENDIF.

    ENDIF.

ENDMETHODE.

Expansion of the purchasing release strategy

Customer requirement: For contracts with a specific product group (long-term contracts), we need our own release strategy. How can we implement this?

Solution: CMOD extension M06E0004 – Changes to the communication structure for Freig. Receipt. With this extension, you can change the communication structure to the
Change the release strategy for purchasing documents.

*&---------------------------------------------------------------------*
*&  Include           ZXM06U22
*&---------------------------------------------------------------------*

DATA: wa_bekpo TYPE LINE OF mmpur_bekpo.

e_cekko = i_cekko.

CASE i_cekko-bstyp.
  WHEN 'F'.
    IF i_cekko-matkl IS INITIAL. "different matkl in items
      READ TABLE it_bekpo INTO wa_bekpo WITH KEY matkl = '325'.
      IF sy-subrc = 0.
        e_cekko-matkl = '325'.
      ELSE.
        e_cekko-matkl = '324'.
      ENDIF.
    ENDIF.
  WHEN 'K'.
    e_cekko-matkl = '325'. "Kontrakte werden analog Warengruppe 325 geprüft, sprich alle werden zunächst gesperrt.
  WHEN OTHERS.
    "do nothing
ENDCASE.

Set BCC receiver automatically

Customer requirement: Each email should be automatically sent to an internal employee with BCC.

Solution: Programming MailCenter User-Exit ZMESERP_MC_CUSTOMER_007

IF  i_vkorg = '4000'.
  IF sy-uname = 'USER01' OR
     sy-uname = 'USER02' OR
     sy-uname = 'USER03'. "
    lwa_address-e_mail = 'info@mustermann.com'.
    i_receiver-mbcc1 = lwa_address-e_mail.
  ELSE.
    MOVE sy-uname TO lv_uname.
    CLEAR lwa_address.

    CALL FUNCTION 'BAPI_USER_GET_DETAIL'
      EXPORTING
        username = lv_uname
      IMPORTING
        address  = lwa_address
      TABLES
        return   = i_return.

    IF lwa_address-e_mail IS NOT INITIAL.
      i_receiver-mbcc1 = lwa_address-e_mail.
    ENDIF.
  ENDIF.
ENDIF.

RSS SAP News

  • SAP North America Closes 2022 with a Strong Fourth Quarter, Sees Impressive Growth in RISE with SAP
  • SAP Business Technology Platform Wins Three “Best Of” Awards from TrustRadius
  • Inclusive Teams, Better Products
  • The Take: Connecting the Dots Between Interest Rates, Inflation and the Real Economy
  • In 2023, SAP Will Continue to Lead the Market in Procurement Innovation
Need support or have questions?
Get in touch now

Recent Posts

  • SAP RPA
  • SAP Banf
  • Performance Monitoring in SAP Basis
  • MailCenter Extensions
  • Email Automation
  • Digitalization-DVV-ZFK-2021
  • Embed HTML-Mail images
  • Protect PDF file against change
Share this entry
  • Share on Twitter
  • Share on LinkedIn
  • Share by Mail
MailCenter

Mail Products


HotM

SAP Monitoring


Share this entry
  • Share on Twitter
  • Share on LinkedIn
  • Share by Mail
Site Information

Company
Blog
Privacy
Imprint
Sitemap

Your SAP Partner
munich enterprise software GmbH
Industriestraße 31
82194 Gröbenzell
Opening hours:
Mon. – Fri.: 09:00 am to 16:00 pm
+49 (0) 89 2154 689 80

Contact


SAP Partnership

@ contact
© Copyright 2005 - 2022
  • LinkedIn
  • Facebook
  • Twitter
  • Youtube
Email AutomationE-Mail-Automatisierungsap-monitoring-prozess-monitor-2Performance Monitoring in SAP Basis
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, you cannot refuse them without impacting how our site functions. You can block or delete them by changing your browser settings and force blocking all cookies on this website.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visist to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Datenschutz
Accept settingsHide notification only