cancel
Showing results for 
Search instead for 
Did you mean: 

display leading sign for a field in WebdynproALV Ex: -11.100,00

Former Member
0 Kudos

Hi All,

My requirement is to display leading sign for a currency field using ALV in Web Dynpro Application.

For example if the wrbtr in BSAK table has field value 1.111,00 & i have to display -1.111,00.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

check this forum thread.

Former Member
0 Kudos

Dear Suman,

Is there any solution for currency or quantity fields.

The solution in the thread is for character fields.

The problem is the alinment is like character field( Left Justified and decimals are not aligned )

Former Member
0 Kudos

Hi Sirnivas,

Sign will be dispalyed for all types for fields provided sign check box is checked at the domain level.

You can set the sign to left instead of right using the following command

data : ls_properties type wdy_attribute_format_prop,

LR_NODE_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO.

LR_node_info->set_attribute_format_props( exporting name = LV_STRING

format_properties = ls_properties ).

LR_NODE_INFO is the ALV context either created dynamically or as a static node in the context.

Regards

Rohit Chowdhary

Former Member
0 Kudos

could you explain me a bit in detail? As i am new to Web dynpro i could not apply successfully.

Where to write? how to use with an example?