Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HCm Process & Forms with FPM

Former Member
0 Likes
832

Hi,

Am new to this HCM P&F with FPM .Require some information on :

If we want to hide fields based on user actions and different scenario steps

       a)  do we do this in the custom backend service     OR

       b)  do we do it in the feeder class  ? if so do we need to copy the feeder class to Z class and make changes ?

What are the possible changes that could done using a feeder class ?. I do not have a complete idea of the feeder class.Would be really helpful to get some info.

Any Tips would be great .

Thanks in advance,

Kavitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
765

Hi Kavitha,

            

              We have to use custom back end services only. Inside Custom back end services. We have to pass the Scenario steps to the class. Based on scenario steps you can hide/ show fields using UI attributes. say for example scenario steps

1.Initiator

2.Approver

At initiator level you can hide some information. it can me made at visible at Approver end using scenario stages.

Ex.

if scenario stage value = 'initiator'.

hide one field. make UI attribute as 'H'

elseif scenario stage value = 'approver'

show same field. make ui attribute for that field as 'R'

endif.

hope its helpful

Regards,

Arun

Hi,

Am new to this HCM P&F with FPM .Require some information on :

If we want to hide fields based on user actions and different scenario steps

       a)  do we do this in the custom backend service     OR

       b)  do we do it in the feeder class  ? if so do we need to copy the feeder class to Z class and make changes ?

What are the possible changes that could done using a feeder class ?. I do not have a complete idea of the feeder class.Would be really helpful to get some info.

Any Tips would be great .

Thanks in advance,

Kavitha

3 REPLIES 3
Read only

former_member201275
Active Contributor
0 Likes
765
Read only

SujeetMishra
Active Contributor
0 Likes
765

Hi Kavitha,

For Standard  Form GUIBB, VISIBILITY field in parameter CT_FIELD_USAGE of method GET_DATA is responsible to make fields Visible/In-visible. Only thing you need to do is to Set the Value to '01'

and also ev_data_changed = X and ev_field_usage = X.

Regards,

Sujeet

Read only

Former Member
0 Likes
766

Hi Kavitha,

            

              We have to use custom back end services only. Inside Custom back end services. We have to pass the Scenario steps to the class. Based on scenario steps you can hide/ show fields using UI attributes. say for example scenario steps

1.Initiator

2.Approver

At initiator level you can hide some information. it can me made at visible at Approver end using scenario stages.

Ex.

if scenario stage value = 'initiator'.

hide one field. make UI attribute as 'H'

elseif scenario stage value = 'approver'

show same field. make ui attribute for that field as 'R'

endif.

hope its helpful

Regards,

Arun