on 11-07-2012 11:09 PM
Hi,
I need to hide the list box in the Adobe ORG change form, when the Initiator or the approver is HRIS. The secenario steps in my HCM process are like EMPL_REQUEST, RECV_MGR, HRG_IN and EXPERT_MODE. I did check in the debug mode if the HRIS initiates the process still the scenario step is EMPL_REQUEST only.
Do I have option to code in sAP to hide the list box depending upon role or should I do in ADOBE script only?
Thanks,
Bala.
Hi, Bala,
You can affect element appearance from SAP by creating an Alternative element in form context.
In your example, your alternative condition would be something like APPROVER_FIELD = 'HRIS' (note that I don't know what is your field name). Then, under TRUE option you put your field and leave FALSE empty (or put something else inside).
Make sure that whatever dynamic element you want to show or hide this way, you must put it inside TRUE and/or FALSE in context! If you do it in layout and not in context, you get strange results. This doesn't apply to static elements, such as rectangles or static texts - you can put them in alternative directly in layout.
Depending on the position where you put it, the alternative will act differently:
You can find more detailed example on using alternatives here, or you can check out what help.sap.com has to say on this subject.
After a lot of playing around with alternatives, I found them quite complex and difficult to handle. I believe that showing/hiding by form scripting is far better and easier solution.
KR,
Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.