RSA1_OLTPSOURCE_GENERATE 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 RSA1_OLTPSOURCE_GENERATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSA1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSA1_OLTPSOURCE_GENERATE' "
EXPORTING
* i_content = ' ' " rsaot_flag
* i_testmode = ' ' " rsaot_flag
* i_save_despite_warning = " rsaot_flag
i_s_oltpsource = " rsaot_s_osgen
i_t_oltpsourcefields = " rsaot_t_osgenfd
i_t_ostext = " rsaot_t_osgentext
* i_t_ossegments = " rsaot_t_ossegments
* i_s_oshiecat = " rsaot_s_ohiecat
* i_t_ohiecom = " rsaot_t_ohiecom
* i_with_dynpro = RSAOT_C_FLAG-ON " rsaot_flag
* i_request = " rsaot_request
* i_devclass = " rsaot_devc
* i_no_transport = RSAOT_C_FLAG-OFF " rsaot_flag
* i_no_authority = RSAOT_C_FLAG-ON " rsaot_flag
* i_objvers = 'A' " rsaot_objvers
* i_s_mddelta = " rsaot_s_mddelta
* i_s_gendelta = " rsaot_s_gendelta
* i_s_dd02v = " rsaot_s_dd02v
* i_t_dd03p = " rsaot_t_dd03p
* i_t_dd05m = " rsaot_t_dd05m
* i_t_dd08v = " rsaot_t_dd08v
* i_t_appfd = " rsaot_t_appfd
* i_s_osesrhdmap = " roesrhdmap
* i_t_osesrfdmap = " rotesrfdmap
IMPORTING
e_t_messages = " rsaot_t_messages
e_request = " rsaot_request
e_devclass = " rsaot_devc
e_subrc = " sy-subrc
e_s_osource = " rsaot_s_osource
EXCEPTIONS
INTERNAL_ERROR = 1 "
TRANSPORT_ERROR = 2 "
LOCKED = 3 "
INCONSISTENT = 4 "
CANCELLED = 5 "
. " RSA1_OLTPSOURCE_GENERATE
The ABAP code below is a full code listing to execute function module RSA1_OLTPSOURCE_GENERATE 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).
| ld_e_t_messages | TYPE RSAOT_T_MESSAGES , |
| ld_e_request | TYPE RSAOT_REQUEST , |
| ld_e_devclass | TYPE RSAOT_DEVC , |
| ld_e_subrc | TYPE SY-SUBRC , |
| ld_e_s_osource | TYPE RSAOT_S_OSOURCE . |
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_e_t_messages | TYPE RSAOT_T_MESSAGES , |
| ld_i_content | TYPE RSAOT_FLAG , |
| ld_e_request | TYPE RSAOT_REQUEST , |
| ld_i_testmode | TYPE RSAOT_FLAG , |
| ld_e_devclass | TYPE RSAOT_DEVC , |
| ld_i_save_despite_warning | TYPE RSAOT_FLAG , |
| ld_e_subrc | TYPE SY-SUBRC , |
| ld_i_s_oltpsource | TYPE RSAOT_S_OSGEN , |
| ld_e_s_osource | TYPE RSAOT_S_OSOURCE , |
| ld_i_t_oltpsourcefields | TYPE RSAOT_T_OSGENFD , |
| ld_i_t_ostext | TYPE RSAOT_T_OSGENTEXT , |
| ld_i_t_ossegments | TYPE RSAOT_T_OSSEGMENTS , |
| ld_i_s_oshiecat | TYPE RSAOT_S_OHIECAT , |
| ld_i_t_ohiecom | TYPE RSAOT_T_OHIECOM , |
| ld_i_with_dynpro | TYPE RSAOT_FLAG , |
| ld_i_request | TYPE RSAOT_REQUEST , |
| ld_i_devclass | TYPE RSAOT_DEVC , |
| ld_i_no_transport | TYPE RSAOT_FLAG , |
| ld_i_no_authority | TYPE RSAOT_FLAG , |
| ld_i_objvers | TYPE RSAOT_OBJVERS , |
| ld_i_s_mddelta | TYPE RSAOT_S_MDDELTA , |
| ld_i_s_gendelta | TYPE RSAOT_S_GENDELTA , |
| ld_i_s_dd02v | TYPE RSAOT_S_DD02V , |
| ld_i_t_dd03p | TYPE RSAOT_T_DD03P , |
| ld_i_t_dd05m | TYPE RSAOT_T_DD05M , |
| ld_i_t_dd08v | TYPE RSAOT_T_DD08V , |
| ld_i_t_appfd | TYPE RSAOT_T_APPFD , |
| ld_i_s_osesrhdmap | TYPE ROESRHDMAP , |
| ld_i_t_osesrfdmap | TYPE ROTESRFDMAP . |
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 RSA1_OLTPSOURCE_GENERATE or its description.