Pulling Table data with a BAPI
Hi:
Looking for BAPI to pull data from Tables in the back end.
Hi Jo,
As I see, both the model node and the Value node has the same structure. In that case try using the copy service API for copying sll the values from ur model node to value node. The statement is
WDCopyService.copyElements(wdContext.node<ModelNodename>,wdContext.node<ValueNodename>);
This should work
Regards,
Poojith M V
Similar Messages
-
How to export table data with coloring of cell according to value.
Hi all,
I am using jdeveloper 11.1.1.6
i want to export table data with lot of formatting. like with coloring of cell according to value and so many.How to do that?Hi,
like with coloring of cell according to value and so many.How to do that?
Answer is, you can't
Frank -
How to Fill custom table data using standrad BAPI
Hello Team,
I have some clarification on usage of Standard BAPI : BAPI_Material_savereplica.
I have some custom fields in MARA and MARC tables so i have used BAPIExtensionin and able to pass custom field of MARA and MARC.
My issue is in material master the MARC custom fields of a material are going to update in a Z table along with MARC table.
So can we achieve this functionalioty using BAPI : BAPI_Material_savereplica menas can we upadate custom table by using standarda bapi
Please let me know the available options ..Hi Some,
You are saying most of the data is resides out of sap, then you try with mapping of those data in sap standard tables if match or if not then develop a custom interface which will read data from outside & will put in your pay roll processor interface,
and normally your SAP data you can interface through PU12.
If you want single interface then you need to develop unique interface program.
All the best. -
Export and import table data with Java
I need a library for simple exporting and importing table data.
The data should be exported to a SQL file with insert statements.
I just want to tell the library the table name, the connection and where to store the file. The usage should be very simple.
Are there any small libraries for this? Finished calsses and methods which I can just call?I need a library for simple exporting and importing
table data.
The data should be exported to a SQL file with insert
statements.Every database has utilities to export/import data from tables. Take a look at your database manual. -
How join a type table data with a real table.
Hello,
I want make a join with a type table data and real table.
But i don't know how make this.
Can you help me?????
I have this pl/sql:
SET LINESIZE 5000;
DECLARE
valor NUMBER;
TYPE reg_tablita IS RECORD
(cuenta B_TB_CTAFACTU.B_CO_CTAFACTU%TYPE,sistema B_TB_CTAFACTU.B_CO_SISTEMA%TYPE);
TYPE Tabla IS TABLE OF reg_tablita INDEX BY BINARY_INTEGER;
I BINARY_INTEGER;
Array Tabla;
BEGIN
Array(1).cuenta:='000001';
Array(1).sistema:='AA';
Array(2).cuenta:='000002';
Array(2).sistema:='BB';
Array(3).cuenta:='000003';
Array(3).sistema:='CC';
Array(4).cuenta:='000004';
Array(4).sistema:='DD';
Array(5).cuenta:='000005';
Array(5).sistema:='EE';
SELECT count(*) into valor FROM
TABLA A, Array WHERE
B_CO_CTAFACTU=Array.cuenta and B_CO_SISTEMA=Array.sistema
quit;
Thanks very much!!!!You need to have the types defined as SQL types (created in database) in order to be able to use them for joining. PL/SQL object types can not be joined.
-
Order table data with comparing rows
Hi,
My question is...
I have table with with 5 columns this actually is been loaded from a file and there is no direct PK, but for that combination of columns as used to make them unique
code, person, case
Table X
CODE CASE OLD_ID NEW_ID PERSON AUTH
01 ab122 1234 0001 AU123 99393
07 vv353 7872 0919 FV982 78282
01 ab122 1982 9929 AU123 99393
04 hjsss 8839 8302 JK920 32320
01 ab122 0001 1982 AU123 99393
05 cg899 6728 32322 IKL020 65252
07 w353 0919 8282 FV982 78282
now I need to order this data comparing row values of old_id to new_id for each of the combinations of code, person, case
need output like below
Table X
CODE CASE OLD_ID NEW_ID PERSON AUTH
01 ab122 1234 0001 AU123 99393
01 ab122 0001 1982 AU123 99393
01 ab122 1982 9929 AU123 99393
04 hjsss 8839 8302 JK920 32320
05 cg899 6728 32322 IKL020 65252
07 vv353 7872 0919 FV982 78282
07 w353 0919 8282 FV982 78282
hot to get this result, any help is much appreciated..
Thanks,
AK.Yes you are right, I took it down to edit this in that time you have posted the message...
Question:
Table data need to be sorted by matching old_id with new_id
actual table : here rows are randomly arranged
Table X
CODE CASE OLD_ID NEW_ID PERSON AUTH
01 ab122 1234 0001 AU123 99393
07 vv353 7872 0919 FV982 78282
01 ab122 1982 9929 AU123 99393
04 hjsss 8839 8302 JK920 32320
01 ab122 0001 1982 AU123 99393
05 cg899 6728 32322 IKL020 65252
07 w353 0919 8282 FV982 78282
output table: here if you see old_id of row 2 is matched to new_id of row 1.. and so on
Table X
CODE CASE OLD_ID NEW_ID PERSON AUTH
01 ab122 1234 0001 AU123 99393
01 ab122 0001 1982 AU123 99393
01 ab122 1982 9929 AU123 99393
04 hjsss 8839 8302 JK920 32320
05 cg899 6728 32322 IKL020 65252
07 vv353 7872 0919 FV982 78282
07 w353 0919 8282 FV982 78282
so, I need a query where I can generate this output.. -
Filter table data without calling BAPI
Hi all,
How I can filter VC table without calling BAPI or other backend? The objective is to bring a large data only once and allow to user filtering of this data.
The problem is that the filter options are dynamic so I can't use "hidden tables" workarownd.
Any ideas?
Thanks,
OlaHi,
I think this is not possible, because you can only filter the data once with the filter element. If you use a BI query you can use filters. Maybe you can bring the data to a hidden table and get the data again from this table with different filter elements resp. dynamic filter values, but I think this is very tricky and not a good solution.
Best Regards,
Marcel -
Pages Link Table Data With A Chart
Hello,
I am wondering if in pages one can link the data in a table with the charts in the same document.
Thanks in advanceNo. It might be better for you to work in Numbers if you are doing a lot of this.
Jerry -
Problem getting the Table Data with the selection listener
Hi All,
I am working on a tree and table components. I wrote a logic in the backing bean in such a way that when I expand a node the child nodes for the tree are getting added dynamically and also getting the data in the table for the node expanded in the tree using the same Toplink Query . I added the selection listener for the table and when I am selecting a row in the table I am getting the Null Pointer Exception as the RowKeySet Value for the row selected is coming null.
Can any one please help me out with this problem
I will be very thankful
Regards,
Madhavi.Hi All,
I am working on a tree and table components. I wrote a logic in the backing bean in such a way that when I expand a node the child nodes for the tree are getting added dynamically and also getting the data in the table for the node expanded in the tree using the same Toplink Query . I added the selection listener for the table and when I am selecting a row in the table I am getting the Null Pointer Exception as the RowKeySet Value for the row selected is coming null.
Can any one please help me out with this problem
I will be very thankful
Regards,
Madhavi. -
How to incorporate table data with Oracle Business Rule
hello
I want to use table with data in Oracle Business Rule can i do it.
if yes please write how .
with regs
saleemHi,
like with coloring of cell according to value and so many.How to do that?
Answer is, you can't
Frank -
Replace Table Data With Search
I want to run a search but only on a selected 8 cells, and want to change all the words "Blue" to "Red", even I select those cells when I hit Search it seems to replace all of the cells... Any ideas anyone?
Numbers won't do a find/replace limited to the selection.
Two ways of accomplishing this:
1. Don't use "Replace all". Instead,click "Find Next", then "Replace & Find"for each occurrence you want to change, and "Find next" on each that you wish to stay the same.
2. To limit the changes to a single table, select each of the tables you do NOT wish to change and go Arrange > Lock. When all are locked, proceed with the Find/Replace, using Replace All. All occurrences on the unlocked table will be replaced. All data on the Locked table(s) will remain unchanged.
Regards,
Barry -
Browsing table data with server explorer.
I'm trying to browse data from a table in a different schema. When I double click on the table, I keep getting an error. Schema object MY_TABLE.MY_SCHEMA : Table @ JIN.dbprd/prd1 no longer exists in the database. I can see that (at least in the message), the table and schema is clearly reversed. Anybody else having this problem? is this a known issue? any fix?
If you would like to try to diagnose this, please try the following:
1) Close Visual Studio and all applications that are connected to Oracle
2) In the same Oracle Home as the ODT install, please find the SQLNET.ORA file
3) In that file, add a line:
TRACE_LEVEL_CLIENT=16
4) Start Visual Studio
5) Reproduce the error as efficiently as possible (with no extra steps)
6) Close Visual Studio immediately
7) Search for the newly created SQLNET.TRC file
8) Zip the file, rename the extension to .zipa or something else and email to [email protected]
9) Remove the TRACE_LEVEL_CLIENT entry in SQLNET.ORA -
Select three tables data with Same where condition
Hi i want sum data in three tables with same where condition. how can i do this code very simple.
SELECT SUM(SIGNA) FROM dbo.tblPLAG
WHERE VERSION='ACTUAL' AND STATS='ST_Z010'
AND FACILITY='FA_2003'
AND TD IN ( SELECT TIMEID FROM Time WHERE ID BETWEEN
@YEAR+'.'+(SELECT RIGHT ('000'+ CAST (@PERIOD-6 AS varchar), 3))
AND
@YEAR +'.'+(SELECT RIGHT ('000'+ CAST (@PERIOD AS varchar), 3)))
Try following
SELECT SUM(t1.SIGNA) + sum(t2.SIGNA) + sum(t3.SIGNA) and you query, it will add the SUMs of each table.. hopefully it will work -
Can I delete table data with a change request?
Hello colleagues,
There is a table (T2502) that in production system has more data (not necessary)than in the dev system, and we have created a request with the same data from the dev system, that does not have this data, but i does not remove the data that is not necessary. I have tested and the inser procedure is working fine. Do you know if the system allows to copy the table from a dev to a prd system by a request?
Which should be the most appropriate way to do this?
I have checked in SE54, generated objects, and in the "dialog data transport details" it is set to "no, or user,recording routine".
Any idea?
Thanks in advance.Moving the table by a transport request is better option.
Do u want the procedure of doing this...
Ur query is not clear at all. will u tell exactly wat u want to do.. -
Printing of table data with a button
I have an application that creates a table with data from a database. I would like to put a button at the top of the page that would allow the user to print the table in paginated format. Does anyone have any sample code or directions as to how I could accomplish this. As an FYI, I am new to JSP and Creator studio.
Example code in the button is like this (I use oracle 10g, and call stored procedure to get the result set. In your case, maybe you just use simple view/table, give the connection to the jasper, and let the jasper query the table).
public String printButton_action() {
FacesContext myFaces = FacesContext.getCurrentInstance() ;
ServletContext svContext = (ServletContext) myFaces.getExternalContext().getContext();
HttpServletResponse response = (HttpServletResponse) myFaces.getExternalContext().getResponse();
File reportFile = new File(svContext.getRealPath("/report.jasper"));
if (reportFile.exists()) {
ResultSet rs;
Integer totrec;
// prepare parameters, connection... etc.
try{
java.sql.Date bdate = new java.sql.Date(begCalendar.getSelectedDate().getTime());
java.sql.Date edate = new java.sql.Date(endCalendar.getSelectedDate().getTime());
Connection con = getSessionBean1().getOracleconnection();
CallableStatement stmt = con.prepareCall("{call webcrpackage.TtcHarian(?,?,?,?)}");
stmt.setDate(1, bdate);
stmt.setDate(2, edate);
stmt.registerOutParameter(3, OracleTypes.NUMBER); //REF CURSOR
stmt.registerOutParameter(4, OracleTypes.CURSOR); //REF CURSOR
stmt.execute();
rs = (ResultSet) stmt.getObject(4);
totrec = Integer.valueOf(stmt.getBigDecimal(3).intValue());
} catch(Exception e) {
error(e.getMessage());
return null;
try {
JRResultSetDataSource dsource = new JRResultSetDataSource(rs) ;
// execute jasper
byte[] bytes = null ;
// prepare jasper parameter!!
Map parameters = new HashMap();
parameters.put("comname", getSessionBean1().getComname());
parameters.put("comdivision", getSessionBean1().getComdivision());
parameters.put("begdate", begCalendar.getSelectedDate());
parameters.put("enddate", endCalendar.getSelectedDate());
parameters.put("totalrecord", totrec);
bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), parameters, dsource);
response.setContentType("application/pdf");
ServletOutputStream ouputStream = response.getOutputStream();
ouputStream.write(bytes, 0, bytes.length);
ouputStream.flush();
ouputStream.close();
} catch (Exception ex) {
error(ex.getMessage());
return null;
} else {
error("Report file doesn't exist!");
return null;
}Long journey, search this forum on how to deploy jasper in jsc, etc..etc.
Hope that helps.
Maybe you are looking for
-
Run time error while saving sales order
Hi all, i am working on IDES ECC 6.0, when i am saving an sales order(OR) i am getting run time error in the table CRMPAROLTP, program SAPMV45A. i am using 4 GB RAM, still having a space of 30 GB for only IDES to save the data. so, how to solve it.
-
CS3 file crashing CS4 when trying to open
I have a CS3 file that I created on the Mac and when I try to open it on my PC in CS4 it crashes. When I use an older version of the same FLA file it opens in CS4. Are there known issues of things that cause a file to crash going from CS3 to CS4?
-
Hello all. I have a 600 x 400 (pixel) Flash movie embedded in HTML. I am having trouble getting the browser to resize to the exact dimensions of the Flash movie. I've removed the browser's inherent margins but it still won't resize. I guess it could
-
I will be abroad where I will need a compass. I will have all data services turned off on my iPhone4. Will the compass work with location services off? Thanks Alan
-
ITunes & QuickTime Player Issues
For the past few days I have been unable to load iTunes. I have tried to reinstall both iTunes, but have encountered many problems. I have downloaded the latest version of iTunes with QuickTime Players from the iTunes website, and followed the instal