SAP ABAP - Simple e-mail send from ABAP

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 35

  • @pankajkumaram
    @pankajkumaram 2 роки тому +3

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

  • @mMoshenicK
    @mMoshenicK 9 місяців тому

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

  • @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.

  • @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

  • @muhhammadsami3110
    @muhhammadsami3110 2 роки тому

    Absolutely wonderful tutorial. Thumbs up!

  • @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.

  • @ss-de5mm
    @ss-de5mm 3 роки тому

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

  • @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!

  • @ss-de5mm
    @ss-de5mm 3 роки тому

    Please make some videos in ale Idocs

  • @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

  • @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.

  • @mpredolim
    @mpredolim 2 роки тому

    Kudos Dustin!

  • @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.

  • @NisarAhmed-sq4bo
    @NisarAhmed-sq4bo 6 місяців тому

    very great video

  • @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

  • @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

  • @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.