Skip to Content
author's profile photo Former Member
Former Member

How to correct errors in EPC

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)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2008 at 08:46 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.