SAP ABAP - Simple e-mail send from ABAP

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

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

  • @pankajkumaram
    @pankajkumaram 2 года назад +3

    So Simple and Well explained. More power to You!!

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

    Absolutely wonderful tutorial. Thumbs up!

  • @mMoshenicK
    @mMoshenicK 8 месяцев назад

    Огромное спасибо, настолько простой и понятный способ. 👍

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

    Kudos Dustin!

  • @ss-de5mm
    @ss-de5mm 3 года назад

    Thank u I m waiting these videos only really thank u excellent

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

    Hi Dustin, thank you for your video. Can you please advise how to send a file as csv rather than xlsx?

  • @hamadahmad8201
    @hamadahmad8201 3 года назад +1

    smart form or adobe form attachment in email ?? Any video on it ??

    • @itwithdustin
      @itwithdustin  3 года назад +1

      Hi Hamad! I don’t have any videos yet on SmartForms or Adobe Forms. I will try to create a video demonstrating how to e-mail a SmartForm.
      Unfortunately, the trial system that I’m on does not have Adobe Forms configured, so I may not be able to make that video just yet. I will keep trying to see if it’s something that I can configure for this system. Thanks for watching!

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

      @@itwithdustin I am interested in learning about this topic

  • @arindamnandy9694
    @arindamnandy9694 Месяц назад

    Can the distribution list maintained in so23 be called from the program to send email to many recipient ?

    • @itwithdustin
      @itwithdustin  Месяц назад

      @@arindamnandy9694 It definitely can. I believe I have a video on that, but if not you can search for which Function Module can be used to read the SO23 lists.

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

    Hello, is a good video. If I want to add more lines into the body message, how can i do it ? I can use this class or must i use other ?

    • @itwithdustin
      @itwithdustin  2 года назад +2

      Yes, you can use this same class. Simply append more lines of text to the parameter that you're passing. You can find newline characters as static constants of the cl_abap_char_utilities class. Typically, I prefer to create the message with doctype = 'HTM' and construct the e-mail as an HTML message. This allows for formatting, tables, etc. Thanks for watching!

  • @humamattar2652
    @humamattar2652 9 месяцев назад

    i would like to know if it's possible to add more than one sheet in the same excel file ? could you please advice 😊

    • @itwithdustin
      @itwithdustin  9 месяцев назад

      I think you can do this by using abap2xlsx or some third party library like that. I don’t know that it’s possible with native ABAP, but I could be wrong.

  • @NisarAhmed-sq4bo
    @NisarAhmed-sq4bo 6 месяцев назад

    very great video

  • @saiphanindrab5752
    @saiphanindrab5752 3 года назад

    Hi Dustin,
    I am just running a background job and after its done sending the spool data to mail which is given in the selection screen.
    Problem: After sending mail the mail is updating in adr6 table. I don't know why it's updating.Please tell me

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

      Hi, if you could send me an email with the specifics, I’d be happy to take a look: dustin@dustinredmond.com

  • @hamadahmad8201
    @hamadahmad8201 3 года назад +1

    Amazing...

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

      Glad I could help! Please leave suggestions as to what you want to see next. My video ideas come directly from subscriber requests.

  • @rachupatil5980
    @rachupatil5980 3 года назад

    Hi Thank you for your videos,
    Can you create videos on table maintenance events like while saving or deleting?

    • @itwithdustin
      @itwithdustin  3 года назад

      Hi Rachu, thanks for watching! Do you mean by events in generated Table Maintenance views via SE11 transaction? I will try to cover this topic in future videos.

  • @ss-de5mm
    @ss-de5mm 3 года назад

    Please make some videos in ale Idocs

  • @ugurkranta4080
    @ugurkranta4080 3 года назад

    Hello sir , i have a reqıirement about this topic. I would like to run the abap program and I want to enter a date in the selection screen. After I enter that date and run. I want to recieve email. Actually I have a table where there are different stores and their sells. For example if I enter the date 21.11.2021, I want to recieve email about the stores that has sells at that date.Can you please help me for the code of this abap program ?

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

      bro do u meet that
      requirement

  • @dixitabhargava6706
    @dixitabhargava6706 3 года назад

    I can’t use the to_xml field is unknown.. could you please help?

    • @itwithdustin
      @itwithdustin  3 года назад

      Hello, to_xml( ) is an instance method on class cl_salv_table. What version of SAP are you on, this should work on ECC6 as well as HANA.

    • @dixitabhargava6706
      @dixitabhargava6706 3 года назад

      @@itwithdustin 760 it is

    • @itwithdustin
      @itwithdustin  3 года назад

      And you’re sure you have an instance of cl_salv_table? This method has been around for a while. I could understand if you were using cl_gui_alv_grid, but cl_salv_table class should work. Do you mind sharing your code? My e-mail is dustin@dustinredmond.com if you need further assistance.

  • @Usharani-ys5cc
    @Usharani-ys5cc 2 года назад

    How to add cc to it ?

    • @Usharani-ys5cc
      @Usharani-ys5cc 2 года назад

      I have marked the i_copy = 'C'

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

      Hi, yes, you can do CC or BCC by passing one of the constants of class CL_BCS_MESSAGE (GC_CC or GC_BCC) to the IV_COPY parameter of the ADD_RECIPIENT method. This should do the trick.

    • @Usharani-ys5cc
      @Usharani-ys5cc 2 года назад

      Do we need to call add_recipient method twice? One for To recipient and another for Cc from one sender?

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

      @@Usharani-ys5cc Yes, add_recipient must be called for each recipient. This is typically done in a loop.

    • @Usharani-ys5cc
      @Usharani-ys5cc 2 года назад

      @@itwithdustin thank you very much.. you did my day