Skip to Content
0
Former Member
Mar 31, 2008 at 03:34 AM

Sending smartform through fax

10 Views

Hi,

I have used some code to send the smartform through fax.I am able to send it through fax,but i am not getting the document in pdf format.It is coming in raw format.

CALL FUNCTION 'SO_OBJECT_SEND'

EXPORTING

OBJECT_HD_CHANGE = ls_object_hd

OBJECT_TYPE = 'PDF'

OUTBOX_FLAG = 'X'

OWNER = sy-uname

ORIGINATOR = ls_originator

ORIGINATOR_TYPE = 'B'

TABLES

OBJCONT = lt_objbin

RECEIVERS = x_receiver

EXCEPTIONS

ACTIVE_USER_NOT_EXIST = 1

COMMUNICATION_FAILURE = 2

COMPONENT_NOT_AVAILABLE = 3

FOLDER_NOT_EXIST = 4

FOLDER_NO_AUTHORIZATION = 5

FORWARDER_NOT_EXIST = 6

NOTE_NOT_EXIST = 7

OBJECT_NOT_EXIST = 8

OBJECT_NOT_SENT = 9

It is showing sy-subrc value as 9 at this function module.If anyone has worked on similar kind of requirement please let me know.

Its urgent.

Regards,

Hema