SAP ABAP - Send Email
REPORT ztest_email . *Prepare Mail Object DATA : lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL . CLASS cl_bcs DEFINITION LOAD . DATA : lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL . DATA : i_text TYPE bcsy_text . DATA : w_text LIKE LINE OF i_text . DATA : lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL . DATA : lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL . PARAMETERS : p_email TYPE adr6 - smtp_addr . PARAMETERS : p_sub TYPE char50 . PARAMETERS : p_send AS CHECKBOX . START-OF-SELECTION . lo_send_request = cl_bcs => create_pe...