Help!! Apple startup flicks between Apple sign and blocked sign

I restarted my Mac mini and now, when I turn it on it, the apple sign on startup flicks between the apple sign and a blocked, no entry sign (a circle with a diagonal line through it). It stays like this for hours and hasn't changed. How do I fix this?!

If 10.7.0 or later...
Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
If that doesn't help Reinstall the OS.

Similar Messages

  • I've been hit by malware disguised as an Adobe update. It is preventing me contacting Apple support and blocking other contacts. I have deleted the downloads but the problem persists

    My laptop has just been hit by malware disguised as an Adobe update. I deleted the download immediately and restarted but the problem persists. The malware has created a new search page, endless ads but more dangerously is creating hyperlinks hidden in normal webpage text. It is also blocking access to Apple directly and blocking me logging on to my bank etc

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

  • In Oracle Forms What is the difference between the Regions and Blocks ?

    Hi,
    In Oracle Forms What is the difference between the Regions and Blocks ?
    thanks
    siva

    Hi Siva
    in oracle forms Block are entities which represent your data (table, views etc), you can say like EOs and VOs.
    Well I dont know about regions in forms.

  • Differences between Synchronized methods and blocks

    Hi all,
    I would like to differences between Synchronized methods and blocks.
    - Muni

    Well, you'll get so many of right answers in next ten to thirty minutes.
    I like to yield :)
    Oooo... Ten minutes has passed.
    Synchronized block is a toilet room with a lock in a public lavatory.
    Only one person(running thread) can have the lock at a time.
    And, she/he have to receive the lock from a particular object obj like:
    synchronized(obj){.....} // one object has only one lock for this {} toilet and for any other toilets how many there are... *
    (*: In other words, while a thread is executing a synchronized(obj){} block, other threads can't enter other synchronized(obj){} blocks.)
    Synchronized method is a kind of synchronized block.
    This special block is defaulted to have lock from the object on which the method is defined.
    public class Foo{public synchronized Method(){}}
    use the lock of a Foo object.
    Message was edited by:
    hiwa
    Message was edited by:
    hiwa

  • Ipod touch flicking between lock page and waiting symbol

    have an ipod touch
    getting an iphone next week, thought i'd better update itunes software to latest version
    did this no problems
    however ipod touch now has developed odd issue since this today
    have not managed to successfully sync
    done 3 restores
    screen is flicking between my home page and the waiting symbol
    can't power off (however have done the holding down power and home button trick and did get it to power down, problem persists)
    cannot access anything on the ipod
    using a windows vista to sync via itunes
    anyone any suggestions?

    Try restoring to factory defaults/new iPod you have not yet done that. If you still have the problem that points to a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Help: Apple Mail and Exchange - Internal/External servers issues

    Hi, I'm new here... coming from the dummy pc world...
    I am using Apple Mail in 10.7 connected to a MS Exchange 2007.  I first configured the exchange account while out of the office (the firm is overseas), and had the server with the IP address and SSL at 443 port.  Everything worked fine.
    Then I went to the office for meetings and had to recofigured the whole enchilada (the IP address would not work as internal server while in the network).  I input the internal server (a weird address "alm-srv06") and moved the IP address to the external server.  It also worked fine.
    But, when I came back (out of the office), the account is not working anymore.  Obviously, the internal server doesn't work and the external server is not kicking in.  I have even manually switched the servers, bringing the IP address to the internal server and keeping the wierd internal server address as the external server (so I can remember the config later on when I go back to the office overseas), but it is still not working...
    Any thoughts?
    Thanks.

    Hi, I have a slightely different problem.  I first configured the exchange server account while out of the office (the firm I joined is overseas), and had the server with the IP address and SSL at 443 port.  Everything worked fine.
    Then I went to the office overseas for meetings and had to recofigured the thing (the IP address would not work as internal server while in the network).  I input the internal server (a weird address ("alm-srv06") and moved the IP address to the external server.  It also worked fine.
    But, when I came back, the account is not working anymore.  Obviously, the internal server doesn't work and the external server server is not kicking in.  I have even manually switched the servers, bringing the IP address to the internal server and keeping the internal server as external (so I can remember the config later on when I go back to the office overseas), but it is still not working...
    Any thoughts?
    Thanks.

  • Flicker between 22" ACD and MacBook Pro 15" i7

    I recently connected my MacBook Pro 15" (i7, 2.66GHz) to my original 22" LCD Cinema Display via Apple's mini-DVI adapter to the ACD's DVI connector and am getting a regular flicker that I cannot seem to fix. It is killer on the eyes and any suggestions would be welcome.
    Here's what has NOT worked:
    - resetting the SMU
    - changing the resolution (tried all of them)
    - restarting with everything unplugged
    - putting the machine to sleep, etc.
    - running software update with the monitor connected (no updates)
    Any suggestions or similar experiences? This is truly frustrating and I'd appreciate any insight as to a possible solution.
    Thanks!

    Hi, for me the same story MBP late 2010, and on an additional 22 "monitor, occurring in 10 sec flashes and of course flikering. Any help would be welcome. is an experiment all sorts of what is listed on the forum are of no help.

  • Help me to choose between I mac and Mac Book Pro

    I am thinking of purchasing an apple computer. I am in a dilemna as to whether I should purchase an I mac 21 inches or Mac Book Pro 13 inches. I live in India. My budget is around $1200. My main applications include editing photos in photoshop etc. Give me your comments

    I would say the iMac has great oppurnity on photography and editing Photos. I reccommend Adobe Photoshop CS6 is a great application for editing photos with creativity if have not heard of it or installed it before!
    http://www.adobe.com/products/photoshop.html
    But the MacBook Pro is good too with the newest model of it from 2012.
    Macbook Pro is great if you travel or work a lot on the go!

  • Exported avi's flicker between 4:3 and 16:9 when played back in media player etc.

    Using premiere pro 1.5 on a windows XP..... never had issues until recently.. always shoot with xl-2 in 24p... when the AVI is exported (microsoft dv avi ntsc, or sometimes 24p advanced) and I watch it in windows media player the video flickers back and forth between widescreen and standard... seems random....sometimes the exported videos will play ok... any ideas what's up?  thanks!

    hmmmm
    when the AVI is exported (microsoft dv avi ntsc, or sometimes 24p  advanced) and I watch it in windows media player the video flickers back  and forth between widescreen and standard... seems random....sometimes  the exported videos will play ok..
    dv avi ntsc is 720x480 and it sounds like you have mixed assets in your project...when that flickering happens.  720x480, whether it is 4:3 or 16:9 does not have square pixels..so if some of your assets are based on square pixels you'll get some weird stuff going on ( if your program monitor is set to "fit" it will look OK on timeline maybe, but on export wont ? )...maybe try program monitor at 100% instead and see what stuff looks like before you export...fix the mixed media stuff ?  You using still images ? is that what flickers diff size ?
    ...need more info re: assets in project, export settings
    ps. you might try ms avi ( not ms dv avi ) and adjust settings as per your project and try that export instead ( choose same renderer you use in project or lagarith or some lossless codec )

  • Need help for asynchr. scenario between 4.6c and XI

    Hi,
    I need some help with this.  We are running 4.6c and now I need to talk to XI 3.0 asynchronously.
    I have a situation where I need to send data to an external application.
    So: R/3(4.6c) -> XI -> external application (the application is not in our landscape).
    It's not required for now to get an answer back from the external application so what are my options?
    I want to build my solution around that I will eventually get a response back to be real time but
    for now, the FTP adapter should work fine.  PCK will be implimented in the future to make it real time.
    Just for a test, I tried:
    R/3 -- (RFC Adapter) --> XI --> File adapter ...   but it's crashing in R/3 since R/3 is expecting
    a response back.  If I setup two receivers in XI (one being R/3 and the other the file adapter, then it's crashing in XI saying since I cannot have two receivers for a synchronist request.)
    I was looking to use an ABAP proxy but from what I'm reading, it cannot be used in 4.6c.
    So what are my options? Is it only trough an IDoc that I can communicate out of R/3 to XI if my request don't required a response back?
    Thanks
    Yves

    Hi Yves.
    For a 4.6 R/3 system the only possible options are the RFC adapter and the Idoc adapter.
    The Idoc adapter is used for async processing (no reponse)
    The RFC adapter is used for sync processeing (and will therefore always expect a respons message)
    The File adapter also onlu supports async (no response) processing.
    There are two ways to solve your problem:
    1. Create a Idoc to file scenario
    2. Use the sync to async bridge
    On help.sap.com you can fing documentation on this scenario:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    Best regards,
    Alwin

  • Can any one help to know difference between flex 3 and flex 4

    Hai
         Now i have my complete code in flex 3
         Need to convert complete code to flex 4
         Is code conversion will support flex 4 or any need any new sdk for it..
         I need to know whether it will affect the complete code..

    Take a look at http://www.adobe.com/go/learn_flex4_featuremigrate_en
    and http://opensource.adobe.com/wiki/display/flexsdk/Flex+4+Backwards+Compatability
    -Gaurav
    http://www.gauravj.com/blog

  • Safari has been "frozen" by a pop up update1.new-flashplayers.us which I believe to be a virus. I don't want to click "ok" but my browser won't work. Closing done and rebooting doesn't help. It just comes back up and blocks safari. Please help

    Please help

    Force Quit  Safari.
    Press command + option + esc keys together at the same time.
    Wait.
    When Force Quit window appears, select the application if not already.
    Press Force Quit button at the bottom of the window.
    Wait.
    Application will quit.
    Relaunch Safari holding shift key down.

  • Family Apple IDs and iCloud SubAccounts

    Our family has just purchased and is migrating to 3 iPhones, 1 MacBook Pro, 1 iMac and 2 iPads. We have 4 users in our family - 2 parents and 2 kids. Your recommendations on how to best set-up our family in terms of Apple ID's and iCloud Accounts would be most appreciated. Below are our top line thoughts based on some initial reading, yet very new to all of this and am not familiar with excuting the details (need a plan + step-by-step help)
    Have one main Apple ID for iTunes. This account will be used to access iTunes on all iPhones (3), iPad (2) and Computers. It will also be used to create a main iCloud account for the main household user (contacts, calendar, etc).
    For spouse + 2 kids, have separate iCloud accounts for e-mail, contacts, calendars, etc. Do you need to use a separate Apple ID for each one?  How do you create the Apple ID if they don't have e-mail addresses, and the 1 email address is already set-up as the main Apple ID for iTunes?
    Your detailed suggestions + step-by-step guide would be most helpful!!!!!!!!
    Thank You...

    In reference to iTunes...
    Whilst you're under the same wifi, you can use Homesharing, as long as one machine holds all of the music, any other devise running iTunes should be able to stream the music through the wifi onto theirs.
    Alternatively, when out and about, one user can activate in total 5 devices to download their music onto.
    But you wouldn't want to do this outside of iTunes, otherwise it will mess up things like Facetime and Messages as previously mentioned. Even then this above process isn't exactly "clean".
    A good solution would be as follows, and a set-up that works with myself and family...
    Each person to have their own Apple ID. Using an Apple TV, you can easily flick between users, browse and stream everyones music, films and photos who's Apple ID is saved on the machine.
    This is (only recently) the only Apple devise that works with multiple Apple IDs without getting complicated.
    Of course research the Apple TV, because at the moment it is quite limiting, so make sure it's limits work with what you want to do. But we use it all the time for watching movies (bought in iTunes).

  • Configure SSO between the SAPGUI and ECC 6

    Hi,
    I need a help to configure SSO between the SAPGUI and ECC 6. I configured the SNC using the parameters:
    snc/accept_insecure_rfc = 1;
    snc/accept_insecure_gui = 1;
    snc/accept_insecure_cpic = 1;
    snc/identity/as = p:Domain\SAPService;
    snc/enable = 1;
    snc/data_protection/use = 1;
    snc/data_protection/min = 1;
    snc/data_protection/max = 1;
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\nuc\NTI386\gssntlm.dll.
    I configured desktop with the DLL sncgss32.dll but is not functioning. Somebody has some idea the how solve this problem?
    Thanks
    Alex

    Hi Alex
    You have
    snc/identity/as = p:Domain\SAPService;
    Check the following (wrong user)
    snc/identity/as = p:Domain\SAPService<SAPSID>
    Where SAPService<SAPSID> is the user who runs the SAP System.
    You have
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\nuc\NTI386\gssntlm.dll
    Check the following (nuc is a wrong directory, the correct is uc)
    snc/gssapi_lib = D:\usr\sap \ <SID>\SYS\exe\uc\NTI386\gssntlm.dll
    Please, reward points if helpful
    Edited by: Eydar Del Angel on Apr 21, 2008 4:54 PM
    Edited by: Eydar Del Angel on Apr 21, 2008 4:55 PM

  • Single List and Blocked List

    What is the difference between Single List and Blocked List. how REUSE_ALV_LIST_DISPLAY will work with single List and Blocked List.
    Please Help me.
    Regards
    vamsi.

    hi vamsi,
    to get single list u use FM's REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY and
    for blocked list u use the FM's REUSE_ALV_BLOCK_LIST_INIT,
    REUSE_ALV_BLOCK_LIST_APPEND &  REUSE_ALV_BLOCK_LIST_DISPLAY
    <b>check this code for List display....</b>
    REPORT  ZTEST_ALV1.
    **TABLES DECLN
    TABLES: VBRK,VBRP,T001.
    TYPE-POOLS: SLIS.
    TYPE-POOLS: ICON.
    ***DATA DECLN.
    DATA: V_VBELN LIKE VBRK-VBELN,
          V_MATNR LIKE VBRP-MATNR.
    CONSTANTS: C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
               C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS'.
    **ALV RELATED TABLES.
    *--Field Catalog
    DATA:   IT_FIELDCAT TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV  WITH HEADER LINE,
            IT_FIELDCAT1 TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV WITH HEADER LINE ,
            WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    *--Layout
           WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
    *--Sort
           IT_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV  ,
    **-Structure for excluding function codes
           WA_EXTAB TYPE SLIS_EXTAB,
    **-To hold function codes to be excluded in ALV toolbar
           IT_EXTAB TYPE SLIS_T_EXTAB.
    ***INTERNAL TABLE DECLN.
    DATA: BEGIN OF IT_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          WAERK LIKE VBRK-WAERK,
          VKORG LIKE VBRK-VKORG,
          FKDAT LIKE VBRK-FKDAT,
          BUKRS LIKE VBRK-BUKRS,
          NETWR LIKE VBRK-NETWR,
          END OF IT_VBRK.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBRP-VBELN,
          POSNR LIKE VBRP-POSNR,
          FKIMG LIKE VBRP-FKIMG,
          VRKME LIKE VBRP-VRKME,
          NETWR LIKE VBRP-NETWR,
          MATNR LIKE VBRP-MATNR,
          ARKTX LIKE VBRP-ARKTX,
          END OF ITAB.
    DATA: IT_VBRP LIKE ITAB OCCURS 0 WITH HEADER LINE.
    ***selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN,
                    S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
                    S_MATNR FOR VBRP-MATNR.
    SELECTION-SCREEN: END OF BLOCK B1.
    **INITIALIZATION.
    INITIALIZATION.
      S_FKDAT-LOW = SY-DATUM - 200.
      S_FKDAT-HIGH = SY-DATUM.
      APPEND S_FKDAT.
    ***AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
      IF NOT S_VBELN IS INITIAL.
        SELECT SINGLE VBELN FROM VBRK
               INTO V_VBELN
               WHERE VBELN IN S_VBELN.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
      IF NOT S_MATNR IS INITIAL.
        SELECT SINGLE MATNR FROM MARA
               INTO V_MATNR
               WHERE MATNR IN S_MATNR.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
    ***START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM GET_DATA_VBRK.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    *--Sort the Output Fields
    PERFORM SORT_FIELDS.
    *--Build Field catalog for the Output fields
      PERFORM GET_FIELD_CATALOG.
    ***MODIFY LAYOUT.
    PERFORM MODIFY_LAYOUT.
    *--Display ALV output
      PERFORM LIST_DISP  TABLES IT_VBRK
                               USING  C_USER_COMMAND.
    *&      Form  GET_DATA_VBRK
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA_VBRK.
      SELECT VBELN
             WAERK
             VKORG
             FKDAT
             BUKRS
             NETWR
             INTO TABLE IT_VBRK
             FROM VBRK
             WHERE VBELN IN S_VBELN
             AND FKDAT IN S_FKDAT.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELD_CATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELD_CATALOG .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME         = SY-REPID
          I_INTERNAL_TABNAME     = 'IT_VBRK'
          I_INCLNAME             = SY-REPID
        CHANGING
          CT_FIELDCAT            = IT_FIELDCAT[]
        EXCEPTIONS
          INCONSISTENT_INTERFACE = 1
          PROGRAM_ERROR          = 2
          OTHERS                 = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " GET_FIELD_CATALOG
    *&      Form  SORT_FIELDS
          text
    -->  p1        text
    <--  p2        text
    FORM SORT_FIELDS .
      CLEAR WA_SORT.
      WA_SORT-SPOS = '01'.
      WA_SORT-FIELDNAME = 'VBELN' .
      WA_SORT-TABNAME   = 'IT_VBRK'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR  WA_SORT.
      WA_SORT-SPOS = '02'.
      WA_SORT-FIELDNAME = 'POSNR' .
      WA_SORT-TABNAME   = 'IT_VBRP'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_FIELDS
    *&      Form  MODIFY_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFY_LAYOUT .
      WA_LAYOUT-DEFAULT_ITEM = 'X'.
      WA_LAYOUT-ZEBRA = 'X'.
      WA_LAYOUT-EXPAND_FIELDNAME = 'EXPAND'.
      WA_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " MODIFY_LAYOUT
    *&      Form  LIST_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM LIST_DISP  TABLES   P_IT_VBRK
                       USING    P_USER_COMMAND TYPE SLIS_FORMNAME.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          I_CALLBACK_PF_STATUS_SET = 'POPUP'
          I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'
          IS_LAYOUT                = WA_LAYOUT
          IT_FIELDCAT              = IT_FIELDCAT[]
         IT_EXCLUDING             = IT_EXTAB[]
        TABLES
          T_OUTTAB                 = IT_VBRK
        EXCEPTIONS
          PROGRAM_ERROR            = 1
         OTHERS                   = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " LIST_DISP
    *&      Form  POPUP
          text
         -->P_EXTAB    text
    FORM POPUP USING IT_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'POPUP'.
    ENDFORM.                 " POPUP
    <b>and check this for <b>Block List</b>....</b>
    REPORT  ZTEST_ALV3.
    TABLES: SFLIGHT,SPFLI.
    TYPE-POOLS: SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
          PRICE  LIKE SFLIGHT-PRICE,
          CURRENCY LIKE SFLIGHT-CURRENCY,
          CITYFROM LIKE SPFLI-CITYFROM,
          CITYTO LIKE SPFLI-CITYTO,
          END OF ITAB.
    DATA: V_REPID LIKE SY-REPID.
    ***FIELD CATALOG.
    DATA: ITAB_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          WA_FLDCAT  TYPE SLIS_FIELDCAT_ALV.
    ***SORTING
    DATA:  ITAB_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV.
    ***events
    DATA: IT_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE,
    ***VARIANTS
          IT_VARIANT LIKE  DISVARIANT OCCURS 0 WITH HEADER LINE.
    FOR LAYOUT
    DATA: WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
          IT_LAYOUT TYPE SLIS_LAYOUT_ALV OCCURS 0 WITH HEADER LINE.
    ****SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS: S_CARRID FOR SFLIGHT-CARRID.
    SELECTION-SCREEN: END OF BLOCK B1.
    ****START-OF-SELECTION.
    START-OF-SELECTION.
    V_REPID = SY-REPID.
    PERFORM GET_DATA.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_FIELDCAT.
    *PERFORM GET_LAYOUT.
    PERFORM BLOCK_ALV.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    SELECT A~CARRID
           A~CONNID
           A~FLDATE
           A~PRICE
           A~CURRENCY
           B~CITYFROM
           B~CITYTO
           INTO TABLE ITAB
           FROM SFLIGHT AS A JOIN SPFLI AS B ON
           ACARRID = BCARRID
           WHERE A~CARRID IN S_CARRID.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELDCAT .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = ITAB_FIELDCAT[]
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GET_FIELDCAT
    *&      Form  BLOCK_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_ALV .
    PERFORM BLOCK_INIT.
    PERFORM BLOCK_APPEND.
    PERFORM BLOCK_DISPLAY.
    ENDFORM.                    " BLOCK_ALV
    *&      Form  BLOCK_INIT
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_INIT .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = V_REPID.
    ENDFORM.                    " BLOCK_INIT
    *&      Form  BLOCK_APPEND
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_APPEND .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = ITAB_FIELDCAT[]
        I_TABNAME                        = 'ITAB'
        IT_EVENTS                        = IT_EVENTS[]
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                    = 1
       MAXIMUM_OF_APPENDS_REACHED       = 2
       OTHERS                           = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_APPEND
    *&      Form  GET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_LAYOUT .
    WA_LAYOUT-DEFAULT_ITEM = 'X'.
    WA_LAYOUT-ZEBRA = 'X'.
    APPEND WA_LAYOUT TO IT_LAYOUT.
    ENDFORM.                    " GET_LAYOUT
    *&      Form  BLOCK_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXCEPTIONS
       PROGRAM_ERROR                 = 1
       OTHERS                        = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_DISPLAY
    hope this helps,
    do reward if it helps,
    priya.

Maybe you are looking for