RSPO_L_RETURN_BIN_DATA 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 RSPO_L_RETURN_BIN_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SPRR
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSPO_L_RETURN_BIN_DATA' "
EXPORTING
rq = " tsp01sys
* list_first = 1 " rspotype-page
* list_count = 0 " rspotype-page
* list_end = ' ' " rspotype-mode
* otf_first = 1 " rspotype-page
* otf_count = 0 " rspotype-page
* otf_end = ' ' " rspotype-mode
* short = 'X' " rspotype-mode General Flag
IMPORTING
more_data = " rspotype-mode
col_header = " rspotype-prtctl
otf_header = " itcoo
last_page = " rspotype-page
codepage = " tsp0a-cpcodepage SAP character set identification
TABLES
* line_buffer = " rspo_dsx Data Set for Data Exchange
page_index = " rspo_index
* line_buffer2 = " rspo_dsx2 Data Set for Data Exchange
EXCEPTIONS
ERROR = 1 "
. " RSPO_L_RETURN_BIN_DATA
The ABAP code below is a full code listing to execute function module RSPO_L_RETURN_BIN_DATA 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_more_data | TYPE RSPOTYPE-MODE , |
| ld_col_header | TYPE RSPOTYPE-PRTCTL , |
| ld_otf_header | TYPE ITCOO , |
| ld_last_page | TYPE RSPOTYPE-PAGE , |
| ld_codepage | TYPE TSP0A-CPCODEPAGE , |
| it_line_buffer | TYPE STANDARD TABLE OF RSPO_DSX,"TABLES PARAM |
| wa_line_buffer | LIKE LINE OF it_line_buffer , |
| it_page_index | TYPE STANDARD TABLE OF RSPO_INDEX,"TABLES PARAM |
| wa_page_index | LIKE LINE OF it_page_index , |
| it_line_buffer2 | TYPE STANDARD TABLE OF RSPO_DSX2,"TABLES PARAM |
| wa_line_buffer2 | LIKE LINE OF it_line_buffer2 . |
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_more_data | TYPE RSPOTYPE-MODE , |
| ld_rq | TYPE TSP01SYS , |
| it_line_buffer | TYPE STANDARD TABLE OF RSPO_DSX , |
| wa_line_buffer | LIKE LINE OF it_line_buffer, |
| ld_col_header | TYPE RSPOTYPE-PRTCTL , |
| ld_list_first | TYPE RSPOTYPE-PAGE , |
| it_page_index | TYPE STANDARD TABLE OF RSPO_INDEX , |
| wa_page_index | LIKE LINE OF it_page_index, |
| ld_otf_header | TYPE ITCOO , |
| ld_list_count | TYPE RSPOTYPE-PAGE , |
| it_line_buffer2 | TYPE STANDARD TABLE OF RSPO_DSX2 , |
| wa_line_buffer2 | LIKE LINE OF it_line_buffer2, |
| ld_last_page | TYPE RSPOTYPE-PAGE , |
| ld_list_end | TYPE RSPOTYPE-MODE , |
| ld_codepage | TYPE TSP0A-CPCODEPAGE , |
| ld_otf_first | TYPE RSPOTYPE-PAGE , |
| ld_otf_count | TYPE RSPOTYPE-PAGE , |
| ld_otf_end | TYPE RSPOTYPE-MODE , |
| ld_short | TYPE RSPOTYPE-MODE . |
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 RSPO_L_RETURN_BIN_DATA or its description.