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: 

Issues related to ALV List report

Former Member
0 Kudos

Hi All,

I have some issues while working on <b>ALV List report</b>.

1. In <b>ALV List report</b> can we make one column entries <b>BOLD</b>!

2. In <b>ALV List report</b> can we make <b>0.00</b> entries into 0/Blank. is is possible.

3. In <b>ALV List report</b> if the value is <b>123.78/123.12</b> we should display it as <b>123</b> is there any way we can do it!

4. How we can give Company header in <b>ALV list report</b>!

If anybody come across above issues please provide me the solution(s).

Thanks in advance.

Thanks & Regards,

Prasad.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Prasad,

1. In ALV List report can we make one column entries BOLD!

In the field catalog set the EMPHASIZE FIELD to X for that specific field.

2. In ALV List report can we make 0.00 entries into 0/Blank. is is possible.

Set the DECMIALS_OUT to X in the field catalog for that field

3. In ALV List report if the value is 123.78/123.12 we should display it as 123 is there any way we can do it!

Set the DECMIALS_OUT to X in the field catalog for that field

4. How we can give Company header in ALV list report!

As you are using ALV List, LOGO might not be possible. But if you want to write some thing, you will have to activate the TOP-OF-PAGE event and write the company name there.

Regards,

Ravi

Note : Please mark the helpful answers

9 REPLIES 9

Former Member
0 Kudos

Prasad,

1. In ALV List report can we make one column entries BOLD!

In the field catalog set the EMPHASIZE FIELD to X for that specific field.

2. In ALV List report can we make 0.00 entries into 0/Blank. is is possible.

Set the DECMIALS_OUT to X in the field catalog for that field

3. In ALV List report if the value is 123.78/123.12 we should display it as 123 is there any way we can do it!

Set the DECMIALS_OUT to X in the field catalog for that field

4. How we can give Company header in ALV list report!

As you are using ALV List, LOGO might not be possible. But if you want to write some thing, you will have to activate the TOP-OF-PAGE event and write the company name there.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hi,

1. <b>Emphasize</b> option is not making the colum(s) BOLD!

2. <b>DECMIALS_OUT</b> not making <b>0.00</b> entries into <b>0/Blank</b> nor making values such as <b>123.78/123.12</b> to <b>123</b>.

Can anybody give me solution for above issues!

Thanks,

Prasad.

0 Kudos

Emphasize is used for coloring cells

wa_fieldcat-emphasize = 'C410'.

where C is constant , 4 is the color code (1-7)

1 is intensified on

0 is inverse off

check the program SHOWCOLO for color codes

pls post ur code how r u using decimals_out

0 Kudos

Hi,

I think EMPHASIZE is working as per 2nd issue here is the code:

i_fieldcatalog-fieldname = 'VALUE01'.

i_fieldcatalog-seltext_l = 'Jan'.

i_fieldcatalog-ddictxt = 'L'.

  • i_fieldcatalog-round = '1'.

i_fieldcatalog-no_zero = c_x.

i_fieldcatalog-decimals_out = c_x.

i_fieldcatalog-col_pos = 5.

i_fieldcatalog-outputlen = 19.

APPEND i_fieldcatalog TO i_fieldcatalog.

CLEAR i_fieldcatalog.

Thanks,

Prasad.

0 Kudos

what is the value u r passing to c_X , is it 0

do not pass X , pass 0 to that

Message was edited by: Sekhar

0 Kudos

Prasad,

The decimals_out should be set to 0 not X.

Sorry about that.

Regards,

Ravi

0 Kudos

HI,

Though i had set it to '0' it is not solving my purpose!

Actual issue is

1. Need to make <b>0.00</b> value entries into <b>'0'/Blank</b>

2. Need to make values such as <b>123.78/123.12</b> to <b>123</b>.

Thanks,

Prasad.

0 Kudos
hi prsad,

try this

wa_fieldcat-no_zero = 'X'. " to remove initial values
wa_fieldcat-decimals_o = '0'

Message was edited by: Sekhar

0 Kudos

Hi,

Above options also not working.

Thanks,

Prasad.