SAP RLB_PRODUCT_LIST_OUTPUT Function Module for









RLB_PRODUCT_LIST_OUTPUT is a standard rlb product list output 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 rlb product list output FM, simply by entering the name RLB_PRODUCT_LIST_OUTPUT into the relevant SAP transaction such as SE37 or SE38.

Function Group: RLB_PRODUCT_LIST
Program Name: SAPLRLB_PRODUCT_LIST
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RLB_PRODUCT_LIST_OUTPUT 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 'RLB_PRODUCT_LIST_OUTPUT'"
EXPORTING
I_T_PRODUCT_LIST = "
* I_WITH_PRODUCT_TRANSPORT = ' ' "
* I_WITH_PRODUCT_PREVIEW = ' ' "
* I_WITH_PRODUCT_TADIR_POPUP = ' ' "
* I_VARIANT_REPORT = "
* I_SCREEN_START_COLUMN = 0 "
* I_SCREEN_START_LINE = 0 "
* I_SCREEN_END_COLUMN = 0 "
* I_SCREEN_END_LINE = 0 "
* I_TITLE = "
* I_MULTIPLE_SELECTION = ' ' "
* I_EXIT_DOUBLE_CLICK_OR_ENTER = ' ' "
* I_WITH_PRODUCT_DISPLAY = ' ' "
* I_WITH_PRODUCT_CHANGE = ' ' "
* I_WITH_PRODUCT_DELETE = ' ' "
* I_WITH_PRODUCT_CHECK = ' ' "
* I_WITH_PRODUCT_WHERE_USED_LIST = ' ' "

IMPORTING
E_CANCELED = "
E_BACK = "
E_EXIT = "
E_PRODUCT_ID = "
E_T_PRODUCT_ID = "
.



IMPORTING Parameters details for RLB_PRODUCT_LIST_OUTPUT

I_T_PRODUCT_LIST -

Data type: RLB_T_PRDL
Optional: No
Call by Reference: Yes

I_WITH_PRODUCT_TRANSPORT -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_PREVIEW -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_TADIR_POPUP -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VARIANT_REPORT -

Data type: SYREPID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SCREEN_START_COLUMN -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SCREEN_START_LINE -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SCREEN_END_COLUMN -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SCREEN_END_LINE -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TITLE -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MULTIPLE_SELECTION -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_EXIT_DOUBLE_CLICK_OR_ENTER -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_DISPLAY -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_CHANGE -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_DELETE -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_CHECK -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WITH_PRODUCT_WHERE_USED_LIST -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RLB_PRODUCT_LIST_OUTPUT

E_CANCELED -

Data type: BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

E_BACK -

Data type: BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

E_EXIT -

Data type: BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

E_PRODUCT_ID -

Data type: RLB_PRODID
Optional: No
Call by Reference: No ( called with pass by value option)

E_T_PRODUCT_ID -

Data type: RLB_T_PRID
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RLB_PRODUCT_LIST_OUTPUT 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_e_canceled  TYPE BOOLEAN, "   
lv_i_t_product_list  TYPE RLB_T_PRDL, "   
lv_i_with_product_transport  TYPE BOOLEAN, "   SPACE
lv_i_with_product_preview  TYPE BOOLEAN, "   SPACE
lv_i_with_product_tadir_popup  TYPE BOOLEAN, "   SPACE
lv_i_variant_report  TYPE SYREPID, "   
lv_i_screen_start_column  TYPE I, "   0
lv_i_screen_start_line  TYPE I, "   0
lv_i_screen_end_column  TYPE I, "   0
lv_i_screen_end_line  TYPE I, "   0
lv_e_back  TYPE BOOLEAN, "   
lv_i_title  TYPE C, "   
lv_e_exit  TYPE BOOLEAN, "   
lv_i_multiple_selection  TYPE BOOLEAN, "   SPACE
lv_e_product_id  TYPE RLB_PRODID, "   
lv_i_exit_double_click_or_enter  TYPE BOOLEAN, "   SPACE
lv_e_t_product_id  TYPE RLB_T_PRID, "   
lv_i_with_product_display  TYPE BOOLEAN, "   SPACE
lv_i_with_product_change  TYPE BOOLEAN, "   SPACE
lv_i_with_product_delete  TYPE BOOLEAN, "   SPACE
lv_i_with_product_check  TYPE BOOLEAN, "   SPACE
lv_i_with_product_where_used_list  TYPE BOOLEAN. "   SPACE

  CALL FUNCTION 'RLB_PRODUCT_LIST_OUTPUT'  "
    EXPORTING
         I_T_PRODUCT_LIST = lv_i_t_product_list
         I_WITH_PRODUCT_TRANSPORT = lv_i_with_product_transport
         I_WITH_PRODUCT_PREVIEW = lv_i_with_product_preview
         I_WITH_PRODUCT_TADIR_POPUP = lv_i_with_product_tadir_popup
         I_VARIANT_REPORT = lv_i_variant_report
         I_SCREEN_START_COLUMN = lv_i_screen_start_column
         I_SCREEN_START_LINE = lv_i_screen_start_line
         I_SCREEN_END_COLUMN = lv_i_screen_end_column
         I_SCREEN_END_LINE = lv_i_screen_end_line
         I_TITLE = lv_i_title
         I_MULTIPLE_SELECTION = lv_i_multiple_selection
         I_EXIT_DOUBLE_CLICK_OR_ENTER = lv_i_exit_double_click_or_enter
         I_WITH_PRODUCT_DISPLAY = lv_i_with_product_display
         I_WITH_PRODUCT_CHANGE = lv_i_with_product_change
         I_WITH_PRODUCT_DELETE = lv_i_with_product_delete
         I_WITH_PRODUCT_CHECK = lv_i_with_product_check
         I_WITH_PRODUCT_WHERE_USED_LIST = lv_i_with_product_where_used_list
    IMPORTING
         E_CANCELED = lv_e_canceled
         E_BACK = lv_e_back
         E_EXIT = lv_e_exit
         E_PRODUCT_ID = lv_e_product_id
         E_T_PRODUCT_ID = lv_e_t_product_id
. " RLB_PRODUCT_LIST_OUTPUT




ABAP code using 7.40 inline data declarations to call FM RLB_PRODUCT_LIST_OUTPUT

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.

 
 
DATA(ld_i_with_product_transport) = ' '.
 
DATA(ld_i_with_product_preview) = ' '.
 
DATA(ld_i_with_product_tadir_popup) = ' '.
 
 
 
 
 
 
 
 
 
DATA(ld_i_multiple_selection) = ' '.
 
 
DATA(ld_i_exit_double_click_or_enter) = ' '.
 
 
DATA(ld_i_with_product_display) = ' '.
 
DATA(ld_i_with_product_change) = ' '.
 
DATA(ld_i_with_product_delete) = ' '.
 
DATA(ld_i_with_product_check) = ' '.
 
DATA(ld_i_with_product_where_used_list) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!