*Usage* Usage is simple. You only have to initialize the component with a unique database key (for INDX table), and name the parameters that user needs to maintain. There are two ways to define the parameter's description: 0.1. 0.2. by reference to a dictionary domain 0.3. by freely entered text A simple foreign key check against a check table is also possible. Unfortunately, I wasn't able to attach specific search help to each cell. It works like this: * initialize parameters "country CLEAR s_parameters. s_parameters-par_name = 'COUNTRY'. s_parameters-domain = 'LAND1_GP'. s_parameters-checktable = 'T005'. s_parameters-checkfield = 'LAND1'. APPEND s_parameters TO t_parameters. "company code CLEAR s_parameters. s_parameters-par_name = 'COMP_CODE'. s_parameters-domain = 'BUKRS'. s_parameters-checktable = 'T001'. s_parameters-checkfield = 'BUKRS'. APPEND s_parameters TO t_parameters. "some custom named parameter CLEAR s_parameters. s_parameters-par_name = 'DUMMY'. s_parameters-description = 'Freely entered name'. APPEND s_parameters TO t_parameters. * create object CREATE OBJECT o_pars EXPORTING i_id = 'SOME_UNIQUE_KEY' it_parameters = t_parameters i_title = 'Title'. It's very easy to get values into your program. Just one statement: v_comp_code = o_pars->get_value( 'COMP_CODE' ). You start the UI (editor) with a single statement too: CALL METHOD o_pars->edit. and it results with:
If user enters invalid value and tries to save, the foreign key check issues an error message:
Another expected functionality: if value changes and user tries to close, an options dialog pops up: 