Skip to Content
-1

Filter option FM

May 08 at 09:56 AM

49

avatar image

Hello All,

Can you give more information about this FM :

RSBC_TOOLS_FIELD_SELECTION

Thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Domi Bigl May 09 at 03:35 PM
1

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

filter.png (15.6 kB)
filter-option.png (20.7 kB)
0

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

0