cancel
Showing results for 
Search instead for 
Did you mean: 

Column layout in PMS

Former Member
0 Kudos


Hello,

We are on EHP7 and using column layout in the PMS template. It is observed that each column covers lot of space (even though blank space is left out). Is it possible to reduce the spacing specifically to columns separatly? Screenshot attached.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

yury_sichov
Active Contributor
0 Kudos

It is possible only by enhancement of standard web dynpro component.

WDA Component - HAP_DOCUMENT_BODY

View                   - VW_BODY_DYN

Method               - RENDER_UI_211_COLUMN_HEAD

You need to overwrite method RENDER_UI_211_COLUMN_HEAD

original

"add a space image element to make sure header has
   "a minimum width
   lo_ui_element = cl_wd_image=>new_image(
       height                      = '1px'
       source                      = cl_hap_wd_config_ui=>gc_icon_space
       width                       = cl_hap_wd_config_ui=>gc_layout_width_min_column
       is_decorative               = abap_true
   ).

fixed

"add a space image element to make sure header has
   "a minimum width
   lo_ui_element = cl_wd_image=>new_image(
       height                      = '1px'
       source                      = cl_hap_wd_config_ui=>gc_icon_space
*     zero length
*      width                       = cl_hap_wd_config_ui=>gc_layout_width_min_column
       is_decorative               = abap_true
   ).

Former Member
0 Kudos


Thanks Yurii. It worked well.

Answers (0)