on 04-02-2014 11:03 PM
Hi Friends,
Thanks in advance,
My requirement is to make a drop-down field as Read-Only for Initiator and same field should be editable for Approver
Below is my logic at the Layout Level.
if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
$record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" )
then
this.access = "readOnly"
endif
Regards,
Sridhar.J
Hi Jampani Sridhar,
You have to add one field in your HCM F&P "FORM_SCENARIO_STAGE TYPE ASR_FORM_SCENARIO_STAGE and Give Field attribute as "Autom.(Step Relavant).
Now in your Adobe Forms, write following code:
if($record.CONTROL_PARAM.rawValue == "APPROVE_REQUEST")
this.access = "readOnly";
endif.
This will not allow initiator to Enter Any Data in Drop Down.
Thanks & Regards,
Tushar Trivedi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using the controls meant for HCM P&F (SAP note 973170) - the UI attributes can be set up at step level using step dependent attributes in HRASR_DT.
And another option is to add FORM_SCENARIO_STAGE in HRASR_DT and then write js code to hide the fields based on stage.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.