Editable Table Control

Hello,
I am using a table control to display data. I am editing certain data. But when I save the data, the changed data is not getting saved. The displayed data is only saved.
Please suggest
RR

In PAI Module Update u r Internal Table by transporting index of table contol index...
And then Update Database table from u r Internal Table...
Moderator message: please do not use SMS speak.
Edited by: Thomas Zloch on Oct 27, 2010 6:21 PM

Similar Messages

  • Error in editing table control in module pool

    Hello Abap experts,
    I am working on module pool.
    When I am editing row in table control if table control has only one row to edit(By clicking edit push button) then I am getting error as "Dynpro_Field_Conversion error" in module pool.
    Error is showing in PBO 'module fill table control'.
    But if there are more than 1 rows in table control it doesn't give any error and run successfully.
    So please help me on that.
    Thanks!
    Abhay.
    Edited by: abhayjoshi01 on Sep 29, 2010 12:12 PM

    Hi,
    Can you explain in detail what field(is it quantity, currency etc) you are trying enter and what data.
    If you are getting any runtime error can you provide the runtime details.
    Regards,
    Kranthi

  • Editing one row at a time in a table control

    Good day all
    I need your urgent assistance with the problem below:
    At first time load, the table control needs to allow input on the first line only, validation will then be done through clicking a “check” button.  After the check has been done, table control needs to open up the second row for input and grey out the first one. This sequence needs to follow every time a check has been performed.
    After the check has been done, table control needs to show the previously entered data on the first line but grey it out, and open up only the second row for input.
    The table control has been created using a wizard with an internal table and I am working on dialog/screen programming. The table control has been created as an output control but it needs to perform as both and output and input control.
    I have made changes to the “MODULE tc_create_ph2_get_lines OUTPUT.” Which is created by the wizard as follows:
    The module is in the PBO Section.
    IF it_tab is initial.                                                                 "it_tab being the internal table that stores the data from the table control                        
         DESCRIBE TABLE it_tab LINES lv_num.
               LOOP AT SCREEN.
           IF tc_create_ph2-current_line <> 1.
             screen-input = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ELSE.
    tc_create_ph2-current_line = lv_num + 1.
         LOOP AT SCREEN.
           IF tc_create_ph2-current_line <> lv_num + 1 .
             screen-input = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ENDIF.
      Your assistance will be highly appreciated.

    Hi Dineo,
    This module would make all line non editable except the last line, which will be open for input.
    LOOP AT IT_ST INTO WA_ST WITH CONTROL MATERIAL CURSOR
    MATERIAL-CURRENT_LINE.
        module mod_screen.
       ENDLOOP.
    module MOD_SCREEN output.
       data : tc_lines type n.
       describe table it_st LINES tc_lines.
    *  loop at screen.
         if material-current_line le tc_lines.
          loop at screen.
           screen-input = 0.
           modify screen.
           endloop.
          endif.
    endmodule.
    When checking and saving data, after saving data delete all lines of tc internal table except the last added row, if you want only the last record to appear in the table.

  • One row as editable and other row as non-editable in table control

    Hi Experts,
               Is this possible to make one row as editable and another row is non editable in table control?
    My Requirement is
    1st row non editable field
    Customer code, description,amount will come from the previous screen this will be non editable for user.
    2nd row editable
    User has to enter the amount in 2nd row here the customer code description will be empty.
    If 4 customer are there
    1,3,5,7 should be non editable and 2,4,6,8 should be editable..
    Pls help me in this issue..
    Thanks in Advance!

    hI
    This is a simple Module POOL program with only Table control and nothing else
    " This is Tested to Enable one row and disabling the next row
    in TOP Include
    controls : tc type tableview using screen 100.
    DATA : OK TYPE SY-UCOMM.
    DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
    in PBO
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tc.
       MODULE TC_MOD.
      ENDLOOP.
    in PAI
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
      LOOP AT itab.
      ENDLOOP.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TEST'.
      SET TITLEBAR 'TEST'.
      DESCRIBE TABLE itab LINES tc-lines.
      IF tc-lines = 0.
        tc-lines = 20.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE tc_mod OUTPUT.
      DATA : mod TYPE i.
      LOOP AT SCREEN.
        mod =  tc-CURRENT_LINE MOD 2  .
        IF mod = 1.
          IF screen-name = 'SPFLI-CARRID'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " TC_MOD  OUTPUT
    Edited by: Ramchander Krishnamraju on Jan 25, 2011 7:17 AM

  • Table control as non editable

    Hi experts,
                    I need make my table control as noneditable for a specific transaction after fetching values.
    i did till fetching part and displaying in table control. but its diplaying as editable field. i need to make that as non editable... plz help me in this....this screen is for only dispaly purpose...
    Note:- i did Table control through wizard...

    Based on your transaction identifier , and also give the Screen group1 for all the columns ex: AAA you can do some thing like this in the PBO
    PBO
    Loop at itab with control tc.
    module input_enable_disable.
    endloop.
    module input_enable_disable output.
    if Transaction = 'DISP'.
    loop at screen.
      if screen-group = 'AAA'.
       screen-input = 0.
       modify screen.
      endif.
    endloop.
    endif.
    endmodule.

  • Table control : Need to change Single field as non editable

    Hi Experts,
                    Plz help me out. In a table control there r 7 fields and only one field is editable. When i change the status of a record as delete in tat table control, only the deleted record (all fields)should become non-editable. Is it possible? Pls suggest.
    Regards,
    J. Sriram.

    Hi,
    In PBO of your screen
    you should be using a step loop like this :
    CONTROLS control1 TYPE TABLEVIEW USING SCREEN 100.
    LOOP AT itab WITH CONTROL control1.
    ENDLOOP.
    Where the control1 is the tableview control defined in your program
    and placed on your screen.
    Put a second loop on screen inside this loop ant set the related attribute :
    LOOP AT itab WITH CONTROL control1.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'COLUMN1'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDLOOP.
    So you can set cells editable or non-editable
    and you can filter it which record & which field..

  • How to edit and update table control into database?

    I am doing table control. Here are my codes:
    *& Report  ZHERA_TABLE2
    REPORT  ZHERA_TABLE2.
    ***&SPWIZARD: DATA DECLARATION FOR TABLECONTROL 'ZTABLE_CONTROL'
    *&SPWIZARD: DEFINITION OF DDIC-TABLE
    TABLES:   ZHERA.
    *&SPWIZARD: TYPE FOR THE DATA OF TABLECONTROL 'ZTABLE_CONTROL'
    TYPES: BEGIN OF T_ZTABLE_CONTROL,
             NAME LIKE ZHERA-NAME,
             AGE LIKE ZHERA-AGE,
           END OF T_ZTABLE_CONTROL.
    *&SPWIZARD: INTERNAL TABLE FOR TABLECONTROL 'ZTABLE_CONTROL'
    DATA:     G_ZTABLE_CONTROL_ITAB   TYPE T_ZTABLE_CONTROL OCCURS 0,
              G_ZTABLE_CONTROL_WA     TYPE T_ZTABLE_CONTROL. "work area
    DATA:     G_ZTABLE_CONTROL_COPIED.           "copy flag
    *&SPWIZARD: DECLARATION OF TABLECONTROL 'ZTABLE_CONTROL' ITSELF
    CONTROLS: ZTABLE_CONTROL TYPE TABLEVIEW USING SCREEN 1000.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: COPY DDIC-TABLE TO ITAB
    MODULE ZTABLE_CONTROL_INIT OUTPUT.
      IF G_ZTABLE_CONTROL_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'ZHERA'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_ZTABLE_CONTROL_itab'
        SELECT * FROM ZHERA
           INTO CORRESPONDING FIELDS
           OF TABLE G_ZTABLE_CONTROL_ITAB.
        G_ZTABLE_CONTROL_COPIED = 'X'.
        REFRESH CONTROL 'ZTABLE_CONTROL' FROM SCREEN '1000'.
      ENDIF.
    ENDMODULE.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: MOVE ITAB TO DYNPRO
    MODULE ZTABLE_CONTROL_MOVE OUTPUT.
      MOVE-CORRESPONDING G_ZTABLE_CONTROL_WA TO ZHERA.
    ENDMODULE.
    Screen 1000 codes:
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      MODULE ZTABLE_CONTROL_INIT.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_ZTABLE_CONTROL_ITAB
           INTO G_ZTABLE_CONTROL_WA
           WITH CONTROL ZTABLE_CONTROL
           CURSOR ZTABLE_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE ZTABLE_CONTROL_CHANGE_FIELD_ATTR
        MODULE ZTABLE_CONTROL_MOVE.
      ENDLOOP.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      LOOP AT G_ZTABLE_CONTROL_ITAB.
        CHAIN.
          FIELD ZHERA-NAME.
          FIELD ZHERA-AGE.
        ENDCHAIN.
      ENDLOOP.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_1000.
    Please show me where to put my codes to edit(edit directly on table control fields) and update my table control(using the 'save' button)?

    Hi,
    You have to put the following code in the PBO of screen 1000.This code would make the fields editable to make changes in the table control fields directly.
    Here there are 3 transactions.For create and change transactions, the fields will be in editable mode and for display transaction,they will be non editable mode.
    DESCRIBE TABLE tb_line LINES lin.    " tb_line is the name of the internal table for the table control
      tcl_item-lines = lin.                             '' lin hold the number of lines of the internal table
    CASE sy-tcode.
        WHEN 'ZCREATE09' OR 'ZCHANGE09'.
    ***Checking if the table control is empty or not***
          IF lin NE 0.       
            LOOP AT SCREEN.
    ***To make the screen editable****
              screen-input = 1.
            ENDLOOP.
          ELSE.
            LOOP AT SCREEN.
              IF screen-name CS 'TB_LINE'.
    ****To make the screen non-editable if no values are present in the
    ***table control****
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
          ENDIF.
    Once the fields are edited and the save button is pressed,the entered values have to be populated into the Z tables.The code has to written in the PAI of the screen 1000.Here the values from the work area of the internal table are moved into the Z Table. The code will be.
    LOOP AT tb_line.
        ztm09_ekpo-ebeln = ztm09_ekko-ebeln.  "ztm09_ekko and ztm09_ekpo are the names of the Z Tables.
        ztm09_ekpo-ebelp = tb_line-ebelp.   
        ztm09_ekpo-matnr = tb_line-matnr.
        ztm09_ekpo-menge = tb_line-menge.
        ztm09_ekpo-meins = tb_line-meins.
        ztm09_ekpo-netpr = tb_line-netpr.
        ztm09_ekpo-waers = tb_line-waers.
    *****Update the entries into item table*****
        MODIFY ztm09_ekpo.
      ENDLOOP.
    Reward if helpfull
    Thanks,
    Kashyap

  • Table Control: make a field editable or not based on another field value

    HI All,
    How to make a column field input enabled or disabled based on another field value in a Table Control.
    Here's the scenario:
    I have a table control with two columns, KTOKK and LIFNR. Now for certain KTOKK, the LIFNR field should be editable and for certain KTOKK it should not be editable.
    Eg.,  KTOKK = 0001 =>  LIFNR field is not editable.
            KTOKK = ZKTO => LIFNR field is editable.
    But these fields are in a table control.
    Please advice.
    Thanks in advance,
    RK.

    Hi RK,
    Go through the below link..
    how to make special field editable or diseditable in table control?
    the code mentioned in the link.. just add ur conditions in the module....
    Best Regards,
    Brijesh

  • Detecting which line the User is Editing IN table control

    Hi,
    I am doing a Dialog programming where there is a Table control. Now the problem is I have to decide to checks  certain rules based on data entered in the Table control. But the Rules should be applicable only to the Row in which the User is entering data. And even if the the same rules are failing in another Row of the Table control it should not get validated i.e The rule should be applicable only to the ROW the user is entering the data or Changing the Data.
    How do i sense in which row the User is entering data in the PAI of the Table control.

    You will have to use GET CURSOR,  please do F1 help on GET CURSOR,  your answer is there.
    You will be doing something like this.....
    DATA: CURSORFIELD(20) TYPE C,
          CURSORLINE TYPE I,
          CURSORVALUE(20) TYPE C.
    GET CURSOR FIELD CURSORFIELD LINE CURSORLINE VALUE CURSORVALUE.
    * To know exactly which line in the internal table you
    * must account for which page of table control the user
    * is currently one,  so you need to add the TOP_LINE
    * value from the table control to find the exact
    * internal table row
    * Set cursorline and read table.
      CURSORLINE = ( CURSORLINE + <table_control>-TOP_LINE ) - 1.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • Edit only single line of table control

    Hi All,
    I have one scenario. Suppose i have created one table control. I have two row initially which is in display mode but I want to add one more blank row which should be only editable.
    Thanks,
    Anjaneya.

    DATA: wa_col TYPE cxtab_column.
    In PBO
    LOOP AT tctrl_ti-cols INTO wa_col.
          wa_col-screen-input = 0.
          MODIFY tctrl_ti-cols FROM wa_col.
        ENDLOOP.
    this is to make the entire column display mode.
    For  row wise display mode option,
    in the table control loop module, write the code to make the screen input as zero based on the condition
      loop at  it with control tctrl_it
                               cursor tctrl_it-top_line.
        module toggle_display.
      endloop.

  • Module pool program, table control edit

    Hi,
    I am doing module pool programming with table control.  I have a table control on my screen which is assigned to scarr table with ‘New’, ‘Modify’, ‘Save’, and ‘Delete’ buttons.  When I click on ‘New’ and ‘Save’, the new record is adding to the table where as for ‘Modify’, I selected a row, edited, and clicked on save.  Only the internal table is getting modified at the time but not the original table.  How to update the table in database? Delete is also not working.  Please give some idea on this or links related to table control with sample code.
    Thanks in advance.

    Hi,
    modify <table name>.
    it will do it
    Regards

  • Editable columns in table control?

    Hi Gurus,
    I am using table control. When I click one button(Add Structure ) i am creating table rows with data, example it creates 3 rows everytime on click on this button. But coming to colmns, for first row i want first 2 columns are in edit mode, in 2nd row 3, 4th colms are in edit and in 3rd row last 2 cols are in edit mode.
    For this i searched in this form i got some solution, i applied that but i am getting first row all columns in edit mode.
    I tried like this ... I created 3 attributes INV1, INV2,INV3 of type wdy_boolean in node. binded with enable property first 2 cols to INV1 like that. and on ADD_STRUCT button action code like this.
      DATA lo_nd_structure TYPE REF TO if_wd_context_node.
      DATA lo_el_structure TYPE REF TO if_wd_context_element.
      DATA ls_structure TYPE wd_this->Element_structure.
      data lt_structure type wd_this->Elements_structure.
    navigate from <CONTEXT> to <STRUCTURE> via lead selection
      lo_nd_structure = wd_context->get_child_node( name = wd_this->wdctx_structure ).
    ls_structure-month1 = First Month.
    APPEND ls_structure TO  lt_structure.
    ls_structure-month2 = Sec Month.
    APPEND ls_structure TO  lt_structure.
    ls_structure-month3 = Third Month.
    APPEND ls_structure TO  lt_structure.
    lo_nd_structure->bind_table(  new_items  =   lt_structure    set_initial_elements = abap_false ).
      DATA DIS1 TYPE WDY_BOOLEAN.
      DATA DIS2 TYPE WDY_BOOLEAN.
      DATA DIS3 TYPE WDY_BOOLEAN.
      DIS1 = ABAP_TRUE.
      DIS2 = ABAP_FALSE.
      DIS3 = ABAP_FALSE.
      lo_nd_structure->set_attribute(
       name =  `INV1`
      value = DIS1 ).
      DIS1 = ABAP_FALSE.
      DIS2 = ABAP_TRUE.
      DIS3 = ABAP_FALSE.
      lo_nd_structure->set_attribute(
       name =  `INV2`
      value = DIS2 ).
      DIS1 = ABAP_FALSE.
      DIS2 = ABAP_FALSE.
      DIS3 = ABAP_TRUE.
      lo_nd_structure->set_attribute(
       name =  `INV3`
      value = DIS3 ).
    ENDMETHOD.
    Thanks,
    Madhan.

    Hey Madhan,
    Try is like below.
    DATA lo_nd_structure TYPE REF TO if_wd_context_node.
    DATA lo_el_structure TYPE REF TO if_wd_context_element.
    DATA ls_structure TYPE wd_this->Element_structure.
    data lt_structure type wd_this->Elements_structure.
    * navigate from <CONTEXT> to <STRUCTURE> via lead selection
    lo_nd_structure = wd_context->get_child_node( name = wd_this->wdctx_structure ).
    ls_structure-month1 = First Month.
    ls_structure-INV1 = ABAP_TRUE.
    ls_structure-INV2 = ABAP_FALSE.
    ls_structure-INV3 = ABAP_FALSE.
    APPEND ls_structure TO lt_structure.
    ls_structure-month2 = Sec Month.
    ls_structure-INV1 = ABAP_FALSE.
    ls_structure-INV2 = ABAP_TRUE.
    ls_structure-INV3 = ABAP_FALSE.
    APPEND ls_structure TO lt_structure.
    ls_structure-month3 = Third Month.
    ls_structure-INV1 = ABAP_FALSE.
    ls_structure-INV2 = ABAP_FALSE.
    ls_structure-INV3 = ABAP_TRUE.
    APPEND ls_structure TO lt_structure.
    lo_nd_structure->bind_table( new_items = lt_structure set_initial_elements = abap_false ).
    ENDMETHOD.
    Thanks
    sarbjeet singh

  • Can not deselect edit position in table control

    A table control has a property called editpos.  This property returns the cell cordinates for the cell that the use is editing and is writeable.  The property correctly returns -1 and -2 values depending if a header is selected or nothing is selected, however, if a -1 or -2 is written to the property it just selects cell 0,0.  Is this behavior a bug?
    I wanted to input -2,-2 to deselect the current cell that is being edited.  Anyone have another idea on how to achieve this?

    Thank you for the reply.  Actually, I am not interested in the table data.  I am only interested in the current edit position within the table control.  The table property editpos states
    Edit Position Property
    Property of Table.
    The row-column pair index of the current text entry. Values of (0,0) indicate the top-left text entry. A value of –1 indicates the row or column header. Values of (–2, –2) indicate that no edits are being made to the text of the control. This property does not set text focus on a control that does not already have text focus.
    Since the property returns cordinates for selected column headers (-1,x), row headers (x,-1) or no selection (-2,-2).  I was surprised if I tried to write a value of -1 or -2 to either the row or colum it would act as if I had typed a 0.  For example, (-2,-2) would select cell (0,0) and (-1,4) would select cell (0,4).  This behavior seemed like a bug to me or should at least be noted in the property help file.
    I did manage to find a solution for my particular problem however.  Since I am not trying to move to the header row or column and just wanted to deselect the current edit position I just set KeyFocus to false.

  • How to make editable the colums of table control in the PBO

    Hello Experts!
    I`m using the table control in dynpro, and i want to make editable some colums depending of some values.
    How can i do that?
    Thanks!

    Hi
    U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:
    PROCESS PBO.
       LOOP AT ITAB ......
            MODULE LOOP_SCREEN_TC.
      ENDLOOP.
    MODULE LOOP_SCREEN_TC.
      IF ITAB-FIELD1 = .........
         LOOP AT SCREEN.
            IF SCREEN-NAME = 'ITAB-FIELD2'.
               SCREEN-INPUT = 0.
               MODIFY SCREEN.
            ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.
    Max

  • Editable ALVs vs Table Controls

    Hi...
    Can somebody give me the advantages and disadvantages of using editable ALV's  (ALV grid) over table controls? I've got a requirement from my client side wherein I have to replace all table controls with editable ALV's and prior to that, I've to submit an understanding document highlighting the advantages and disadvantages of doing the same.  Also, I've heard that SAP is thinking of replacing all existing table controls in its standard screens with editable ALVs. Can somebody send me a link or some article to substantiate this?
    <removed>. Please do help me out asap if you feel like it.
    Thanks and Regards,
    Rakesh
    Edited by: Thomas Zloch on Mar 14, 2010 8:03 PM - adjusted to forum rules

    > And also, if its true that SAP is thinking on replacing table controls with editable ALV's
    SAP usually don't spend time to rewrite existing programs. Many efforts and risks of regression for a so little gain. Really, that would surprise me
    That would be rather easy to show ALV advantages, as you can do almost "nothing" with table controls. So I would begin with the only table control functions:
    - change order of columns
    - hide columns
    - change column size
    - save the layout above, for the user and for everyone
    - number of fixed columns
    - good performance in the WAN as only screen lines are loaded
    ALV can do all of them. The other ALV functions are : see [SAP library - SAP List Viewer for SAP GUI|http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/e994374c9cd355e10000009b38f8cf/frameset.htm]).
    Another difference is that checks are done immediately for current page of table control (when you press enter or scroll, the PAI is triggered), while they are done for the whole lines with ALV (in fact you could do it, but I guess you don't want to spend much time to develop)

Maybe you are looking for

  • IPod shuffle appears in My Computer but not in iTunes after upgrade to 8.1

    I recently upgraded to iTunes v.8.1. Now my generation 1 Shuffle shows up in 'My Computer' but not in the iTunes 'devices'? I followed the iTunes 'help' advice - even reloading iTunes but to no avail. Anyone help please?

  • Program ID   in Sender RFC adapter.

    Hi Experts,   I have created 9 interfaces between same R3 (RFC Sender)  and FTP (file receiver)server. , Do i need to  create 9 RFC sender communication channels with different program ID (for registered server program in RFC destination type TCP/IP

  • Can I use ReadXML/WriteXML to change Meta Data Set Type?

    Has anyone successfully changed which Meta Data Set an asset is using? In the XML description of the asset there's this entry: <mdValue fieldName="Metadata Set" dataType="string">paassetmedia</mdValue> but if I try to change it by using this XML stat

  • Center Next Nested Movieclip to Center of Stage

    I have 4 image movieclips nested inside of a "strip" movieclip and want to move horizontally to the next image using a mouse event. It is not centering and I don't understand why the if statements aren't working. import fl.transitions.Tween; import f

  • Mounting a Sparsebundle file protected by Filevault?

    Following a complete HD crash, the nice people at my local Apple retailer returned my Mac with a new drive and a dmg disk image containing a 623 Gb sparsebundle. I have reinstalled the OS and backed up the sparsebundle to my NAS. I can mount the dmg,