Cell Linkage.

Hi Apple Community,
I'm wondering whether programmers at Apple read these posts. This is more of a suggestion than a discussion.
I am currently making a huge spreadsheet for my nano brewery business where I am creating Balance Sheets, P&L Statements, Cash Flow Statements, etc. Basically a financial model. I believe the spreadsheet is currently larger then the business itself in terms of value and scale.
The spreadsheet is set to a monthly cycle and the expenses are all tabbed out to other pages. This way I can enter daily expenses in a tab titled "Hops purchases" and it accumulates with the total appearing in the appropriate cell for "May" Hops expenses in the master sheet.
I would love to be able to then add a link to the "May Hops" cell in the master sheet so that whenever I want to add an expense I just click on the cell and it takes me directly to the "Hops Purchases" page.
Excel has this option.
Now that I've put in that jab, I want to say a quick couple of things.
I hope the programmers at apple can fix this. I suspect that it will eventually make me annoyed enough to buy the Excel program because it is just more useful even for my rather unadvanced financial layout. While it's big, it's not super complicated.
Please don't tell me I can just move my mouse arrow up to the tabs and slide along them. I know this. It still takes longer than clicking on a linked cell.
And please don't tell me I can buy a pre-made financial model of some sort that has a workaround. I like what I'm doing. I'm a creative guy. Apple products are supposed to be for creative, independent people.
I love this new Mac I bought and I like how intuitive the Numbers program in general is. It was very easy to use and I rarely ran into serious issues that ate up hours of my time. That's key, because it is a unique talent I posess.
But please fix this. I've heard that Apple is not very forthcoming about admitting mistakes and doesn't always bother to address issues when consumers raise them. Prove the public wrong, please. You don't need to reply to this missive, I'm really just venting (Unless the internet is incorrect and there IS a way to create a link in a cell so that it takes me to another tab). Just fix it. Please, Please, Pretty-Please.
Thanks,
CDS

Meanwhile, if don't want to wait for Apple to build in this functionality, you can quite easily add something similar yourself.
For example, you can have something like this pop up whenever you hit a keyboard shortcut (in my case shift-command-j):
This is done via a Jump to Sheet Automator Service (Dropbox download).  To install just doubleclick the .workflow package and (if needed) click 'Download Anyway' in System Preferences > Privacy & Security.
This will cause a new item to appear in your Numbers > Services menu.  Then, if you want a keyboard shortcut, go here in System Preferences and add one:
You can rename or remove the service by holding down the option key in Finder and choosing Go > Library > Services. You can also view the AppleScript contaned within the service by opening the .workflow package in Automator.
This particular service jumps to the first cell of the first table of the sheet you choose from an automatically generated list of all sheets in the current document. That is precise enough for most purposes, though it is not hard, using simple AppleScripts, to "jump" to any cell in the current document, to cells in other Numbers documents, or even to non-Numbers files on your Mac.
SG

