#6
|
|||
|
|||
Yo lo que hice despues de utilizar esa función es enviar el PDF como adjunto vía email, y me adjunto el pdf normalmente.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = ls_doc_chng put_in_outbox = 'X' TABLES packing_list = lt_objpack contents_bin = lt_objbin contents_txt = lt_objtxt receivers = lt_recipients EXCEPTIONS too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error = 7 OTHERS = 8. IF sy-subrc EQ 0. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. ENDIF. lt_objbin es la tabla que me devolvió la función, tal vez te sirva de ayuda. Tal vez puedas utilizar la GUI_DOWNLOAD con el siguiente parámetro: filetype = 'BIN' Saludos |
Herramientas | Buscar en Tema |
Desplegado | |
|
|