Application Development 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: 

How to correct errors in EPC

Former Member
0 Kudos

hi all,

when i run EPC i am placing errors as below can any one help me regarding this

Messages for Field Attributes(Warnings)

Program: ZCA0R_ORDER_COMPONENTS Row: 1819

Field L_CHAR is not referenced statically in the program

(The message can be hidden with "#EC NEEDED)

The program line is as below

FORM f4_on_chara_vals USING p_fld TYPE any.

DATA: l_t_ret_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE ,

l_class LIKE klah-class ,

line 1819 l_char LIKE cabnt-atbez.

Program: ZCA0R_ORDER_COMPONENTS Row: 251

No read access to table T_MAKT[]

(The message can be hidden with "#EC NEEDED)

The program line is as below

line no 251: t_makt LIKE STANDARD TABLE OF wa_makt,

Program: ZCA0R_ORDER_COMPONENTS Row: 292

No read access to field string WA_PROD_ORD

(The message can be hidden with "#EC NEEDED)

line no 292 : wa_prod_ord LIKE LINE OF t_prod_ord,

Program: ZCA0R_ORDER_COMPONENTS Row: 354

No read access to field T_BDTER

(The message can be hidden with "#EC NEEDED)

t_bdter TYPE scal-date,

Program: ZCA0R_ORDER_COMPONENTS Row: 1162

No read access to field L_DATUB

(The message can be hidden with "#EC NEEDED)

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

Field L_CHAR is not referenced statically in the program

(The message can be hidden with "#EC NEEDED)

This mean that l_char is not used in the program. You have to remove it from the declarations.

No read access to table T_MAKT[]

(The message can be hidden with "#EC NEEDED)

This mean that You are not processing t_makt table.

No read access to field string WA_PROD_ORD

(The message can be hidden with "#EC NEEDED)

You are not processing the string wa_prod_ord.

No read access to field T_BDTER

(The message can be hidden with "#EC NEEDED)

You are not using the field t_bdter in the processing.

No read access to field L_DATUB

(The message can be hidden with "#EC NEEDED)

you are not using the field l_datub in the processing.

To remove all these EPC errors by removing their declarations in the program. or can be hidden by using #EC NEEDED at the declaraction of each of field or table.

Reward.

1 REPLY 1

Former Member
0 Kudos

HI,

Field L_CHAR is not referenced statically in the program

(The message can be hidden with "#EC NEEDED)

This mean that l_char is not used in the program. You have to remove it from the declarations.

No read access to table T_MAKT[]

(The message can be hidden with "#EC NEEDED)

This mean that You are not processing t_makt table.

No read access to field string WA_PROD_ORD

(The message can be hidden with "#EC NEEDED)

You are not processing the string wa_prod_ord.

No read access to field T_BDTER

(The message can be hidden with "#EC NEEDED)

You are not using the field t_bdter in the processing.

No read access to field L_DATUB

(The message can be hidden with "#EC NEEDED)

you are not using the field l_datub in the processing.

To remove all these EPC errors by removing their declarations in the program. or can be hidden by using #EC NEEDED at the declaraction of each of field or table.

Reward.