Wat is the use of sy-cucol and how to use tel me the syntax

pls let me know

Hi,
SY-CUCOL: Position of the column in the window from which the event was triggered (counting starts with 2) i.e Horizontal cursor position.
Ex.
REPORT demo_list_system_fields NO STANDARD PAGE HEADING
LINE-COUNT 12 LINE-SIZE 40.
DATA: l TYPE i, t(1) TYPE c.
DO 100 TIMES.
WRITE: / 'Loop Pass:', sy-index.
ENDDO.
TOP-OF-PAGE.
WRITE: 'Basic List, Page', sy-pagno.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE 'Secondary List'.
ULINE.
AT LINE-SELECTION.
DESCRIBE FIELD sy-lisel LENGTH l TYPE t.
WRITE: 'SY-LSIND:', sy-lsind,
/ 'SY-LISTI:', sy-listi,
/ 'SY-LILLI:', sy-lilli,
/ 'SY-CUROW:', sy-curow,
/ 'SY-CUCOL:', sy-cucol,
/ 'SY-CPAGE:', sy-cpage,
/ 'SY-STARO:', sy-staro,
/ 'SY-LISEL:', 'Length =', l, 'Type =', t,
/ sy-lisel.
This program creates a list of ten pages. When you run the program, you can place the cursor within the basic list and create a detail list by choosing Choose. This displays the contents of the system fields.
SY-LSIND is the index of the current list, SY-LISTI is the index of the previous list.
SY-LILLI is the number of the selected line in the list, SY-CUROW contains the line number of the selected line on the current screen. SY-CUCOL is the position of the cursor in the window. This position exceeds the corresponding unscrolled list column by one. SY-CPAGE is the currently displayed page of the list. SY-STARO is the number of the topmost actual list line displayed on the current page. This does not include the page header. SY-CPAGE and SY-STARO do not depend on the cursor position. For SY-LISEL, the program displays length, data type, and contents. The length of SY-LISEL is always 255, independent of the list's width.
Regards,
Bhaskar

