OIM DB query to retrive data from process form based on status
Hi
We have a requirement to retrieve the field values from process form for the status which is "provisioning".
Can anyone help us providing the query for the same ?
Consider some process form has Firstname, Lastname and so on as its attibutes. Resource provisioning is stuck due to some reason and the status is in 'Provisioning' state.
Our query should return those process form attribute values.
Thanks
DK
Edited by: 875142 on Apr 26, 2012 6:34 AM
Hint:
Make use of ORC, Process Form, OST, OIU Tables.
Try by yourself. Don't expect readymade solution else you won't learn anything.
Similar Messages
-
Query to retrieve data from action infotype based on particular actiontype
Hi folks,
I need some help in retrieving data from infotype 0000.
The records for a certain employee id (10035532) for action infotype are as follows.. I trying to retireve the LOA action records
BEGDA-ENDDA-MASSN-MASSG
1. 04/01/2008 - 12/31/9999 - Z7(RLOA) - 02(FMLA).
2. 03/01/2008 - 03/31/2008 - ZB - 03.
3. 02/10/2008 - 02/29/2008 - Z2 - 05
4. 01/20/2008 - 02/09/2008 - ZB - 07
5 01/05/2008 - 01/19/2008 - Z5(Paid LOA) - 05(FMLA)
I have to retrieve the Z5 record for this employee. For every Z7 there is a corresponding Z5 record that links to the LOA records, in most cases the Z5 is immediately followed by Z7 record. I am able to retrieve such records successfully. However for few employees like one here the Z5 record is the fourth or fifth record down from the Z7. How can i retrieve the record in such a case?
Also in some cases the date ranges are missing in between, in such cases can we retirieve data succesfully? For ex:
1. 04/01/2008 - 12/31/9999 - Z7(RLOA) - 02(FMLA).
2. 03/01/2008 - 03/31/2008 - ZB - 03.
3. 02/10/2008 - - Z2 - 05
4. 01/20/2008 - - ZB - 07
5 *01/05/2008 - 01/19/2008 - Z5(Paid LOA) - 05(FMLA)
Need some inputs on the query here.
Thanks in advance,
VGNo responses. The thread is closed.
VG -
Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
“Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
SQLSTATE = 02000”Hello SharayuPandit,
For issues regarding DB2, i suggest that you could post it to DB2 related forum:
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Retriving data from database using JDBC and mysql.
st=con.createStatement();
st.executeUpdate("INSERT INTO temperature(`temp`) VALUES ('"+name+"')"); ResultSet rs = st.executeQuery("Select * from temperature");
String s1="";
while(rs.next())
s1= rs.getString(1);
document.write(s1+"-----------------------------");
}when i am retriving data from data base i am getting data which i inserted before.how to display present inserted data? i heard we should use scrollable.can any one how to do this.
Date&time: Thu Feb 28 18:41:40 PST 2008 -----------------------------NANDA----------------------------
[[email protected]----1name=2name=3name=4name=5name=6-----------------------------
1123456-----------------------------123456-----------------------------1,2,3,4,5,20-----------------------------Hi,
st=con.createStatement();
st.executeUpdate("INSERT INTO temperature(`temp`) VALUES ('"+name+"')");
//Changes in the query
ResultSet rs = st.executeQuery("Select * from temperature where temp ='"+name+"' ");
String s1="";
while(rs.next())
s1= rs.getString(1);
document.write(s1+"-----------------------------");
//Select * from temperature where temp ='"+name+"'
The above query which results the last updated information -
Caml query to retrive keyword from rich text field
hi friends
i am using below caml query to retrieve data from title field and Rich text field(Definition)
<View>
<Query>
<Where>
<And>
<Or>
<Eq>
<FieldRef Name=\'Title\'/>
<Value Type=\'Text\'>'+letter+'</Value>
</Eq>
<Contains>
<FieldRef Name=\'Definition\' />
<Value Type=\'Note\'>'+letter+'</Value>
</Contains>
</Or>
<Neq>
<FieldRef Name=\'status\' />
<Value Type=\'Text\'>Not approved</Value>
</Neq>
</And>
</Where>
<OrderBy><FieldRef Name=\'Title\' /></OrderBy>
</Query>
</View>
this query is working fine. But it is retrieving some extra fields also which doesn't have the queried string. and even it is retrieving keyword from image urls which are present in rich text field.
Please help me to retrieve key word from plain text of rich text field.Hi,
According to your post, my understanding is that you want to use caml query to retrive keyword from rich text field
By design, when specifying a ViewFields clause, values for these fields are returned, together with a few system columns like ID, Created and Modified.
If you query rich text field, it will return the field with HTML tags.
To retrieve key word from plain text of rich text field, you need to use regular expression to remove the HTML tags.
You can use the code below:
using (SPSite site = new SPSite("http://sitename"))
using (SPWeb spWeb = site.OpenWeb())
SPList spList = spWeb.Lists.TryGetList("ListName");
SPQuery qry = new SPQuery();
if (spList != null)
qry.Query =
@" <Where>
<Contains>
<FieldRef Name='Rich_x0020_Text' />
<Value Type='Note'>caml</Value>
</Contains>
</Where>";
qry.ViewFields = @"<FieldRef Name='Title' /><FieldRef Name='Rich_x0020_Text' />";
SPListItemCollection listItems = spList.GetItems(qry);
foreach (SPListItem item in listItems)
string src = item["Rich_x0020_Text"].ToString();
Regex htmlReg = new Regex(@"<[^>]+>", RegexOptions.Compiled | RegexOptions.IgnoreCase);
src = htmlReg.Replace(src, string.Empty);
Console.WriteLine(src);
Console.ReadKey();
The result is as below:
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
EVDRE encountered an error retriving data from web server in PROD
Hi friends,
We are checking Evdre reports in BPC production system. We checked few application' EVdre input templates & reports and are fine.
But yesterday evening onwards we are facing below error message.
EVDRE encountered an error retriving data from web server. This message we are getting for all BPC applications in BPC production. There is no short dump in backend.
But when i checked in BPC developement there is no probelm.
We are on BPC7.5 NWsp04 and BI7.01.
In BPC, production,when i try to create evdre template(just after filling
information in evdre builder), immediately getting same error information.
I read few notes, did as per that but sill problem exists. In note, mentioned process dim of particular application and process application. Logout from bpc admin & excel. I did this and, that error message not received for upto 20min. After that i'm getting error. We checked communciation between ABAP layer and bpc, reset IIS also. Still same probelm exists.
Any suggestions pls.
thanks,
nareshHi frineds,
SAP OSS team resolved along with our basis guy.
Initially SAP supported notes:
1.1475233 and 1378705 Process all dimensions and applications.
2.1355954 Drop SAP temp tables.
3.1428764 confilict only if you use Oracle 10 g, if you don't, then forget it.
I used 1378705 and problem resolved temporarly, but still exists after 1 day.
There are different reasons for getting the error message. In our case, problem is at backend BW and, BW system running on HP unix OS.
Checked librfc32.dll in the
directory /usr/sap/BP1/DVEBMGS00/exe.
Executed the following MDX statment in MDXTEST transcaction, and it
executed in both the available instances.
SELECT
{[Measures].MEMBERS} ON COLUMNS,
[0MATERIAL].[LEVEL00].MEMBERS ON ROWS
FROM [$ZCO_CDPC].
Even i also don't have clue how SAP resolved this issue.
Regards,
Naresh -
BAPI or FM needed to retrive data from SNP Planning Area
Hi All,
There is a planning area created for SNP ,now I need to retrive key figure values present in this SNP Planning area.Does any know of BAPI or FM which can be used to retrive data from SNP Planning Area?
Thanks,
VenuHi Venu,
A) Please try this BADI Implementation
/SAPAPO/EXTRACT_EX Sample implementation
/SAPAPO/SDP_EXTRACT Definition name
/SAPAPO/IF_EX_SDP_EXTRACT Interface name
/SAPAPO/CL_IM_EXTRACT_EX Class name
The Uses of this BADI are;
1) You can interrrupt the data extraction process from the planning area.
2) You can use the CHANGE_INPUT method to override the input parameters for the extractor (sent from the requesting system).
3) You can use the CHANGE_OUTPUT method to alter the extracted data, derive the values of certain InfoObjects , for example.
4) You can use the CHANGE_SELECTION method to modify the selection table that is used for extracting data using a BAdI method. This is particularly useful when extracting data from an SNP planning area because you cannot specify a location product in the standard selection.
B) You can also try the below function modules
/SAPAPO/CL_IM_EXTRACT_EX - Load key figures of Demand Planning
/SAPAPO/CDI_TSDMID_KEYFS_LOAD - Load key figure data from TSDM
Regards
R. Senthil Mareeswaran. -
POWER QUERY Get External Data From File From Folder (Excel 2013)
Hi,
Beginner's question :
What could be the use of the query on a folder : we just get a list of files with their path. What can we do with that?
ThanksHi,
Do you want to combine data from multiple Excel Files in the same folder path into one table? If I understand correct, we can add a custom column to import the data.
After we getting a list of files with their path, the Query Editor window will activate to show you a table containing a record for each file in the chosen directory. These will provide our function with the needed FilePath and FileName parameters.
Function sample: File name([Folder path],[Field name]
For more detailed steps, please see the article:
http://datapigtechnologies.com/blog/index.php/using-power-query-to-combine-data-from-multiple-excel-files-into-one-table/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How can I pass data from a form guide to another form in a business process
How do we pass data from a form guide to another form(not necessarily a guide) without having to open the form. For example we have a small form guide to capture the contract id so we can then get data from contracts table to present to the user in a form. We want the user to open the guide (either Flex guide or form guide) to enter the contract id. Upon submission we want the process to get the contract data and put it into the form that will be opened at the next step by the user without having a user interact with the form to get the data into it. In other words we need the process to get the data and populate a different form than the form guide the contract id was entered in and this new form needs to be opened in the next step by the user.
Firstly, I'm assuming that you have a Forms ES Server if you are rendering a Guide. This could be either version ES1, ES2/2.5 or ES3/ADEP
If you submit the form back to the server, you can populate a second (PDF/XDP) form with the data bound to the same schema/Data Model using Forms ES.
You referred to the next user in the chain - If you are using Process Management, this is very easy, as you define what form is used to render the data in the "Presentation & Data" section of the Assign Task activity -
Select query to read data from a view
Hi friends,
We have been using a query to read data from a custom view which used to work perfectly. Now the program sits at that select query forever. We are able to extract same data from se16. Not sure what could be the problem.
Thanks in advance.Dev
Have a look at the Table Index for the tables involved in the View... I think there is some change in the Indexes.. (Add / Remove / Change)
Thanks
Amol Lohade -
Is there a way to use REST service to query data from a forms collection?
I want to query and retrieve data from a SharePoint forms collection. I have a forms library that has multiple documents all being created using the same template.
I need to query and retrieve data from it using oData/ReST API.
I could see the /_vti_bin/listdata.svc and it seems I cannot get the forms data using this.
What will be the best approach?
Does that helps?
If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.
Thanks,
Kangkan Goswami |Technical Architect| Blog: http://www.geekays.net/
http://in.linkedin.com/in/kangkanHi,
Rest service is not available to retrieve the data in forms.
For this issue, the common workaround I know is to first populate the form fields as columns in form library, then retrieve the columns value instead. You can also use rest service in this way.
If it is not convenience this way, please provide more information about the scenario to get the data.
Thanks,
Qiao Wei
TechNet Community Support -
Problem when simultaneously retriving data from berkeleydb using web applic
Hi all
Plz Help
i am using jboss server .
my problem is :
i have 2lacks recodrs in berkeleydatabase
when i try to retrive data it working properly for one browser
if i start retrive data simultaneously using two IES it getting this exception
how to solve this problem,i mean separeate session for separate client
in java session trking techique i applied ,but here not working retriving data from berkeleydb.collision occur
11:47:08,468 ERROR [STDERR] Database handles still open at environment close
11:47:08,468 ERROR [STDERR] Open database handle: smscsucc.db
11:47:08,468 ERROR [STDERR] java.lang.IllegalArgumentException: Invalid argument
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.db_javaJNI.DbEnv_cl
ose0(Native Method)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close0(DbEnv.
java:208)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close(DbEnv.j
ava:76)
11:47:08,468 ERROR [STDERR] at com.sleepycat.db.Environment.close(Environmen
t.java:39)
11:47:08,468 ERROR [STDERR] at daos.RetriveDao.getData(RetriveDao.java:131)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.getData(MainServlet.j
ava:47)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.serviceHelper(MainSer
vlet.java:76)
11:47:08,468 ERROR [STDERR] at controllers.MainServlet.doGet(MainServlet.jav
a:101)
11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:697)
11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:810)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:252)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
r.doFilter(ReplyHeaderFilter.java:96)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:202)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:173)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
.invoke(StandardWrapperValve.java:213)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
.invoke(StandardContextValve.java:178)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
tionValve.invoke(SecurityAssociationValve.java:175)
11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
e.invoke(JaccContextValve.java:74)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
voke(StandardHostValve.java:126)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
nvoke(ErrorReportValve.java:105)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:107)
11:47:08,468 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
ervice(CoyoteAdapter.java:148)
11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
ess(Http11Processor.java:869)
11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
ocessSocket(PoolTcpEndpoint.java:527)
11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
hread.run(MasterSlaveWorkerThread.java:112)
11:47:08,468 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x29693a05, pid=832, tid=3776
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [libdb44.dll+0x33a05]
# An error report file with more information is saved as hs_err_pid832.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Press any key to continue . . .
Thnking you
Thanks & Regards
Venkat GadarlaHello,
Your question is about Berkeley DB -- this is the Berkeley DB Java Edition forum. Please repost this over at:
Berkeley DB
Thanks.
Charles Lamb -
HOW to retrive data from SAP Tabel
Hi Friends,
1)Can you please explain how to retrive data from SAP table(example AFRU).
2) we had requriment based on the qunatity , Product name and date we need to display KPI's .KPI is based no products manfactured per day with some conditions
Regards
SrikanthHi Udayan,
I want to retrive SAP Table data from xMII.can you please explain elabarately how to call "RFC_READ_TABLE" from xMII.
please do the needful
Thanks
Srikanth -
After retrive data from KM files in webdynpro , i am getting errro. Plsadvi
Hi Experts,
We are doing one application that retrive data from KM files and display into TextEdit fields.
But we are getting below message :
SapuserWPUser default_namespace: com.sap.security.core.usermanagement [email protected]1 WPUser: (Guest)[com.sapportals.portal.security.usermanagement.User50_Impl@-1256229727] UME user object Transient data:
com.sap.security.core.persistence.imp.PrincipalDatabag Mon Dec 14 10:40:39 CET 2009 * UniqueID: USER.PRIVATE_DATASOURCE.un:Guest * Type: USER * Home data source: PRIVATE_DATASOURCE * Private id part: un:Guest * * Existence not checked. * * "com.sap.security.core.usermanagement"|->"j_authscheme" (no time limit)="anonymous" * "com.sap.security.core.usermanagement"|->"km-permissions" (no time limit
com.sap.security.core.persistence.imp.PrincipalDatabag Mon Dec 14 10:40:39 CET 2009 * UniqueID: USER.PRIVATE_DATASOURCE.un:Guest * Type: USER * Home data source: PRIVATE_DATASOURCE * Private id part: un:Guest * * Principal exists. * * Direct parents: * GRUP: GRUP.SUPER_GROUPS_DATASOURCE.EVERYONE * GRUP.SUPER_GROUPS_DATASOURCE.Anonymous Users * GRUP.PRIVATE_DATASOURCE.un:Guests * ROLE: * "com.sap.portal.dsm"|->"DebugControlFlag" (no time limit)= * "com.sap.security.core.usermanagement"|->"locale" (no time limit)= * "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="Guest" * "$serviceUser$"|->"SERVICEUSER_ATTRIBUTE" (no time limit)= * "com.sapportals.portal.navigation"|->"uipmode" (no time limit)= **
Pls help me above issue
Edited by: vidala sekhar on Dec 14, 2009 10:54 AMHi there,
Did you got a solution to this? I'm facing the same issue.
Thank you
BR
Joã -
How will write SQL query to fetch data from each Sub-partition..
Hi All,
Anyone does have any idea about How to write SQL query to fetch data from Sub-partition.
Actually i have one table having composite paritition(Range+list)
Now if i want to fetch data from main partition(Range) the query will be
SELECT * FROM emp PARTITION(q1_2005);
Now i want to fetch data at sub-partition level(List) .But i am not able to get any SQL query for that.
Pls help me to sort out.
Thanks in Advance.
AnwarSELECT * FROM emp SUBPARTITION(sp1);
Maybe you are looking for
-
How do I change the phone number in the setup of my keychain?
I put the wrong phone number in my keychain at setup and need to change it. I am fairly new to MAC and need help with this issue,PLEASE!
-
How I can contact with my carrier. I bought my iphone from USA and now I am in another country
-
I have successfully used DL Mobile for some months (currently: some 3+k photos in Adobe's Photo Cloud, in 56 collections). Some two weeks ago sync on DL desktop went erratic, i.e. sync attempts were always active according to the spinning wheel in th
-
Fan Noise, is it a leopard thing?
Increasingly over the past 6 months my machine has been struggling well at least the fan seems to go 10 to the dozen and beach ball has become a far more regular friend than ever before. I thought it was to do with the warm summer and the machine try
-
Okay, heres an odd problem. I'm working through the Motion tutorials that were included with the software. (the Dolphins project for anyone whos familiar with the lessons). I'm having a problem with the inspector not indicating that a behavoir has be