Read From Alv After Filter
Hi Experts,
I Want to tead The ALV after appliying a filter. that means.. if my alv contains 50 rows. after filter suppose it reduce to 10 lines. i want to read those 10 lines into an itab.
Please suggest asap
Regards
Sarath Satheesan
Hi Sarath,
Try this code:
DATA: lr_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
l_VALUE type If_Salv_Wd_Table=>S_Type_Param_Get_Ui_Info.
try.
lr_INTERFACECONTROLLER = wd_This->wd_CpIfc_alv_invoice( ).
catch CX_WDR_RT_EXCEPTION.
endtry.
if not lr_INTERFACECONTROLLER is initial.
l_VALUE = lr_INTERFACECONTROLLER->Get_Ui_Info(
endif.
Regards,
Shemim
Similar Messages
-
How can I stop Adobe Reader from opening after start up?
I just installed version 9. I remember a question that appeared during installation that was something like "do you want Adobe Reader to open after start up?" I said checked yes because I assumed this meant I wanted it in my StartUp menu. After everything loads and my desktop comes up, the Adobe Reader file opens up showing all the program's files and just sits there. I have to close it each time after start up.
I looked through Preferences, but can't find a way of stopping the program's file window from opening after start up. How can I stop this? Thanks for your help.Edit>Preferences
Under Page Display:
Where it says "Location of referenced files", if it shows "Floppy Disk A:/" clear the box, or choose an alternate location if you can't clear it.
Also, under Search:
Click "Purge Cache Contents" -
WLP 10.1 reading from EAR after deployment!
Hi All,
During load testing it was discovered that there were threads inside of WLP 10.1 on Solaris that were reading from the EAR file and at higher load thread lock started to occur.
We do read some config files and property files for the app but still why would WLP read from the EAR? Seems crazy. Below is the thread trace that is of concern:
libc.so.1`_lwp_mutex_trylock
libjvm.so`__1cFMutexMjvm_raw_lock6M_v_+0x30
libjvm.so`JVM_RawMonitorEnter+0x40
libzip.so`ZIP_Lock+0x8
libzip.so`ZIP_GetEntry+0x6c
libzip.so`Java_java_util_zip_ZipFile_getEntry+0xbc
0xf8c53d94
0xfa079c18
0xf902b81c
0xfaa8ad3c
Thanks,
-TonyYE, I'm not sure if I understood your question.
Do you want to use eclipse to generate a EAR as part of a hudson job?
In that case, take a look at http://code.google.com/p/headlesseclipse/. You can make a shell script that runs the eclipse plug-in through the command line and configure Hudson accordingly (http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project#Buildingasoftwareproject-ShellScriptsandWindowsBatchCommands).
See that as part o the import process, all eclipse projects (including the one for the EAR) must be in the folder where you will run eclipse.
Here some tips to get a Weblogic Portal project to build:
1 - Create a separate eclipse workspace for your hudson build
2 - Launch eclipse using the new workspace. Import and build your projects manually at least one time so that OEPE configure the workspace with the correct metadata, libraries, etc.
3 - Enable auto refresh to avoid "out of sync" erros (http://www.velocityreviews.com/forums/t147718-how-to-fix-eclipse-resource-is-out-of-sync-with-the-file-system.html).
4 - Disable validations (http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jst.j2ee.doc.user/topics/tjvaldisable.html)
5 - Set the correct encoding (http://wiki.objectstyle.org/confluence/display/WOL/Setting+the+default+text+encoding+for+Eclipse)
6 - If your Hudson server is a linux box without a Desktop, take a look at the Xvnc plugin (http://wiki.hudson-ci.org/display/HUDSON/Xvnc+Plugin)
I hope that helps.
Cheers, -
Hi all,
I have a Alv grid display.After the ouput is shown
suppose i have it ascending or descending.Now i want to get the sorted alv into my internal table .Bcoz when i double click a particular row it goes to the next screen with the contents of that particular line.Does any one know how to do that here i am using OOPS Alv.
regards
AhasanHi,
You cannot directly get the SORTED table, but you get the SORT info and do the SORTING yourself, so that the internal table will be the same as that of the display.
The method get_frontend_layout will give you the layout info and the method <b> GET_SORT_CRITERIA </b>, will give you the sort criteria applied by the user.
The table parameter ET_SORT will have the name of the fields sorted. Then what you can do is
SORT itab BY (FIELDNAME). FIELDNAME is from the ET_SORT table.
Regards,
Ravi
Note : Please mark the helpful answers. -
How to read disqualified rows after filter criteria is applied?
Hi,
I Use JDeveloper 11.1.2
I have a view object, which shows 100 records during initial time. I've applied filter criteria in such a way that it displays only 20 records.
One of my requirement is to surf the records which are disqualified for the filter criteria (i.e. I should be able to read the rows that are not participated in the filtered View object)
I didn't find any API for this.
Can anyone help me on this?
Thanks in advance.There its no api for this. All you can do is to either requery without the filter, or to negate the filter and then query again. Still you have to do this yourself.
Timo -
Reading values from ServletRequst in Filter
I have a filter that captures some basic info (request method and uri) from request. But whenever I read parameters contained in http request for "POST" method, I can't figure out how to repost parameters to request. I think that after I read parameters from request in filter, parameters aren't available in http servlet. I think that I have to repost parameters to request after i read it.
does anybody know how to do it?here is the code.
BufferedReader in = new BufferedReader( new InputStreamReader (request.getInputStream()));
String line = null;
while (null != (line = in.readLine()))
System.out.println(line);
After I use request.getInputStream(), I can't retrieve values from parameters. is there any way to handle this issue?
I'd appreciated for any idea. -
I Want to tead The ALV after appliying a filter into an itab.
Hi Experts,
I Want to tead The ALV after appliying a filter into an itab.
Please suggest asap
Regards
Sarath SatheesanDATA: lr_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
l_VALUE type If_Salv_Wd_Table=>S_Type_Param_Get_Ui_Info.
try.
lr_INTERFACECONTROLLER = wd_This->wd_CpIfc_alv_invoice( ).
catch CX_WDR_RT_EXCEPTION.
endtry.
if not lr_INTERFACECONTROLLER is initial.
l_VALUE = lr_INTERFACECONTROLLER->Get_Ui_Info(
endif. -
How to call jsp after reading from ServletInputStream?
if the client submit a form including FILE type, I usually use ServletInputStream
to read it and return next page by calling JSP file. but In weblogic6.0Sp1, the
server will report a exception: One of the getParameter family of methods called
after reading from the ServletInputStream(), can't mix these two!
can anyone help me? thanx a lot.
I've seen these messages in the WLS 5.1.0 logs when POSTing to servlets.
All the reading is done in the servlet and then a JSP handles the view
rendering. However, I don't actually call getParameter() or it's kin
anywhere. I thought maybe something inside the JSP generated servlet is
calling getParameter(), but I've looked at the generated code and can't find
any calls. If I had a stack trace it would be easier to sort out.
Is this a warning or an error? Is there a bad side effect. I imagine the
getParameter() call would fail.
Dave
"dancy" <[email protected]> wrote in message
news:3ac85201$[email protected]..
>
> if the client submit a form including FILE type, I usually use
ServletInputStream
> to read it and return next page by calling JSP file. but In
weblogic6.0Sp1, the
> server will report a exception: One of the getParameter family of methods
called
> after reading from the ServletInputStream(), can't mix these two!
> can anyone help me? thanx a lot.
-
How to read from a ResultSet right after insertRow() ?
Suppose I have table TABLE with a numeric ID primary key that is filled in automatically by the db (i.e., using a combination of a sequence and on-insert trigger). My problem is that after the insert I have to make another query just to get the value of the ID column (which I need for further processing). This is awkward, so tried the following:
ResultSet rs = stmt.executeQuery("SELECT ID, NAME FROM TABLE WHERE 1 = 2");
for (int i = 0; i <5; i++) {
rs.moveToInsertRow();
rs.updateString(2, "test"+i);
rs.insertRow();
System.out.println("id = " + rs.getInt(1)); }but this always prints 0, i.e., the result set does not pick up the new ID.lava wrote:
I wish to read from a text file in a for loop and that on every iteration i read one charachter and proceed to the next one.
can anyone help me?
Some additional comments:
You really don't want to read any file one character at a time, because it is highly inefficient. More typically, you read the entire file into memory with one operation (or at least a large chunk, if the file is gigantic) and then do the rest of the operations in memory. One easy way to analyze it one byte at a time would be to use "string to byte array" and then autoindex into a FOR loop, for example.
Of course you could also read the file directly as a U8 array instead of a string.
Message Edited by altenbach on 06-10-2008 08:57 AM
LabVIEW Champion . Do more with less code and in less time . -
Hi All,
Users are unable to download/save file from sap after a adobe XI update.(no pop comes to save/open)
Surprisingly,i am able to do so on my system without any adobe plug ins disabled or any registry editing.
This is a strange behaviour and need to be resolved Asap....
I contacted sap..this is not sap issue..this is a pure adobe reader bug.
Please need help on this experts
Feel free to comment for further details
kind Regards,
Sumit
Mail me at [email protected]Hi ,
Please tell us a lot more.
- Is SAP running a local process, or something in a web browser?
sap is running via SAPGUI ,no java system
- What system?
Users facing issue in all system
- What browser?
IE 9.0.28
- Can PDFs from other sources be downloaded?
Yes,they are downloaded.
More Details-I did some tricks below which resulted in open/save popup......tht is not recomended by IT team...i need a permanent solution
In IE, goto menu Options -> "Manage
Addons", select in box "Show:" "Run without
permission", then you see the Adobe PDF plugin
Ichanged status to "Disabled
Also, if i change the registry key settings for users as
HKEY_CLASSES_ROOT\AcroExch.Document.11
Value: EditFlags
Changed: 0x00000100
to 0x00000000
(Remove the "Open always with this
program" option)
ITS WORKING.....
But,in my system i need not to do all this settings and surprisingly it is working only for me,rest all users are facing this issue.....
If any one using Lync ,communicator ..do let me know..i wil show the actual scnerio.
Kind Regards,
Sumit -
I am unable to delete my emails from yahoo after I have read them. What should I be doing to correct this problem?
marjoriefrommm,
First go to mail preferences>accounts>mailbox behavior and under trash click "move deleted messages to the trash mailbox, the delete them from there.
Also got to your Yahoo mail and check your settings there. -
In latest 2 days after update ios 5.01 my ipad2 suddenly restart when i reading from ibook, what happen with new update ?
Download the full version of the software then shift click the restore button. This will ask you where the firmware files are. Once you point to the firmware then you can install the official version
-
launching LR4 after a restart gives the error message "Lightroom encountered an error reading from its preview cache and needs to close" no fix on restart
Delete your preview cache, it is a folder whose name ends with Previews.LRDATA
-
I Mac is not reading from DVD drive. Disk will insert, then some noises but after a few seconds, nothing. I am trying to install Broterh printer disks. Any ideas? I am on Mavericks.
Reset the NVRAM/PRAM and Reset the SMC, then try again.
-
I updated from the original version to 6.0.1 and when I re-started FF there were 4 icons on my desktop. I managed to delete one of them, but I cannot delete the other two - to leave me with just one.
I get the error message of "Cannot delete file: Cannot read from the source fie or disk".Here's the meaning of the error that you received.
"An error has occurred. ERROR :10-FC06-0002" -- may be caused by damaged recovery media or faulty hard drive"
Possible that the problem is on the recovery also.
Hope this helps.
Maybe you are looking for
-
How to create a report based on radia selection
Hi, I am new bie to Appex, I have a requiment to generate a report based on existing table with the select creditaria. I mean, the select creditaria wil be the radio button, if i click any option the report will change accordingly. It is nothing but
-
My iPod does not turn on and it is not recognized by my laptop in iTunes... What can I do? Model iPod 2 Touch, 8G, It stoped working less than a month after it was purchased but I never sent it back for repairs or warranty to Apple.. Is there still a
-
Facing Issue With Oracle SOA Suite 11.1.1.3.0
Hi All, I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0. Hope you people can help us out. Please find the issue details below along with all the relevant information’s I have following SOA suite installation at my server: Oracle 10g Express
-
After exporting the whole workbook to a single pdf file, page sizes are inconsistent. When viewing the document in full screen, some pages show up as 25% zoomed, others as 34%. I could re-print the exported pdf file to pdf in Acrobat Std, and that w
-
Aobe After Effects and Premier Pro
Hi, We currently have a suite of 23 iMacs running Mountain Lion and Adobe CS6 DS - we have now been asked if we can install Adobe After Effects and Adobe Premier Pro - I know we could probably buy a bundle that includes the two but we already have th