Page down not working for BDC

Hi all,
I have written a BDC to call transaction OASV. I have to fill a table control which has initial 10 lines in display. I will have more than 10 items to fill in the table control. But while recording through SHDB i dont get the recording for the page down. However I tried to write the code my self with the OK_CODE as =P++. Still it is not working. It is over writing the lines again when the next set is added. Pls guide me in this.
Thanks and Regards,
Anu.

REPORT zbdc_fi_oasv
       NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE bdcrecx1.
DATA : g_filename TYPE  string.
DATA : BEGIN OF itab OCCURS 0,
       bldat(10) TYPE c,
       budat(10) TYPE c,
       monat(2) TYPE c,
       bukrs(4) TYPE c,
       blart(2) TYPE c,
       ldgrp(4) TYPE c,
       hkont(10) TYPE c,
       shkzg(1) TYPE c,
       dmbtr(13) TYPE c,
       prctr(10) TYPE c,
       END OF itab.
DATA : BEGIN OF itab_tc OCCURS 0,
       bukrs(4) TYPE c,
       hkont(10) TYPE c,
       shkzg(1) TYPE c,
       dmbtr(13) TYPE c,
       prctr(10) TYPE c,
       END OF itab_tc.
DATA : counter(2) TYPE n,
       counter1(5) TYPE n,
       ihkont(15) TYPE c,
       ishkzg(15) TYPE c,
       idmbtr(15) TYPE c,
       iprctr(15) TYPE c.
PARAMETERS: p_fname LIKE rlgrap-filename OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
    IMPORTING
      file_name     = p_fname.
  g_filename = p_fname.
START-OF-SELECTION.
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename            = g_filename
      filetype            = 'ASC'
      has_field_separator = 'X'
    TABLES
      data_tab            = itab.
  LOOP AT itab.
    MOVE-CORRESPONDING itab TO itab_tc.
    APPEND itab_tc.
    CLEAR itab.
  ENDLOOP.
  PERFORM open_group.
  SORT itab.
  SORT itab_tc.
  DELETE ADJACENT DUPLICATES FROM itab COMPARING bukrs.
  LOOP AT itab.
    PERFORM bdc_dynpro      USING 'SAPMA03B' '0100'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RA01B-LDGRP'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM bdc_field       USING 'RA01B-BLDAT' itab-bldat.
    " '01.04.2008'.
    PERFORM bdc_field       USING 'RA01B-BUDAT' itab-budat.
    " '01.04.2008'.
    PERFORM bdc_field       USING 'RA01B-MONAT' itab-monat.
                                                            " '1'.
    PERFORM bdc_field       USING 'RA01B-BUKRS' itab-bukrs.
                                                            " '1111'.
    PERFORM bdc_field       USING 'RA01B-BLART' itab-blart.
    " 'aa'.
    PERFORM bdc_field       USING 'RA01B-LDGRP' itab-ldgrp.
                                                            " '0L'.
    PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RA01B-PRCTR(01)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
   PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
   PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    counter = '01'.
    LOOP AT itab_tc WHERE bukrs EQ itab-bukrs.
      CONCATENATE 'RA01B-SHKZG(' counter ')' INTO ishkzg.
      PERFORM bdc_field       USING ishkzg itab_tc-shkzg.
      CONCATENATE 'RA01B-PRCTR(' counter ')' INTO iprctr.
      PERFORM bdc_field       USING iprctr itab_tc-prctr.
      CONCATENATE 'RA01B-HKONT(' counter ')' INTO ihkont.
      PERFORM bdc_field       USING ihkont
                                    itab_tc-hkont.
      CONCATENATE 'RA01B-DMBTR(' counter ')' INTO idmbtr.
      PERFORM bdc_field       USING idmbtr
                                    itab_tc-dmbtr.
      IF counter = '10'.
        PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RA01B-PRCTR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '=P++'.
        CLEAR : counter.
      ENDIF.
      CLEAR : ishkzg, iprctr, ihkont, idmbtr.
      counter = counter + 1.
    ENDLOOP.
    PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RA01B-HKONT(03)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=UPDA'.
    PERFORM bdc_transaction USING 'OASV'.
  ENDLOOP.
  PERFORM close_group.

