PDA

Ver la Versión Completa : Problema al enviar PDF por FAX URGENTE AYUDA


atorre34
17/09/09, 23:10:40
Hola, tengo el siguiente problema:
A travez de un programa Z estoy generando unos formularios (SAP Script), que son enviados a la transaccion SOST, en esta transaccion un batch los envia, unos a direcciones email y otros a numeros fax, de acuerdo al customer master, pero el tema es que no todos los enviados a fax fallan, solo algunos. Aqui el correo de retorno que me da el Fax Server:

FaxPress User: FF_FI_08
Fax Recipient Information:
Fax Number: 12539247861

Fax Mail Subject: Statement: 510279200909111125 / Customer: 510279

Could not convert attached file(s) to faxable format.

Si alguien tiene algun comentario, agradecere mucho.

Adrian.

Adriana Anestoso
08/05/13, 17:38:56
Para quienes les sirva:

tuve el mismo problema lo solucione asi:
mandar a spool el sapscript ,


DATA: lw_fax TYPE itcpp, l_faxok,
li_buffer_pdf LIKE tline OCCURS 100 .

* Capture receiver data
lw_fax-tdimmed = c_x.
lw_fax-tdteleland = w_fax2-country."Country
lw_fax-tdtelenum = w_fax2-faxnr_long.
lw_fax-tddevice = 'TELEFAX'.
lw_fax-tdcover = space.
lw_fax-tdgetotf = c_x.


*Get data spool number
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = v_id_spool"numero de spool
desired_type = 'OTF'
TABLES
buffer = li_buffer_pdf
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid
TYPE sy-msgty
NUMBER sy-msgno
WITH sy-msgv1
sy-msgv2
sy-msgv3
sy-msgv4.
ENDIF.

* Send fax
CALL FUNCTION 'CONVERT_OTF_AND_FAX'
EXPORTING
faxoptions = lw_fax
user = sy-uname
IMPORTING
fax_ok = l_faxok
TABLES
otf = li_buffer_pdf.
COMMIT WORK.

IF sy-subrc EQ 0.

MESSAGE s208(00)
WITH text-001 .

ENDIF.


desafortunadamente yo no tuve como probar, pero cuando alfin jalo, fue cuando en la sost(o scot) lo visualize tal como se imprimia el sapscript.

espero les ayude saludos!!