Similar Messages

  • Script to find duplicate index and how can we tell if an index is REALLY a duplicate?

    Does any one have script to find duplicate index? and how can we tell if an index is REALLY a duplicate?
    Rahul

    One more written by Itzik Ben-Gan
    The first query finds exact matches. The indexes must have 
    the same key columns in the same order, and the same included columns but in any order. 
    These indexes are sure targets for elimination. The only caution would be to check for index hints. 
    -- exact duplicates
    with indexcols as
    select object_id as id, index_id as indid, name,
    (select case keyno when 0 then NULL else colid end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by keyno, colid
    for xml path('')) as cols,
    (select case keyno when 0 then colid else NULL end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by colid
    for xml path('')) as inc
    from sys.indexes as i
    select
    object_schema_name(c1.id) + '.' + object_name(c1.id) as 'table',
    c1.name as 'index',
    c2.name as 'exactduplicate'
    from indexcols as c1
    join indexcols as c2
    on c1.id = c2.id
    and c1.indid < c2.indid
    and c1.cols = c2.cols
    and c1.inc = c2.inc;
    The second variation of this query finds partial, or duplicate, indexes 
    that share leading key columns, e.g. Ix1(col1, col2, col3) and Ix2(col1, col2) 
    would be considered duplicate indexes. This query only examines key columns and does not consider included columns. 
    These types of indexes are probable dead indexes walking. 
    -- Overlapping indxes
    with indexcols as
    select object_id as id, index_id as indid, name,
    (select case keyno when 0 then NULL else colid end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by keyno, colid
    for xml path('')) as cols
    from sys.indexes as i
    select
    object_schema_name(c1.id) + '.' + object_name(c1.id) as 'table',
    c1.name as 'index',
    c2.name as 'partialduplicate'
    from indexcols as c1
    join indexcols as c2
    on c1.id = c2.id
    and c1.indid < c2.indid
    and (c1.cols like c2.cols + '%' 
    or c2.cols like c1.cols + '%') ;
    Be careful when dropping a partial duplicate index if the two indexes differ greatly in width. 
    For example, if Ix1 is a very wide index with 12 columns, and Ix2 is a narrow two-column index 
    that shares the first two columns, you may want to leave Ix2 as a faster, tighter, narrower index.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • I'm having trouble turning on my ipad and how can I tell when it's fully charged?

    I'm having trouble turning on my ipad and how can I tell when it's fully charged?

    Try a Reset - hold the Home and Sleep/Wake buttons down together for 15 seconds.
    Have you read the User Guide?
    Unless the charge indicator has bee turned off you see the percentage charged in the top right of the screen.

  • When are I-Tunes updates legitimate and how can I tell?

    When are I-Tunes updates legit and how can I tell?

    I have no idea what you're ranting and rambling about. Your "simple question", if you're referring to the one in this thread, makes little sense other than how I addressed it. If my answer didn't cover your question, post back and clarify what it is you're asking. Don't just come back and post a rant; it's insulting (and the "human" crack doubly so) to all those here, who are just fellow users trying to help out other users and who don't owe you one second of their time.
    If you want tech support directly from Apple, you call them; it's that simple. Contact information is linked from the bottom of every Apple web page, including this one.
    Geez; the old saying that "no good deed goes unpunished" continues to get proven true every day.

  • What happens if you misswire your speakers AND how can you tell if it is misswired?

    The red mark came off the wire and i don`t know which wire was the red one.

    Hmmm... the best way to determine which wire is the '+' is by using a electronic meter and do a continuity test. The center pin of the RCA cable is the '+' and the ground is '-'. If you don't have a meter, only way you can try is using music, try to differentiate whether that particular spk does it sound out of phase or correct phase. If out of phase, the vocal will not sound very centerised. Good luck.

  • ITunes 12-Please please restore side bar functions for playlists -and how can i tell when and if it is safe to "eject" devices after synching

    ITUNES 12-4points
    1) Please restore the easy function whereby the side bar easily accommodates playlists
    2) How do i know when devices can be ejected following synch--no visible drop down ?
    3) How can i change the fonts and font sizes of the library-over and above the noddy large/small toggle in preferences
    4) Look forward to a proper Apple update which includes  full functions of iTunes radio. Hurry up with the latter-Spotify is overtaking you guys!

    How do i know when devices can be ejected following synch--no visible drop down ?
    I can only tell you based on what I see w/ my iPhone...
    When I plug in my iPhone I get the following icon on the top bar:
    If I click on that (that's when it turns blue), I get a sidebar.  At the top I see this while it is syncing:
    The circle-arrows spin.  Once the sync is finished, I see this:
    I then know the sync is over and I click on the Eject icon that replaced the circle-arrows.
    Are you seeing something different?

  • What permissions do signed applets get? And how can I tell?

    This could be a JNLP question, but it's really about signing versus not signing.
    I find that if I sign the applet's jar, I get permissions I don't get if I don't sign it, even though I haven't asked for any permissions. What's disturbing about this is that neither the JNLP spec (look under Launch) nor the Permissions spec (look here [http://download.oracle.com/javase/1.4.2/docs/guide/security/permissions.html#SecMgrChecks] -- I don't know if there's a more recent version) make any mention of signing. (Well, the JNLP spec says you need to sign if you ask for permissions, but I'm not asking for any permissions in the JNLP.)
    So, my question is: Where is the set if permissions that an applet gets solely by virtue of being signed documented? Failing that, is it possible to get the security manager to list out the permissions I have?

    bump
    having the same existential question about the secret mysteries of jnlp applets, I'd be highly interested by the answer :)

  • How do i tell my iPhone 6 to wifi sync with a new macbook? my last macbook got fried by the cat and I cannot access it

    My lovely old macbook running Snow Leopard got fried by the cat.  My new iPhone 6 plus still wants to wifi sync with this dead macbook and how do i tell it that i've now got a new macbook running Yosemite?  It's greyed out on the phone sync page and although i've authorised this new computer I don't know what else to do.  I don't have a back up from the previous computer - the phone was restored in December when I upgraded.

    Have you tried getting your old computer repaired, or did your Snow Leopard completely fry it? See what I did there.
    If you can, try and scavenge the old hard drive and try and boot from it with Boot Camp (you will need something so you can connect the hard drive to your computer with a USB). A quick Google search will tell you how to do that.
    That way if you can get on to it, you can tell your iPhone not to sync with your old computer (which you would be running on your new computer) and instead tell it to sync with your new computer.
    I hope this isn't too confusing for you (no offence - I mean my writing, not your knowledge).
    Thanks, Charlie
    PS. How exactly did your cat fry your old Mac?

  • In which method i can upload data to two transactions at a time and how ?

    Hi,
    Can any body tell me  <b>In which method i can upload datas to two transactions at a time and how</b>
    Pls tell me the steps if possible.
    Thanks
    Prabhudutta

    Hi,
    I hope u are talking abt BDC,
    If it is BDC's Then you can use both the methods.
    Call Transaction or
    Session Method.
    Ex ..if already a vendor exists then call transaction xk02
    if vendor no is not yet created then call transaction xk01.
    hope this helps.
    santhosh

  • TS4065 wat if i have lost my iphone and the person delets my icloud ID and enters his own new one can i still look find the phone using Find my iphone using my earlier ID or will it not pick up my phone as he changed the Icloud ID which was associated to

    wat if i have lost my iphone and the person delets my icloud ID and enters his own new one can i still look find the phone using Find my iphone using my earlier ID or will it not pick up my phone as he changed the Icloud ID which was associated to me ID

    if someone deletes icloud or even if you wipe phone it is not traceable anymore.

  • Wat is the use of sid in extended star schema rather than linking masterdat

    hi bw gurus,
    wat is the use of sid in extended star schema rather than linking masterdata with dimention tables?
    thanx in advace,
    i will assign points,
    srinivas

    hi,
        the sid are used instead of the data in order to avoid the redunduncy of data.
    and reduce the datastorage size.
    the data will be present in the sid table and the data is linked used the corerponding sid in the dimension.
    regards

  • Wat is the use of casting in field symbols

    wat is the use of casting in field symbols?

    When you assign a data object to a field symbol, you can cast to any data type. This means that any area of memory can be viewed as having assumed a given type. You can then address parts of fields symbolically without having to use offset/length addressing.
    A cast is performed using the CASTINGaddition of the ASSIGN statement. The CASTINGaddition allows you to assign a data object to a field symbol where the type of the data object is incompatible with that of the field symbol. There are two types of casting: casting with an implicit type declaration and casting with an explicit type declaration.
    For details please have a look at below link:
    [Casting|http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3930358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • Wat is the benefit of using DDNS service with windows essential 2012?

    hi,
    wat is the benefit of using DDNS service  with essential server, do I have  then not to make  an A record or CNAME record , this all wil be done with DDNS service provider or DDNS service has other functions ?
    thanks
    johan
    h.david

    ok,
    I phoned the DDNS service provider and I understand that they make for you A record and ect.  but first you need a DDNS support router and second you have to open the ports yourself.
    but the problem is the ports are closed by the  ISP provider when you have  a consument abonee.
    so I thing you must have static IP adress to be the ports 80,443 open  , so when I can have static IP adress and make A records by mijn own then I think I don't need this DDNS  service provider. am I right or wrong ?  wat is the benefit of
    DDNS service if the ports in consument abonee situation are closed?
    johan
    h.david

  • Wat is the different between AP set and ORI set?

    i fedup about wan buy AP set or ori set... because AP set is cheaper but i scared AP set spoil more easily, i also heard people say AP set camera and sound system is different with ori set.... guys kindly please tell me wat is the different between AP set and ori set and izit same to buy AP set and ori set?THX YA ^-^....
    Message Edited by geronimo on 24-Mar-2008 06:29 AM

    Thanks YuliaKlimov, I can reproduce this issue, but I cannot explain the different behaviors between SSAS 2008 and 2008R2. As a workaround,
    could you try to use dynamic set or create statics set but with fixed member for example:
    CREATE 
    SET CURRENTCUBE.[Prior Month] AS
    [Date].[Date Key].&[20050723].PrevMember
    , DISPLAY_FOLDER = 'Relative Period Sets';
    Personally, I think your set is dynamic set, because the currentmember is changed base on current selection. You can also submit this issue
    on below official link to get confirmation from Product Group:
     https://connect.microsoft.com/SQLServer/
    Thanks,
    Raymond
    Raymond Li - MSFT

  • Hello, my iphon 5 shall fall to the water 4 days ago when it happened and wipe dry with a hairdryer. We introduced into a pot of rice for 2 days. Operates normally. to expect now, will be good or fail any function?

    hello, my iphon 5 shall fall to the water 4 days ago when it happened and wipe dry with a hairdryer. We introduced into a pot of rice for 2 days. Operates normally. to expect now, will be good or fail any function?

    I have seen MANY VIDEOS ON yotoube on how to handle the situation in the mobile water, it was a horror!
    and also heard that the starch can be harmful. if not scientifically correct to use rice, but anything goes despair

Maybe you are looking for

  • Service Master for Maintenance

    Hi MM Consultants My client wants to know SAP Ability to record the reasons for the change of maintenance venor for the asset in creating service PO. for eg for an asset in AMC i choose a particular vendor for creating service PO and latter change th

  • Can i change disk i my mac mini?

    Can i change my harddrive in my Mac mini 2011. I like to install 2 pcs. ssd drive insted of my 2 psc 500 gb 7200. best regards Michael

  • Query related to error handling

    hi All, In my proxy flow i have stage level error handler which is configured to an alert pointing to an JMS error queue. When i added service level error handler with same alert. I am getting duplication of the same error message by stage and servic

  • Symlinks where are you

    I'm trying to import media to 10.1 using Leave Files in Place seleted during import. Files import OK but no Symlinks are created, only get the media actual copying as if the Copy Files Into option was selected. Anyone else seeing this or am I back th

  • Measurement Results in Execution list box

    Anyideas or reliable procedures on adding measurement results to the existing pass/fail line in the execution display list box ? Test Engineering Empower RF Systems Inc.