Send Email in SAP ABAP - Text and HTML [english]

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 29

  • @christmelkon
    @christmelkon 11 месяцев назад +1

    You are brilliant. I'm astonished with the way you so perfectly organize your tutorials. One thing is still missing however. Might you probably also paste the code, so that we could easily copy it? That would be of a huge help.
    Furthermore, how should the code look like in the case there are multiple CC (Carbon Copy) recipients?
    Thanks in advance!

    • @CustAndCode
      @CustAndCode  11 месяцев назад +3

      Thanks for your very nice feedback! 🤗 Unfortunately, I don't have the time to run a blog. Not every code can be inserted here because of some special characters. However, my code examples are always very straightforward and quickly copied. I also want the videos to be seen so that I can earn a few cents. 😀
      To your question:
      Check the method: o_send_request->add_recipient( ) there are some more parameters, you need I_COPY set this true and you have CC. 🤗

  • @Surajkumar-oj1xf
    @Surajkumar-oj1xf 2 года назад

    U are making excellent videos

  • @saadabdussamadzeshan1517
    @saadabdussamadzeshan1517 2 года назад +1

    Excellent video, it really helped ! Can you also share on how to send single email to multiple recipients please ?
    Or you can share a code snippet maybe ?

    • @CustAndCode
      @CustAndCode  2 года назад +1

      Bring the code between the code lines 39 - 42 in a loop. In every loop you call the method "add_recipient" with a new Emailobject. This should work. 🤗

  • @ivankaiser3456
    @ivankaiser3456 2 года назад

    Thank you for the interesting input!

  • @ben11ur
    @ben11ur 2 года назад

    Thank you so much! It really helped me. :D

    • @CustAndCode
      @CustAndCode  2 года назад

      Thank you! I am glad that I could help! 🤗

  • @davialves6021
    @davialves6021 Год назад

    Hello, excellent video. When we check the SOST, it shows more than one line, so we can say that an email was sent to each recipient or was just an email sent with all the recipients? thanks for help.

    • @CustAndCode
      @CustAndCode  Год назад

      Thank you for your feedback! 🤗 In SOST is one line one email. "So we can say that an email was sent to each recipient" --> yes 🤗😀

    • @davialves6021
      @davialves6021 Год назад

      ​@@CustAndCode So, do you know if there is any way to send just one email with all recipients as CC? Thanks for everything, it's helping a lot.

    • @CustAndCode
      @CustAndCode  Год назад

      @@davialves6021 It should work. Mark the email in SOST then click on the icon "Display document" Then on the tab "Recipients list", then you see all recipients. In the SOST you always see only one recipient 🤗

  • @ahmadshaik1038
    @ahmadshaik1038 5 месяцев назад

    Its good but any idea on Email template generation using S4HANA... using class CL_SMTG_EMAIL_API.

    • @CustAndCode
      @CustAndCode  5 месяцев назад +1

      I am not on S4/HANA yet. Maybe I'll try it on one of my SAP Trial Systems. 🤗

  • @sukhdeepsingh4457
    @sukhdeepsingh4457 4 месяца назад

    how can we send the email using the standard text in HTML object type.?

  • @carlosargerisgomezvargas8594
    @carlosargerisgomezvargas8594 5 месяцев назад

    Hello,
    I Saw your video to Sent Email from SAP and now want to kno how to add the body dinamicly with HTML or how to send a Body with an ALV on the body inscrusted.
    Is there a Way?

    • @CustAndCode
      @CustAndCode  5 месяцев назад

      I assume that you have to build the list manually 🙄

  • @emant6896
    @emant6896 2 года назад

    it was really helpful👌, please guide me to complete the same process to add logo or picture in html format email.

    • @emant6896
      @emant6896 2 года назад

      Also how to add some CSS to create more professional email.

    • @CustAndCode
      @CustAndCode  2 года назад

      could be another video 🤔 I have to try it by myself 🙂

    • @emant6896
      @emant6896 2 года назад

      @@CustAndCode Thanks a lot for your reply.

  • @nishivetoskar783
    @nishivetoskar783 2 года назад

    Please share a video on How to maintain SMTP node. or how to configure SMTP in SAP ABAP

    • @CustAndCode
      @CustAndCode  2 года назад

      This was done for us by a BASIS consultant. Unfortunately I do not know that myself. 🙄

  • @Ruq_ali
    @Ruq_ali 2 года назад

    Thanks for this video..
    It's showing some exception occurred,

    • @CustAndCode
      @CustAndCode  2 года назад

      Please provide more information about the exception. 🤗

  • @baselashraf3605
    @baselashraf3605 6 месяцев назад

    line 19 error Field "CL_DOCUMENT_BCS" is unknown.

    • @CustAndCode
      @CustAndCode  6 месяцев назад

      Check if the class is available in your system. Go to SE24 Class Browser or SE80.