Add selection option in SAP LSMW

Add selection parameters to LSMW conversion routine.
Something like this:

Add coding to __GLOBAL_DATA__ of conversion rule.

SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE t_b1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (30) t_s1 FOR FIELD pa_bukrs.
SELECTION-SCREEN POSITION 32.
PARAMETERS: pa_bukrs TYPE bukrs OBLIGATORY.
SELECTION-SCREEN COMMENT (30) t_c1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (30) t_d1 FOR FIELD pa_datum.
PARAMETERS: pa_datum TYPE DATUM OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pa_para as checkbox default abap_true.
SELECTION-SCREEN COMMENT (30) t_p1 FOR FIELD pa_para.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK a.
INITIALIZATION.

t_b1 = 'Selection'.
t_s1 = 'Company code'.
t_c1 = '<- Enter value here'.
t_p1 = 'Display protocol'.
t_d1 = 'Posting date'.

In order to convert date value to text:

WRITE PA_BUDAT TO MAIN-BUDAT.