RSOSC_APPEND_DIALOG_OPEN 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 RSOSC_APPEND_DIALOG_OPEN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSOSCOD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSOSC_APPEND_DIALOG_OPEN' "Open dialog for appends
EXPORTING
i_s_main = " rso_s_main Main object of the append (only A Verison)
i_display_only = RS_C_FALSE " rs_bool 'X'-Display main object only
* i_current_append = " rsappendnm If it is filled, 'Work on Append' is selected by default in the popup
IMPORTING
e_cancelled = " rs_bool True: User cancelled dialog
e_edit_append = " rs_bool User chose to edit append(True) OR main object (False)
e_appendnm = " rsappendnm Name of append (an enhancement)
e_append_txtlg = " string Long text of append
e_wrkmod = " rswrkmod Working mode(Maintain/Delete/etc.)
e_s_main = " rso_s_main Main object of an append
EXCEPTIONS
OBJECT_NOT_FOUND = 1 " The main object was not found
. " RSOSC_APPEND_DIALOG_OPEN
The ABAP code below is a full code listing to execute function module RSOSC_APPEND_DIALOG_OPEN 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_cancelled | TYPE RS_BOOL , |
| ld_e_edit_append | TYPE RS_BOOL , |
| ld_e_appendnm | TYPE RSAPPENDNM , |
| ld_e_append_txtlg | TYPE STRING , |
| ld_e_wrkmod | TYPE RSWRKMOD , |
| ld_e_s_main | TYPE RSO_S_MAIN . |
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_cancelled | TYPE RS_BOOL , |
| ld_i_s_main | TYPE RSO_S_MAIN , |
| ld_e_edit_append | TYPE RS_BOOL , |
| ld_i_display_only | TYPE RS_BOOL , |
| ld_e_appendnm | TYPE RSAPPENDNM , |
| ld_i_current_append | TYPE RSAPPENDNM , |
| ld_e_append_txtlg | TYPE STRING , |
| ld_e_wrkmod | TYPE RSWRKMOD , |
| ld_e_s_main | TYPE RSO_S_MAIN . |
This function module calls the open dialog for appends for a given main
object.
...See here for full SAP fm documentation
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 RSOSC_APPEND_DIALOG_OPEN or its description.