Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms

amit_khare
Active Contributor
0 Kudos

Hi,

I wat to send my smartform through fax.

Isthere any function module present for that.

A sample code will be very helpful.

Thanx in advance,

Amit.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos
Hi Using this Fm..
SO_OBJECT_SEND

CALL FUNCTION 'SO_OBJECT_SEND'
     EXPORTING
*         EXTERN_ADDRESS             = ' '
*         FOLDER_ID                  = ' '
*         FORWARDER                  = ' '
*         OBJECT_FL_CHANGE           = ' '
          OBJECT_HD_CHANGE           = OBJ_HD_CHANGE
*         OBJECT_ID                  = ' '
          OBJECT_TYPE                = OBJ_TYPE
          OUTBOX_FLAG                = 'X' "fax into outbox
*         STORE_FLAG                 = ' '
*         DELETE_FLAG                = ' '
*         CHECK_ALREADY_SENT         = ' '
*         GIVE_OBJECT_BACK           =
          ORIGINATOR                 = ORIGINATOR            "B20K062716
          ORIGINATOR_TYPE            = 'B'                   "
     IMPORTING
          OBJECT_ID_NEW              = OBJ_ID_NEW
          SENT_TO_ALL                = sent_to_all
*         OFFICE_OBJECT_KEY          =
     TABLES
          OBJCONT                    = OFF_TAB
          OBJHEAD                    = HEAD_TAB
*         OBJPARA                    =
*         OBJPARB                    =
          RECEIVERS                  = REC_TAB
*         PACKING_LIST               =
*         ATT_CONT                   =
*         ATT_HEAD                   =
*         NOTE_TEXT                  =
*         LINK_LIST                  =
     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
          OBJECT_NO_AUTHORIZATION    = 10
          OBJECT_TYPE_NOT_EXIST      = 11
          OPERATION_NO_AUTHORIZATION = 12
          OWNER_NOT_EXIST            = 13
          PARAMETER_ERROR            = 14
          SUBSTITUTE_NOT_ACTIVE      = 15
          SUBSTITUTE_NOT_DEFINED     = 16
          SYSTEM_FAILURE             = 17
          TOO_MUCH_RECEIVERS         = 18
          USER_NOT_EXIST             = 19
          X_ERROR                    = 20
          OTHERS                     = 21.

regards

vijay

4 REPLIES 4

Former Member
0 Kudos

Hi Amit,

check this link it may help you.

regards,

venu.

0 Kudos

Thanx Venu .

It has solved the problem

Due to some error i am not able to reward points. I'll surely do ASAP.

AMIT.

former_member188685
Active Contributor
0 Kudos
Hi Using this Fm..
SO_OBJECT_SEND

CALL FUNCTION 'SO_OBJECT_SEND'
     EXPORTING
*         EXTERN_ADDRESS             = ' '
*         FOLDER_ID                  = ' '
*         FORWARDER                  = ' '
*         OBJECT_FL_CHANGE           = ' '
          OBJECT_HD_CHANGE           = OBJ_HD_CHANGE
*         OBJECT_ID                  = ' '
          OBJECT_TYPE                = OBJ_TYPE
          OUTBOX_FLAG                = 'X' "fax into outbox
*         STORE_FLAG                 = ' '
*         DELETE_FLAG                = ' '
*         CHECK_ALREADY_SENT         = ' '
*         GIVE_OBJECT_BACK           =
          ORIGINATOR                 = ORIGINATOR            "B20K062716
          ORIGINATOR_TYPE            = 'B'                   "
     IMPORTING
          OBJECT_ID_NEW              = OBJ_ID_NEW
          SENT_TO_ALL                = sent_to_all
*         OFFICE_OBJECT_KEY          =
     TABLES
          OBJCONT                    = OFF_TAB
          OBJHEAD                    = HEAD_TAB
*         OBJPARA                    =
*         OBJPARB                    =
          RECEIVERS                  = REC_TAB
*         PACKING_LIST               =
*         ATT_CONT                   =
*         ATT_HEAD                   =
*         NOTE_TEXT                  =
*         LINK_LIST                  =
     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
          OBJECT_NO_AUTHORIZATION    = 10
          OBJECT_TYPE_NOT_EXIST      = 11
          OPERATION_NO_AUTHORIZATION = 12
          OWNER_NOT_EXIST            = 13
          PARAMETER_ERROR            = 14
          SUBSTITUTE_NOT_ACTIVE      = 15
          SUBSTITUTE_NOT_DEFINED     = 16
          SYSTEM_FAILURE             = 17
          TOO_MUCH_RECEIVERS         = 18
          USER_NOT_EXIST             = 19
          X_ERROR                    = 20
          OTHERS                     = 21.

regards

vijay

0 Kudos

Thanx Vijay .It has solved the problem

Due to some error i am not able to reward points. I'll surely do ASAP.

AMIT.