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

problem in Extended Program Check..

Former Member
0 Likes
1,517

Hi Experts,

after finishing my report i am doing syntax check and Extended Program Check( E P C )

in EPC it displays some Errors , warnings and messages.

how to rectify those issues.

i ve a one error like below.

Program: ZBSR_PS_ROJ Row: 632 [Prio 3]

Use addition CURRENCY when outputting WA_OUTPUT-PLANNED_COST

Use auxiliary field when outputting with MESSAGE

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

how to rectify this.

Rgds,

sudeer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
859

Hi Sudheer,

You can rectify this error by just adding below statemet after the

WRITE WA_OUTPUT-PLANNED_COST CURRENCY <currency key>.

or

WRITE WA_OUTPUT-PLANNED_COST. "#EC UOM_IN_MES

This will no longer come as error then.

Regards,

Atish

4 REPLIES 4
Read only

Former Member
0 Likes
860

Hi Sudheer,

You can rectify this error by just adding below statemet after the

WRITE WA_OUTPUT-PLANNED_COST CURRENCY <currency key>.

or

WRITE WA_OUTPUT-PLANNED_COST. "#EC UOM_IN_MES

This will no longer come as error then.

Regards,

Atish

Read only

Former Member
0 Likes
859

hi,

do this way ....to avoid the same


write : v_curr currency 'USD'.

Regards,

Santosh

Read only

Former Member
0 Likes
859

hi sudeer,

in ur case u can do that in 2ways like:

at the end of the write statement u can mention the CURRENCY type. like

WRITE:/10 wa_output-planned_cost CURRENCY 'USD'.

(or)

while checking Extending Program Check, it will mention some code like " #EC for warnings or " #EC UOM_IN_MES for errors

WRITE:/10 wa_output-planned_cost. "#EC UOM_IN_MES

so u can go for 2nd one its better.

thanks,

sudharsan.

Read only

Former Member
0 Likes
859

hi sudeer,

in ur case u can do that in 2ways like:

at the end of the write statement u can mention the CURRENCY type. like

WRITE:/10 wa_output-planned_cost CURRENCY 'USD'.

(or)

while checking Extending Program Check, it will mention some code like " #EC for warnings or " #EC UOM_IN_MES for errors

WRITE:/10 wa_output-planned_cost. "#EC UOM_IN_MES

so u can go for 2nd one its better.

thanks,

sudharsan.