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: 

OO ALV - QUAN Fields -Printing DUMP

Former Member
0 Kudos

Hi,

When we use Quanity fields like LABST Like MARD-LABST in final output structure which goes to Fieldcatalog.

I am getting a dump saying It supports only Characters.

But my requiremnet is I need 0.000 when it is intial and I should get , differentiated values like 23,345,239.00

Any ideas?

I am using OO ABAP for this report.

Regards

Praveen

4 REPLIES 4

Former Member
0 Kudos

are you using the m,easurement units as well cooperating with those quantities?

i hence this link is missing and thats why you get a dump.

Former Member
0 Kudos

Hi Praveen,

Can I got basic code of this I will able to visulize once I see the code.

DARSHAN

Former Member
0 Kudos

hi

U can display field of type Quan in OO-ALV,Just check that u are passing structure name while filling field-catalog as well as while calling method set table for first display.

and name of structure shuld be in CAPS.

field catalog shud be of type lvc_t_fcat

check it

Former Member
0 Kudos

Hi Praveen,

This is kind of strange dump..

Look at this checklist:

1) Please check the fieldname (all caps).

2) Verify if you have given any REF_FIELD.

3) Try inserting value to DECIMALS (try moving first to a data type p and display 3 decimals in ALV).

4) try using edit_mask..

Let me know if you have further questions..

BR

Rakesh

PS: Please close the thread if your question is answered..