Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Filter option FM

former_member421809
Participant
0 Likes
1,250

Hello All,

Can you give more information about this FM :

RSBC_TOOLS_FIELD_SELECTION

Thanks in advance

Hello All,

Can you give more information about this FM :

RSBC_TOOLS_FIELD_SELECTION

Thanks in advance

3 REPLIES 3
Read only

Domi
Active Contributor
1,059

Hi

This is a SAP standard function module of function group RSBC_TOOLS. It's inside package RSBCMD of the application component BW-WHM-DST.

If you need different information, please ask in more detail!


regards

Domi

Read only

0 Likes
1,058

I use this FM :

But i didn't get the filter function that i want

************************************************************************

data ct_field type RSAOS_T_FIELDNM.
data cs_field type RSFIELDNM.
cs_field = 'col1' .
APPEND cs_field to ct_field.
cs_field = 'col2' .
APPEND cs_field to ct_field.

CALL FUNCTION 'RSBC_TOOLS_FIELD_SELECTION'
EXPORTING
i_title_left = 'FJA_left'
i_title_right = 'FJA_right'
i_popup_title = 'FJA_title'
* IS_LAYOUT_DOUBLE_ALV =
* IT_SP_GROUP =
* I_DISPLAY_ONLY =
I_TABNAME = 'ITAB'
* IMPORTING
* E_CANCELLED =
* TABLES
* C_T_FIELDS = ct_field
* EXCEPTIONS
* TABLE_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

********************************************************************

and i have the result :

and in the standard is like this :

So i need the second option to Determine Valuse for filter Criteria


Thanks

Read only

Domi
Active Contributor
0 Likes
1,058

Hi

That's not possible with this FM - it's part of the ALV Grid class CL_GUI_ALV_GRID and it's not that easy to use it separatly!

Maybe there is another solution for your requirement if you give some more infomation!

eg:

  • is it possible to provide an ALV preview with a custom fcode to do the export/save/table update?
  • use an dummy table line to "configure" the fieldcat an filtering before generate the JSON export
  • provide access to a report (transaction launcher, GUID,...) to save some user specific settings and take these to generate the WebUI table
  • ...

regards

Domi