SO_OBJECT_SEND_ASYNCHRON is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SO_OBJECT_SEND_ASYNCHRON into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SOA2
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'SO_OBJECT_SEND_ASYNCHRON' "Send in SAPoffice and Externally
* EXPORTING
* folder_id = SPACE " soodk Existing object: Folder ID
* forwarder = SPACE " soud-usrnam Existing object: Name of forwarder
* object_fl_change = SPACE " sofm1 New object: Folder information
* object_hd_change = SPACE " sood1 New object: General header data
* object_id = SPACE " soodk Existing object: ID of object
* object_type = SPACE " sood-objtp New object: Object type
* outbox_flag = SPACE " sonv-flag Object should be stored in outbox
* store_flag = SPACE " sonv-flag
* delete_flag = SPACE " sonv-flag
* link_folder_id = SPACE " soodk
* originator = SPACE " soos1-recextnam
* originator_type = 'J' " soos1-recesc
* owner = SPACE " soud-usrnam User responsible for the transmission process
TABLES
* objcont = " soli New object: Contents
* objhead = " soli New object: Specific header data
* objpara = " selc New object: Parameter for transaction/report
* objparb = " soop1 New object: Parameter for dialog/function
receivers = " soos1 Recipient table with send attributes
* packing_list = " soxpl
* att_cont = " soli
* att_head = " soli
* note_text = " soli
* link_list = " soxll
* application_object = " swotobjid
. " SO_OBJECT_SEND_ASYNCHRON
The ABAP code below is a full code listing to execute function module SO_OBJECT_SEND_ASYNCHRON including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_objcont | TYPE STANDARD TABLE OF SOLI,"TABLES PARAM |
| wa_objcont | LIKE LINE OF it_objcont , |
| it_objhead | TYPE STANDARD TABLE OF SOLI,"TABLES PARAM |
| wa_objhead | LIKE LINE OF it_objhead , |
| it_objpara | TYPE STANDARD TABLE OF SELC,"TABLES PARAM |
| wa_objpara | LIKE LINE OF it_objpara , |
| it_objparb | TYPE STANDARD TABLE OF SOOP1,"TABLES PARAM |
| wa_objparb | LIKE LINE OF it_objparb , |
| it_receivers | TYPE STANDARD TABLE OF SOOS1,"TABLES PARAM |
| wa_receivers | LIKE LINE OF it_receivers , |
| it_packing_list | TYPE STANDARD TABLE OF SOXPL,"TABLES PARAM |
| wa_packing_list | LIKE LINE OF it_packing_list , |
| it_att_cont | TYPE STANDARD TABLE OF SOLI,"TABLES PARAM |
| wa_att_cont | LIKE LINE OF it_att_cont , |
| it_att_head | TYPE STANDARD TABLE OF SOLI,"TABLES PARAM |
| wa_att_head | LIKE LINE OF it_att_head , |
| it_note_text | TYPE STANDARD TABLE OF SOLI,"TABLES PARAM |
| wa_note_text | LIKE LINE OF it_note_text , |
| it_link_list | TYPE STANDARD TABLE OF SOXLL,"TABLES PARAM |
| wa_link_list | LIKE LINE OF it_link_list , |
| it_application_object | TYPE STANDARD TABLE OF SWOTOBJID,"TABLES PARAM |
| wa_application_object | LIKE LINE OF it_application_object . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_folder_id | TYPE SOODK , |
| it_objcont | TYPE STANDARD TABLE OF SOLI , |
| wa_objcont | LIKE LINE OF it_objcont, |
| ld_forwarder | TYPE SOUD-USRNAM , |
| it_objhead | TYPE STANDARD TABLE OF SOLI , |
| wa_objhead | LIKE LINE OF it_objhead, |
| ld_object_fl_change | TYPE SOFM1 , |
| it_objpara | TYPE STANDARD TABLE OF SELC , |
| wa_objpara | LIKE LINE OF it_objpara, |
| ld_object_hd_change | TYPE SOOD1 , |
| it_objparb | TYPE STANDARD TABLE OF SOOP1 , |
| wa_objparb | LIKE LINE OF it_objparb, |
| ld_object_id | TYPE SOODK , |
| it_receivers | TYPE STANDARD TABLE OF SOOS1 , |
| wa_receivers | LIKE LINE OF it_receivers, |
| ld_object_type | TYPE SOOD-OBJTP , |
| it_packing_list | TYPE STANDARD TABLE OF SOXPL , |
| wa_packing_list | LIKE LINE OF it_packing_list, |
| ld_outbox_flag | TYPE SONV-FLAG , |
| it_att_cont | TYPE STANDARD TABLE OF SOLI , |
| wa_att_cont | LIKE LINE OF it_att_cont, |
| ld_store_flag | TYPE SONV-FLAG , |
| it_att_head | TYPE STANDARD TABLE OF SOLI , |
| wa_att_head | LIKE LINE OF it_att_head, |
| ld_delete_flag | TYPE SONV-FLAG , |
| it_note_text | TYPE STANDARD TABLE OF SOLI , |
| wa_note_text | LIKE LINE OF it_note_text, |
| ld_link_folder_id | TYPE SOODK , |
| it_link_list | TYPE STANDARD TABLE OF SOXLL , |
| wa_link_list | LIKE LINE OF it_link_list, |
| it_application_object | TYPE STANDARD TABLE OF SWOTOBJID , |
| wa_application_object | LIKE LINE OF it_application_object, |
| ld_originator | TYPE SOOS1-RECEXTNAM , |
| ld_originator_type | TYPE SOOS1-RECESC , |
| ld_owner | TYPE SOUD-USRNAM . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SO_OBJECT_SEND_ASYNCHRON or its description.