#1
|
|||
|
|||
Correo con copia con send_request
Hola, necesito enviar un correo con copia, logro el primer remitente pero no se colocarle la 2da dirección. estoy utilzando lo siguiente:
gracias ****Create the Subject Line l_subject = it_subject-line. **** Create Persistent Send Request send_request = cl_bcs=>create_persistent( ). ****Create the document Body l_mailtext = cl_document_bcs=>string_to_soli( it_salida2 ). document = cl_document_bcs=>create_document( i_type = 'TXT' i_text = l_mailtext i_subject = l_subject ). ****Add Document to Send Request send_request->set_document( document ). ****Get the Sender Object from the Current Logged on User sender = cl_sapuser_bcs=>create( sy-uname ). ****Add Sender to the Send Request send_request->set_sender( sender ). ****Create recipient(s) recipient = cl_cam_address_bcs=>create_internet_address( it_salida-usrid ). send_request->add_recipient( recipient ). |
Herramientas | Buscar en Tema |
Desplegado | |
|
|