cancel
Showing results for 
Search instead for 
Did you mean: 

HCM P&F : Conditional visibility of fields on webdynpro form

Former Member
0 Kudos

Hi,

I have a requirement in HCM process and forms where certain fields of an infotype should be only visible on webdynpro form based on country grouping .

Kindly advise ,

Thanks !!!

Accepted Solutions (0)

Answers (2)

Answers (2)

sahirn
Active Contributor
0 Kudos

You also have another better option of using generic service to set the UI attributes. However this may not work in all cases especially when you have list in your form.


Refer blogs by :

FPM Forms Scripting | SCN

Hope this helps.

Regards,

Sahir.

sahirn
Active Contributor
0 Kudos

Hello,

IMO there is no  option in HRASR_DT to set visibility attributes during runtime.

If the visibility is static or step dependent - it could be done with field attributes in hrasr_dt.

You can enhance the feeder class CL_HRASR00_FPM_FEEDER. It requires a little bit of tweaking like enhancing GET_DEFINITION method.

Take a look at this post for pointers on how to progress on this(though it is not related HCM P&F).

Hope this helps.

With regards,

Sahir.