Using information from ItResource for executing custom sql in OIM 11g
I need executing a custom sql query using a connection of a ItResource. How can I get the instance of connection for to execute the sql query ? Someone have a idea of how i make this ? Help me ...
Tks
HashMap itAttribute = new HashMap();
itAttribute.put("IT Resources.Name","IT-DB01");
tcITResourceInstanceOperationsIntf itResource=null;
tcResultSet resItResKey;
resItResKey = itResource.findITResourceInstances(itAttribute);
long iTesourceKey = resItResKey.getLongValue("IT Resource.Key");
tcResultSet resItRes = itResource.getITResourceInstanceParameters(iTesourceKey);
Append following lines:-
HashMap<String, String> hashMap = new HashMap<String, String>();
int countResultGetITResourceInstanceParameters = resItRes .getRowCount();
for(int i = 0; i < countResultGetITResourceInstanceParameters; i++) {
resultGetITResourceInstanceParameters.goToRow(i);
hashMap.put(
resItRes .getStringValue(ZAPConstants.IT_RESOURCES_TYPE_PARAMETER_NAME),
resItRes .getStringValue(ZAPConstants.IT_RESOURCES_TYPE_PARAMETER_VALUE)
return hashMap;
Similar Messages
-
Can we apply an event handler only for a custom request in oim 11G?
Hi,
We would like to create a custom request for user creation, modification etc.
I saw that event handlers allow to add business rules by running java code during differents steps of processes.
I would like to know if we can trigger an event handler on a specific request and not on all user CREATION, UPDATE etc.
For example, we would like to have differents creation requests and a differents event handler on each request.
And can we add "logical" input on request form and read them in event handler?
For example, 3 inputs: day, month and year on the form which fill one user attribute "end contract date".
Regards,
Pierrethank you Akshat,
I saw part 19 in the developper's guide. If I understand, I can change the default CreateUserRequestData to define ALL form components that will be used in my differents user creation request templates.
I can use prepopulation adapter to pre populate field with java code.
I can use the plug-in point oracle.iam.request.plugins.StatusChangeEvent to run custom java code.
But they don't mention where you can run java code for a specific creation template named "MyUserCreationTemplate1" and other java code for an other specific creation tempalate" MyUserCreationTemplate2".
That makes me think we must retrieve the template name in java code and execute the appropriate business logic.
if request name==MyUserCreationTemplate1
Edited by: user1214565 on 31 mai 2011 07:42 -
How to operate multiple querys using DB Adapter and 'Execute Custom SQL'
I have a requirment that I need to create database adapter in your BPEL process with 'Execute Custom SQL' to operate multiple query in DB in one atomic
here are the details:
inbound request:
<ns1:Query_bpelProcessRequest>
<ns1:input>
<ns1:ItemDetail>
<ns1:ItemID>1123DDDS</ns1:ItemID>
</ns1:ItemDetail>
<ns1:ItemDetail>
<ns1:ItemID>1126EWWA</ns1:ItemID>
</ns1:ItemDetail>
<ns1:ItemDetail>
<ns1:ItemID>11208FSAA</ns1:ItemID>
</ns1:ItemDetail>
</ns1:input>
</ns1:Query_bpelProcessRequest>
I use for-each fuction in XSLT to mapping the all ItemID value:
<xsl:template match="/">
<xsl:for-each select="/tns:Query_bpelProcessRequest/tns:input/tns:ItemDetail">
<ns1:QueryFromDB_Input>
<ns1:ItemID>
<xsl:value-of select="tns:ItemID"/>
</ns1:ItemID>
</ns1:QueryFromDB_Input>
</xsl:for-each>
</xsl:template>
and in DB Adapter I use the 'Execute Custom SQL' to query the CONTENT value according the ItemID value:
select distinct CONTENT from agile.item where ITEM_NUMBER=’<ItemID>’
However, in the result, It only query the first item value for <ns1:ItemID>1123DDDS</ns1:ItemID>
<<QueryFromDB_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="QueryFromDB_Input_msg">
<QueryFromDB_Input xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB">
<ns1:ItemID>1123DDDS</ns1:ItemID>
</QueryFromDB_Input>
</part></QueryFromDB_InputVariable>
<QueryFromDB_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="QueryFromDB_OutputCollection">
<QueryFromDB_OutputCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryFromDB">
<QueryFromDB_Output>
<ITEM_NUMBER>1123DDDS</ITEM_NUMBER>
<CONTENT >SJIFESSFFJ</CONTENT >
</QueryFromDB_Output>
</QueryFromDB_OutputCollection>
</part></QueryFromDB_OutputVariable>
the other two querys are not operated.
what can I do to operate multiple querys??
ThanksHi Rod,
I are using while loop and assign array inputvalue to the inputvarable of DBadapter now, but actually it doesn't work.
Throw expection
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>XPath query string returns multiple nodes.
According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query /client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID["ItemIndex"] should not return multipe nodes.
Please check the BPEL source at line number "89" and verify the part and xpath query /client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID["ItemIndex"].
Possible reasons behind this problems are: some xml elements has maxOccurs > 1 or the xml data is invalid according to XML Schema.
To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
</summary>
</part></selectionFailure>
my inbound XSD:
<element name="ItemsQuery_bpelProcessRequest">
<complexType>
<sequence>
<element name="input" type="tns:inputType"/>
</sequence>
</complexType>
</element>
<complexType name="inputType">
<sequence>
<element name="inputDetail" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="ProductID" type="string" minOccurs="0"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
<element name="ItemsQuery_bpelProcessResponse">
<complexType>
<sequence>
<element name="result" type="tns:outputType"/>
</sequence>
</complexType>
</element>
<complexType name="outputType">
<sequence>
<element name="ItemOutput" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="item_id" type="string" minOccurs="0"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
DB Adapter XSD:
<xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/QueryItem" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/QueryItem" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="QueryItem_Input" type="QueryItem_Input"/>
<xs:complexType name="QueryFrom_Input">
<xs:sequence>
<xs:element name="ProductID" type="xs:string" nillable="true"/>
</xs:sequence>
</xs:complexType>
<xs:element name="QueryItem_OutputCollection" type="QueryItem_OutputCollection"/>
<xs:complexType name="QueryItem_OutputCollection">
<xs:sequence>
<xs:element name="QueryItem_Output" type="QueryItem_Output" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="QueryItem_Output">
<xs:sequence>
<xs:element name="item_id" type="xs:string" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
the bpel assign:
<assign name="Initial_Index">
<copy>
<from expression="0"/>
<to variable="ItemIndex"/>
</copy>
</assign>
<while name="While_1"
condition="bpws:getVariableData('ItemIndex')<ora:countNodes('inputVariable','payload','/client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID)">
<sequence name="Sequence_1">
<assign name="Assign_QueryInput">
<copy>
<from variable="inputVariable" part="payload"
query='/client:ItemsQuery_bpelProcessRequest/client:input/client:inputDetail/client:ProductID{bpws:getVariableData('ItemIndex')}'/>
<to variable="QueryItem_InputVariable"
part="QueryItem_nput_msg"
query="/ns2:QueryItem_Input/ns2:ProductID"/>
</copy>
</assign>
<invoke name="Invoke_QueryDB" partnerLink="QueryItem"
portType="ns1:QueryItem_ptt"
operation="QueryItem_PSFT"
inputVariable="QueryItem_InputVariable"
outputVariable="QueryItem_OutputVariable"/>
<assign name="Assign_Output">
<copy>
<from variable="QueryItem_OutputVariable"
part="QueryItem_OutputCollection"
query="/ns2:QueryItem_OutputCollection/ns2:QueryItem_Output/ns2:item_id"/>
<to variable="outputVariable" part="payload"
query='/client:ItemsQuery_bpelProcessResponse/client:result/client:ItemOutput/client:item_id{bpws:getVariableData('ItemIndex')}'/>
</copy>
<copy>
<from expression="bpws:getVariableData('ItemIndex')+1"/>
<to variable="ItemIndex"/>
</copy>
</assign>
</sequence>
</while>
I use {} instead of [] for array, because [] seams not reveal in this message board
seems I can't assign array values to the DB inputvalue, Are there any solutions for this ?
I still haven't found any way for operating multiple querys using DB Adapter.
Thanks
Edited by: user1065212 on 07-Jan-2010 19:39
Edited by: user1065212 on 07-Jan-2010 19:41
Edited by: user1065212 on 07-Jan-2010 19:44
Edited by: user1065212 on 07-Jan-2010 19:45 -
Execute custom SQL in DB Adpater errors out in Production - urgent please.
Hi,
I get this error when running the process in PROD at invoking delete operation that I'm doing by selecting the execute custom SQL option while defining the DB adapter. It worked fine in TEST environment but errors out in PROD env.
Any suggestions on why? Its urgent.
Thanks
-Prapoorna
The state of this instance is Faulted
<messages><input><InvokeDelete_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DeleteDataInput_msg"><DeleteDataInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DeleteData"/>
</part></InvokeDelete_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>17410</code>
</part><part name="summary"><summary>file:/prod/app/bpel/as/bpel/domains/verint/tmp/.bpel_SynchOTLLoad_1.0_0259c5f142631959ec0fb067d23fe98e.tmp/DeleteData.wsdl [ DeleteData_ptt::DeleteData(DeleteDataInput_msg) ] - WSIF JCA Execute of operation 'DeleteData' failed due to: Pure SQL Exception.
Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
; nested exception is:
ORABPEL-11633
Pure SQL Exception.
Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
</summary>
</part><part name="detail"><detail>No more data to read from socket</detail>
</part></remoteFault></fault></messages>Looks like in production you have much more data than you do in your test environments.
It could be something wrong with your rollback segments. Is there any other activity happening when this is running?
What happens when you run this command inside SQLPlus?
cheers
James -
Execute custom SQL query in OIM11g
Hi,
Can you please provide me some java code snippet to execute a custom sql query and also to get db connection to execute this query in OIM 11g. I am going to run this query in an adapter.
Thanks a lot for ur help.
MikeHey Mike,
Use the below sample code to get db connection and then to execute a query in OIM11g.
String query = "SELECT UD_ADUSER_EMAIL FROM UD_ADUSER WHERE upper(UD_ADUSER_UID) like '%TESTU%'";
Connection con = Platform.getOperationalDS().getConnection();
PreparedStatement preparedStatement = con.prepareStatement(query);
ResultSet resultSet = preparedStatement.executeQuery();
while(resultSet.next())
System.out.println("Output:"+resultSet.getString(1));
} -
Can I use a OID rule for a Query SQL Lov of BIP?
Hi. Can I use OID data (rules) for a query sql lov in BIP? Ex. filters users/store.
Thank you.
R.Hi,
I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
Anyway, you could add this before return "good"; in your login_action()
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
Pedja -
Unable to execute Custom SQL operation using DB Adapter
The SQL function i used is
insert into QueueTable1 (select * from TQueueTable2)
I executed this successfully in PL/SQL developer But while using DBadapter in BPEL. Its failing. No instance is created.
I think the query is executed but haven't received response from DB.Seems like a bug.
tried with DB Adapter using Procedure, Function , eving using inserrt and update.
The data is not getting copied to second queue table. The query is running for a long time and instance also not getting created. -
VB code for executing pl/sql procedure, and displaying TABLE OUT parameter
Does anybody have any sample VB code (using OO4O) for executing a PL/SQL stored procedure, and then displaying (in Excel preferably) the following OUT parameters from the procedure:
(1) variable(s) of TYPE PL/SQL RECORD
(2) variable of TYPE PL/SQL TABLE defined as TABLE%ROWTYPE
(3) n variables of TYPE PL/SQL TABLE'S defined as table.column%TYPE;
Thanks.Here is what we use to bring in arrays of data from plsql. Here will be some sample vba code and plsql.
What the plsql need to run in an array of input dates and an array of ids to lookup for the dates (also needs the number of values in the arrray.
vba code...
Sub Bull()
Dim oDoc As Object
Dim oTable As Object
Dim oCell As Object
Dim ArrCtr As Integer
Dim iCount As Integer 'Counter
Dim DataDynaset As Object 'Dynaset for retrieved values
Dim DischDataDynaset As Object 'Dynaset for retrieved values
Dim TWDataDynaset As Object 'Dynaset for retrieved values
Dim PDDataDynaset As Object 'Dynaset for previous day retrieved values
Dim MSTssCodes As Variant ' TS Codes Array
Dim NumRows As Integer 'Number of rows in the table
Dim NumColumns As Integer 'Number of columns in the table
Dim NumArrayVals As Integer 'Number of array values (actual number - 1)
OraLogin
NumRows = 83
NumColumns = 11
'One less than number because we start at 0
'NumArrayVals = 5
NumArrayVals = 117
ReDim DateArr(NumArrayVals)
MSTssCodes = Array(3398, 3406, 3391, 3385, 3413, 3378, _
2254, 2254, 2254, _
3398, 3406, 3391, 3385, 3413, _
3460, 3455, 3450, 3447, 3505, 3444, 2254, 2254, _
4974, 2803, 4735, 4719, 2837)
****** NOW THIS WILL GET READY TO SEND TO PLSQLGetData MSTssCodes, DateArr, DataDynaset, NumArrayVals + 1
.... more suff in the sub
Sub GetData(Tssids, DateArray, TmpDataDynaset, NumRetVals)
'Retrieves data from the Oracle database
Dim I As Integer 'Counter
Dim TssidDynaset As Object 'Temporary array for Tssids
Dim DateDynaset As Object 'Temporary array for dates
OraDatabase.Parameters.addTable "TSCODES", 1, 68, NumRetVals, 0
OraDatabase.Parameters("TSCODES").ServerType = ORATYPE_UINT
OraDatabase.Parameters.addTable "DATES", 1, 12, NumRetVals, 0
OraDatabase.Parameters("DATES").ServerType = ORATYPE_DATE
OraDatabase.Parameters.addTable "VALS", 3, 2, NumRetVals, 0
OraDatabase.Parameters("VALS").ServerType = ORATYPE_NUMBER
OraDatabase.Parameters.Add "NUM_VALS", NumRetVals, 3
OraDatabase.Parameters("NUM_VALS").ServerType = ORATYPE_NUMBER
OraDatabase.Parameters.Add "ERR_NUM", 0, 2
OraDatabase.Parameters("ERR_NUM").ServerType = ORATYPE_NUMBER
Set TssidDynaset = OraDatabase.Parameters("TSCODES")
Set DateDynaset = OraDatabase.Parameters("DATES")
'Fill the arrays
For I = 0 To NumRetVals - 1
TssidDynaset.Put_Value Tssids(I), I
DateDynaset.Put_Value DateArray(I), I
Next I
OraDatabase.DbExecuteSQL ("Begin DBCALLS.SELECT_VALUES (:TSCODES, :DATES, :VALS, :NUM_VALS, :ERR_NUM); End;")
If OraDatabase.LastServerErr <> 0 Or OraDatabase.LastServerErrText <> "" Then
MsgBox "Error Getting Data"
End If
Set TmpDataDynaset = OraDatabase.Parameters("VALS")
'MsgBox (OraDatabase.Parameters("NUM_VALS") & " " & OraDatabase.Parameters("ERR_NUM"))
OraDatabase.Parameters.Remove "TSCODES"
OraDatabase.Parameters.Remove "DATES"
OraDatabase.Parameters.Remove "VALS"
OraDatabase.Parameters.Remove "NUM_VALS"
OraDatabase.Parameters.Remove "ERR_NUM"
End Sub
Now here is the plsql called from the DBCALL package......
--Select time series values for give ts_codes.
PROCEDURE select_values (
ts_codes IN IntArrayTyp,
dates IN DateArrayTyp,
vals IN OUT NumArrayTypIB,
--quality IN OUT RawArrayTyp,
num_vals IN INTEGER,
err_num OUT INTEGER) IS
BEGIN
--initialize variables
err_num := 0;
FOR i IN 1..num_vals LOOP
BEGIN
SELECT value INTO vals(i)
FROM table_name
WHERE ts_code = ts_codes(i)
AND date_time = dates(i);
EXCEPTION
WHEN OTHERS THEN
--dbms_output.put_line (ts_codes(i) || ' ' || SQLCODE);
vals(i) := -1.0;
err_num := SQLCODE;
END;
END LOOP;
EXCEPTION
WHEN OTHERS THEN
--dbms_output.put_line (tssid || ' ' || SQLCODE);
err_num := SQLCODE;
END select_values; -
Possible to execute custom SQL query?
Is it possible to execute a custom SQL query and get back a collection of
objects with Kodo JDO? Query expression languages like JDOQL are all very
well (I actually think JDOQL is pretty messy), but sometimes when you've
got a complex query (and you know you're using a RDBMS) it is best
accomplished in a SQL statement. I see Kodo has extended JDOQL, which is
good, but developing custom extensions seems to be limited to implementing
kodo.jdbc.query.JDBCFilterListener where you can customise the where
clause. What I want to be able to do is to specify the entire SQL string.
I am looking into using Kodo JDO for my organisation, and being able to
use custom SQL is something i would expect (and something we can do with
our current O/R mapping product (TopLink)).
Regards,
AlexPatrick Linskey wrote:
On Tue, 30 Sep 2003 10:57:13 +0000, Alex wrote:
being able to use custom SQL is something i would expect
We absolutely agree. Take a look at the samples/customSQL example in the
Kodo distribution.
-Patrick
Patrick Linskey
SolarMetric Inc.Hi Patrick,
I have downloaded kodo-jdo-3.0.0RC1 for windows for evaluation, but there
is no samples/customSQL directory.
Alex. -
Information from Client for Configuration of EHS
Hi All,
Need to implement EHS for a Client - International. What are the pre general requesties information and the list of data / questions to be collected from the client before start of the project implementation.
Kindly list the need in perspective of a consultant.
Regards
HP
Edited by: hariprasathg on Dec 7, 2011 12:15 PMHello HP
a high number of similar requests/threads can be found in this FORUM together with corresponding answers.
Please
a.) Refer to Best practise of SAP installing EHS (once again they are mentioned several times in this FORUM)
b.) Specify more precisely the term "EH&S". In most cases the customer must prepare a "roll out" project plan. Basic EH&S installation is based on core customizing. IN most cases the customer needs: (please refer to online help of SAP EH&S to get more details: http://help.sap.com/erp2005_ehp_06/helpdata/en/a5/3adda043be11d188fe0000e8322f96/frameset.htm):
- EHS& Basic Data and Tools
- EHS Product Safety
- EHS Dangerous goods management
- EHS Hazardous substance management
- in case of international customer: EH&S SVT
- if the customer needs labels (it is assumed that he need): EHS GLM
- and in some cases EH&S Waste is needed on the top.
Preparation of blueprint as well as doing a set up of EH&S Products Safety and Dangerous Goods management can take one year (depending on the availability of ressource on client side). Using the best Practise approach (if customer starts from scratch) help to reduce efforts; but this is really client specific.
Further on installation (that means time to analyze and implement etc.) depends on the release which the user will use (ECC 6.0 is now best practise with or with EnhPacks). Further on if the customer is "really" an international one solutiones in the area of e.g.:
- SAP product and REACH Compliance Suite
- SAP GTS installations (generally the existing GRC architecture/strategy of SAP might be of interest to the customer/client)
- SAP Components Extension
Hope this helps.
With best regards
C.B.
PS: PLease be informed that SAP (and other companies) is providing additional services which are needed in the EH&S environment (legal data)
Edited by: Christoph Bergemann on Dec 11, 2011 9:06 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:08 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:09 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:09 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:11 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:12 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:12 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:13 AM
Edited by: Christoph Bergemann on Dec 11, 2011 9:14 AM -
Recursive Java programming method for executing recursive SQL queries
Anybody has a Java/JDBC example method to execute recursive SQL queries and print results? The method has to work for any number of queries and levels and the first query passes the parameter to the second query.
Edited by: user4316962 on Jun 12, 2011 1:59 PMuser4316962 wrote:
Guys, the problem what I am trying to solve is much more complex and I don’t think SQL level recursion is enough. I am looking for Java solution with SQL queries in it to make it more flexible and DB independent.
If you want to do recursion in SQL then it has nothing to do with Java.
And if you want to do recursion in Java then the idiom itself has nothing to do with SQL.
Other than that you have provided enough detail for anyone to even guess at what you are asking.
As a start I am not even sure that you understand what recursion is nor how JDBC works. (But it could be that you are using the terms to mean something else.)
And looking at your original post it could be nothing more than that you are looking for a design pattern - perhaps the interpreter. -
HELP NEEDED: Use a new record for a customized table as a workflow trigger
Hi SAP Workflow Gurus,
Good day!
One of our requirements is to have the creation of a new record in a custom database table trigger a workflow. I read and followed the steps as indicated in this link
http://www.****************/Tutorials/Workflow/Table/events.htm
As a summary, here is what I did:
1. Created a subroutine for the custom table ZPA2003 for the create event
2. Defined this event as a trigger for the custom workflow WS90000019
3. Maintained and activated the event linkage via SWETYPV
Basically I tried following the instructions indicated on the link
Note that the entries for the custom table are created via a function module.
Now during testing of the workflow, the system was able to complete the notification message. However, when I triggered the event via creation of the entry in the custom db table nothing happened
1. Is there a way to debug/find out whether the link between the subroutine in the table and event itself are connected?
2. I also tried running the event trace to check the activities executed but found nothing.
Can you guys help me check on what I may have missed out?
Regards,Hi All,
Basically these are the requirements for the work schedule substitution:
1. Employee enters the request via ESS (custom portal transaction)
2. Upon saving of the entry (request) in a custom table, this should trigger the workflow at the backend
3. The Manager should then receive a work item in his Universal Worklist at the MSS side of the portal
4. Upon clicking on the work item, a new screen will pop up showing the work schedule substitution details as well as an interface which will allow him to enter his/her usage decision
5. Depending on the decision, the workflow must execute the necessary notifications as well as changes in the custom and PA2003 tables
Now, we have accomplished step 1 and I am currently in the process for step 2. Now I have some queries:
1. For the Manager to view and approve the substitution details, I used two methods for each process (view and approve) since our ABAPer mentioned that this cannot be done in 1 function module. Is there a way to simplify this step or is it really valid that they need to be executed in 2 different methods?
2. As per our ABAPer, function Modules only import and export variables; they do not have the facility of say having tags on the details being displayed. Hence, if the details are 10001 (Employee Number), 10/20/2011 (Start Date), 10/25/2011 (End Date) the output would be 10001, 10/20/2011, 10/25/2011. Is there a way within the function module (or dynpro interface) to show it like this: Employee Number: 10001
Start Date: 10/20/2011
End Date: 10/25/2011
3. Speaking of dynpro applications, do I need to still develop one to allow the Manager to view and approve/reject the request via the MSS portal upon accessing the work item via the UWL? How would the work item go about calling the dynpro application? or is this even possible?
It would have been easier if the facility would not pass through workflows since it will be just direct web dynpro/ABAP calls. Having to include it as a work item in the UWL puts a certain twist to it
Your inputs are well-appreciated.
Regards, -
How to get the time for executing an SQL statement?
hi all...
How can I get the total execution time for a given SQL statement to a ViewObject which is created dynamically for this SQL so that the end user knows it before hand and try to stop it or go further..?
Please post any ideas if you have got..!!!
thanx in advance..
grüss
K°viThis is not really a question for the JDeveloper forum, but rather for the DB forum.
Since Oracle9i there is a way to estimate how long a query will take, before executing it.
Check it out in the Oracle DB documentation or ask on the DB forum.
There is no built-in functionality for this in JDeveloper, but you should be able to call out to the DB from your Java code to get the estimate. -
What is the url for executing PL/SQL
what is the URL for 9i http pl/sql routines?
http://machine:port/?????????
thnx
endreHi endre,
Are you looking for the URL for executing Oracle9i PSP routines?
-shefali -
Mail Merge using data from Numbers for iPad
Here is my situation:
I use Numbers for iPad to collect data on-site when I'm doing estimates. I then download the data from iCloud to Numbers on my laptop and complete the estimates. I would then like to be able to merge the data into a proposal template I've created in Pages.
The issue seems to be that Numbers for iPad removes header rows but Pages won't accept a Numbers document as a merge source unless it has header rows.
Has anyone found a workaround for this?I was using Excel and Word for my small business. Then in 2007 I upgraded the whole office to Apple, began using Numbers for basic invoicing. Back then, the solution I found was to use CSV export to InDesign. A few days back I downloaded the 09 tryout and thought using mail merge would be easy.
I get the false populating too: I assume it comes from empty records, as they do not overwrite field names. Somehow I don't think I'm going to go through 2 years of accounting records to reformat my spreadsheet, just so Pages can correctly work with data that is in fact correctly formatted.
Also, there must be an option with the mail merge feature to choose which records I want to merge?!? The current solution (duplicating and erasing unwanted ones) is ridiculous, hiding unwanted rows in Numbers also doesn't work.
As most of the new features in iWork 09 are cosmetic, this one would have been a reason to use iWork as a real office suite. Pity - not really worth the update.
Maybe you are looking for
-
Ati Mobility HD 5470/Intel integrated hybrid graphics
Hi! I have a Acer TimelineX 5820TZG laptop which has switchable graphics. I am struggling to make Arch work with my dual-graphics configuration, and I have tried a lot of things, but it doesn't work. Right now I am working with the Intel integrated g
-
How do I get money back when a purchase you made is unplayable on your device
How do you get money back that you spent on a purchase but the item is unplayable on your device
-
I purchased and downloaded Acrobat Pro XI and have installed it. I want to create a reinstall disk should I ever need it. I planned on using a DVD. I'm running Win 7 Pro w/SP1.
-
Hi All, I am using ago function in Answers it works fine But when observing the data, data is mismatched at particular Product category, why because two category s (A,B) has same subcategory name (Basic) CAT Sub Cat A ------ Basic A
-
Sorting a List on Parent Child Relationship
I have to sort a list on Parent Child relation say I have a following list Object(Id,ParentId,.........) obj1(1,1,........); obj2(2,1,........); obj3(3,3,........); obj4(4,1,........); obj5(5,3,........); obj6(6,1,........); obj7(7,3,........); obj8(