Retrieve portion of records
Hi All,
In Oracle I need to query out records between 90-100 only from a table(which has got 1000 records) which should be good in performance, how can i accomplish it?
Any help ...
Thanks
SELECT *
FROM
SELECT col1
,col2
,col3
,row_number() over (order by <something>) rn
FROM your_table
WHERE rn BETWEEN 90 AND 100;Now all you have to do is fill in the mysterious <something> column and you're good to go.
Similar Messages
-
Trying to retrieve all the records from the file on desktop
HI All
I have one particular problem. I was given a text file which as 7000 records with length 512 each in a continues string. I Changed begining of each record with comma in that text and saved it in .csv , when I try to upload the file into my program's internal table.
It is still giving one record. I used
itab_EXTRACT1 declared as
DATA: begin of itab_extract OCCURS 0,
extract1(512) type c,
end of itab_extract.
call method cl_gui_frontend_services => gui_upload
exporting
filename = Xfile
filetype = 'ASC'
has_field_separator = 'X'
changing
data_tab = itab_EXTRACT1
exceptions
others = 17.
Is there a way how to retrieve all the records into the internal table.
Thanks
RaviHi Ravi,
I don't know if this is the correct solution, but I think it will work.
Declare your internal table (itab_extract) with the maximum length which your file will occupy.
Create another internal table (itab) with field (text) length 512.
Populate the internal table itab_extract using GUI_UPLOAD.
Then write this code
l_index = 1.
itab-text = itab_extract-extract1+0(512).
append itab.
do.
n = ( l_index * 512 ) + 1.
itab-text = itab_extract-extract1+n(512).
append itab.
if ( itab-text is initial ).
exit.
endif.
enddo.
Let me know if I miss anything. -
SQL Query to retrieve the All records based on the Max Dates.
Hello all,
I am trying to retrieve the newest record based on the date field ( nextDate ).
Currently there are only 4 records in the MC_Maintenance table and two in the Machine table.
Machine table
MC_id EquipID
1 0227
MC_id EquipID
2 0228
MC_Maintenance table
Maint_id MC_id Next_maint
1 2 08/25/2010
2 2 07/01/2010
3 1 06/11/2010
4 1 07/11/2010
What I am trying to accomplish is,
list the two machines from the Machine table with the MAX(Next_maint) controlling the MC_Maintenance output list
These are the records that I would like to Display.
Maint_id MC_id Next_maint
1 2 08/25/2010
4 1 07/11/2010
Below is the SQL Query
SELECT
MC.MC_ID as ID,
MC.complete_Date as completed,
MC.next_maint as nextDate,
MC.maint_notes as Notes,
MC.facility as Facility,
M.EquipId,
M.name as name,
M.SerialNumber as SN,
M.dept as dept,
M.Freq as freq
From MC_Maintenance MC, Machine M
where MC.MC_ID = M.MC_ID
' USING MAX(nextDate )
Any ideas would help.
TJI would have thought that was a simple group by problem?
SELECT M.EquipID, MC.MC_ID, Max(MC.next_maint)
FROM MC_Maintenance MC INNER JOIN Machine M ON MC.MC_ID = M.MC_ID
GROUP BY M.EquipID, MC.MC_ID -
How to retrieve the duplicates records.
Hi friends,
My next issue, how to retrieve the duplicate records in web intelligence.I checked the option Retrieve duplicate records in web intelligence as well.But it is not helping me.
Hope you guys are help to solve this issue.
Thanks lot,
Regards,
-B-hi Blaji,,
ive tried this here and it worked perfectly with me
even so, you dont need to make the QTY as a dimension, you can leave it as a measure also, and it will work good with you.
click the block on the WebI, the Block itself.
and find its properties, under "Display", you will find
"Avoid Duplicate row Aggregations"
in the query it self you should flag "Retrieve Duplicated Rows"
i think this will work fine with you
good luck
Amr -
No records retrieved error when records are there?
Hi
This is frm-40350 No records retrieved and it is happening on the detail block even though records are retrieved.
I am currently testing an enhancement to an existing form that can be called by other forms. I noticed that when calling this form from another, when it is populated with global values the cursor then goes to the detail block and I get the error message at usual place at bottom of screen. There is a new form instance procedure that puts cursor in details block as below. I think this is because the detail block records are only meant to be changed so if a user goes in to that form it puts cursor in the details block.
BEGIN
go_block('master');
IF :CG$CTRL.form_called_from IN ('FORM_X', 'FORM_Y') THEN
execute_query;
go_block('detail');
ELSE
enter_query;
END IF;
END;
The code above is existing and I have not changed it. I was making a small enhancement to my form in another area that will not have created any such problems as this. it operates ok apart from this error message. Why is it producing this error message?
Thanks
user605593Hi,
Basically its not an error message....Its just informative message....according to this your trying to fetch some data from the table that is not there or your search query retrives no rows from the table.....
If this message is not causing any problem to your operation then you can supress this message by writing the following code in pre-form,
:SYSTEM.MESSAGE_LEVEL := 5;
:SYSTEM.SUPPRESS_WORKING := 'TRUE';
and write the following code in post-form
:SYSTEM.MESSAGE_LEVEL := 0;
:SYSTEM.SUPPRESS_WORKING := 'FALSE';
Thanks,
Pavan. -
I want to retrieve some old phone call records for an account that no longer exists. Is this possible?
You won't be able to retrieve the records through the website if the account has been closed, but customer service MAY be able to help you. Call 800-922-0204. There may be a charge to retrieving the records.
-
Retrieve first 3 records for each id
Hi there,
I am having trouble solving this problem. Appreciate for any help.
tableA
pidm
1125
0034
tableB
pidm term
1125 2006
1125 2007
1125 2009
1125 2010
0034 2004
0034 2006
0034 2007
0034 2008
I want to retrieve only the first 3 records from tableB order by term for each pidm that match to pidm of tableA
select pidm, term from tableB where pidm in (select pidm from tableA) and rownum < 4
This only return 3 records instead of 6:
it should return:
pidm: term:
1125 2006
1125 2007
1125 2009
0034 2004
0034 2006
0034 2007
Thankssql>select pidm, term
2 from (select a.pidm, b.term, row_number() over (partition by a.pidm order by b.term) rn
3 from tablea a, tableb b
4 where b.pidm = a.pidm)
5 where rn <= 3;
PIDM TERM
0034 2004
0034 2006
0034 2007
1125 2006
1125 2007
1125 2009
6 rows selected. -
How to retrieve Table of Records output param from stored procedure ?
Hi,
I'm trying to retrieve data from a PL/SQL stored proc. It seems I can't modify this procedure (I'm not allowed to and I don't know PL/SQL :)).
My only documentation is the PL/SQL code and its comments. And that's the first I have to deal with output of a defined complex PL/SQL type
So the signature of the procedure is :
FUNCTION FUN_AFF_EVELEG_IHM (
pEntumTyp IN NUMBER,
pEntnum IN VARCHAR2,
pEveListSize IN OUT NUMBER,
pEveList IN OUT pkg_funaff_eveleg.TableRecordEVL,
pErrCode IN OUT VARCHAR2,
pMessage IN OUT VARCHAR2)
RETURN NUMBER;pkg_funaff_eveleg.TableRecordEVL type is defined as "TABLE of RecordEVL"
pkg_funaff_eveleg.RecordEVL type is defined as "RECORD" (struct of 12 different fields : NUMBER or VARCHAR2)
What is the correct syntax to call the stored procedure then ? I don't find how to manage the pEveList output param. Is it a Cursor ? An ARRAY ? And how to register it ?
My code so far :
public static void callFunaffEVL(Connection con, String rcs) {
// CallableStatement procCstmt=null;
OracleCallableStatement oraCstmt = null;
try {
// Identifiy the Stored procedure
// package synonyme : pkg_aff_EVELEG_IHM
// stored procedure name : FUN_AFF_EVELEG_IHM
String command = new StringBuilder("{? = call pkg_aff_EVELEG_IHM.FUN_AFF_EVELEG_IHM(?,?,?,?,?,?");
// 1 RETURN
// 2 pEntumTyp IN NUMBER
// 3 pEntnum IN VARCHAR2
// 4 pEveListSize IN OUT NUMBER,
// 5 pEveList IN OUT pkg_funaff_eveleg.TableauRecordEVL,
// 6 pErrCpde IN OUT VARCHAR2,
// 7 pMessage IN OUT VARCHAR2)
// Create a Callable Statement Object:
oraCstmt = (OracleCallableStatement) con.prepareCall(command);
// Assign IN and OUT parameters
oraCstmt.registerOutParameter(1, OracleTypes.NUMBER); // RET
oraCstmt.setInt(2, 0); // ENTNUMTYP
oraCstmt.setString(3, rcs); // ENTNUM
oraCstmt.registerOutParameter(4, OracleTypes.NUMBER); // pEveListSize
oraCstmt.registerOutParameter(5, OracleTypes.ARRAY); // pEveList
oraCstmt.registerOutParameter(6, OracleTypes.VARCHAR); // pErrCode
oraCstmt.registerOutParameter(7, OracleTypes.VARCHAR); // pMessage
// Execute the Procedure or Function Call:
oraCstmt.execute();
// Process the OUT Placeholders:
int ret = oraCstmt.getInt(1);
String errCode = oraCstmt.getString(6);
String message = oraCstmt.getString(7);
System.out.println("RCS : " + rcs);
System.out.println("ret : " + ret);
System.out.println("errCode : " + errCode );
System.out.println("message : " + message);
} catch (SQLException sqle) {
sqle.printStackTrace();
} finally {
// Close the CallableStatement Object:
try {
oraCstmt.close();
} catch (SQLException e) {
e.printStackTrace();
Return : java.sql.SQLException: Parameter type Conflict: sqlType=2003
Any help ? I found several examples that might refer to this case, but everything I tried end by a SQL exception of one type or another...
(and sorry for my poor english :))
CyAs I said, "pkg_funaff_eveleg.TableRecordEVL" is TABLE of RecordEVL.
i.e : I can find 2 defined types under the package pkg_funaff_eveleg :
TYPE TableRecordEVL is TABLE of RecordEVL INDEX BY BINARY_INTEGER;
TYPE RecordEVL is RECORD (
EVLENTNUM_PK EVENEMENTS_LEGAUX.EVLENTNUM_PK%TYPE,
EVLENTNUMTYP_PK EVENEMENTS_LEGAUX.EVLENTNUMTYP_PK%TYPE,
EVLSEQ_PK EVENEMENTS_LEGAUX.EVLSEQ_PK%TYPE,
EVLTYPSRC EVENEMENTS_LEGAUX.EVLTYPSRC%TYPE,
EVLPK1 EVENEMENTS_LEGAUX.EVLPK1%TYPE,
EVLPK2 EVENEMENTS_LEGAUX.EVLPK2%TYPE,
EVLPK3 EVENEMENTS_LEGAUX.EVLPK3%TYPE,
EVLPK4 EVENEMENTS_LEGAUX.EVLPK4%TYPE,
EVLPK5 EVENEMENTS_LEGAUX.EVLPK5%TYPE,
EVLPK6 EVENEMENTS_LEGAUX.EVLPK6%TYPE,
EVLCODEVTSRC EVENEMENTS_LEGAUX.EVLCODEVTSRC%TYPE,
EVLLEGEVECOD EVENEMENTS_LEGAUX.EVLLEGEVECOD%TYPE,
EVLSEQREF_FK EVENEMENTS_LEGAUX.EVLSEQREF_FK%TYPE,
EVLCOMMENT EVENEMENTS_LEGAUX.EVLCOMMENT%TYPE,
EVLETATCOD EVENEMENTS_LEGAUX.EVLETATCOD%TYPE,
EVLHISDATPUB EVENEMENTS_LEGAUX.EVLHISDATPUB%TYPE,
EVLHISPUBPRE EVENEMENTS_LEGAUX.EVLHISPUBPRE%TYPE,
EVLHISDATEFF EVENEMENTS_LEGAUX.EVLHISDATEFF%TYPE,
EVLHISEFFPRE EVENEMENTS_LEGAUX.EVLHISEFFPRE%TYPE,
EVLHISPOIDATEFF EVENEMENTS_LEGAUX.EVLHISPOIDATEFF%TYPE,
EVLHISORICOD EVENEMENTS_LEGAUX.EVLHISORICOD%TYPE,
EVLHISSUPPORTCOD EVENEMENTS_LEGAUX.EVLHISSUPPORTCOD%TYPE,
EVLHISNUMSUPPORT EVENEMENTS_LEGAUX.EVLHISNUMSUPPORT%TYPE,
EVLHISNUMINF EVENEMENTS_LEGAUX.EVLHISNUMINF%TYPE,
ANNNUMBODPCL CBODACCPROD.CODANN2.ANNNUMBOD%TYPE
);If needed, I can translate each "EVENEMENTS_LEGAUX.EVLENTNUM_PK%TYPE", but they must be VARCHAR2 or NUMBER
Do I answer your question ? -
How to retrieve future hire records in HCM Extract?
Please let me know how to retrieve future hire employee records from HCM Extract. Is there any DB item available for the same.
HCM Extract related questions are likely better answered on the Human Capital Management (HCM) (MOSC) forum.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
RetrieveLimitedRecordsCommand retrieving only 1000 records
Hi All,
While I am trying to retrieve records from the main table using RetrieveLimitedRecordsCommand I am getting only 1000 records from MDM, where as there are around 100000 records in the table.
Could anyone help in this regard.
Thanks and Regards,
SubhasisThe default page size is set to 1000, so if you have more than 1000 records, customize your code to increase the page size in loop.
Here is how we did:
Get the count total records = n //use the method getSearchTableMatchCount() on RetrieveLimitedRecordsExCommand
int n = retrieveLimitedRecordsExCommand.getSearchTableMatchCount( ) ;
Number of pages or Page size p
int p = N / 1000 ;
for( int i=1; i<=p ; i++ )
//Now loop through the retrieve command from 1 to p and inside the loop take the records in an array.
Now either you can implement it this way to get all the records in one shot. Or you can implement custom pagination on your table/result set view to retrieve the next 1000 records as required.
And if you implement your custom pagination, you can also set the page size as per your design.
Regards
Nitin -
Issue in retrieving all the records from ADF Table with multiple row
Hi,
As per my requirement, I need to fill the table with multi selected LOV values and when user clicks on commit, I need to save them to database.
I am using ADF 11g, Multi select table. Using the below ADD method, I am able to add the records but if user clicks on cancel, I need to remove those from view and clear the table as well.
But the Issue I am facing is, in my cancel method, always I am getting half of the records. Lets assume table contains 100 records but in my cancel method, I am getting only 50 records.
Please let me know what is the issue in my source code.
ADD Method:
public void insertRecInCMProcessParamVal(String commType, String processType, Number seqNumber){
try{
Row row = this.getCmProcessParamValueView1().createRow();
row.setAttribute("ParamValue7", commType);
row.setAttribute("ProcessType", processType);
row.setAttribute("CreationDate", new Date());
row.setAttribute("CreatedBy", uid);
row.setAttribute("ParamValueSeqNum", seqNumber);
row.setAttribute("ProcessedFlag", "N");
this.getCmProcessParamValueView1().insertRow(row);
}catch(Exception e){
e.printStackTrace();
Table Code:
<af:table value="#{bindings.CmProcessParamValueView11.collectionModel}"
var="row"
rows="#{bindings.CmProcessParamValueView11.rangeSize}"
emptyText="#{bindings.CmProcessParamValueView11.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.CmProcessParamValueView11.rangeSize}"
rowBandingInterval="1"
selectedRowKeys="#{bindings.CmProcessParamValueView11.collectionModel.selectedRow}"
selectionListener="#{bindings.CmProcessParamValueView11.collectionModel.makeCurrent}"
rowSelection="multiple"
binding="#{backingBeanScope.backing_app_RunCalcPage.t1}"
id="t1" width="100%" inlineStyle="height:100px;" >
<af:column sortProperty="ParamValue6"
sortable="true"
headerText="#{bindings.CmProcessParamValueView11.hints.ParamValue6.label}"
id="c1" visible="false">
<af:inputText value="#{row.bindings.ParamValue6.inputValue}"
label="#{bindings.CmProcessParamValueView11.hints.ParamValue6.label}"
required="#{bindings.CmProcessParamValueView11.hints.ParamValue6.mandatory}"
columns="#{bindings.CmProcessParamValueView11.hints.ParamValue6.displayWidth}"
maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue6.precision}"
shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue6.tooltip}"
id="it3">
<f:validator binding="#{row.bindings.ParamValue6.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="ParamValue7"
sortable="true"
headerText="Comm Type"
id="c2">
<af:inputText value="#{row.bindings.ParamValue7.inputValue}"
label="#{bindings.CmProcessParamValueView11.hints.ParamValue7.label}"
required="#{bindings.CmProcessParamValueView11.hints.ParamValue7.mandatory}"
columns="#{bindings.CmProcessParamValueView11.hints.ParamValue7.displayWidth}"
maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue7.precision}"
shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue7.tooltip}"
id="it4">
<f:validator binding="#{row.bindings.ParamValue7.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="ParamValue8"
sortable="true"
headerText="#{bindings.CmProcessParamValueView11.hints.ParamValue8.label}"
id="c3" visible="false">
<af:inputText value="#{row.bindings.ParamValue8.inputValue}"
label="#{bindings.CmProcessParamValueView11.hints.ParamValue8.label}"
required="#{bindings.CmProcessParamValueView11.hints.ParamValue8.mandatory}"
columns="#{bindings.CmProcessParamValueView11.hints.ParamValue8.displayWidth}"
maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue8.precision}"
shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue8.tooltip}"
id="it2">
<f:validator binding="#{row.bindings.ParamValue8.validator}"/>
</af:inputText>
</af:column>
</af:table>
Backing Bean Code:
DCBindingContainer dcBindings=(DCBindingContainer)getBindings();
DCIteratorBinding dcIterator=dcBindings.findIteratorBinding("CmProcessParamValueView1Iterator");
RowSetIterator rs = dcIterator.getRowSetIterator();
System.out.println("In Cancel Row Count is : "+ rs.getRowCount());
if (rs.getRowCount() > 0) {
Row row = rs.first();
row.refresh(Row.REFRESH_UNDO_CHANGES);
row.remove();
while (rs.hasNext()) {
int count = rs.getRowCount();
System.out.println("Count is : "+ count);
Row row = rs.next();
System.out.println("Row === "+ row);
if(row != null){
row.refresh(Row.REFRESH_UNDO_CHANGES);
row.remove();
Thanks.Issue resolved.
remove selectionListener and selectedRowKeys....
code to get all the selectedRows.
RowSetIterator rs = dcIterator.getRowSetIterator();
RowKeySet rks = this.t1.getSelectedRowKeys();
Iterator rksIter = rks.iterator();
while (rksIter.hasNext()) {
List l = (List) rksIter.next();
Key key = (Key)l.get(0);
Row row = rs.getRow(key);
Thanks. -
Algorithm to retrieve link of records from the database efficiently
Hi,
I have some records in database related to supply chain.
e.g. N1 supplies item I1 to Node N2 is represented as N1 I1 N2.
Now I want to find all parent nodes or say chain of nodes supplying to particular node in an efficient way.
Currently I am using recursion but for each recursion 1 query fires & performance drops considerably. Can you suggest me the efficient way to do it?
Regards,
Veenadepending on how large the dataset in the database is, you could just select all the data from the database in one go, add it all to a collection and perform you analysis on the collection. This would save a considerable amount of time as database roundtrips are expensive.
If you dataset from the database is too large to fit in memory in one go you could select data in say rows of 1000 at a time and/or use a local disk cache instead of a remote DB query every time. -
Regarding the dates to retrieve the required records.
Hi,
In the selection screen, i have radiobuttons for reporting period like ALL, PAST, FUTURE, TODAY,OTHERKEYDATE ,e.tc.
My report should run for the date which i have selected on the selection screen.
For today, we can write the condition as
Begda < = sy-datum and enda > = sy-datum.
But i have to write in general for everydate which i selected.
I am writing report for OM. i am not using PCH LDB.
if i use LDB , i can write Begda < = pnp-enda and endda >= pnp-enda.
But iam not using the LDB PCH.
how to write query to retreive the required date.hi,
let us say your radio buttons have the name as follows:
P_ALL -> for all
P_TODAY -. for only today
P_PAST -. for all dates in past from today.(not including today)
P_FUTURE -> for all dates in FUTURE from today( not including today)
P_OTHERKEYDATE -> for any other date that user enters.
*Logic:
if P_ALL = 'X'.
code is as such the program runs for all records irrespective of dates.
elseif P_TODAY = 'X'.
p_date = sy-datum. " this p_date is a variable used to hold today's date.
now code it so that it runs only for the records having date = p_date.
elseif P_PAST = 'X'.
*write code to pick all the dates which are in past , I don't know what you have as begin and end dates and what they for, use the begin and end dates to calculate past dates and run the code only for those past dates.
elseif P_FUTURE = 'X'.
*do as done in past,for future dates.
else p_date = otherkeydate "hope this is entered by user somewhere on the screen.
*run the code for only that p_date.
endif.
<REMOVED BY MODERATOR>
deepti.
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 4:54 PM -
How can we integrate CATS & PPM and to retrieve CATS time recording data in PPM ?
Dear experts,
Following the previous question of Ruxandra Petrina called "record times with CATS", I am facing an issue with the report DPR_CATS_CPR_TRANSF : it shows nothing despite I activated PPM accounting integration.
There are the steps I followed, I really don't understand what is missing. In PPM I can transfer and assign my projects to WBS elements automatically or manually.
1. We allowed time confirmation for projects
2. We replicated personal number as business partners
3. We activated worklists and project assignments @ data entry profiles
4. We set up ALE & RFC connections
5. We activated the integration scenarios on WBS element : automatic and manual creation of WBS element assigned to PPM elements. Then we set up data profiles for time recording in cat2.
6. We enter times, we released it (approval is not required) + saving
7; We launch the program in SE38 of both ERP or SOLMAN systems : NOTHING appears.
Our goal is to see the times recorded in CATS in the Confirmed work field of PPM.
Can you please help me out with this issue ?
Many thanks in advance.
Best,
CassokéHi Cassoke,
If tasks assigned to a user is not listed in CAT2 worklist, then first we need to ensure that the tasks are displayed in the worklist. So the user confirm the times for the tasks using this list and after that only we should be running the report 'DPR_CATS_CPR_TRANF' to transfer the actual times entered by user in CAT2 to PPM project task.
To integrate CATS with PPM, you need to follow these steps.
Customisations:
1) Enable 'Time recording' for tasks & 'Account integration' in project type
2) Customisation related to 'Accounting integration' to be carried out (either single object / Hierarchical controlling, for testing better to use single object - Internal order, since it is easier)
3) Create a time sheet data entry profile
(Refer thread Record working times with CATS for details)
4) Ensure all object links(internal order / WBS) RFC destinations are updated correctly.
Master data:
Business partners creation with BUP003-Employee role & link to HR personnel number
(This is not required if HR integration is activated, since the system creates the BP's automatically. But manually we need to validate the BP's for linkage with few users)
Project:
1) Create project using customised project type (where time recording/accounting integration is enabled)
2) Structure the project with phase/tasks
3) Update duration/work etc., to the tasks
3) Create project roles & staff a resource (BP which is validated for HR personnel number linkage).
4) Assign task to project role with resource in Project role-->task tab
6) Release the project definition and also check for phase/tasks release
7) Change the status of project definition to 'Flag for transfer' (Can be done before project release also)
8) Check whether the internal order / PS project with WBS is created in ERP system(Based on customisation) and linked to project. Check can be made in accounting tab of the project. (If it is not created, then check for object link RFC destination correctness)
In case of automatic internal order creation process, you need to enter the org unit. data in project definition-->additional data of the project.
CATS:
After completing all the steps, the task assigned to the user will appear in the CAT2 transaction.
1) User can confirm the task with actual hours.
2) Run the CATS transfer report mentioned above to update the data in PPM project.
About SOLMAN integration, you can refer to this presentation also.
http://www.sapsa.se/wp-content/uploads/2013/09/9.-ITPPM@SAPSA_131119_IngoPfeiffer.pdf
Regards,
Ravi -
Why we can't use provide to retrieve Time Infotypes records?
Hi experts,
I read some meterials that in HR report we can not use provide statement in LDB to fetch time infotypes records,
use Loop instead,can anybody explain why and give a example.
Thanks.Hi
For time infotype records use RP_READ_ALL_TIME_ITY
(RP_READ_ALL_TIME_ITY beg end)
DATA: BEGDA LIKE P2001-BEGDA, ENDDA LIKE P2001-ENDDA.
INFOTYPES: 0000, 0001, 0002, ...
2001 MODE N, 2002 MODE N, ...
GET PERNR.
BEGDA = '19900101'. ENDDA = '19900131'.
RP_READ_ALL_TIME_ITY BEGDA ENDDA.
IF PNP-SW-AUTH-SKIPPED-RECORD NE '0'.
WRITE: / 'Authorization for time data missing'.
WRITE: / 'for personnel number', PERNR-PERNR. REJECT.
ENDIF.
Maybe you are looking for
-
A text file contains a single row with 450 comma separated entries.I want to load all the data into an oracle table of 450 columns(separating the comma separated entries e.g A1,2,3 from text file into oracle table as col1 col2 col3 A1 2 3 but sql loa
-
Hello All, I am trying to search a word like 'L&T' , But & is a lexical paramter it is asking mean to enter the value. so how to use like operator in this case. Thanks, Kumar.
-
FCP to iDVD: "unsupported file type"?
Anyone know how to resolve this? I exported a 63 second FCP video out in numerous ways: QT self-contained; QT not self-contained, and QT Conversion with the following compression settings: H.264, Video, and uncompressed 10-bit 4:2:2. I opened iDVD an
-
I'm having a nightmare with V40z under RHEL 4 update 2!
Dear All, i have noticed that most of you trying to be very helpfull, i appreciated that really. I have to work with sun V40z in my company, RHEL 4 update 2 has to be installed in that machine. Problem: Installing RHEL AS V4 Update 2 on V40z results
-
Passing parameters from Trinidad Chart to Bean
I am trying to pass two parameters with a trinidad chart, is that possible, I get setActionListener must be inside of a UIComponent tag. my jsp has <tr:chart id="chart" inlineStyle="width:680px; height:400px;"