cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding Text and fields in Webdynpro.

dhinesh_thirugnanam
Active Participant
0 Kudos

Hi,

I want to hide text and fields in Webdynpro(HR module),where it is getting in a standard component.I have created a enhancement.But need to know how to hide the text(JOB) and the field.

Accepted Solutions (0)

Answers (4)

Answers (4)

dhinesh_thirugnanam
Active Participant
0 Kudos

Hi All,

Used the below code in modify view to hide the respective label and text in std.program.It is working.Thanks all.

**Label**

DATA: lo_inpbox TYPE REF TO cl_wd_label.

lo_inpbox ?= view->get_element( id = 'GRP_ORG_DATA_STLTX_LBL_CP' ).

IF lo_inpbox IS NOT INITIAL.

lo_inpbox->set_visible( '01' ) .

ENDIF.

**IO field**

DATA: lo_inpfld TYPE REF TO CL_WD_TEXT_VIEW.

lo_inpfld ?= view->get_element( id = 'GRP_ORG_DATA_STLTX_CP' ).

IF lo_inpfld IS NOT INITIAL.

lo_inpfld->set_visible( '01' ) .

ENDIF.

ramakrishnappa
Active Contributor
0 Kudos

Hi Dhinesh,

Please refer to the below document

Hope this helps you.

Regards,

Rama

rajeshkothamasu
Active Participant
0 Kudos

Hi,

By Application/Component Configuration may be it is not possible.

I hope that follow the below procedure it might work

->create context node with attribute(type wdui_visibibility).

->use the overwrite exit (modify view) and write code for dynamic binding, make it as invisible.

Regards,

Rajesh K

Former Member
0 Kudos

Hi,

Do you want to hide text based on condition or permanently?.

Thanks

KH

dhinesh_thirugnanam
Active Participant
0 Kudos

Yes please.Text and the IO field.

Former Member
0 Kudos

Hi,

Do you want to hide it permanently?

Thanks

KH

former_member197475
Active Contributor
0 Kudos

Hi Dinesh,

If you want to hide it permanently, follow the below steps.

1. Go to the Application Configuration HR_EA_AC_OVERVIEW_AP.

2. Test it using 'Execute in Administration  Mode' and choose the required field.

3. Now make the Visibility option to Invisible.

For your further understanding, please look one of my blog.

BR,

RAM.