Flat file (csv) to oracle database - get dictionary data from oracle table
Hello,
I need to develop following scenario. I have flat csv file with some data, for example:
City;Address;Name
In oracle schema, there is table where data from imported csv should be written. Also, in the same schema, there is table named CityDictrionary. After ODI loads each row from csv, it should translate text representation of City to numerric ID got from CityDictionary table. And this numeric value should be placed to destination table, instead of direct text value from csv.
What is the simplest way to accomplish this task? Can you provide any tips?
You can achieve this easily with a single ODI interface. The flat file and the CityDictionary tables are your sources. Identify the field on the CityDictionary table and the corresponding field on the flat file that will be used to join the data sets (e.g. the city name). Create a join between the sources using these fields. Because you're using a flat file as one of your sources, the join logic will have to be performed on either the staging or the target.
The target is your destination table, and you should map the ID from the CityDictionary table to the appropriate field in the target, as well as any other required fields from the flat file.
This type of interface is a fairly typical method of populating a normalized table.
Alternatively, you can use a lookup - see the following blog for an example. In your case, the flat file will be your source and the CityDictionary table will be used for the lookup.
http://www.odigurus.com/2012/02/lookup-transformation-using-odi.html
Edited by: _Phil on Oct 1, 2012 11:52 PM
Edited by: _Phil on Oct 1, 2012 11:57 PM
Similar Messages
-
How to get the data from Pooled Table T157E.
Hi Experts,
How to get the data from Pooled Table T157E.
Any help.
Thanks in Advance,
Ur's Harsha.create some internal table similar to T157E and pass all data as per SPRAS.
After that use internal table in your program as per the requirement.
Regds,
Anil -
How get selected data from oracle data as per give input
sir i use Sun Java Studio Creator with oracle 10g
my direct want user give input through both listbox , textbox or string variable
how i pass this input in sessionbeen query and page give data in table as per user need
please give me step and code
this is urgent
thank'sYou would get hierarchical data from a functrion in the same way as you would any data. Create a function returning a cursor and then use your SQL statement to open the cursor. Very simplistically:
Create Function My_Func Return Sys_Refcursor As
l_cur Sys_Refcursos
Begin
Open l_cur For
'select EMPNO,ENAME,SYS_CONNECT_BY_PATH(ename, '/') "Path"
from EMP
start with MGR is null
connect by prior empno=mgr';
Return l_cur;
End;
Then, whatever calls the function would walk through the cursor an do whatever.
Jhn -
Getting Archieved data from BSID table
Hi Experts,
My requirement is to fetch the archieved data from BSID table .
I am calling the Logical database 'SDF' using the function module LDB_PROCESS.but the call back routine is not triggering.
Please help me with this issue.
Thanks in advance...!!
Regards,
RamHi Ram:
Logical database 'SDF' don't contains BSID Table, you must to use
DDF CUSTOMER DATABASE
VDF Customer Database with View of Document Index
You could verify in T-CODE SE36 /Stucture / Display that BSID is contains into both Logical database.
Or olso, T-CODE SE11 Database Table (BSID) clic on Where user list button, select Logical database and you see all the Logical database that used BSID.
Regards,
José Luis -
File to Jdbc: how to get record count from DB table
Hello,
i have a scenario file to JDBC....ihave to insert input file data to DB table.
now my requirement is ..if i insert a file with 50 records to db table on first time, and then next time if i insert the file with 100 records to db table....the count should start from 51 in db table.
if i insert another file 3rd time, with 25 records, the count shold start from 151...so how can i achieve this functionality....
i think following options:
1. in mapping write lookup to call JDBC sender channel and fetch count and map same to target filed of DB. if this is ok...please provide UDF code..2. db triggers (not suitable for my req.)
So kindly let meknow possible solutions and required UDF codes..please
Thanks in advance...SARAN>>>..if i insert a file with 50 records to db table on first time, and then next time if i insert the file with 100 records to db table....the count should start from 51 in db table.
if i insert another file 3rd time, with 25 records, the count shold start from 151...so how can i achieve this functionality....
i think following options:
Suggestions:
1)Create an id column in db table. Talk to DB guy to create oracle sequencer for that column. So, every time you insert record that field will be updated with oracle sequencer. You dont need to handle this.
Refer this link
http://www.techonthenet.com/oracle/sequences.php
2) If you want to handle via pi, following suggestions..
If you use PI 7.1 or above, use jdbc lookup in the mapping and do the query something like this
Refer this link
/people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
Do select query as below
select count(*) from tablename;
the above query will return number of rows exist in the table. So use that value and map it in the target field.
If you use pi 7.0 or below then use the previous reply and do the UDF implementation for jdbc lookup during mapping. Because jdbc lookup does not support in those versions.
Hope that helps.
Baskar -
How to get the data from a table cell
Could somebody suggest me how I can get the data value from a table cell if I set that cell a Double object previously.
Thanks very muchThanks for camickr's information.
And thanks uhrand,
I haven't got it sloved. I am sick on this problem.
I have the methods to let the table editable. My tableModel code is from Sun Tutorial.
It has the code like this:
public int getColumnCount() {
return columnNames.length;
public int getRowCount() {
return data.length;
public String getColumnName(int col) {
return columnNames[col];
public Object getValueAt(int row, int col) {
return data[row][col];
* JTable uses this method to determine the default renderer/
* editor for each cell. If we didn't implement this method,
* then the last column would contain text ("true"/"false"),
* rather than a check box.
public Class getColumnClass(int c) {
return getValueAt(0, c).getClass();
* Don't need to implement this method unless your table's
* editable.
public boolean isCellEditable(int row, int col) {
//Note that the data/cell address is constant,
//no matter where the cell appears onscreen.
if (col < 1) {
return false;
} else {
return true;
* Don't need to implement this method unless your table's
* data can change.
public void setValueAt(Object value, int row, int col) {
if (DEBUG) {
System.out.println("Setting value at " + row + "," + col
+ " to " + value
+ " (an instance of "
+ value.getClass() + ")");
data[row][col] = value;
fireTableCellUpdated(row, col);
if (DEBUG) {
System.out.println("New value of data:");
printDebugData();
public void printDebugData() {
int numRows = getRowCount();
int numCols = getColumnCount();
for (int i=0; i < numRows; i++) {
System.out.print(" row " + i + ":");
for (int j=0; j < numCols; j++) {
System.out.print(" " + data[i][j]);
System.out.println();
System.out.println("--------------------------");
} -
How Can i get the data From A Table that use DefaultTableModel
Hi and sorry for my bad english. The problem that i have is that i used this code to fill a table. Now i want when i select a row and click in a button , get the value of that row that i select so then i can update or delete that data in my dataBasesServer.
private void consulta(){
Connection c = ConectarSQL.conexionSQL();
try {
Statement s = c.createStatement();
ResultSet ar = s.executeQuery("Select Apellido, Nombre FROM Personas");
DefaultTableModel modelo = new DefaultTableModel();
this.Tabla.setModel(modelo);
modelo.addColumn("Apellido");
modelo.addColumn("Nombre");
while (ar.next()) {
Object [] fila = new Object[2];
for (int i=0;i<2;i++)
fila[i] = ar.getObject(i+1);
modelo.addRow(fila);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}Dont worry kevinaworkman, the thing is that a read it and is really usefull, but i was looking other kind of solution. But i welcome your answer and interested to solve my problem.
I find the answer.
To retrive the data i have to use the following instruction:
Tabla.getValueAt(Tabla.getSelectedColumn(),Tabla.getSelectedRow); -
Jdev 11.1.1.5 R1 How To Get Row Data From ADF Table
Hi everyone,
I have an ADF Table Populated with dummy data (for now). Below the Table there is an InputText field.
What I need to do is have the body of the message show up in the InputText field when the user clicks on a message in the inbox(Table).
I've been trying to figure this out for quite some time now, unsuccessfully of course. Hopefully you guys can help me change that.
I do consider myself a beginner still, so please be as clear and specific as possible.
Thanks in advance!
Here is the code I have for the Table/InputText and Backing Beans
<tr>
<td>
<af:table value="#{TableBean.messageAll}" var="message"
rows="5"
inlineStyle="color:Navy; border-style:outset; border-color:Background; border-width:thick; font-size:small; text-align:center; vertical-align:middle; height:135.0px;"
width="610" rowBandingInterval="0" id="t1"
rowSelection="single"
selectionListener="#{TableBean.messageSelected}"
immediate="true" summary="Message Inbox"
disableColumnReordering="true"
columnSelection="none"
columnResizing="disabled">
<af:column sortable="false" align="center"
id="chechboxCol" width="25"
minimumWidth="25">
<f:facet name="header">
<h:selectBooleanCheckbox id="selectAll"
onclick="selectAll();"></h:selectBooleanCheckbox>
</f:facet>
<h:selectBooleanCheckbox id="selectMessage"
value="#{message.selected}"
immediate="true"></h:selectBooleanCheckbox>
</af:column>
<af:column id="urgentCol" width="25" align="center"
minimumWidth="25">
<f:facet name="header">
<h:outputText id="urgentHeader">
<img src="urgent.gif" height="14"
width="14" alt="Urgent Icon"/>
</h:outputText>
</f:facet>
</af:column>
<af:column sortable="true" headerText="From"
align="start" id="fromCol" width="175"
minimumWidth="175">
<af:outputText value="#{message.from}"
id="ot1"/>
</af:column>
<af:column sortable="true" headerText="Subject"
align="start" id="subjectCol" width="175"
minimumWidth="175">
<af:outputText value="#{message.subject}"
id="ot2"/>
</af:column>
<af:column sortable="true" headerText="Type"
align="start" id="c5" width="100"
minimumWidth="100">
<af:outputText value="#{message.type}"
id="ot3"/>
</af:column>
<af:column sortable="true"
headerText="Date Received" align="start"
id="c6" width="80" minimumWidth="80">
<af:outputText value="#{message.date}"
id="ot4"/>
</af:column>
<af:column sortable="true" headerText="Body"
rendered="false" align="start" id="c7"
width="100" minimumWidth="100">
<af:outputText value="#{message.body}"
id="ot5"/>
</af:column>
</af:table>
</td>
</tr>
<tr>
<td>
<p>
<af:commandButton text="Print" id="printButton"
inlineStyle="font-size:x-small;"/>
</p>
<af:inputText binding="#{TableBean.textArea}" rows="10"
readOnly="true" partialTriggers="t1"
contentStyle="width:620px;"
inlineStyle="color:Black; outline-color:Background; outline-style:outset;"
id="it1"></af:inputText>
</td>
</tr>
package Backing;
import javax.faces.event.ActionEvent;
import oracle.adf.view.rich.component.rich.input.RichInputText;
import oracle.adf.view.rich.component.rich.output.RichOutputText;
import java.util.List;
import java.util.ArrayList;
import oracle.adf.view.rich.component.rich.data.RichTable;
import org.apache.myfaces.trinidad.event.SelectionEvent;
public class TableBean {
private RichInputText textArea;
private message[] messageAll =
new message[] { new message("Sender 1", "Author 1", "Message 1",
"Alert", "6/21/2011",
"This is the body 1."),
new message("Sender 2", "Author 2", "Message 2",
"Notification", "6/22/2011",
"This is the body 2."),
new message("Sender 3", "Author 3",
"Message 3", "Broadcast", "6/23/2011",
"This is the body 3."),
new message("Sender 4", "Author 4",
"Message 4", "Alert", "6/24/2011",
"This is the body 4."),
new message("Sender 5", "Author 5", "Message 5",
"Notification", "6/25/2011",
"This is the body 5."), };
public message[] getmessageAll() {
return messageAll;
public void messageSelected(SelectionEvent selectionEvent) {
textArea.setValue("Message body should go here.");
public void setTextArea(RichInputText textArea) {
this.textArea = textArea;
public RichInputText getTextArea() {
return textArea;
public class message {
boolean selected;
String from;
String to;
String subject;
String type;
String date;
String body;
public message(String from, String to, String subject, String type,
String date, String body) {
this.from = from;
this.to = to;
this.subject = subject;
this.type = type;
this.date = date;
this.body = body;
public String getFrom() {
return from;
public String getTo() {
return to;
public String getSubject() {
return subject;
public String getType() {
return type;
public String getDate() {
return date;
public String getBody() {
return body;
}try this code in selection method
RichTable object = (RichTable)selectionEvent.getSource();
Row row = null;
for (Object facesRowKey : object.getSelectedRowKeys()) {
object.setRowKey(facesRowKey);
Object o = object.getRowData();
JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)o;
row = rowData.getRow();
} -
How to get the data from one table and insert into another table
Hi,
We have requirement to build OA page with the data needs to be populated from one table and on save data into another table.
For the above requirement what the best way to implement in OAF.
I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
ThanksYou can achieve this in many different ways, one is
1. Create another VO based on the EO which is based on the dest table.
2. At save, copy the contents of the source VO into the dest VO (see copy routine in dev guide).
3. commiting the transaction will push the data into the dest table on which the dest VO is based.
I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
if by table you mean a DB table, then no, you can have a VO based on multiple EOs which will do DMLs accordingly.Thanks
Tapash -
How to get the data from a table which are availble in MD04
Hello,
Can you please let me know the tables in which the 'data available in MD04' are stored.
I would like to have the data pertaining to the customer order/Item with requirements available in MD04.
Thanks and Regards,
Jana.Probably the easiest way in this case is to run the performance trace (System/Utilities/Performance trace). Start transaction MD04, put on the trace in another window, press enter to see the stock/requirements list, then stop the trace and list the results. Then you'll see which tables were accesses with which queries.
-
How to get the data from AUSP TABLE
Hi Experts,
Select * from AUSP where atinn = w_attin
And klart = 001
And atwrt between w_low and w_high.
Endselect.
Here I am using this select to retrive data from ausp where atwrt in between 00000[w_low] and 09999[w_high].
In EPC it displays an error like data types incompatability..
Because atwrt is character field of length 30 and w_low and w_high are integer fields.
How to rectify this problem.<b>Hi
Code like this
data: v_low type AUSP-ATWRT,
v_high type AUSP-ATWRT.
v_low = w_low .
v_high = w_high.
Select * from AUSP into corresponding fields of table itab where atinn = w_attin
And klart = 001
And atwrt between v_low and v_high.
DONT USE SELECT...ENDSELECT as performance issues is there rather use into table.
Mark points if helpful.
Regs
Manas Ranjan Panda</b> -
How to read Image data from oracle DB?
How to read a oracle database object ORDSYS.ORDImage from oracle
database?
I can get a oracle.sql.STRUCT object from the database, but i can not
find the way to convert data to a image object(like oracle.ord.im.OrdImage)
I had used "OrdImage imgObjj1 =
(OrdImage)rs.getCustomDatum(1, OrdImage.getFactory());"
it's a example from oralce.
But OracleResultSet.getCustomDatum() method is already deprecated,
i can't find a new method to instead of it.
Who can help me ? Thank you!
[email protected]More than likely, this is the interface you will use:
java.sql.Blob
http://java.sun.com/j2se/1.4/docs/api/java/sql/Blob.html
Once you get the blob, construct a Raster objects from the Bytes you receive from the blob. Then you can create an Image, ImageIcon, BufferedImage, whatever with the Raster object.
Good luck! -
Why do we get the data from a view to a report.
hi
why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?hi Jyotssna,
Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
Regards,
Santosh -
Unable to get the data from the stored procedure
Hello Folks,
I have this stored procedure and am trying to get the data from the table stage_bill but for some reason i am not sure its not pulling the data.Am a beginner in pl/sql Can any one please help to find out. I can give the code below.
create or replace procedure Load_FADM_Staging_Area_TEST(p_data_load_date date) is
-- local variables
v_start_date date;
v_end_date date;
-- cursor starting
CURSOR c_get_data
IS
SELECT
a.batch_id
,a.beginning_service_date
,a.bill_id
,a.bill_method
,a.bill_number
,a.bill_received_date
,a.bill_status
,a.bill_type
,a.change_oltp_by
,a.change_oltp_date
,a.client_datafeed_code
,a.client_id
,a.created_date
,a.date_of_incident
,a.date_paid
,a.deleted_oltp_by
,a.deleted_oltp_date
,a.duplicate_bill
,a.ending_service_date
,a.event_case_id
,a.event_id
,a.from_oltp_by
,a.oltp_bill_status
,a.review_status
,'HRI' schema_name
, sysdate Load_date
,'ETLPROCESS001' Load_user
,v_start_date as Row_Effective_Date
,null Row_End_date
from stage_bill a
where
--created_date >= to_date('20101031 235959', 'YYYYMMDD HH24MISS')
created_date >= v_start_date
and
--created_date <= to_date('20101111 235959', 'YYYYMMDD HH24MISS')
created_date <= v_end_date
and not exists
(select
b.batch_id
,b.beginning_service_date
,b.bill_id
,b.bill_method
,b.bill_number
,b.bill_received_date
,b.bill_status
,b.bill_type
,b.change_oltp_by
,b.change_oltp_date
,b.client_datafeed_code
,b.client_id
,b.created_date
,b.date_of_incident
,b.date_paid
,b.deleted_oltp_by
,b.deleted_oltp_date
,b.duplicate_bill
,b.ending_service_date
,b.event_case_id
,b.event_id
,b.from_oltp_by
,b.oltp_bill_status
,b.review_status,
b.schema_name,
b.Load_date,
b.Load_user,
b.Row_Effective_Date,
b.Row_End_Date
from STG_FADM_HRI_STAGE_BILL_TEST b)
-- cursor o/p variables
v_batch_id stage_bill.batch_id%TYPE;
v_beginning_service_date stage_bill.beginning_service_date%TYPE;
v_bill_id stage_bill.bill_id%TYPE;
v_bill_method stage_bill.bill_method%TYPE;
v_bill_number stage_bill.bill_number%TYPE;
v_bill_received_date stage_bill.bill_received_date%TYPE;
v_bill_status stage_bill.bill_status%TYPE;
v_bill_type stage_bill.bill_type%TYPE;
v_change_oltp_by stage_bill.change_oltp_by%TYPE;
v_change_oltp_date stage_bill.change_oltp_date%TYPE;
v_client_datafeed_code stage_bill.client_datafeed_code%TYPE;
v_client_id stage_bill.client_id%TYPE;
v_created_date stage_bill.created_date%TYPE;
v_date_of_incident stage_bill.date_of_incident%TYPE;
v_date_paid stage_bill.date_paid%TYPE;
v_deleted_oltp_by stage_bill.deleted_oltp_by%TYPE;
v_deleted_oltp_date stage_bill.deleted_oltp_date%TYPE;
v_duplicate_bill stage_bill.duplicate_bill%TYPE;
v_ending_service_date stage_bill.ending_service_date%TYPE;
v_event_case_id stage_bill.event_case_id%TYPE;
v_event_id stage_bill.event_id%TYPE;
v_from_oltp_by stage_bill.from_oltp_by%TYPE;
v_oltp_bill_status stage_bill.oltp_bill_status%TYPE;
v_review_status stage_bill.review_status%TYPE;
v_schema_name varchar(50);
v_Load_date date;
v_Load_user varchar(50);
v_Row_Effective_Date date;
v_Row_End_Date date;
Begin
if p_data_load_date is null then
select (sysdate - 7), (sysdate - 1) into v_start_date, v_end_date from dual;
elsif p_data_load_date is not null then
select (p_data_load_date - 7), (p_data_load_date - 1) into v_start_date, v_end_date from dual;
else
raise_application_error('-20042', 'Data control - GetDataControlAuditData : Date parameter must be a date of this or a previous week.');
end if;
-- cursor c_get_data loop begin
OPEN c_get_data;
LOOP -- cursor c_get_data loop begin
FETCH c_get_data
INTO
v_batch_id,
v_beginning_service_date,
v_bill_id ,
v_bill_method ,
v_bill_number,
v_bill_received_date,
v_bill_status,
v_bill_type,
v_change_oltp_by,
v_change_oltp_date,
v_client_datafeed_code,
v_client_id,
v_created_date,
v_date_of_incident,
v_date_paid,
v_deleted_oltp_by,
v_deleted_oltp_date,
v_duplicate_bill,
v_ending_service_date ,
v_event_case_id ,
v_event_id,
v_from_oltp_by,
v_oltp_bill_status,
v_review_status,
v_schema_name,
v_Load_date,
v_Load_user,
V_Row_Effective_Date,
v_Row_End_Date;
EXIT WHEN c_get_data%NOTFOUND;
insert into STG_FADM_HRI_STAGE_BILL_TEST
batch_id
,beginning_service_date
,bill_id
,bill_method
,bill_number
,bill_received_date
,bill_status
,bill_type
,change_oltp_by
,change_oltp_date
,client_datafeed_code
,client_id
,created_date
,date_of_incident
,date_paid
,deleted_oltp_by
,deleted_oltp_date
,duplicate_bill
,ending_service_date
,event_case_id
,event_id
,from_oltp_by
,oltp_bill_status
,review_status
,schema_name
,Load_date
,Load_user
,Row_Effective_Date
,Row_End_Date
values(
v_batch_id,
v_beginning_service_date,
v_bill_id ,
v_bill_method ,
v_bill_number,
v_bill_received_date,
v_bill_status,
v_bill_type,
v_change_oltp_by,
v_change_oltp_date,
v_client_datafeed_code,
v_client_id,
v_created_date,
v_date_of_incident,
v_date_paid,
v_deleted_oltp_by,
v_deleted_oltp_date,
v_duplicate_bill,
v_ending_service_date ,
v_event_case_id ,
v_event_id,
v_from_oltp_by,
v_oltp_bill_status,
v_review_status,
v_schema_name,
v_Load_date,
v_Load_user,
v_Row_Effective_Date,
v_Row_End_Date ) ;
COMMIT;
END LOOP;
CLOSE c_get_data;Maybe you need something else, like
CREATE OR REPLACE PROCEDURE load_fadm_staging_area_test (
p_data_load_date DATE
) IS
v_start_date DATE;
v_end_date DATE;
BEGIN
SELECT NVL (p_data_load_date, SYSDATE) - 7,
NVL (p_data_load_date, SYSDATE) - 1
INTO v_start_date,
v_end_date
FROM DUAL;
MERGE INTO stg_fadm_hri_stage_bill_test b
USING (SELECT *
FROM stage_bill
WHERE created_date BETWEEN v_start_date AND v_end_date) a
ON (b.bill_id = a.billl_id)
WHEN NOT MATCHED THEN
INSERT (batch_id,
beginning_service_date,
bill_id,
bill_method,
bill_number,
bill_received_date,
bill_status,
bill_type,
change_oltp_by,
change_oltp_date,
client_datafeed_code,
client_id,
created_date,
date_of_incident,
date_paid,
deleted_oltp_by,
deleted_oltp_date,
duplicate_bill,
ending_service_date,
event_case_id,
event_id,
from_oltp_by,
oltp_bill_status,
review_status,
schema_name,
load_date,
load_user,
row_effective_date,
row_end_date
VALUES (a.batch_id,
a.beginning_service_date,
a.bill_id,
a.bill_method,
a.bill_number,
a.bill_received_date,
a.bill_status,
a.bill_type,
a.change_oltp_by,
a.change_oltp_date,
a.client_datafeed_code,
a.client_id,
a.created_date,
a.date_of_incident,
a.date_paid,
a.deleted_oltp_by,
a.deleted_oltp_date,
a.duplicate_bill,
a.ending_service_date,
a.event_case_id,
a.event_id,
a.from_oltp_by,
a.oltp_bill_status,
a.review_status,
'HRI',
SYSDATE,
'ETLPROCESS001',
v_start_date,
NULL
END load_fadm_staging_area_test;Whenever you code a cursor and a loop, ask yourself. Do I need that?
Regards
Peter -
Hi All,
I am working on a report where i need to get the data from few tables and get it displayed, in the requirement I need to get some data from REGUP based on the vendor and then I am trying to retrieve the information from PAYR table such as check #, check date. So far I have tried selecting the information from REGUP using the vendor number entered by the user and then I am doing a select on PAYR to get the other information for all the entries in my REGUP internal table. Using a simple select statement is taking lot of time and I am having performance issues, can you please suggest any better approach? I understand REGUP is a huge table.
Thanks,
RajHi Raja,
RUGUH is Payment header table and REGUP is payment item table.
If your basic requirement is to pick data from PAYR table only then why don't you write query as below,
Select
laufd
laufi
hktid
hbkid
from reguh
into table it_data_reguh
where ZBUKR = 'ZTC'
AND lifnr in s_lifnr.
sort it_data_reguH.
select chect
bancd
for all entries in it_data_reguH
into table it_data_payr
where ZBUKR = 'ZTC'
AND hbkid = it_data_reguH-hbkid
AND HKTID = it_data_reguH-hKTid
AND laufd = it_data_reguH-laufd
and laufi = it_data_reguH-laufi.
After doing above you can pick entries from REGUP if required as REGUP contains item details against the paymnt header details IN REGUH, you will also find all key fields of REGUP table from REGUH table hence your performance will definitely get improve.
Hope it will help you.
Regards,
Umang Mehta
Maybe you are looking for
-
Droid2 data usage jumps from zip to 100's of MB a week
After seeing similar threads with sudden and unexplained data usage, I want to share my problem with one possible SOLUTION! I was alerted that my account was going over the 150mb limit. I checked online my usage and saw nothing, the usual flat line a
-
How come you can't view your To-Do items in Ical on the Ipad 2?
I have To-Do items listed on my ICal on my mac, mobile me site, and on my email but there is no option that I can find to show those to-do items on my Ipad 2 or my Iphone 4?
-
New Group Policy not working on 2008 RDS in 2012 Domain - Security Filtering problem?
We have a Windows 2008 R2 RDS in a Windows 2012R2 Domain. We want to lockdown the 2008 RDS for Domain users that we have added to a new security Group--named "Data Collection Users". These users are "Domain Users" and login to the 2008 RDS using Win
-
Two different radius authentication methods on one guest wlan
I would like to use two different radius servers to one guest wlan. One radius server is the Cisco NAC guest server, but I would like to use e.g. a RSA SecurID server as the second. If the user does not exsist on the NAC guest server, the wlc should
-
SAPINST create secure store error
Hi Fellow Forumites I am installing Solman 7.1 on IM_LINUX_X86_64 as a central instance, whlist running SapInst wizard on the execute phase step 4 - create secure store I am getting the following error in the log file(SecureStoreCreate.log) SAP Secur