Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Error generating the selection screen

$
0
0

Hi Gita

 

There is problem with your code , below is your code

 

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 char20  DEFAULT 'rdisp/btctime'"SPFPFLPAR-PARNAME

   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.


i just removed  SPFPFLPAR-PARNAME from parameter lv_name and passed type char20 it worked reason is below


SELECTION-SCREEN COMMENT 10(10) scr_pnam FOR FIELD lv_name. 10+ 10 = 20 + lv_name ( which is character 60 makes it 80 and then you are trying to place another parameter at 50, it will not work,


so a bit twist in your code will make it work , hope i have given you reason. there is a problem with the positioning of the parameter.


cheers






Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>