2008 Mar 20 8:53 AM
I am developing z alv report. When i check the program using code inspector, i got the following error, warning and information messages. Please provide me alternative logic or how to hide. See the following message and the effected code in the program.
Error message
(1) Char. strings w/o text elements will not be translated:
CONCATENATE 'bukrs = ''' p_bukrs ''''
' AND blart IN s_blart '
' AND budat IN s_budat '
' AND waers = ''' p_waers '''' INTO l_where_clause.
Warning messages
(1)Field string BKPF is not referenced statically in the program
TABLES : bkpf.
(2) FORM TOP_OF_PAGE not called directly (check dynamic PERFORMs!!)
FORM top_of_page.
List body comment block output
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_comment.
ENDFORM. "TOP_OF_PAGE
Information message
(1) Selection text or parameter for selection field P_RADIO1 is not maintained
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p_radio1 RADIOBUTTON GROUP gr1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 3(75) text-002 FOR FIELD p_radio1.
SELECTION-SCREEN END OF LINE.
I will reward, if it useful,
Thanks in advance
With regards,
Malli B
2008 Mar 20 8:58 AM
hi,
Create a text element as shown below
1) Char. strings w/o text elements will not be translated:
CONCATENATE 'bukrs = ''' p_bukrs ''''(001)
' AND blart IN s_blart '(002)
' AND budat IN s_budat '(003)
' AND waers = ''' p_waers ''''(004) INTO l_where_clause.
Remove BKPF table statement
Warning messages
(1)Field string BKPF is not referenced statically in the program
*TABLES : bkpf.
You can ignore this message
(2) FORM TOP_OF_PAGE not called directly (check dynamic PERFORMs!!)
FORM top_of_page.
List body comment block output
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_comment.
ENDFORM. "TOP_OF_PAGE
I am developing z alv report. When i check the program using code inspector, i got the following error, warning and information messages. Please provide me alternative logic or how to hide. See the following message and the effected code in the program.
Error message
(1) Char. strings w/o text elements will not be translated:
CONCATENATE 'bukrs = ''' p_bukrs ''''
' AND blart IN s_blart '
' AND budat IN s_budat '
' AND waers = ''' p_waers '''' INTO l_where_clause.
Warning messages
(1)Field string BKPF is not referenced statically in the program
TABLES : bkpf.
(2) FORM TOP_OF_PAGE not called directly (check dynamic PERFORMs!!)
FORM top_of_page.
List body comment block output
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_comment.
ENDFORM. "TOP_OF_PAGE
Information message
(1) Selection text or parameter for selection field P_RADIO1 is not maintained
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p_radio1 RADIOBUTTON GROUP gr1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 3(75) text-002 FOR FIELD p_radio1.
SELECTION-SCREEN END OF LINE.
I will reward, if it useful,
Thanks in advance
With regards,
Malli B
2008 Mar 20 8:58 AM
hi,
Create a text element as shown below
1) Char. strings w/o text elements will not be translated:
CONCATENATE 'bukrs = ''' p_bukrs ''''(001)
' AND blart IN s_blart '(002)
' AND budat IN s_budat '(003)
' AND waers = ''' p_waers ''''(004) INTO l_where_clause.
Remove BKPF table statement
Warning messages
(1)Field string BKPF is not referenced statically in the program
*TABLES : bkpf.
You can ignore this message
(2) FORM TOP_OF_PAGE not called directly (check dynamic PERFORMs!!)
FORM top_of_page.
List body comment block output
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_comment.
ENDFORM. "TOP_OF_PAGE
2008 Mar 20 8:58 AM
Hi
1) for text you need to create text elements when you are having small letter
2) remove it is not used in the report
3) the table is not called in the repor if not called comment it or remove it
4) this is because of selection text in text element,you can put the #ec needed or code given by the SCI
regards
Shiva
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |