Skip to Content
avatar image
Former Member

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

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 !!!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 25, 2015 at 04:12 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2015 at 04:41 AM

    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 Former Member :

    FPM Forms Scripting (Continued)...

    FPM Forms Scripting | SCN

    Hope this helps.

    Regards,

    Sahir.

    Add comment
    10|10000 characters needed characters exceeded