Similar Messages

  • Dacf; gridcontrol cell; put edits

    To put all those discussion into a practical example and question...
    I have a dacf grid control. The user can edit a part number ( 1 of 350,000 possible.. no list boxes ) that is one of the columns. I want to make sure that part number is valid via a lookup in the database..immediately on entry into the cell and pressing tab and return... if bad, I want to blank the cell and leave him/her in it.. and put an error message (NOT a error dialog) at the bottom of the screen in the status line.
    How does one go about this?
    Some options I see:
    1. If I were a Java pro.. probably do something with a custom cell editor attached to the underlying tablemodel?
    2. If I were a beginning BC4J person.. maybe put it in the EO setr with a exception event handler that somehow does the work. ( HOW? Where? I'm missing the conceptual links to accomplish this task... or comprehensive yet simple code examples)
    3. If I were a little more involved with BC4J.. set up a DOMAIN with the the validation, set up the EO attribute on the domain... and follow through with 2 above???
    4. If I were a traditional Oracle developer with little Java experience. Uh. Well, I'm fairly lost until I've had about 6 months of experience, 5 training classes.. read through several Java manuals, read more class docs than I cared to... and disjoint Help pages ( making the linkages myself ).
    This is a very simple, common and necessary task in any UI... validating the entered value in a dacf gridcontrol cell at time of entry.
    What is the BEST way to approach this? Does anyone have code examples?

    Thanks for the code fragment Sathish... as always you have a practical direct solution.
    I will try to implement a domain, an EO attribute on the domain, and your rowsetInfo (?) attributeInfo validationListener to see if I can make it hang together and work.
    grin We're getting to the crux of a lot of the issues I have!
    I suppose I missed this concept completely in the classes ( I heard and can find the pieces, but not how to use them to create a total end to end solution )... AND missed it completely in the documentation as an end to end solution? ( Show a person a clutch, a brake pad, a piston rod and a gallon of gas... it doesn't mean they know how to build a car from scratch! )
    But my belief is that just about everyone outside of Oracle and those having direct contact with Oracle, or discovering this through this board... well... they are just floundering when they need the solution.
    And really, I'd want most of my validation back at the DOMAIN level ( since it something like an SSN format check, or a valid part number check... is related to the DOMAIN..and global to everything, even supra-application module? I.E. Rule 1: protect database data integrity. ) to be picked up by the EO, and used by the the component, right? And all of this will happen at data entry, not commit, of course ( unless as Steve says, there are cross-attribute within the same row or rowset constraints )
    Confusion ( on my part? ) is that if I put a ValidationListener on the attributeInfo that is it at the "wrong level" ( way, way up the food chain ), again? Or will this cleanly trap rules placed in the EOImpl setr.. and the Domain rules, as well, at time of entry?
    Yet you are correct in that if I don't want some generic ERROR dialog box to pop up... I'd need something like the ValidationListener to "take control" and do what I want... is that correct?
    Also, the validation Listener fires even when I'm setting the value programmatically directly from another table's value... even if I know for sure that the value is valid?
    ( Remember that I may be checking in a before insert trigger anyway since I'm protecting data integrity no matter what the source ).
    One of the interesting effects I'm encountering in building the App is items like this... that EventListeners Fire seem to fire indiscriminatly... and I have to code the critter REAL careful to put in global flags or prechecks to tell it "NO, don't do it" so as to keep up the response time... and also that the Listener would need special code and custom properties on the UI component set up ( like "allow wildcard" ) that will affect the listener validation code.... uh... which in a generic listener requires more and more specialized exception code.
    I.E. generic is starting to == slow and cumbersome and hard to set up, specialized == fast and efficient and easy to code and debug. This would not matter ( generic and slow is MSFT's design approach in most cases ) if not for the fact that actual user response time is a reality, and the JVM running on a <800mhz cpu with lots of databse access really does start to bog down.
    Thanks
    null

  • How do I use cell number associated with iPad 2 3G

    How do I use cell number associated with iPad 2 3G

    For Messages you can can use your email address, the iPad doesn't have a phone number that you can use.

  • SSAS SSRS Report Action on Cell Value w/ Embedded Single Quote Not Executing

    I have configured an SSAS 2008 R2 cube SSRS ReportAction. I'm having problems when the member value for a cell has an embedded single quote, e.g. abc's. The action displays on the context menu appropriately, but when I click on the action, nothing happens.
    For member values that do not have the single quote, the action works as designed. I've added a calculated ember to escape the embedded single quote by adding another single quote, e.g. abc''s, with no luck. Is there a resolution or workaround for this?

    Hi Mdccuber,
    According to your description, you create a reporting action in you cube, and it works fine except the members that have embedded single quote, right? In your scenario, it seems that you pass this value to the report as the parameter.
    In SQL Server Analysis Services (SSAS), when pass values to a report, multi-select parameters have to be placed into IN statement and SQL Server Reporting Services (SSRS) will do single-quote wrapping for string values automatically. In this case, the original
    value that have embedded single quote will be damaged. So this action not work. You can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Macro to open and save as a value in a cell

    How can I create a macro (I've named it Test) that will:
    1.bring up the open dialogue box (to allow the user to choose a file)
    2.save the file, with the file name determined by the text in cell A3 in .xlsx format
    I have two pieces code that seem to work individually, but not together:
    Dim strFileName As String
    strFileName = Application.GetOpenFilename
    If strFileName = "False" Then Exit Sub
    MsgBox strFileName
    ThisFile = Range("A3").Value
     ActiveWorkbook.SaveAs Filename:=ThisFile
    Thanks for the help!

    Hi
    With very little change, this works for me. I just declared your last variable. (thisFile)
    Sub test()
        Dim strFileName As String, thisFile As String
        strFileName = Application.GetOpenFilename
        If strFileName = "False" Then Exit Sub
        MsgBox strFileName
        thisFile = Range("A3").Value
        ActiveWorkbook.SaveAs Filename:=thisFile
    End Sub
    Cimjet

  • Is there any way to contact verizon with a detailed cell phone technical support question?

    Is there any way to contact Verizon with a detailed cell phone technical support question?  I prefer e-mail so as to provide details (like I am trying to provide here).  I have tried in-store personnel (no help at all) and the web chat - they just want to see me more data instead of helping me with my basic problem!
    I CAN NOT GET ANYONE FROM VERIZON TO GIVE ME ANY HELP NOR CAN I FIND A WAY TO FILE A COMPLAINT.  AT THIS POINT I JUST WANT TO DROP MY VERIZON ACCOUNT BUT I'M SURE THAT IT WILL COST ME A SMALL FORTUNE TO GET OUT OF IT.
    Here is my issue:
    Chat transcript removed as required by the Verizon Wireless Terms of Service
    BELOW IS A SCREEN COPY FROM REDDIT ABOUT SOMEONE WITH THE SAME PROBLEM WITH A VERIZON CELL PHONE
    So last night my RAZR MAXX HD did something totally bewildering by spontaneously downloading 2.6 GB of data over the course of ~ 3 hours. Fortunately I was able to catch this problem before it ended up being really expensive, but I still exceeded my 2 GB data plan by 600MB.
    The Culprits:
    Reddit News Free: 160 MB foreground / 0.96 GB background
    Android OS: 0 MB foreground / 1.18 GB background
    Several unnamed applications: ~ 350 MB
    Screenshots:
    The massive data spike
    Android OS data usage
    Reddit News Free data usage
    Weird unnamed processes
    Detailed timeline:
    5:12 PM: Incident begins according to VZW data usage website (2.60410 GB used). This is around the last time that I used my phone at the laundromat before getting dinner and watching Game of Thrones.
    8:04 PM: 50% of data allowance used (txt msg)
    8:31 PM: 75% of data allowance used (txt msg)
    8:58 PM: 90% of data allowance used (txt msg)
    9:13 PM: 100% of data allowance used (txt msg)
    10:05 PM: Got the text messages and immediately put the phone into airplane mode
    10:30 PM: Took screenshots
    10:45 PM: Enabled wifi, installed Kaspersky premium. Scan returned no threats.
    11:00 PM: Left phone in airplane mode, went to sleep.
    The questions:
    What was the root cause of this issue? Did Reddit News freak out as a result of an esoteric bug or was my phone hacked?
    If this was a simple Reddit News bug, then why was the Android OS also trying to use such a massive amount of background data?
    What the hell are these unnamed numeric applications? I've inspected my process history and this is the first time they have ever attempted to use data.
    I'm pretty sure that I can explain this situation to Verizon and get out of having to pay additional data usage fees, but I would like to know more about the problem before I get in touch with them.
    all 13 comments
    best 
    [–]omgmrjmako/PA, deb/Carbon 3 points 1 year ago*
    All I can think is your phone may have background downloaded an OTA update, and you'd then be prompted with something like, "As update to your Android system has been downloaded, would you like to install it now?"
    I do find it very odd that the update would be 2.6GB. As a rough base, the CyanogenMod 10.1 firmware for your device is well under 200MB, so unless Verizon has a ****-ton of bloatware in the update, or it had to attempt to download multiple times for some reason, it may be a stretch.
    But doing a little homework, it looks like the Verizon Razr Maxx was updated to 4.1 in late March. Maybe they're still rolling it out in waves? Have you gotten the update yet?
    Edit: Aaaand I just noticed you appear to be running an AOSP-based ROM, which totally rules out a carrier update being sent out.
    Edit2: If you want to live dangerously, you could try running:
    #kill -9 12289
    That 12289 is the PID listed in your screenshot. But don't run that without fulling understanding the kill command.
    The ps command could also be of use, but probably not.
    permalink
    [–]lechnito[S] 2 points 1 year ago
    I can confirm that the phone is currently at 4.1.2 and that I wasn't prompted for an OTA update.The fact that both the Android OS and Reddit News processes were simultaneously using an extremely large amount of data is unlikely to be a coincidence... 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 3 points 1 year ago
    That is very curious that the spikes happened at the same time.I'm curious. It may have put at least some of that 2.6GB somewhere. You could use a data visualizer tool to see if you can find it, which may lead to more clues. 
    permalink
    parent
    [–]lechnito[S] 2 points 1 year ago
    The largest directories are:
    DCIM: Normal looking photos (90,825 KB)
    Android: Primarily map cache data (64,846 KB)
    If it was downloading content then it did not significantly save content to storage. It's not like I have anything particularly sensitive on the phone, but the idea that it was uploading a snapshot of my data definitely makes me uncomfortable.
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    Yup, Digital Camera IMages and videos.Somewhere in /sdcard/Android would be my guess as to where a mysterious file would be downloaded, but if it's only 64MB, and mostly map data, I'd safely rule it out.I'm sorry, but I'm stumped here.Edit: I should mention I don't think this is malware, because unless a malicious app gained superuser access, any data it used would show under it's own apk in the data usage list, not Android OS. 
    permalink
    parent
    [–]mistrbrownstone 0 points 1 year ago
    DCIM: Normal looking photos (90,825 KB)
    Was it trying to auto-upload pictures or video to G+?I ******* hate that.
    permalink
    parent
    [–]lechnito[S] 1 point 1 year ago
    Although I'm not really up to speed with the Android platform, I come from a UNIX background so I feel comfortable running commands. How do I pull up a bash terminal? Do I need to root the phone first? 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    There's a number of terminal emulators in the Play Store that work well. You don't need a rooted phone to get to the shell as your user, but any privileged command won't execute unless you can grant it permission from the Superuser app that is installed when you root the device. So you could probably do a ps -e, but not a kill -9. 
    permalink
    parent
    [–]lechnito[S] 1 point 1 year ago
    Got it. I downloaded a terminal emulator but unfortunately those processes no longer exist.Does Android keep a generic log of system level events like /var/log/syslog? 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    I don't think so, and I know you'd need superuser permission to read most of the files in /var/log anyway. I'm not super familiar with how Android does its logging, but I do know that the two files of interest are the logcat and dmesg. 
    permalink
    parent
    [–]sh0nuff 1 point 1 year ago
    Want to mention here that using your settings to set your data cap (set it on your billing day), then you won't go over again.Those text messages are really unhelpful, as they send out well after the data has been used. Chances are good you hit close to the 2GB mark before you received the bulk of the messages. 
    permalink
    [–]kindofabuzz -4 points 1 year ago
    Quit installing pirated apps. 
    permalink
    [–]lechnito[S] 1 point 1 year ago
    That's definitely not the case here; both my PC and and Android phone are free from pirated apps.

    You used the data.  Verizon can not see what it was sued for.  However your phone can see whats apps used the data.  go to settings-data usage- there will be a place that says data usage cycle.  line the dates up with your cycle.  then there will be a bar graph below that   extend bother white bars one all the way to the left and one all the way to the right.  after those are extended below that will be a list of apps,  there should be one that used over 2 gb and that will show you what app used that data in her purse

  • How do i add multiple lines in a cell (like a list) in Excel for MAC?

    I'm trying to add multiple lines (in the form of a list) in a individual cell in Excel for MAC.  I used ALT Enter on my PC but that doesn't work on the iMac.  Does anyone know how to do this?
    Thanks!

    It's been a while but I think you hold SHIFT while typing a page break (RETURN) to make a new line without shifting to another cell.
    However, as Excel isn't an Apple product, I am sure you will get a faster and more current answer by using Microsoft's Office:Mac forums here:
    Office for Mac forums
    They are very good.

  • How can I create a new worksheet every time that one cell it´s filled

    I was looking in the references formulas and I find the formula "Direcction".
    My goal it´s to create a new worksheet everytime that some cells are filled.
    So I need one formula that alows me to put this reference and open automaticaly a new worksheet and this new table inside of this worksheet.
    It is clair the question?
    Someone can help me wiht that?

    Hi Wayne, Not really, the smaller table it´s not really important, I was trying to do the new sheet with it in that case.
    What I want is to use the dates in the row with the items markeds to create a new worksheet.
    I made an example donw here.
    I have the first table, than from it, I want to do 4 new tables
    I mean, everytime that I finish with one column I want to have a new table (in a new work sheet) with that items markeds.
    Do you think that script it´s possible to solve this?
    How can I do it?

  • Concatenation of Data from 4 infoobjects into a single cell in Bex Report

    Hi,
    I have loaded ODS with the description data. The source system for loading the ODS is the flat file. The ODS data should be a replica of the flat file.
    In the flat file, there is a description field corresponding to a particular ID. This Description is greater than the standard 60 char length. So, I had to split the description while loading the flat file using single line routine in the Transfer Structure.
    So, while loading different  the data, I split the description field data from the flat file into 4 infoobjects and the flat file data was loaded into the ODS.
    Now, from the reporting point of view, I need to display the entire description data from the 4 info-objects into a single cell in the Bex report.
    Please suggest a solution for this.
    <b>****Points will be awarded***</b>

    Hi Vineet,
    Thanks for the response.
    Could you please help me out with the VBA script(code) that needs to be written in the macro.
    Thanks in Advance.
    <i><b>****Points will be awarded****</b></i>
    Regards,
    Hitesh Shetty.

  • How to disable a single cell in a table (and not the whole column)

    Hi there,
    I've got a webdynpro table with a few columns, rows can be created dynamically through a button in the table toolbar.
    Depending on the value of a certain cell I have to disable another cell (in the same row).
    I tried to manipulate the view in the modifyview but no joy. I also tried to manipulate the attribute property through the coding below:
      DATA lv_knttp TYPE knttp.
      lo_nd_kostl = wd_context->path_get_node( path = `MULTIVALUES.KOSTL` ).
      lo_el_kostl = lo_nd_kostl->get_element( ).
      lo_el_kostl->set_attribute_property(
      attribute_name = 'LTEXT'
              property       = lo_el_kostl->e_property-enabled
              value          = ''
    but it disables the whole column!!!! I just need the cell to be disabled (I thought the code above, through the lead selection, would affect a certain cell only - but I was wrong).
    Any ideas?
    Thanks!!!

    Hi,
    using cell variants you can do this.,
    check this article: [Cell Variants in WDA|http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants]
    Instead of binding the read only property of table as a whole , just bind the read only property of column group of table., You can do this bu drill down the table and select the required column and bind the read only column.,
    then In onAction Event of button .,
    loop the table, if condition satisfied set the read only property to true else false.,!!
    hope this helps u.,
    Thanks & regards,
    Kiran

  • How to print selected cells in numbers

    Does anyone know how to print selected cells in a Numbers spreadsheet, rather than printing the entire sheet?
    Also, how to save the selected cells as a pdf file without saving the irrelevant cells?

    Hi nmygs,
    How about this?
    Cell A1 is a Pop-Up Menu containing names of the various "Departments"
    Other cells contain formulas to find a match for whatever is chosen in A1 from the Very Big Data Table.
    Reusable Print Me table.
    Regards,
    Ian.

  • Cell border selection problem

    I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
    Title was edited by: Host

    Hi Jim,
    I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
    Just as an option, would filling the sets of cells with a light colour for each class work better for you?

  • Is it possible to easily view the actual (not displayed) value of a cell?

    Is it possible to easily view the actual value of a cell calculated by a formula, not the displayed value after it has been rounded off?
    For instance, if you enter the number 1.23456789 and display it rounded to 3 decimal places, you can still see the full, actual value in the formula bar:
    The problem arises when you reference that number in a formula: you can't see the underlying value (even though it's obviously known to Numbers):
    Is there a way to get the formula bar (or a tooltip) to show the full, unrounded value? Changing the display to more decimal places is not very convenient, especially on big spreadsheets. Maybe it could be done via AppleScript?
    A related issue arises when you try to look at the sum or average of a number: if the numbers being summed have the same number of rounded decimals, the sum displayed is rounded too. I find this very annoying: I want to see the actual value, not how my spreadsheet may be displaying it in that cell.
    Although, curiously, rounding to any number of decimals as long as they are not all the same displays the full, correct underlying values:
    Has anyone come up with workarounds for these issues?

    I did it with an AppleScript.
    Now any time I have a cell or cell range selected, I do one click (AppleScript menu > Display Value at Full Precision), and it shows me a popup alert that simply reads:
         rowname : columnname
         value
    Here's the script:
    tell application "Numbers"
              try
                        set selectedTables to (tables of sheets of front document whose selection range is not missing value)
                        repeat with selectedTable in selectedTables -- tables of each sheet
                                  if contents of selectedTable is not {} then -- the list is not empty, it's the selected sheet
                                            set selectedCells to cells of selection range of (get item 1 of selectedTable)
                                            repeat with i in selectedCells -- each selected cell
                                                      set {selectedRow, selectedColumn, selectedVal} to {row, column, value} of i
      --                                                  display alert "value of " & name of selectedRow & " : " & name of selectedColumn & " (" & address of selectedRow & ":" & address of selectedColumn & ")" message selectedVal
      display alert name of selectedRow & " : " & name of selectedColumn message selectedVal
                                            end repeat
                                            return
                                  end if
                        end repeat
              on error eMsg number eNum
      display alert eMsg
              end try
    end tell
    ( Props to Jacques Rioux who posted code to get me started at https://discussions.apple.com/thread/3964938 )

  • Is there a way to auto fill cells with the exact number in mind?

    I am trying to avoid this:
    Column "A" is used as a "MATCH(" point for an "INDEX(" formula in another spreadsheet, and although cell A329 says 73.14, which is what the other sheet can identify to populate the particular row five columns over, its really
    73.1399999999... thus, not giving me the correct reference and not populating properly. 
    Is there a solution?
    I have about 1,500 rows to go through, I know I can do this manually, one at a time, but I'm pressed for time. 
    Thanks,
    Cris

    Re:  too many numbers
    In a helper column enter a rounding formula and fill down...
      =ROUND(A2,2)
    Copy the helper column and paste Values over column A.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • How to color a specific cell in ALV (not REUSE_ALV_GRID_DISPLAY)

    Hi
    I want to change color font or background to a specify position in ALV grid
    It is possible but by creating ALV container (not FM for example REUSE_ALV_GRID_DISPLAY)?

    Hi,
    REPORT ZALV_LIST1.
    TABLES:
    SPFLI.
    TYPE-POOLS:
    SLIS.
    PARAMETERS:
    P_COL TYPE I ,
    P_ROW TYPE I,
    P_COLOR(4) TYPE C .
    DATA:
    T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
    FS_FIELDCAT LIKE LINE OF T_FIELDCAT,
    FS_LAYOUT TYPE SLIS_LAYOUT_ALV ,
    W_COLOR(4) ,
    W_ROW TYPE I,
    W_FIELDNAME(20),
    W_PROG TYPE SY-REPID.
    DATA:
    BEGIN OF T_SPFLI OCCURS 0,
    COLOR(4),
    CHECKBOX ,
    CELL TYPE SLIS_T_SPECIALCOL_ALV,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    CITYFROM TYPE SPFLI-CITYFROM,
    CITYTO TYPE SPFLI-CITYTO,
    DISTANCE TYPE SPFLI-DISTANCE,
    END OF T_SPFLI.
    DATA:
    FS_CELL LIKE LINE OF T_SPFLI-CELL.
    SELECT *
    FROM SPFLI
    INTO CORRESPONDING FIELDS OF TABLE T_SPFLI.
    W_COLOR = P_COLOR.
    T_SPFLI-COLOR = P_COLOR.
    IF P_COL IS INITIAL AND P_ROW GT 0.
    MODIFY T_SPFLI INDEX P_ROW TRANSPORTING COLOR.
    ENDIF.
    FS_FIELDCAT-FIELDNAME = 'CARRID'.
    FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
    FS_FIELDCAT-COL_POS = 1.
    FS_FIELDCAT-KEY = 'X'.
    FS_FIELDCAT-HOTSPOT = 'X'.
    APPEND FS_FIELDCAT TO T_FIELDCAT.
    CLEAR FS_FIELDCAT .
    FS_FIELDCAT-FIELDNAME = 'CONNID'.
    FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
    FS_FIELDCAT-COL_POS = 2.
    FS_FIELDCAT-KEY = 'X'.
    FS_FIELDCAT-HOTSPOT = 'X'.
    APPEND FS_FIELDCAT TO T_FIELDCAT.
    CLEAR FS_FIELDCAT .
    FS_FIELDCAT-FIELDNAME = 'DISTANCE'.
    FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
    FS_FIELDCAT-COL_POS = 3.
    FS_FIELDCAT-KEY = ' '.
    FS_FIELDCAT-EDIT = 'X'.
    APPEND FS_FIELDCAT TO T_FIELDCAT.
    CLEAR FS_FIELDCAT.
    FS_FIELDCAT-FIELDNAME = 'CITYFROM'.
    FS_FIELDCAT-REF_TABNAME = 'SPFLI'.
    FS_FIELDCAT-COL_POS = 4.
    FS_FIELDCAT-KEY = ' '.
    APPEND FS_FIELDCAT TO T_FIELDCAT.
    LOOP AT T_FIELDCAT INTO FS_FIELDCAT.
    IF FS_FIELDCAT-COL_POS EQ P_COL.
    FS_FIELDCAT-EMPHASIZE = P_COLOR.
    W_FIELDNAME = FS_FIELDCAT-FIELDNAME.
    IF P_ROW IS INITIAL AND P_COL GT 0.
    MODIFY T_FIELDCAT FROM FS_FIELDCAT TRANSPORTING EMPHASIZE.
    ENDIF.
    ENDIF.
    ENDLOOP.
    FS_CELL-FIELDNAME = W_FIELDNAME .
    FS_CELL-COLOR-COL = 6.
    FS_CELL-NOKEYCOL = 'X'.
    APPEND FS_CELL TO T_SPFLI-CELL.
    IF P_ROW IS NOT INITIAL AND P_COL IS NOT INITIAL.
    MODIFY T_SPFLI INDEX P_ROW TRANSPORTING CELL.
    ENDIF.
    FS_LAYOUT-INFO_FIELDNAME = 'COLOR'.
    FS_LAYOUT-BOX_FIELDNAME = 'CHECKBOX'.
    FS_LAYOUT-COLTAB_FIELDNAME = 'CELL'.
    FS_LAYOUT-F2CODE = '&ETA'.
    W_PROG = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = W_PROG
    IS_LAYOUT = FS_LAYOUT
    IT_FIELDCAT = T_FIELDCAT
    TABLES
    T_OUTTAB = T_SPFLI
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2

Maybe you are looking for

  • How to convert string to 16 characters.

    My external unique id is too long, more then 30 characters. How to convert it to 30 characters using sql?

  • Using MD5 on Solaris 8

    Is there anyway to use a files content as input for the md5-sparc command? For example: ls -Rap /usr/bin > test and then use the test file to run the md5-sparc to assign signatures to the files located in the test file.

  • Mac OS 10.6.7 corrupt font on export from Word to PDF

    Hi, I have a library of Word documents that use our corporate font: Officina Sans ITC Pro Book. I have previously saved these as PDF using Word for Mac and opening in Acrobat Pro 9 without any difficulty. Today however, while Word will export and cre

  • Transfer Values Inputfield

    Hallo, I have an Input field in my BSP development: This calls a Javascript function for displaying a Popup window (test.htm) with possible values for the field: function ShowModalBox(Object, Key, hid) {   InputObject = Object;   InputKey = Key;   co

  • Blackberry updates remove (uninstalls) Roxio Easy CD/DVD Burning software

    Whenever I do a Blackberry Desktop update, my Roxio Easy CD/DVD Burning software is removed.  The only part of the program left standing is the "Drag & Drop" portion. Solved! Go to Solution.