SAP SO_JOB_SUBMIT Function Module for
SO_JOB_SUBMIT is a standard so job submit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for so job submit FM, simply by entering the name SO_JOB_SUBMIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SO04
Program Name: SAPLSO04
Main Program: SAPLSO04
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SO_JOB_SUBMIT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SO_JOB_SUBMIT'".
EXPORTING
METHOD = "
* DELETE_FLAG = ' ' "
* LINK_FOLDER_ID = ' ' "
* ORIGINATOR = ' ' "
* ORIGINATOR_TYPE = 'J' "
* OWNER = ' ' "
* FOLDER_ID = ' ' "
* OBJECT_ID = ' ' "
* FORWARDER = ' ' "
* OBJECT_FL_CHANGE = ' ' "
* OBJECT_HD_CHANGE = ' ' "
* OBJECT_TYPE = ' ' "
* OUTBOX_FLAG = ' ' "
* STORE_FLAG = ' ' "
TABLES
* OBJCONT = "
* NOTE_TEXT = "
* LINK_LIST = "
* APPLICATION_OBJECT = "
* OBJHEAD = "
* OBJPARA = "
* OBJPARB = "
* RECEIVERS = "
* PACKING_LIST = "
* ATT_CONT = "
* ATT_HEAD = "
* OBJECTS = "
IMPORTING Parameters details for SO_JOB_SUBMIT
METHOD -
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
DELETE_FLAG -
Data type: SONV-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LINK_FOLDER_ID -
Data type: SOODKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORIGINATOR -
Data type: SOOS1-RECEXTNAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORIGINATOR_TYPE -
Data type: SOOS1-RECESCDefault: 'J'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OWNER -
Data type: SOUD-USRNAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FOLDER_ID -
Data type: SOODKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_ID -
Data type: SOODKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FORWARDER -
Data type: SOUD-USRNAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_FL_CHANGE -
Data type: SOFM1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_HD_CHANGE -
Data type: SOOD1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_TYPE -
Data type: SOOD-OBJTPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OUTBOX_FLAG -
Data type: SONV-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
STORE_FLAG -
Data type: SONV-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SO_JOB_SUBMIT
OBJCONT -
Data type: SOLIOptional: Yes
Call by Reference: No ( called with pass by value option)
NOTE_TEXT -
Data type: SOLIOptional: Yes
Call by Reference: No ( called with pass by value option)
LINK_LIST -
Data type: SOXLLOptional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION_OBJECT -
Data type: SWOTOBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJHEAD -
Data type: SOLIOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJPARA -
Data type: SELCOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJPARB -
Data type: SOOP1Optional: Yes
Call by Reference: No ( called with pass by value option)
RECEIVERS -
Data type: SOOS1Optional: Yes
Call by Reference: No ( called with pass by value option)
PACKING_LIST -
Data type: SOXPLOptional: Yes
Call by Reference: No ( called with pass by value option)
ATT_CONT -
Data type: SOLIOptional: Yes
Call by Reference: No ( called with pass by value option)
ATT_HEAD -
Data type: SOLIOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJECTS -
Data type: SOOD4Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SO_JOB_SUBMIT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_method | TYPE SY-UCOMM, " | |||
| lt_objcont | TYPE STANDARD TABLE OF SOLI, " | |||
| lt_note_text | TYPE STANDARD TABLE OF SOLI, " | |||
| lv_delete_flag | TYPE SONV-FLAG, " SPACE | |||
| lt_link_list | TYPE STANDARD TABLE OF SOXLL, " | |||
| lv_link_folder_id | TYPE SOODK, " SPACE | |||
| lv_originator | TYPE SOOS1-RECEXTNAM, " SPACE | |||
| lt_application_object | TYPE STANDARD TABLE OF SWOTOBJID, " | |||
| lv_originator_type | TYPE SOOS1-RECESC, " 'J' | |||
| lv_owner | TYPE SOUD-USRNAM, " SPACE | |||
| lt_objhead | TYPE STANDARD TABLE OF SOLI, " | |||
| lv_folder_id | TYPE SOODK, " SPACE | |||
| lt_objpara | TYPE STANDARD TABLE OF SELC, " | |||
| lv_object_id | TYPE SOODK, " SPACE | |||
| lt_objparb | TYPE STANDARD TABLE OF SOOP1, " | |||
| lv_forwarder | TYPE SOUD-USRNAM, " SPACE | |||
| lt_receivers | TYPE STANDARD TABLE OF SOOS1, " | |||
| lv_object_fl_change | TYPE SOFM1, " SPACE | |||
| lt_packing_list | TYPE STANDARD TABLE OF SOXPL, " | |||
| lv_object_hd_change | TYPE SOOD1, " SPACE | |||
| lt_att_cont | TYPE STANDARD TABLE OF SOLI, " | |||
| lv_object_type | TYPE SOOD-OBJTP, " SPACE | |||
| lt_att_head | TYPE STANDARD TABLE OF SOLI, " | |||
| lv_outbox_flag | TYPE SONV-FLAG, " SPACE | |||
| lt_objects | TYPE STANDARD TABLE OF SOOD4, " | |||
| lv_store_flag | TYPE SONV-FLAG. " SPACE |
|   CALL FUNCTION 'SO_JOB_SUBMIT' " |
| EXPORTING | ||
| METHOD | = lv_method | |
| DELETE_FLAG | = lv_delete_flag | |
| LINK_FOLDER_ID | = lv_link_folder_id | |
| ORIGINATOR | = lv_originator | |
| ORIGINATOR_TYPE | = lv_originator_type | |
| OWNER | = lv_owner | |
| FOLDER_ID | = lv_folder_id | |
| OBJECT_ID | = lv_object_id | |
| FORWARDER | = lv_forwarder | |
| OBJECT_FL_CHANGE | = lv_object_fl_change | |
| OBJECT_HD_CHANGE | = lv_object_hd_change | |
| OBJECT_TYPE | = lv_object_type | |
| OUTBOX_FLAG | = lv_outbox_flag | |
| STORE_FLAG | = lv_store_flag | |
| TABLES | ||
| OBJCONT | = lt_objcont | |
| NOTE_TEXT | = lt_note_text | |
| LINK_LIST | = lt_link_list | |
| APPLICATION_OBJECT | = lt_application_object | |
| OBJHEAD | = lt_objhead | |
| OBJPARA | = lt_objpara | |
| OBJPARB | = lt_objparb | |
| RECEIVERS | = lt_receivers | |
| PACKING_LIST | = lt_packing_list | |
| ATT_CONT | = lt_att_cont | |
| ATT_HEAD | = lt_att_head | |
| OBJECTS | = lt_objects | |
| . " SO_JOB_SUBMIT | ||
ABAP code using 7.40 inline data declarations to call FM SO_JOB_SUBMIT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single UCOMM FROM SY INTO @DATA(ld_method). | ||||
| "SELECT single FLAG FROM SONV INTO @DATA(ld_delete_flag). | ||||
| DATA(ld_delete_flag) | = ' '. | |||
| DATA(ld_link_folder_id) | = ' '. | |||
| "SELECT single RECEXTNAM FROM SOOS1 INTO @DATA(ld_originator). | ||||
| DATA(ld_originator) | = ' '. | |||
| "SELECT single RECESC FROM SOOS1 INTO @DATA(ld_originator_type). | ||||
| DATA(ld_originator_type) | = 'J'. | |||
| "SELECT single USRNAM FROM SOUD INTO @DATA(ld_owner). | ||||
| DATA(ld_owner) | = ' '. | |||
| DATA(ld_folder_id) | = ' '. | |||
| DATA(ld_object_id) | = ' '. | |||
| "SELECT single USRNAM FROM SOUD INTO @DATA(ld_forwarder). | ||||
| DATA(ld_forwarder) | = ' '. | |||
| DATA(ld_object_fl_change) | = ' '. | |||
| DATA(ld_object_hd_change) | = ' '. | |||
| "SELECT single OBJTP FROM SOOD INTO @DATA(ld_object_type). | ||||
| DATA(ld_object_type) | = ' '. | |||
| "SELECT single FLAG FROM SONV INTO @DATA(ld_outbox_flag). | ||||
| DATA(ld_outbox_flag) | = ' '. | |||
| "SELECT single FLAG FROM SONV INTO @DATA(ld_store_flag). | ||||
| DATA(ld_store_flag) | = ' '. | |||
Search for further information about these or an SAP related objects