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

Clearing EPC errors

Former Member
0 Likes
835

Hi Team,

I am working in one Upgrade project, in this one of the activity is I need to clear the EPC errors. While clearing the error I am facing following errors, tell me how to clear the errors.

Itu2019s very urgent.

Error :1

Use addition CURRENCY when outputting <FS_RECORD>-V_EXBAS

Use auxiliary field when outputting with MESSAGE

Use addition CURRENCY when outputting WA_RECORD-V_EXBAS

Use auxiliary field when outputting with MESSAGE

Use addition UNIT when outputting WA_RECORD-LGMNG

Use auxiliary field when outputting with MESSAGE

But in output no need to display the currency reference field, and also no hexadecimal code to comment this error.

Error :2

Table UT_SOURCE[] and its header line ,Field string UT_SOURCE is not referenced statically in the program.

The above error is coming in FORM/PERFORM.

Error :3

Syntax check warning

This warning is only displayed in SLIN.

where matnr = wa_record-v_matnr.

^

Messages:

In "SELECT SINGLE ...", the WHERE condition for the key field "SPRAS" does not test

for equality. Therefore, the single record you are searching for may not be

unique.

To clear this error i used SELECT...UP TO 1 ROWS ,but in this we need to use ENDSELCT and it will create performance issue ,if its used inside LOOP ENDLOOP and also outside the LOOP.

Error :4

Syntax check warning

This warning is only displayed in SLIN.

gjahr = ibkpf-gjahr ebeln = <wa_likp>-vgbel ebelp = <wa_likp>-vgpos.

^

Messages:

Assigning to "EBELP" may result in data loss. transported.

Give me any idea to clear the errors. Its very urgent.

Regards,

Ram.

4 REPLIES 4
Read only

Former Member
0 Likes
640

Hi Raja Ram,

Error :1

use : WRITE : ITAB-FIELD to ITAB-FIELD CURRENCY 'USD'

IT doesnt mean that currency will be displayed in output but the amount format will be in USD format

Error 2 :

as the error says UT_SOURCE is not used in the program, u can delete that declaration

Error 3 :

use matnr = wa_record-v_matnr AND

SPRAS = SY-LANGU

if it suits the requirement

Error 4 :

try this

FIELD-SYMBOLS : <VALUE> TYPE ANY.

ASSIGN COMPONENT 'VGBEL' OF STRUCTURE <WA_LIKP> TO <VALUE>.

EBELN = <VALUE>.

Read only

0 Likes
640

Hi Chandrasekhar,

Thankx for ur quick reply.

In Error # 2 ,

The internal table UT_SOURCE is used in program ,so i cont deleted that.

its used in ,

form fill_sourcefiles tables ut_source type txw_vdt_sourcefile_t.

data: ls_source like line of ut_source.

In this point i am getting error like,

Table UT_SOURCE[] and its header line ,Field string UT_SOURCE is not referenced statically in the program.

How to clear this error.

One more error i am facing ,

Field string VBFA is not referenced statically in the program

but it is used in one query .how to clear this error and also i am not able comment with Psedo comment .

Its urgent.

Regards,

Ram.

Read only

Former Member
0 Likes
640

hi

form fill_sourcefiles tables ut_source type txw_vdt_sourcefile_t.
data: ls_source like line of ut_source.

isted of ut_source use ls_sourse directly.

Read only

0 Likes
640

This message was moderated.