Use FM RSPC_POPUP_DATE_SELECTION :
Use FM RSPC_POPUP_DATE_SELECTION :
Have a look on program : RSDEMO_CUSTOM_CONTROL. to insert an image in Dynpro (not selection screen)
check the code below :
Read More⚠️ This code works only if range values are restricted to Include Equal (I EQ) and domain values are not range of values.
Example of calling code :
DATA : lv_wrong_value TYPE domvalue_l.
PERFORM f_check_range_val_from_domain USING 'MTART'
s_mtart[]
CHANGING lv_wrong_value.
IF lv_wrong_value IS NOT INITIAL.
SET CURSOR FIELD 'S_MTART-LOW' ##NO_TEXT.
MESSAGE i001(zz) WITH lv_wrong_value DISPLAY LIKE 'E'.
" Material type &1 is not valid
ENDIF.
Sample code :
PARAMETERS : p_field TYPE ztype AS LISTBOX VISIBLE LENGTH 25.
* If the ZTYPE has a domain with values, values will be autmatically
* displayed.
If your type has no values in domain or if you want to change the dropdown list values use FM VRM_SET_VALUES in initialization:
Read MoreCode example to display a HTML docker container on the right of a selection screen (to display help for instance).
Read MoreCheck program DEMO_SEL_SCREEN_WITH_TABSTRIP.
Check code below
Read MoreUse FM SELECT_OPTIONS_RESTRICT.