Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error, Warning and Information messages in Code Inspector

Former Member
0 Likes
995

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
618

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

2 REPLIES 2
Read only

Former Member
0 Likes
619

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

Read only

Former Member
0 Likes
618

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