Hello All,
I get an error when activating the report pgm with below code.
"Error when generating the selection screen'
I am assuming the problem is with the value provided in the Selection-screen comment. Tried changing it many times and gave up.
It works allright when I comment out those two lines (Selection-screen comment).
What is wrong in this code? Any ideas?
Thanks.
****************************************************************
SELECTION-SCREEN BEGIN OF BLOCK param WITH FRAME TITLE frame.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(10) scr_pnam FOR FIELD lv_name.
PARAMETERS: lv_name TYPE SPFPFLPAR-PARNAME DEFAULT 'rdisp/btctime'.
SELECTION-SCREEN COMMENT 50(10) scr_pval FOR FIELD lv_value.
PARAMETERS: lv_value TYPE spfpflpar-pvalue VALUE CHECK OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK param.
INITIALIZATION.
frame = 'プロファイルパラメータ更新'.
scr_pnam = 'パラメータ名'.
scr_pval = 'パラメータ値'.
*****************************************************************