Similar Messages

  • "Include Header Row in Subsequent Pages" is not working for table

    Hi,
    I'm using version 8.1.2.3337.1.509884.
    The pagnation feature "Include Header Row in Subsequent Pages" is not working for any table in my design. ( the check-box can not be checked no matter how many times I clicking it)
    I put such table already in a flow bodypage.
    Any similar issue reported?
    Any suggestions?
    Thanks.
    -Vicky

    Hi Raghu,
    Appologies that I uploaded a wrong version of xdp file yesterday.
    Here is the correct one.
    https://acrobat.com/#d=jr0XffvBZWXd0cVhL0OQ3A
    I totally understand that I have to check the checkbox "Include Header Row in Subsequent Pages".
    My problem is that, although I can see that checkbox, and it's not grey-out, I can not tick it. See below screenshot, with the red-cycle mark.
    You can try with above file.
    Just wondering why such weird behavior happened.
    -Vicky

  • Page-up/down not working for scrolling in grid (4.0EA1)

    when displaying data for a table, after clicking in a row, page-up/down does not work for scrolling; scrollbar is working and cursor-up/down; did work in 3.2
    when manually executing a select in the sql-worksheet, page-up/down are working in the result-grid.

    Yes, Thanks we noted it. BrianJ is working on it.
    B

  • Allow Custom Text Entry for Drop down not working For Dynamic form

    Dear All,
    In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
    If any body can please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Dear Jimmypham,
    Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
    Can you please help me to find out the solution for this problem.
    Regards
    Rakesh

  • Linking between pages is not working for me on mobile devices. Can someone help?

    I can get the page linking to work on my desktop machine, but when I preview on mobile devices through Edge Inspect the page does not work. It tells me the page can't be found. Can someone help? - Thanks Robin

    Try downloading Reflow Preview 8 that was released yesterday and see if that fixes it. If not can you post the name of the page you are trying to link too and I'll see if I can reproduce it.
    Thanks for you help and thanks for using Reflow,
    Chris

  • The Help Link from the Application Pages Does not Work for Peoplesoft Campus Solutions 9.0

    Hi everyone.
    I have a problem, I have been trying to set up the Help Link from the Application Pages for Peoplesoft Campus Solutions 9.0 according to the instructions given in the Document: http://docs.oracle.com/cd/E17566_01/epm91pbr0/eng/psbooks/EnablingtheHelpLinkfromApplicationPages.pdf ,  (referenced in the Doc ID 1289101.1, E-PB: How to Set Up the Context Sensitive Help with Hosted PeopleBooks using Universal Linking).
    I follow the instructions of that document carefully:
    I go to: PeopleTools -> Web Profile -> Web Profile Configuration
        2. Then I choose the Web Profile: "Development".
        3. Then Change the value for the Help URL field by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5 , the ctx parameter selected is the one that correspond to  the Campus Solutions (hrcs90r5) according to the Product Line Code Table (ULinkID) especified in the mentioned document.
        4. Stop the Web Domain and Clear cache.
        5. Start the Web Domain again.
    After setting up the Web Profile Configuration I test the help links, thas is why I click in the Help link in any Peoplesoft CS 9.0 Application Page (modify a person), but the next error message appears: "We're sorry, the topic you requested was not found.".
    I tried many combinations with the ctx parameters URL but it does not work yet. 
    I did the same test, but this time using the Help URL field with a HRMS ctx parameter by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hcm92pbr5 , and It works fine !!!
    According to the previous test you realize that It works with HRMS ctx parameter but not with Campus Solutions 9.0 ctx parameter,  Does anybody know what else can I do ? Am I doing anything wrong or missing? or maybe the Oracle's ctx parameter for Campus Solutions URL It is broken simply.
    Thanks for you help and feedback.

    2799444 - The page you are testing with appears to be a Workforce Administration page. Is that correct?
    The CS PeopleBooks would only work for CS pages, e.g.: try navigating to Main Menu > Campus Community > Personal Information > Add/Update a Person
    Also, you can use multiple ctx parameters:
    E.g.: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5&ctx=hcm92pbr5&ctx=pt852pbh2
    This way the help would work for the HR related pages like Workforce Administration, Campus Solutions pages like Campus Community and also PeopleTools pages like Web Profile Configuration. Hope this clarifies your question. Thanks!

  • [JS CS5] Re order pages script not working for me

    Hi, I'm attempting to use the reorder script marked as the answer in this post :
    http://forums.adobe.com/thread/519470
    My problem is that when it reorders the pages, it puts them all into one spread and errors once it reaches 10.
    Some details on what I am doing -
    It's an 18 page document, reorder is as follows:
    1,2,4,18,17,5,6,16,15,7,8,14,13,9,3,10,11,12
    Currently it's in spreads, but even when I turn off facing pages, move each page by itself and turn the master into one page, I still have the same error. I've been fighting with this a while, I've tried each of those by themselves as well.
    In case you are curious about the order - this is a booklet, but the middle signature is 3 pages. I'm attempting to create a script that will take it from reader to printer spreads as "print booklet" will not work because of the 3 page signature (extra page is a fold out on finished product).
    I'm fairly new to scripting and feel it must be something obvious I'm just missing.
    Thank you for your time!!

    @Krista – I suggest you ask in the thread you are pointing to with your link.
    No need to split the thread into two.
    Now to your problem:
    if all the pages end up in one spread it is no surprise that you get an error after page 10. The maximum page count of one single spread is 10.
    Why do the pages go to one spread?
    It's pure speculation, but I think it has to do with some preconditions your spreads are in.
    Check for "Allow Document Pages to Shuffle" and "Allow Selected Spread to Shuffle".
    Is "Allow Selected Spread to Shuffle" "off" or "on" for the particular spread where all pages are added?
    And another question:
    what is the particular script you refer to? There are a couple of scripts in this thread from various authors.
    Uwe

  • CS5.5 Trial Page Up and Page Down Not Working

    I'm working in CS5.5 and the shortcut keys Page Up and Page Down are not working. I have the standard seting EDIT > KEYBOARD SHORTCUTS > Go to Next Edit Point = Page Down Id. Page Up.
    The HOME and END keys are working.
    Any tips on how I can get this working?
    Thanks.

    Yes. I just discovered tha trick. 
    You're saying the tracks have to be "highlighted", clicked on to target a track.
    I'm not one to ever complain about flexibility.
    So how does targeting tracks also work when "respond[ing] to the Next/Previous Edit commands"?
    There is a trick when editing that by only selecting one or more tracks will help the process?
    How would you use this feature?
    Thanks.

  • Page protection not work for smart form

    I want to my item data in the same page.
    ex: item no.  material   description   quantity
                 10   0000001  material CH  10
                                      material EN
                                      long text 1
                                      long text 2
    In smartform, i had added folder under loop. and set page protection.
    But page protection still not work.
    Please help. Thanks a lot!!

    Hi Nicole,
    it works in smartforms the procedure is select text elements and give /:protect and paragraph name like p1: text wht ever u want P1:text similary how many ever  u want end it with /:endprotect
    it looks something like this
    /:protect
    p1:
    p1:
    /:endprotect.
    check !
    regards,
    sana.
    reward if helpful...

  • Splash page is not working for everyone

    Greetings All,
    My client has received several complaints by customers that
    they can't see
    the public website which opens automatically once the splash
    movie is
    finished playing. They say that all they can see is a yellow
    screen. I
    believe this might be due to the splash screen hanging when
    they don't have
    flash or a corrupt flash installed. Can anyone shed some
    light on me as to
    what might be the problem and a strategy toward fixing it.
    The splash page seems to work fine on every computer I have
    tried.
    I'd hate to have to remove the flash page but that is just
    what might have
    to happen if I can't resolve this issue.
    Here's the link:
    http://www.groceryoutlets.com/
    Many thanks,
    FUdo

    I'm a little confused.
    You have a splash intro flash movie that they *can* see but
    they can't see the main site:
    http://www.groceryoutlets.com/home.aspx
    the main site is not flash.
    Is the issue that the redirect is never leaving the flash
    page?
    hard to say without the ability to reproduce it.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    Fudo wrote:
    > Greetings All,
    >
    > My client has received several complaints by customers
    that they can't see
    > the public website which opens automatically once the
    splash movie is
    > finished playing. They say that all they can see is a
    yellow screen. I
    > believe this might be due to the splash screen hanging
    when they don't have
    > flash or a corrupt flash installed. Can anyone shed some
    light on me as to
    > what might be the problem and a strategy toward fixing
    it.
    >
    > The splash page seems to work fine on every computer I
    have tried.
    >
    > I'd hate to have to remove the flash page but that is
    just what might have
    > to happen if I can't resolve this issue.
    >
    > Here's the link:
    http://www.groceryoutlets.com/
    >
    > Many thanks,
    >
    > FUdo
    >

  • Hello, the 'Set As Start Page' is not working for me. Does anyone have an idea why?

    My 'Set As Start Page' isn't working...does anyone know what I can do?
    Thank you!!

    So you have tried to set the startpage under site domains?
    What is your startpage now?

  • Firefox Find on Page does not work reliably in XML.

    I'm troubleshooting xml in firefox. I noticed that CTRL -F find on page does not work for finding strings "reliably".
    Sometimes it finds something and sometimes it doesn't.
    "Strings that are there"..
    You can find next, next, if it worked, but then if you find previous it will fail at some point.
    (View source, find on page) works though.. but not a native page.

    Make sure that "Match case" on the find bar (Ctrl+F) doesn't have a check mark.

  • Scrolling not working in BDC for ME22N

    Dear All,
    i record BDC using Tcode "SHDB" for ME22N ( only for Type stock transfer ).
    in recording i select tab "delivery schedule" and it showing 4 rows as default rows and
    after that i scroll one by  one to put requisition Closed Flag.
    after successfull completion of recording when run "Process" to test (without change any coding),
    it's not working for scrolling even if i tried for page down the result is same.
    can you please suggest for :
    1- what could be the problem, though BDC recorded with scrolling but process not working.
    2- is there any option to increase no. of fixed rows in tab "schedule delivery"
    Pls help.
    Thanks a lot,
    Radhashyam

    see my code below it might help you, i have also used a flag and i have populated the data manually from where i need scrolling, i guess in recording you cannot catch sscorlling you have to do it manually.
    loop at t_final_data into fs_final_data.
        if fs_final_data-acopc = 'Y'.
          lw_flag = 'X'.
        elseif fs_final_data-acopc = 'N'.
          lw_flag = ' '.
        endif.                            
    refresh t_bdcdata.
    perform bdc_dynpro      using 'SAPMP50A' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=INS'.
    perform bdc_field       using 'RP50G-PERNR'
                                  fs_final_data-pernr.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RP50G-ENDDA'.
    perform bdc_field       using 'RP50G-BEGDA'
                                  fs_final_data-begda.
    perform bdc_field       using 'RP50G-ENDDA'
                                  fs_final_data-endda.
    perform bdc_field       using 'RP50G-CHOIC'
                                  lw_info.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMP50A' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=INS'.
    perform bdc_dynpro      using 'MP058500' '2000'.
    clear w_curr.
    w_curr =  fs_final_data-pcntr1.
    perform bdc_field       using 'Q0585-PCNTR(01)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr1.
    perform bdc_field       using 'Q0585-ACNTR(01)'
                                 w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr2.
    perform bdc_field       using 'Q0585-PCNTR(02)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr2.
    perform bdc_field       using 'Q0585-ACNTR(02)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr3.
    perform bdc_field       using 'Q0585-PCNTR(03)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr3.
    perform bdc_field       using 'Q0585-ACNTR(03)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr4.
    perform bdc_field       using 'Q0585-PCNTR(04)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr4.
    perform bdc_field       using 'Q0585-ACNTR(04)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr5.
    perform bdc_field       using 'Q0585-PCNTR(05)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr5.
    perform bdc_field       using 'Q0585-ACNTR(05)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr6.
    perform bdc_field       using 'Q0585-PCNTR(06)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr6.
    perform bdc_field       using 'Q0585-ACNTR(06)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr7.
    perform bdc_field       using 'Q0585-PCNTR(07)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr6.
    perform bdc_field       using 'Q0585-ACNTR(07)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr8.
    perform bdc_field       using 'Q0585-PCNTR(08)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr8.
    perform bdc_field       using 'Q0585-ACNTR(08)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr9.
    perform bdc_field       using 'Q0585-PCNTR(09)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr9.
    perform bdc_field       using 'Q0585-ACNTR(09)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr10.
    perform bdc_field       using 'Q0585-PCNTR(10)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr10.
    perform bdc_field       using 'Q0585-ACNTR(10)'
                                   w_curr.
    *" from here i have done it manually
    perform bdc_field       using 'BDC_OKCODE'
                                  'P+' .
    perform bdc_dynpro      using 'MP058500' '2000'.
    clear w_curr.
    w_curr =  fs_final_data-pcntr11.
    perform bdc_field       using 'Q0585-PCNTR(01)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr11.
    perform bdc_field       using 'Q0585-ACNTR(01)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr12.
    perform bdc_field       using 'Q0585-PCNTR(02)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr12.
    perform bdc_field       using 'Q0585-ACNTR(02)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr13.
    perform bdc_field       using 'Q0585-PCNTR(03)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr13.
    perform bdc_field       using 'Q0585-ACNTR(03)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr14.
    perform bdc_field       using 'Q0585-PCNTR(04)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr14.
    perform bdc_field       using 'Q0585-ACNTR(04)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr15.
    perform bdc_field       using 'Q0585-PCNTR(05)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr15.
    perform bdc_field       using 'Q0585-ACNTR(05)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr16.
    perform bdc_field       using 'Q0585-PCNTR(06)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr16.
    perform bdc_field       using 'Q0585-ACNTR(06)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-pcntr17.
    perform bdc_field       using 'Q0585-PCNTR(07)'
                                   w_curr.
    clear w_curr.
    w_curr =  fs_final_data-acntr17.
    perform bdc_field       using 'Q0585-ACNTR(07)'
                                   w_curr.
    *" i have used a flag here
    perform bdc_field       using 'Q0585-ACOPC'
                                   lw_flag.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UPD'.
    perform bdc_dynpro      using 'MP058500' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBCK'.
    perform bdc_dynpro      using 'SAPMP50A' '1000'.
      call transaction 'PA30' using t_bdcdata
                               mode 'A'
                           messages into t_messtab.

  • Search criteria drop down not working in CRM 7.0 Web UI for few users.

    Hi Gurus,
    i have come across problem in sap CRM 7.0 web ui,
    it goes here....
    when a user opens a webui page and goes to "account management" work center page under "search" work center link group... he selects "accounts"(or contacts or account plan)... there in search criteria fields..(account id,role,country etc ) drop down list is not working for him...he can only see only which is maintained as default but if wants to change it by drop down list selection it is not possible...for me it is working ..can u please suggest what is missing in his case..?
    if it is authorization issue please tell which object should i check..?
    Thanks,
    gaurav

    Hi,
    Please check if the user is assigned to a Business Partner.If not then assign the User to a Business Partner and check.
    Regards.
    Deepak Ramchandran.

  • I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    A reply to similar question (Q & As , in product page Apple Store) says:
    "...dissable the internal reader hardware from devices setup. Then plug the external usb superdrive and that's it."  Answered by Enrique T from Lima Oct  25 2013.
    If you can locate an external Apple USB 'Air" superdrive for earlier model MacBook Air, that should work. The newer one for the Air is the same as for iMac, now.
    You may be able to use other brands of external USB optical drive with your older intel-based iMac, as some of them function capably. A few should also be able to see system discs or other bootable utilities on DVD.
    Hopefully this helps.
    Good luck & happy computing!

Maybe you are looking for