cancel
Showing results for 
Search instead for 
Did you mean: 

Negative value display in ALV grid display.

Former Member
0 Kudos

Hi All,

I need to display the negative values of type (21,6) in ALV grid display.

I have converted the (value-) to (-value) , but while displaying its taking like as abap standard.

Please give me any suggestions to get the negative values display.

Thanks,

Rajesh Bikkasani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have converted the display structure as string for that particular field .for that its working fine.

Thanks.

Rajesh Bikkasani

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey Rajesh,

Convert the (value-) to (-value) using the 'FM CLOI_PUT_SIGN_INFRONT'.

Refer this thread too - How to display sign in left side in ALV Grid Fu... | SCN

Regards,

Anoop

former_member386202
Active Contributor
0 Kudos

Hi,

See links

Regards,

Prashant

former_member223133
Active Participant
0 Kudos

Hi Rajesh,

Please refer to the below thread.

ALV Grid - Negative values printing | SCN

Thanks

Gangadhar

Former Member
0 Kudos

Hi Gangadhar ,

Thanks for response.

I have converted the negative sign prior to the value(Ex : -56) .that's not an issue.But while displaying it's automatically converting the vale  with sign (Ex : 56-) .

Thanks,

Rajesh Bikkasani.

former_member223133
Active Participant
0 Kudos

Hi Rajesh,

Please make use of EDIT_MASK in your field catalog.

fcat-EDIT_MASK = '-__'.

Thanks

Gangadhar