How to retrive data from MDM Tuple?
Hi,
How to retrive MDM Tuple data into a java Application? Here I have to fetch the data from MDM Tuple and populate it in a list. can anybody please help me in doing this.
Thanks.
Hi Sree,
Any one of the below mentioned APIs can perform the record retrival from a Tuple.
- Record.getFieldValue(tupleFieldId)
If the tuple record is part of the original table record that can be obtained using one of the Retrieve commands responsible for retrieving records.
- TupleValue.getFieldValue(tupleFieldId)
If the tuple record is part of another tuple record (nested tuple structure)
Hope this helps.
Also a good read related to this - http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/03144f3fad3697e10000000a42189b/content.htm
Regards,
Vinay M.S
Similar Messages
-
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 -
How to retrive data from selected checkboxes with fieldnames
hi experts,
how to retrive data from selected checkboxes with fieldnames into another alv grid report.(here the fieldnames selected from table names is dynamically).
thankx in advance
rani.k.Hi,
Use user_command in the alv grid and then
do the follwoing code
FORM user_command1 USING lv_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Declaration of local Variables
DATA : lv_ref1 TYPE REF TO cl_gui_alv_grid.
DATA lv_cnt TYPE i. "+INS SUHESH 12.07.2008
Check function code
CASE lv_ucomm.
WHEN 'ONLI'.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = lv_ref1.
CALL METHOD lv_ref1->check_changed_data.
now loop ur final internal table where check = 'X'.
now pass data to other internal table..Now the internal table will be having values that the user selcetd on the screen.
Hope this helps.
Regards,
Nagaraj -
How to retrive data from database views or projection views
how to retrive data from database views or projection views
Hi chintam,
1. Very simple
2. Just like normal select statement.
3. Select * from VIEWNAME.
4. (Instead of the tablename, we just have to give the viewname)
regards,
amit m. -
How to retrive data from this inernal table
hi,
could u please explain clearly how to retrive the records from this structure
data: begin of itab.
include structure sflite.
data:end of itab.
how to retrive data from this structure could u plz give me a code with example.Hi,
TYPES: BEGIN OF struc1,
val1 TYPE c,
val2 TYPE c,
END OF struc1,
BEGIN OF struc2,
val type struc1,
val3 TYPE c,
val4 TYPE c,
END OF struc2.
DATA: l_f_str1 type struc1,
l_f_str2 type struc2.
START-OF-SELECTION.
l_f_str2-val-val2 = 'a'.
write : / l_f_str2-val-val2.
END-OF-SELECTION. -
How to retrieve data from MDM using java API
hi experts
Please explain me the step by step procedure
how to retrieve data from MDM using java API
and please tell me what are the
important classes and packages in MDM Java API
thanks
ramuHi Ramchandra,
You can refer to following links
MDM Java API-pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b143420f49
webinr of java API
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/89243c32-0601-0010-559d-80d5b0884d67
Following Fourm Threads will also help.
Java API
Java API
Re: usage of java API ,
Matching Record
Need Java API for Matching Record
Thanks and Regards,
Shruti.
Edited by: Shruti Shah on Jul 16, 2008 12:35 PM -
How to retrive data from SAP Archive (from Cluster or Content Table)
Hi,
I am working on HR -ABAP where i have a scenario to retive employee photo and disaplay as output in smartforms.And these employee photo are stored in Cluster table SDOKCONT1 in SAP Archive Link (storage type - SAP System Database).
Anybody can tell me the way how to retrive data ( employee Photo ) from this cluster and display its output in smartform dynamically.
Regards,
Sourabh ShrivastavaHello Sourabh,
If I am not wrong, there are two parts two your query...
a) Data or Content Retrieval
b) Displaying Retrieved content
Here is my feedback
a) The Content can be Retrieved using the FM ARCHIV_GET_TABLE.
Pass the Archive Object, SAP Object and the SAP Object ID and based on the Connection table entries (TOA*), the underlying Content Repository (T-code OAC0) is determined and a request for synchronous retrieval is made to the Content Server.
b) Display of Retrieved content is normally done through dedicated viewers (Ex: Livelink Viewer) or front-end applications (Excel, Word) based on the Protocol (OAA3/OAA4) specified in the Content Reository Configuration. Hence, to my knowledge, you cannot display the content directly in the Smartform.
With Regards
Vijay Gajavalli -
How to retrive data from corrupted ipod
i was using my Apple Ipod as a storage device to keep data back up of my personal file. Unfortunately data in this device is corrupted and i dont know how to retrive it now.
Can somebody help me to retrive these data files.If you previously synced to the computer then you may be able to recover use of the iPod without erasing the iPod by following the instructions here:
Disabled Recovery-must use syncing computer.
If you do not have a backup to restore from then yo may be able to get some info from the restored iPod by:
How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
http://www.amacsoft.com/ipod-data-recovery.html
iPod recovery software to restore lost music files -
How to Retrive data from db using EJB in WebDynpro
hi...
i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
Thanks and Regards
Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a>hi...
i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
Thanks and Regards
Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a> -
How to retrive data from oracle dtaabase to JSP
HI Please help me in the fallowing issue,
I am writing 2 JSps with tomcat 5.5 while I am retiving data from database ,, I am unable to retive it.
can any one help what is the best solution,
Thanks IN Advance,,
here is my code..
<%@ page language="Java" import="java.sql.*"%>
<%
try
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@Spandhan:1521:orcl",
"waveset" ,"waveset");
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select * from "+request.getParameter('tableName'));
while (rset.next ()){
out.println(rset.getString (1));
//out.println("4");
BLOB b=rset.getBLOB ("XML");
//out.println("5");
out.println(b.getBytes(1,b.length()));
//out.println("6");
out.println("<BR/>");
out.println("<BR/>");
}catch(Exception e){
out.println(e);
%>
My error is this ,,
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /test.jsp
Generated servlet error:
Invalid character constant
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /test.jsp
Generated servlet error:
Invalid character constant
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Apache Tomcat/5.5.20Thanks all. i did modification to the code, now i am getting onother error that
javax.servlet.ServletException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
i want to retrive BLOB value from database ,,
here is my modification code ,,
and i am using jar OJDBC14.jar . the path is correct,I dont know whether this driver will support to retrive Blob value or not ?
<%@ page language="Java" import="java.sql.*" %>
<%
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@hostname:1521:orcl","waveset","waveset");
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery ("select * from USEROBJ");
while (rset.next()){
long l=1L;
Blob b=rset.getBlob(1);
int len=(int)b.length();
String s=new String(b.getBytes(l,len));
out.println(s);
out.flush();
%>
My error is like that ...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.ServletException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.test4_jsp._jspService(test4_jsp.java:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.sql.SQLException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
oracle.jdbc.driver.Accessor.unimpl(Accessor.java:358)
oracle.jdbc.driver.Accessor.getBLOB(Accessor.java:1300)
oracle.jdbc.driver.OracleResultSetImpl.getBLOB(OracleResultSetImpl.java:1275)
oracle.jdbc.driver.OracleResultSetImpl.getBlob(OracleResultSetImpl.java:1461)
org.apache.jsp.test4_jsp._jspService(test4_jsp.java:55)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Apache Tomcat/5.5.20
Please help me, Thanks,
---------------------------------------------------- -
How to retrive data from I cloud
HOw do I retrive files from I cloud
Hi arunskulkarni,
If you log onto the iCloud website from your computer, you will gain access to your mail (if you've set up your free iCloud email address), contacts, calendars, and iWork files (if you've purchased iWork).
Hope this helps,
O.C.
P.S. If you want to find your mail, contacts, calendars, and iWork files on an iOS device, they can be found in their respective apps. -
How to retrive data from MYSQL database beginner question
I need to know a method, on how to retrieve values from a MYSQL database. I finally managed to insert data to a MySql database using hibernate, with the help of google. but, i couldn't find any helpful article on google, on retrieving data, will some plzz help me, by directing me to a site that has sample codes ??
i am actually new to MYSql and Databases in java, so plzz do help me, i am lost here,,, :(Oh, it's Hibernate. In the future, please use the forums at their own site.
Answers on how to use Hibernate are usually available in the excellent "Hibernate Reference Documentation" available here. -
How to retrive data from SQL or any database.
Hi Experts,
I am integrating FTP, DATABASE and SAP R/3 system.
1. FTP system stores xml files processed by customer requesting account info.
2. Database system ( SQL/Oracle) consists of Details about Customer accounts.
3. Finally response ( Account info ) to be sent to SAP R/3 system (customer request and database response)
Scenario: Customer request regarding account info is stored as xml in FTP server. XI has to pick the xml file and retrieve the relevant data from Database (SQL / Oracle) and store the whole data in SAP R/3 System.
Please let me know which BAPI I need to use for this scenario..and if you could explain the steps involved for this scenario that will really helps me.
Thanks and Regards,
SunilI dont think there will be a separate bapi for this scenario.
Use file adapter to pickup the file, call the JDBC adapter in synchronous mode (call a Stored Procedure) and then call an RFC or proxy to push the data in to R3.
Refer and File to Jdbc and File to RFC scenarios. You might need to use BPM if you below SP14 on XI 3.0 I believe..!!
VJ -
How to retrive data from .XML file to JMS
hi friends.. this is vamsi from india.. i have been working on jsp, java bean, xml, jms, message driven bean , ejb and database from last couple of days. but i am not able to retrieve data from fields in xml file to jms. can any one help me out in retrieving the data from xml to jms..
thanking you,
vamsi.Database but we are not able to retrieve the values
from XML to JMS."We are not able to" is too vague a statement. An answer to this could well be "Did you turn your computer on?"
So again, please post formatted code showing what you have done and where you are stuck.
Perhaps an error message and/or a stack trace if appropriate. -
How to retrive data from the database by using resultset metadata
Hi
I am very new to java programing.please help me anyone...
In my table 20 fields are there.I want to retrive those fields and put it into arraylist.and return the arraylist.
regards
guruFirst get Column count by using getColumnCount() method
Then Get The Column name by using getColumnName(int column)
By using column name You can retrieve values
eg:
String columeName=null;
int count = mymetadata.getColumnCount();
for(int i=1;i<=count;i++) {
columeName = getColumnName(i);
//Retrive values from resultset buy using columeName
}
Maybe you are looking for
-
hi, am new to java, i have a set of classes, each class has only static methods, no non static methods and no attributes, and i have one loader class which will receive 2 string parameters which are the class name needs to be instantiated and the met
-
Want to type in my phone contacts with my computer (NOT tiny buttons on phone)
OK so I do not use Outlook or Yahoo or any of the like type services and even if I did, it would just be email addresses and not phone numbers. I need to input all my phone contacts (about 200) into my 8330. I cannot fathom how long it is going to
-
Oracle Configuration Manager - EBS R12.1.1
Hi , EBS R12.1.1, on OEL 5.4 Is there forums for Oracle Configuration Manager? I am trying to configure it, but as usual the docs is very topsiturvy. Identifying If Oracle Configuration Manager Is Already Installed or Configured Oracle Configuration
-
HT201343 if I upgrade to mountain lion X will I be able to mirror HBO to go on my mac air?
If I upgrade to mountain lion X, will I be able to mirror HBO to go on my mac air?
-
Mail crashing while deleting messages
I've been having a problem over the past few weeks that's driving me crazy. When I check mail after an interval of more then a few hours, I usually have a few dozen or more messages, mostly spam. So, I merrily go about deleting them as I scan for rea