‎2008 May 22 2:20 AM
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.
‎2008 May 22 3:19 AM
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
‎2008 May 22 3:19 AM
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
‎2008 May 22 4:54 AM
hi,
do this way ....to avoid the same
write : v_curr currency 'USD'.Regards,
Santosh
‎2008 May 22 5:19 AM
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.
‎2008 May 22 6:48 AM
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.