answers.sap.com Open in urlscan Pro
3.123.136.246  Public Scan

URL: https://answers.sap.com/questions/3803902/how-to-avoid-errors-in-epc---field-not-referrenced.html
Submission: On July 04 via manual from DE — Scanned from DE

Form analysis 1 forms found in the DOM

https://community.sap.com/search/

<form action="https://community.sap.com/search/" class="ds-question-detail__search">
  <div class="ds-search"><label class="ds-input__box"><input type="hidden" name="ct" value="qa"><input class="ds-input__control" name="q" type="search" autocomplete="off" value=""><span class="ds-input__placeholder">Search Questions and
        Answers</span><button class="ds-search__button ds-search__button-submit" type="submit" title="Search"><i class="ds-icon-encoded--search"></i></button></label></div>
</form>

Text Content

Diese Website verwendet Cookies und verwandte Technologien, wie in
unserer Datenschutzrichtlinie beschrieben, für Zwecke, die den Betrieb der
Website, Analysen, eine verbesserte Benutzererfahrung oder Werbung umfassen
können. Sie können sich dafür entscheiden, unserer Verwendung dieser
Technologien zuzustimmen oder Ihre eigenen Einstellungen vornehmen.
Einstellungen verwalten Alle akzeptieren Alle verweigern Cookie-Erklärung

Skip to Content

Do you have an S- or P- account?
If so, you need SAP Universal ID. In a few months, SAP Universal ID will be the
only option to login to SAP Community. Without it, you will lose your content
and badges. If you have multiple accounts, use the Consolidation Tool to merge
your content.
Get started with SAP Universal ID
 * Home
 * Community
 * Questions

 * Ask a Question
 * Write a Blog Post
 * Login / Sign-up
 * * Send a Message
   * Manage My Blog Posts
   * Quick Start Guide


Search Questions and Answers

Vote up0Vote down
Former Member
21 03 2008 um 14:52


HOW TO AVOID ERRORS IN EPC - FIELD NOT REFERRENCED STATICALLY IN THE PROGRA

1566 Views
Follow
RSS Feed

Answers

Include Comments
Get RSS Feed

Hi all,

Program: ZCA0R_ORDER_COMPONENTS Row: 342

Field string WA_PROD_ORD_LIST is not referenced statically in the program

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



the contents in line 342 is as below

line no 341 t_prod_ord_list TYPE STANDARD TABLE OF prod_ord,

line no: 342 wa_prod_ord_list LIKE LINE OF t_prod_ord_list,



and prod_ord is declared with types within the program.

pl. give me the solution.



Program: ZCA0R_ORDER_COMPONENTS Row: 353

Table T_GT_FIELDCAT[] is not referenced statically in the program

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

line no: 353 DATA: t_gt_fieldcat TYPE standard table of
slis_t_fieldcat_alv,"CATALOGUE TABLE





like that i got so many errors in epc i.e slin tcode. can any give me the
solution.



 * Add a Comment
   
   HELP TO IMPROVE THIS QUESTION BY ADDING A COMMENT. IF YOU HAVE AN ANSWER FOR
   THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM OF THE PAGE
   INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)


ASSIGNED TAGS

 * ABAP Development

Similar Questions
 * How to reference a field statically in a program?
   Former MemberJul 23, 2008
 * EPC check
   Former MemberFeb 21, 2008

3 Answers
Sort by:
Stimmen
Erstellt
Oldest
Best Answer
Vote up1Vote down
Former Member

Mar 21, 2008 at 04:19 PM

hi use this...



Field string WA_PROD_ORD_LIST is not referenced statically in the program means
it is not used in the program u can comment it or u can delete it.





t_prod_ord_list TYPE STANDARD TABLE OF prod_ord,

use the occurs 0 with header line for this..





Table T_GT_FIELDCAT[] is not referenced statically in the program

comment this line or delete this...



data: t_gt_fieldcat TYPE slis_t_fieldcat_alv is good enough..



regards,

venkat.

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up1Vote down
Former Member

Mar 21, 2008 at 04:20 PM

it seems you are not using those work area, internal tables in your program. If
you are not using then comment it and check out..and then delete it.



Thanks,

Srinivas

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up0Vote down
Former Member

Mar 21, 2008 at 04:29 PM

Hi



Add a check on this work area along with sy-subrc check or any checks that you
are doing..

Assumption: You have used this work area in your program



example..



select * from XYZ into l_wa_xyz where... .

if sy-subrc = 0 and

not l_wa_xyz is initial...

... ur processing

endif..

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share


Know someone who can answer? Share a link to this
question.


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
your answer complies with our Rules of Engagement.

 * Rules of Engagement


YOU MUST BE LOGGED IN TO SUBMIT AN ANSWER.

 * 
 * 
 * 
 * 
 * 
   Link einfügenLink entfernen
 * 
 * 
 * 
 * 

Please provide a distinct answer and use the comment option for clarifying
purposes.

10 characters required.
Submit your Answer

FIND US ON

 * 
 * 
 * 
 * 
 * 
 * 
 * 

 * Privacy
 * Terms of Use
 * Legal Disclosure
 * Copyright
 * Trademark
 * Cookie-Präferenzen
 * Newsletter
 * Support