OCS2007R2 - how to create a list of users and meeting policies assigned to them?
Hi all
is it possible to create a list of users and policy assigned?
For example
UserA Default
UserB High
UserC High
UserD Medium
and so on?
Thanks in advance!
You can try to use the Office Communications Server 2007 R2 Resource Kit Script LCSEnableConfigureUsers
The LCSEnableConfigureUsers.wsf script automates enabling and configuring users belonging to the local Active Directory Domain Services domain.
For details, see
http://blogs.technet.com/b/nexthop/archive/2011/08/02/how-to-use-the-office-communications-server-2007-r2-resource-kit-script-lcsenableconfigureusers.aspx
Lisa Zheng
TechNet Community Support
Similar Messages
-
How to find out list of users and their access on Sharepoint
Hello Everyone
How can i find out list of users and what access they have on SharePoint site? I want to create table with list of the users and their access?
Thanksyou can get the report using below powershell scripts. first one gives list of users in a site collection level.
The second link generates the permissions reports for each user.
http://techtrainingnotes.blogspot.com/2010/12/sharepoint-powershell-script-to-list.html
https://sp2010userperm.codeplex.com/
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to create dropwdown list box values and checkbox in screen painter.
Hi Experts,
I need to know the creation of dropdown list box values and the checkbox to use in screen painter.
I have 3 values to insert as:-
INR,USD,EUR
if user selects INR/USD/EUR, then it will store into the table field.
And also want to know the checkbox functioning in screen painter, i.e. what should we write in PBO/PAI.
I have found some sites to get knowledge, but didnot found anything that relates to my questions.
So please help me!
Thanks,
DeepanshuHi,
For dropdown list box in Screen create a input field and choose Drop down by index.
To populate the values write the logic in PBO as follows
TYPE-POOLS : VRM
DATA : field_id TYPE VRM_ID ,
values TYPE VRM_VALUES,
value LIKE LINE OF values.
PROCESS BEFORE OUTPUT
MODULE list_fill_100
MODULE list_fill_100 OUTPUT
SELECT f1 f2 f3 FROM tab WHERE condition.
value-KEY = f1.
value-TEXT = f2
APPEND value TO VALUES
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'i/o screen field'
values = values.
ENDMODULE. -
How to create template for multiple users and proper variables for DesktopDNA
Here's the scenario:
25 WXPSP2 laptops with only ZENworks Desktop Management agent installed.
Laptops have at least 4 user profiles each. All laptops have same
configuration. I want to create just one image for all laptops and am
using personality migration to handle the different user profiles on each
laptop.
We are using ZENworks 7 on a NetWare server.
Using the DNA Template Editor, I create a template by selecting All local
user profiles on source machine, selecting User Accounts Settings under
System, and name the template DNAusers.dtf.
I then create an application object, CollectDNA, to collect the
personality following the instructions in guide. I associate CollectDNA
with a workstation and select Force Run and App Launcher. This is the
parameter setting: (There is no VOL1 on this server)
/D \\Server1\SYS\ddna\data\%CN%\X-REMOTE1 /T \\Server1
\SYS\ddna\templates\DNAusers.dtf /X
I go to X-REMOTE1 laptop and login as an administrator but nothing
happens. I then click on Application Explorer and double-click on
CollectDNA object and get: could not launch CollectDNA. The network
path was not found. Checking My Network Places, I see no NetWare
Services listed. And, although the ZENworks Desktop Management Agent
policy says to display the ZENworks authentication dialog, the login
screen never appears.
Any suggestions?OK so I changed %CN% to "Admin" in the application object and restarted
laptop and logged in as Admin in the ZENworks Desktop Management
authentication screen. Nothing happened until I clicked on the
application windows and then it tried to launch CollectDNA but then I get
the Application Launcher status: the network path was not found.
I saw an earlier response you gave to someone else who had the same
message and did the same but still get this error message.
Do you see anything else that I'm doing incorrectly?
> On Mon, 17 Jul 2006 22:59:30 GMT, [email protected] wrote:
>
> > /D \\Server1\SYS\ddna\data\%CN%\X-REMOTE1
>
> if you do a force run with wks associatione (perhaps even selected)
secure
> system the %CN% can not be resolved..
> --
>
>
> Marcus Breiden
>
> If you are asked to email me information please change -- to - in my e-
mail
> address.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
How to create secondary lists in ALV
Hi all,
Can u plz explain me how to create Secondary lists usingl ALV and how many secondary lists we can create.
Thanks in advance
Venkatthis is the very very simple program in HR module to demonstrate interactive ALV report.
If u have HR module implemented...just copy and paste this code and debug it...you will easily get the flow of the report...this is the simplest program..
i hope it helps...here u go......
REPORT ztej_alv_interactive.
TABLES: pa0000, pa0001.
DATA : BEGIN OF it0001 OCCURS 0,
pernr LIKE pa0001-pernr,
ename LIKE pa0001-ename,
END OF it0001.
DATA : BEGIN OF it0000 OCCURS 0,
pernr LIKE pa0000-pernr,
begda LIKE pa0000-begda,
endda LIKE pa0000-endda,
massn LIKE pa0000-massn,
massg LIKE pa0000-massg,
aedtm LIKE pa0000-aedtm,
END OF it0000.
TYPE-POOLS: slis.
DATA: v_repid LIKE sy-repid .
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: i_fieldcat1 TYPE slis_t_fieldcat_alv.
DATA: it_listheader TYPE slis_t_listheader.
DATA: it_listheader1 TYPE slis_t_listheader.
DATA: v_events TYPE slis_t_event,
wa_event TYPE slis_alv_event.
DATA: alv_layout TYPE slis_layout_alv.
DATA: i_title_0001 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
DATA: i_title_0000 TYPE lvc_title.
DATA : temp_pernr LIKE pa0001-pernr.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS : s_pernr FOR pa0000-pernr DEFAULT '16240147'.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
v_repid = sy-repid.
PERFORM build_fieldcatlog USING i_fieldcat.
PERFORM event_call.
PERFORM populate_event.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_listheader USING it_listheader.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATLOG
text
--> p1 text
<-- p2 text
FORM build_fieldcatlog USING temp_fieldcat TYPE slis_t_fieldcat_alv.
DATA : wa_temp_fieldcat TYPE slis_fieldcat_alv.
wa_temp_fieldcat-tabname = 'IT0001'.
wa_temp_fieldcat-fieldname = 'PERNR'.
wa_temp_fieldcat-seltext_m = 'Personnel Number'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0001'.
wa_temp_fieldcat-fieldname = 'ENAME'.
wa_temp_fieldcat-seltext_m = 'Name'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG
*& Form EVENT_CALL
text
--> p1 text
<-- p2 text
FORM event_call.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = v_events
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " EVENT_CALL
*& Form POPULATE_EVENT
text
--> p1 text
<-- p2 text
FORM populate_event.
READ TABLE v_events INTO wa_event WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'TOP_OF_PAGE'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-form.
ENDIF.
READ TABLE v_events INTO wa_event WITH KEY name = 'USER_COMMAND'.
IF sy-subrc EQ 0.
wa_event-form = 'USER_COMMAND'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-name.
ENDIF.
ENDFORM. " POPULATE_EVENT
*& Form DATA_RETRIEVAL
text
--> p1 text
<-- p2 text
FORM data_retrieval.
SELECT pernr ename
FROM pa0001
INTO TABLE it0001
WHERE pernr IN s_pernr.
DELETE ADJACENT DUPLICATES FROM it0001.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_LISTHEADER
text
-->P_IT_LISTHEADER text
FORM build_listheader USING i_listheader TYPE slis_t_listheader.
DATA hline TYPE slis_listheader.
hline-info = 'This is Interactive ALV Program.'.
hline-typ = 'H'.
APPEND hline TO i_listheader.
ENDFORM. " BUILD_LISTHEADER
*& Form DISPLAY_ALV_REPORT
text
--> p1 text
<-- p2 text
FORM display_alv_report.
v_repid = sy-repid.
alv_layout-colwidth_optimize = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = i_title_0001
I_GRID_SETTINGS =
is_layout = alv_layout
it_fieldcat = i_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
i_default = 'ZLAY1'
i_save = 'A'
is_variant = i_variant
it_events = v_events
TABLES
t_outtab = it0001
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH i_fieldcat.
CLEAR i_fieldcat.
REFRESH it_listheader.
CLEAR it_listheader.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form TOP_OF_PAGE
text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
REFRESH i_fieldcat1.
REFRESH it_listheader1.
CASE r_ucomm.
WHEN '&IC1'.
READ TABLE it0001 INDEX rs_selfield-tabindex.
IF sy-subrc = 0.
temp_pernr = it0001-pernr.
PERFORM build_fieldcatlog_0000 USING i_fieldcat1.
PERFORM event_call_0000.
PERFORM populate_event_0000.
PERFORM data_retrieval_0000.
PERFORM build_listheader_0000 USING it_listheader1.
PERFORM display_alv_0000.
ENDIF.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATLOG_0000
text
--> p1 text
<-- p2 text
FORM build_fieldcatlog_0000 USING temp_fieldcat TYPE slis_t_fieldcat_alv
DATA : wa_temp_fieldcat TYPE slis_fieldcat_alv.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'BEGDA'.
wa_temp_fieldcat-seltext_m = 'From Date'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'ENDDA'.
wa_temp_fieldcat-seltext_m = 'To Date'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'MASSN'.
wa_temp_fieldcat-seltext_m = 'Action'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'MASSG'.
wa_temp_fieldcat-seltext_m = 'Reason'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'AEDTM'.
wa_temp_fieldcat-seltext_m = 'Action Run On'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG
*& Form EVENT_CALL_0000
text
--> p1 text
<-- p2 text
FORM event_call_0000.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = v_events
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " EVENT_CALL_0000
*& Form POPULATE_EVENT_0000
text
--> p1 text
<-- p2 text
FORM populate_event_0000.
READ TABLE v_events INTO wa_event WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'F_TOP_OF_PAGE'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-form.
ENDIF.
ENDFORM. " POPULATE_EVENT_0000
*& Form TOP_OF_PAGE
text
FORM f_top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader1
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
*retreiving values from the database table ekko
FORM data_retrieval_0000.
SELECT pernr begda endda massn massg aedtm
FROM pa0000
INTO TABLE it0000
WHERE pernr = temp_pernr.
ENDFORM.
*& Form BUILD_LISTHEADER_0000
text
-->P_IT_LISTHEADER text
FORM build_listheader_0000 USING i_listheader1 TYPE slis_t_listheader.
DATA: hline1 TYPE slis_listheader.
hline1-typ = 'H'.
hline1-info = 'Actions Detail List'.
APPEND hline1 TO i_listheader1.
ENDFORM. " BUILD_LISTHEADER_0000
*& Form DISPLAY_ALV_0000
text
--> p1 text
<-- p2 text
FORM display_alv_0000.
CONCATENATE 'Actions For Personnel Number ' temp_pernr
INTO i_title_0000 SEPARATED BY ' '.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'
i_callback_top_of_page = 'F_TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
i_grid_title = i_title_0000
I_GRID_SETTINGS =
is_layout = alv_layout
it_fieldcat = i_fieldcat1[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT =
i_save = 'A'
IS_VARIANT =
it_events = v_events
TABLES
t_outtab = it0000
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_0000
Regards,
Tejas -
List of users and their decimal notation settings in SAP system
Hi all, i'm looking to get my hands on a list of all users in our SAP system and their respective decimal notation settings? I know that these can be mass changed using SU10 however I am unable to determine how to view a list of users and their settings.
Thanks,
JamesHi James,
You can find many useful reports, in SUIM transaction to see user details, but not decimal notation field. I don't know a report to show decimal notations, but as a workaround, in order to see the decimal notation, you can check "USR01-DCPFM" by using "SE16".
Best regards,
Orkun Gedik -
List of Users and Roles Assigned in Portal (producer & consumer)
Hi
We are running federated portal EP 7.0 EHP1 SPS07, we need to pull the list of users and their roles assigned from tables or thru report in our federated portal, so that we can have a consolidated list of users and their roles in both producer and consumer portal
Thanks
SenthilHi Senthil,
Use report RSUSR002 to get list of roles for the users.
Regards,
Marasa. -
How to create distribution list in workflow? for sending mail or work-item
Hi,
How to create distribution list in workflow? for sending mail or work-item to multiple users.
Regards,
SurjithHi Surjith,
A.Working with Distribution Lists Creating a Distribution List.
1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
2.Then click on the distribution list in Businees Workplace.
say create Name = WF_Vliste
folder Name = WF_distributor
3.distribution list content tab
Enter Recipient (SAP User ID)
B.Wrkflow Builder
Find out the dialig step in which u want to use distribution list
Use workflow Rule 30000012 (SWX_READ_DLI).
Maintain the binding from workflow container to rule container.
Just pass the name of the distribution list from WF to Rule container.
Regards
Sagar S -
How to create a login to users in PHP
How to create a login for users to access their data,
currently I can only see the first user everytime I login even with
a different username. I know I need session stuff but don't know
how to use, add or where to put them in.
Thanks in advanced.I also am wrestling with the same problem. Session variables
have not worked. I have determined that if the GET method is used,
then the recordset of the users records are there. If the POST
method is used, the recordset is blank. It appears to be something
inherent in the Log In User behavior.
I am trying to have a customer log in and then only see their
particular inventory records. I do not want them be directed to a
page with a listing of all the various customers and then select
from that. Not suitable at all.
If I find an answer, will let you know.
Thanks and good luck,
Dale :-) -
How to find the list of users used transcation from last 2 days plz urgen
hi friendd
i am in need of knowing the list of users used transcation in last 2 days
can any one help me . how to find out the list of users and used trancation in detail or step by step
thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
apart from that so we have any other transcation to see the user in sap abap box
regards
rajaThis info has been posted before but here you go (this is an alternative way to Bernhards):
ST03N, make sure you are in Expert Mode (not Service Engineer)
Expand Workload
Expand Total
Double Click on the day you want to analyse
You can see transaction details under Transaction Profile -> Standard
You can see what tx a user has started under User & Settlement Statistics -> User Profile
If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files. -
How to get the list of users who has access for list of tcodes.
How to get the list of users who has access for list of tcodes.
Go to transaction SUIM, this has a number of reports for users/authorisations
open the Where used>Autorization Values>In Users
and double click to execute
in authorisation object, enter S_TCODE
then press the "Enter Values" button
It will offer entry boxes to put the transaction code you are interesed in.
Then execute and the list of users with access to this transaciton code will be returned. -
How to create Lookup field in user form in OIM 11g - Urgent
Hi Experts,
How to create Lookup field in User Form - OIM 11g.
Pls. provide your support on priority.
Regards
KaranThanks all for your suggestion.
Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
Under each service there are multiple roles....
Eg:
Service 1 - Role 1, Role 2, Role 3
Service 2 - Role 4, Role 5
Service 3 - Role 6, Role 7, Role 8
Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
Is this possible. Pls. guide.
Regards,
Karan -
How to create a new admin user in oracle 9i?.
Hi I am new to oracle. I want to set up a new database for my application.
How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.If I understand your question correctly:
You need to be connected to the database with the user SYS.
open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected.
SQL>
SQL> create user test identified by pass;
User created.
SQL> grant create session to test;
Grant succeeded.
SQL> alter user test account unlock;
User altered.
SQL> grant dba to test with admin option;
Grant succeeded.
SQL> conn test/pass
Connected.
SQL>
SQL> sho user
USER is "TEST"
SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
Tony Garabedian
From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
Message was edited by:
Tony Garabedian -
How-to create dependent list boxes in a table -Frank Sample
hi everyone i would like to ask a suggestion about Frank's example on How-to create dependent list boxes in a table -Frank Sample ...
i want to extend this example for 3 dependent lists... including locations, departaments and employes....
this the ListboxBean java that Frank is using in his example.... and this is only for locations and departaments tables and it works ok... i want to add the third list for employers wich is dependent only from departaments list.... as i am not good in java i would like to ask u a suggestion on how to develop the third list in this java class ...
public class ListboxBean {
private SelectItem[] locationsSelectItems = null;
private SelectItem[] departmentsSelectItems = null;
public SelectItem[] getLocationsSelectItems() {
if (locationsSelectItems == null){
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{bindings.LocationsView1Iterator}");
DCIteratorBinding locationsIterBinding = (DCIteratorBinding) vbinding.getValue(fctx);
locationsIterBinding.executeQuery();
Row[] locRowsArray = locationsIterBinding.getAllRowsInRange();
// define select items
locationsSelectItems = new SelectItem[locRowsArray.length];
for (int indx = 0; indx < locRowsArray.length; indx++) {
SelectItem addItem = new SelectItem();
addItem.setLabel((String)locRowsArray[indx].getAttribute("City"));
addItem.setValue(locRowsArray[indx].getAttribute("LocationId"));
locationsSelectItems[indx] = addItem;
return locationsSelectItems;
return locationsSelectItems;
public SelectItem[] getDepartmentsSelectItems() {
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{row}");
JUCtrlValueBindingRef rwJUCtrlValueBinding = (JUCtrlValueBindingRef) vbinding.getValue(fctx);
Row rw = rwJUCtrlValueBinding.getRow();
if (rw.getAttribute(6) != null){
OperationBinding oBinding = (OperationBinding) fctx.getApplication().createValueBinding("#{bindings.ExecuteWithParams}").getValue(fctx);
oBinding.getParamsMap().put("locId",rw.getAttribute(6).toString());
oBinding.execute();
ValueBinding vbinding2 = fctx.getApplication().createValueBinding("#{bindings.DepartmentsView2Iterator}");
DCIteratorBinding departmentsIterBinding = (DCIteratorBinding) vbinding2.getValue(fctx);
departmentsIterBinding.executeQuery();
Row[] depRowsArray = departmentsIterBinding.getAllRowsInRange();
// define select items
departmentsSelectItems = new SelectItem[depRowsArray.length];
for (int indx = 0; indx < depRowsArray.length; indx++) {
SelectItem addItem = new SelectItem();
addItem.setLabel((String)depRowsArray[indx].getAttribute("DepartmentName"));
addItem.setValue(depRowsArray[indx].getAttribute("DepartmentId"));
departmentsSelectItems[indx] = addItem;
return departmentsSelectItems;
public void setLocationsSelectItems(SelectItem[] locationsSelectItems) {
this.locationsSelectItems = locationsSelectItems;
public void setDepartmentsSelectItems(SelectItem[] departmentsSelectItems) {
this.departmentsSelectItems = departmentsSelectItems;
Thanks in advance :0Hi,
I think that all you need to do is to look at how I implemented the dependent detail for querying the Employees select items
Then you make sure the DepartmentsVO and the EmployeesVO have bind variable to query them according to the pre-selected value in their respective master list
Frank -
How can I list all users and their DEFAULT tablespace?
How can I list all users and their DEFAULT tablespace?
PeterPeter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
HTH -- Mark D Powell --
Maybe you are looking for
-
How to set up standalone wireless print server
I need step-by-step instructions on to set up a KonicaMinolta bizhub multifunction printer to print wirelessly from various Macs. In other words, it would not be hooked up to the internet or my wireless network. I understand this can be done with an
-
Error message when copying from Acrobat Reader
Error message when copying from Acrobat Reader - any file, any time (Win 7, Adobe many versions until recent). Copy works, but causes a needless and useless error message that has to be clicked away every time. This problem is published on the web f
-
I need to import an xml file lookgin like this: <TABLE> <TABNAME>COMM_PRODUCT</TABNAME> <FIELDNAMES> <FIELDNAME>CLIENT</FIELDNAME> <FIELDNAME>PRODUCT_ID</FIELDNAME> </FIELDNAMES> </TABLE> The above XML has been created using the follo
-
Error WLS 10901 - when I add prompt in query from SAP in QAAWS
Hello, I am accessing a Universe who's source is SAP -BEX Query. When I add a charecteristics and key figure I get data, however when I add a prompt or filter condition to my query in QAAWS - I get an error. I tried the same in Live Office and get th
-
Missing song from download of album
I purchased Paul Simon So Beautiful or So What and only 9 of the 10 songs downloaded to my iphone. How can I get the missing song after purchase?