Application Development 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: 

displying quantity field in report

former_member632991
Active Contributor
0 Kudos

Hi

i m displaying quantity field but during extended check i m getting following error.

how to solve it?

Use addition UNIT when outputting LLST-FKIMG

Use auxiliary field when outputting with MESSAGE

Regards,

Sonika

5 REPLIES 5

andreas_mann3
Active Contributor
0 Kudos

Hi,

1) look abap-docu:

WRITE HOUR UNIT 'STD'.

write LLST-FKIMG unit llst-VRKME.

2)

data hfield(20).

write LLST-FKIMG to hfield.

message e001(00) with hfield.

A.

Message was edited by:

Andreas Mann

Former Member
0 Kudos

Hello,

When u r write the quantiy field u need add the unit additon

WRITE: LLST-FKIMG NO-GAP UNIT 'PC'( This should the actual unit of the Mat.).

If useful reward.

Vasanth

0 Kudos

Hi

Thanks for the reply...it is solved.

0 Kudos

Hello Sonika,

You may reward the points and close the thread.

Vasanth

Former Member
0 Kudos

data: val like EKPO-MENGE value '122.22'.

write:/ val unit 'EA' .

now do a slin check on this code .

'EA' will be the unit of measure / for currency it will be currency key .

when ever ur writing output for quantity / currency fields u need to use the format in the write .

regards,

vijay