How does the SORT function in ALV grid work?

Hi,
I have a report for which the o/p is displayed in ALV grid format.There is one column in the O/p strcuture which is "No of days".Based on certain conditions,i need to display the value for some of the days as Negative e.g. " - 45".Becasuse of this,I have declared the field for the "No of days" of the type "CHAR".
Now when i sort(using ALV grid SORT function) the list on basis of this column,it doesnt give me the correct o/p.
CAN anyone tell me how do i handle this?I want the list to be sorted correctly on basis of the "No of days" column.
Thanks!

This is your Fourth Cross Posting in last three days on same issue!!
CHAR type column doesnt work for SORT function in ALV grid!
How to sort a column of type CHAR
I dont,ve link for your Fourth Thread on same,though i'm short memory loss.

Similar Messages

  • How can I call functionality of ALV Grid by event of button outside grid?

    Hello,
    How can I call functionality of ALV Grid by event of button located outside ALV Grid? For example how to fire printing of this ALV Grid by button click elsewhere on the screen (not in toolbar of ALV Grid).
    Best regards,
    Josef Motl

    hi Motl,
    these are steps to create a button in ALV and trigger an event from it..
    1.Use the parameter i_callback_pf_status_set in the function module REUSE_ALV_GRID_DISPLAY
    i_callback_program = gd_repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWALVSTATUS'.
    endform.
    You have to copy the standard ALV pf stauts to 'NEWALVSTATUS' and add your button.
    2.You have to do the following to process the new button click.
    i_callback_user_command = 'USER_COMMAND'
    form user_command using i_ucomm like sy-ucomm
    is_selfield type slis_selfield.
    case i_ucomm.
    3. to copy the standard pf status to a new one.go to the ALV screen and take the menu System -> Status.  Then look for the standard pf status. Copy this to Z range and then add your new button.
    reward points if helpful
    regards
    satesh

  • How does the Delta functionality works while updating Infocube from PA

    Hi Gurus
    How does the Delta functionality works when you send forecast to the Info cube from the Planning Area.
    As I have weekly based planning, every week we have to update the forecast into the Cube. If I update  every week into the Cube , then the values are going to append  in the Info cube.
    Shall I create ODS in between the Planning area  and the Info cube .
    (or)
    Any other method ?
    Please Suggest.

    Hi Preetham,
    Data Extraction from planning area to infocube usually its supports for full update only, when u r going to load the data from planning area to cube ,it deletes the previous data and u vil get the fresh data, this is the best method performance wise,
    if u want to use the delta functionality u can go for planning area to Dso, Dso to cube, it vil supports the delta functionality, but it vil degrades the system performance,
    regards
    ravi

  • How does the sync functionality work with large libraries on small devices?

    How does the sync functionality work with large libraries?
    Say I sync 100gb of photos with the new Photos app and turn on sync on a 16gb iphone. Will it fill the device up to 16gb? Can I tell it to limit to xgb so I leave room for music and apps? How does this work? Will it slow down my phone if its trying to sync 100gb across smaller devices?

    "Will the Apple TV now read directly from the Time Capsule?" ATV does not 'read' from the TC. It connects to the Mac and itunes library associated with the Mac. Of course the itunes program can 'point' to a library on the TC. You'll still need to have itunes open and the Mac powered on and not sleeping with the TC mounted to the Desktop to use ATV properly. So bottom line the use of TC just adds one more step to view files on the ATV.

  • How does the ituns app on my ipad2 work?

    How does the itunes app on my 1pad2 work?

    The iTunes app on your iPad is just a portal to the iTunes Store.  To play music or videos, use the Music App and the Videos App.
    Here's a link to iPad iOS5 User Guide

  • How does the fade in or fade out works on a apple loop

    how does the fade in or fade out works on a apple loop

    What does the manual say about it?
    http://help.apple.com/logicpro/mac/10/#lgcpf7c0ee6c

  • How does the Class javax.security.auth.Subject work?

    Hi,
    i don't understand how does the class Subject work.
    First i will describe how do i understand u can use the class Subject
    This is the way you can create a Subject(i think):
    1. create a LoginContext, where u can tell over its parameter which
    Module to use
    2. a LoginModule will be used
    3. now the LoginModule create a Subject
    if this steps right--> ok, else--> please write how it really works
    Now the questions:
    1. Where do the LoginModule get the username and stuff like this from
    to fill the Subjects? Principals?
    2. Where will be the Subject save, at server or at client side?
    when save on server: how to reference a Subject is belong to the
    right Client?
    when save on client: how to ensure the client do not modify it?
    3. In the documentation of JavaTM 2 Platform Std. Ed. v1.4.1, there is
    no advice, that the class have any FIELDS, but then where the
    principals are saved?
    4. The Class Subject do not have any methodes to modify the principals,
    so how to modify it if necessary?
    i think this is enough for the beginnig :)
    thanx,
    edo

    Hi
    Let me try to answer. I am a bit confused too.
    Hi,
    i don't understand how does the class Subject work.
    First i will describe how do i understand u can use
    the class Subject
    This is the way you can create a Subject(i think):
    1. create a LoginContext, where u can tell over its
    parameter which
    Module to use
    2. a LoginModule will be used
    3. now the LoginModule create a Subject
    Correct.if this steps right--> ok, else--> please write how it
    really works
    Now the questions:
    1. Where do the LoginModule get the username and stuff
    like this from
    to fill the Subjects? Principals?
    The Loginmodule does not need the user name. The username is
    only relevant to your application not to JAAS. Consider a standaalone
    application. Whoever starts the application, becomes the user.
    After you start the application, and login (whatever way), your subject
    is created. This subject pertains to the person who is executing the application, not the application specific userid/username. So the user id or name is not required. There is only one user, who is running the application. The JAAS architecture is more relevant for UNIX like
    permission/grant structure, which determines who can execute what.
    >
    2. Where will be the Subject save, at server or at
    client side?
    Again the Subject has nothing to do with your application specific userid. It will be there in the LoginContext. So in a sense a LoginContext is actually a user, not a Subject.
    when save on server: how to reference a Subject is
    is belong to the
    right Client?
    when save on client: how to ensure the client do
    do not modify it?
    In a client server mode, usually the login is done twice. You have to find a way to communicate the subject to the server.3. In the documentation of JavaTM 2 Platform Std. Ed.
    v1.4.1, there is
    no advice, that the class have any FIELDS, but then
    en where the
    principals are saved?
    4. The Class Subject do not have any methodes to
    modify the principals,
    so how to modify it if necessary?
    I think you can add Principals. That is definitely there.i think this is enough for the beginnig :)
    thanx,
    edo
    Hope this helps. As of now I do not think JAAS provides a very good architecture for authorization.
    cheers
    Projyal

  • How does the Daubechies-4 wavelet VI actually work?

    Hi, 
    I'm a student currently working on my final year project, of which one of the objectives are to detect peaks of ECG signals (R-peaks) using the Daubechies-4 wavelet transform VI in LabVIEW. I'm current using LabVIEW 2013 student edition (6 months trail), if that makes any difference. 
    I am quite confused about how the Daubechies-4 wavelet works:
    1) How many levels does it decompose the signal into? 
    2) Is there a way to set the level of decomposition? 
    3) Are filters already applied in the VI or do I actually need to design a filter myself? 
    4) What is the main difference between a Db4 PtByPt and a normal Db4 transform in terms of LabVIEW? 
    5) Finally, how does the VI actually superimpose the wavelet onto the signal? Does it take the entire signal into consideration or does it take each pulse into consideration when superimposing the wavelet? 
    Thanks in advance for the answers.
    Regards,
    Derren
    Solved!
    Go to Solution.

    Hi Derren,
    Firstly, can you clarify the exact name of your 'Daubechies-4 wavelet transform VI' and in which pallette you find it in LabVIEW (i.e. which module / toolkit it is from)? It is also possible that the VI you mentioned is not from NI. For example, maybe you inherited that from your senior who was in the project last year.
    Nevertheless, the closest match I can find is WA Discrete Wavelet Transform VI found under the Advanced Signal Processing toolkit. You can choose db04 in the wavelet terminal. This is a bit different to what you described as the VI can work for different kinds of wavelet, not just Daubechies type. Suppose you will use this, then the answer to your questions are:
    1) How many levels does it decompose the signal into? 
    2) Is there a way to set the level of decomposition?
    You can set this by wiring the value to the level terminal of the VI.
    3) Are filters already applied in the VI or do I actually need to design a filter myself?
    Both options are possible. Some commonly used filters are included and you can choose this by wiring the wavelet terminal. You can design your own filter using Wavelet Design Express VI and wire the output to the analysis filters terminal of WA Discrete Wavelet Transform VI.
    4) What is the main difference between a Db4 PtByPt and a normal Db4 transform in terms of LabVIEW?
    I can not find these VI you mentioned. Please clarify.
    5) Finally, how does the VI actually superimpose the wavelet onto the signal? Does it take the entire signal into consideration or does it take each pulse into consideration when superimposing the wavelet?
    I am not sure if I understand this question correctly. You can open the WA Discrete Wavelet Transform VI to see how it works inside up to the decimation filtering, in which it is protected as a DLL. From what I see it takes the entire signal (modified with the chosen extension) for this main process.
    As a last note, your LabVIEW Student Edition does not include Advanced Signal Processing toolkit, hence you will not find above VIs I mentioned. Try checking with your school if they have purchased Academic license of LabVIEW, which usually includes the toolkit.
    Hope this clarifies.
    Regards,
    A. Yodha
    NI Singapore

  • How does the TS_SeqFileSequenceNameExists() function work?

    I am creating a TestStand Sequence file using CVI and would like to know the correct syntax for using the TS_SeqFileSequenceNameExists() function.
    Basically what I'm trying to do is add a sub sequence to my file and if the sequence name already exists, change the name. So the code looks something like this:
    if(!(TS_SeqFileSequenceNameExists(seqFile,NULL,subSequenceName,&myTempVBool)))
    //sub sequence doesn't exist... add it
    else
    //subsequence name already taken, change the name
    Thanks,
    Marek D.

    Hi Marek,
    you're logic is a little out - in your example code you are testing the error, not the bool "myTempVBool"
    so something more like
    (TS_SeqFileSequenceNameExists(seqFile,NULL,sub SequenceName,&myTempVBool));
    if(myTempVBool == VFALSE)
    //sub sequence doesn't exist... add it
    else
    //subsequence name already taken, change the name
    NOTE :
    You need to rename the object BEFORE you try to insert it. Have a look at the help file on
    SequenceFile.InsertSequence where it says about the sequence must not already exist in the file. (Also don't forget to release the clone object when you've finished)
    Have a look at your other question on "How do I change the name of a sub sequence using CVI" , I've included an example there which shoul
    d help you out.
    S.
    // it takes almost no time to rate an answer

  • How does the query function on a Infoset?

    Hi Gurus,
    I have 3 ODS(GL ODS,Purchasing item,Purchasing Schedule Line).I have built an infoset on these ods.
    Now my question is :
    1)When i run a query on the infoset,what does the OLAP processor do?
    The GL ODS is on the left hand side in Infoset and other 2 ODS are being joined with a left outer join.Does this mean that the OLAP processor goes into GL ODs first and then looks for corresponding records (in the Pur ODS) based on the Join conditions.
    Please Advice
    thanks in advance

    Hi Adam/Ashwin,
    sorry for the late reply.I have another question.
    In the same scenario,i have my infoset below a multiprovider and the selection parameters i have chosen are only available in FI-GL ODS.
    Like i have chosen Ccompany Code and Fiscper as the selection parameters on the query,which are available only on FI-GL ods.
    How would the OLAp processor behave in this scenario,please explain?
    Ashwin,when i am using the Infoset the keyfigures are match.its that iw ould like to know how the OLAP processor fnctions?
    thanks in advance

  • How does the new "download additional fonts" feature works?

    I'm so happy to see that the “download additional fonts” feature has added in the newest iWork suite for iOS. In previous versions of iWork for iOS, available fonts are only limited to those that iOS has built in, which you can see a complete font list here: iOS 7: Font list.
    And a couple of days ago, I found that the iOS 7 is now support “download additional fonts for Apps” feature. Which means that Apps can download a Apple-provided list of addtional fonts if necessary. And we can find this list of font in that support page given above.
    So if you edit a pages / keynote / numbers file on a Mac using some fonts that iOS hasn't, then when you open it on an iOS device, it'll download the fonts for you to make your document more beautiful and personalized. That is to make sure that the document has exactly the appearance that you wanted.
    But here comes the question:
    Sometimes, those addtional downloaded fonts are available for all the documents in that App, and sometime they are only available on that particular document. Any idea how does this function work? Is it a normal function, or is it a bug waiting to be fixed?
    The downloaded "addtional fonts" are only limited to that App you're using. For example, you can access the fonts in which the App you downloaded them. So if you're using Pages to download fonts, you won't be able use them in Keynote. In other words, you have to download them again, and this will obviously take a large amount of storage space on my device if I want to use those fonts in every App. So again, is it a normal function, or is it a bug?
    Any solutions, guys? A thousand thanks in advance!

    This isn't totally new, as it was part of iOS 6 as well:
    http://support.apple.com/kb/ht5484
    But since it really only applied to Asian fonts, it was not of much interest to other users.
    Could you give an example the fonts not being available in other documents in a particular app?
    I think confining the extra font to individual apps would be considered by Apple to be their standard desired behavior and not a bug.  It is the way iOS works in general.
    Have you actually checked the amount of storage space these fonts take up?  I doubt it is very large.

  • How does the purchase process of SAP C4C work?

    Hello,
    we need some information about the purchase process of the SAP C4C System.
    Now we have access to our own C4C System and we are trying to configure it.  But what are the next steps? How do we get the productive system? How does SAP transfer the test data to the productive system? where do we get our development system? ....
    Does anybody have any experience with the first C4C implementation?
    The information we get from SAP confused even more than helped.
    Thanks and regards
    Suita

    HI Suita
    If you are still looking for help, we specialise in Cloud for Customer implementations and have been through this process. You can contact me at [email protected]
    There are a number of assets available on the service marketplace. While you may need advice, I do not believe that consulting services are a mandatory part of the C4C setup, having said that SAP ideally will have discussed some options during the software selection process.
    Are you implementing SAP C4C standalone or with integration to any other system?
    Regards
    James.

  • How does the SignatureClear() function work?

    Hello everyone:
    I have read Javascript for Acrobat API Reference (8.0) and I'm still wondering how SignatureClear() works. Is it possible to clear a signature field with this? How? It is said that you can not work with it in Adobe Reader... but I have seen some other functions working despite of the Availability column: is it possible to use it in Reader?
    Code examples will be very appreciated.
    Regards,
    Javier

    Javier
    I have not reviewed thew API documentation, but I can comment...
    1)  To "clear" or remove a digital signature, you need to have access to the "private" key (digital credential\certificate) that was used to generate the signature.  This means that typically, only the signer can remove their own signature.
    2)  You cannot sign a PDF document with Reader, UNLESS the PDF has been "reader extended" with the "signing" permission that will enable the ability to sign a document with Reader.  A PDF can be extended with LiveCycle Reader Extensions (server product) or with Acrobat Professional.  I have nottried it myself, but I would assume that the "signing" permission would need to be enabled on the document to allow Reader to remove (clear) the signature, assuming agaion that Reader had access to the private key used to create the signature.
    Hope this helps.
    Steve

  • How does the analytical function RANK OVER() work inoracle??

    Hi,
    Can i get the information about how oracle internally handles RANK over() ?

    http://tahiti.oracle.com
    http://asktom.oracle.com

  • How does the folder numbering system for Photos work

    An example is 969QFUPM.  How can I change the system so that it is something that I can understand?

    Cheers guys... Ill move my question, im not a developer im a user, i had the app made for me although the question wasnt directed at a development isue with my app but with the appstore itself I thought someone (a user) might know but I guess nobody does lol ill repost in development... thanks seventy one (who i notice is from kent (im from sittingbourne :O))

Maybe you are looking for

  • Update my app. What is the correct procedure for updating an app/folio?

    I designed a folio in Indesign CS6 and created an app of the folio in adobe dps and succesfully uploaded it to the app store. Now I want to update my app. What is the correct procedure for updating an app/folio?

  • Account Number for a Kanban requisition

    Have an item with an expense account # 1234 at the org item. A requisition gets created from a Kanban replenishment. The requisition pulls in the expense account number from the subinventory. THoughts to as why that happens?

  • Flash Nightmares on Safari. . .Help!

    This all started rather simple. . . I visit a site of a client of mine that has a flash video that was not working on my Safari but did work on Firefox. I also had a SIMBL error come up every time I opened Safari which started I'm guessing either whe

  • I have photo's in a folder but elements doesn't see them.

    I have tried to import the folder's files but no luck, still doesn't see them.  I have tried to; Show hidden files, Reconnect, All Missing files, Untagged Items, all with no luck.  Any Ideas

  • Small Pictures

    Hi I've been trying to import some Jpeg's into I Photo and most of them seem to be thumb- nail size instead of the 'normal' size.... like when you import from a camera. They were part of a bunch of audio/video files that disappeared and were recovere