Cfdisk error: Partition ends in the final partial cylinder

I was rearraging some partitions last night.  I have two hard drives, both 1TB.  They are (now) laid out as follows:
Drive 1:
- 40GB partition for Windows system
- 40GB partition for Arch system
- 920GB partition for backed up documents
Drive 2:
- 80GB utility partition
- 920GB partition for documents
I used fdisk to create the last partition on the first drive (the first two partitions were already in place).  I pretty much just told it to create a 'n'ew, 'p'rimary partition and then accepted the default options in order to get a partition that filled the remainder of the drive.  None of the partitions were in place on the second drive, and I tried using fdisk, but when I tried to create the first partition, it wouldn't allow me to start it at the beginning of the drive (it insisted on making the first partition start at sector 2048 rather than sector 63).  I figured I'd try out cfdisk to see if it would allow me to start the partition on sector 63, and it did.  Got those partitions created just fine using cfdisk.
However, I went back to check my work after I had created all the partitions and hit a source of confusion.  cfdisk spouts out an error whenever I try to view the first drive.  It says partition number 2 is bad and that the "Partition ends in the final partial cylinder".  (Not sure if partition number 2 refers to the second or third partition.  (Is the index zero-based?))  cfdisk has no trouble viewing my second drive, and fdisk has no problem viewing either of them.  I'm a bit of a newbie with regards this sort of thing, so any idea why cfdisk has issues with my first drive?
The drives' layouts, as reported by fdisk:
Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xea8fea8f
Device Boot Start End Blocks Id System
/dev/sda1 * 63 78124094 39062016 7 HPFS/NTFS
/dev/sda2 78124095 156248189 39062047+ 83 Linux
/dev/sda3 156248190 1953523054 898637432+ 7 HPFS/NTFS
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xead3ead3
Device Boot Start End Blocks Id System
/dev/sdb1 63 156248189 78124063+ 7 HPFS/NTFS
/dev/sdb2 156248190 1953520064 898635937+ 7 HPFS/NTFS
Last edited by nonoitall (2010-07-07 21:25:42)

plasticeraser wrote:I would like to replace Ubuntu with Arch, unfortunately when I tried earlier I received, a cfdisk error that said "cfdisk error: Partition ends in the final partial cylinder". So I can't just delete the Ubuntu Partitions.
So you /do/ want to remove Ubuntu completely.
plasticeraser wrote:Since I'm at college I really don't want to format anything and possibly losing anything.
Maybe I'm not following, but it looks like you want to format (delete) your Ubuntu partitions, but then again you don't want to format anything. You can't just install Arch on top of your Ubuntu partitions and think it will just overwrite Ubuntu by putting Arch in the existing partitions. That'll just create a huge mess.
If your existing /home is on a separate partition, you can just use fdisk (instead of cfdisk) to delete Ubuntu's / partition so that Arch can use that instead. You should just use an installation medium to do the install process, it really is just a matter or removing your existing distro's / and telling Arch to install to that partition while still preserving your Windows 7 partition(s) and existing /home.

Similar Messages

  • [Solved]Partition ends in the final partial cylinder

    I am trying to install Arch linux on Virutualbox.
    I use GParted LiveCD to resize my partition, when I run cfdisk I receive the following error:
    FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylinder
    The output of the fdisk -lu is:
    root@debian:/mnt# fdisk -lu
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0e770e76
    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 18876415 9438176+ 7 HPFS/NTFS
    /dev/sda2 18876416 20971519 1047552 83 Linux
    The messages of GParted GUI
    Partition Filesystem Size Used Unused Flags
    /dev/sda1 ntfs 9.00 GiB 5.25 GiB 3.76 GiB boot
    /dev/sda2 ext4 1023.00MiB 33.36 MiB 989.64 MiB
    Any help?Thx.
    Last edited by nopriler (2011-04-19 05:20:29)

    i can't find the fist one as well.
    maybe i am mixed with another software.
    the  "align to -> cylinder" is in patition -> new
    at the bottom of the left raw.
    ezik

  • Bad primary partition 3: Partition ends in the final partial cylinder.

    Hello!
    I am trying to install Arch linux and when i choose to manually create partition I receive the following error:
    FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder.
    Press any key to exit cfdisk
    The output of the fdisk -l is:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xac4fac4f
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1           1         992+  42  SFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2   *           1          13      102400   42  SFS
    Partition 2 does not end on cylinder boundary.
    /dev/sda3              13        7092    56858624   42  SFS
    /dev/sda4            7092       19458    99327832   42  SFS
    Disk /dev/sdb: 2021 MB, 2021654016 bytes
    64 heads, 32 sectors/track, 1927 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x74eaf53e
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1         659      674816   17  Hidden HPFS/NTFS
    Disk /dev/sdb1: 691 MB, 691011584 bytes
    64 heads, 32 sectors/track, 659 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x74eaf53e
         Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1p1   *           1         659      674816   17  Hidden HPFS/NTFS
    I found an old topic(http://bbs.archlinux.org/viewtopic.php?id=33916) on this problem but the solution was
    try cfdisk -z /dev/device. However, this will wipe all your partitions.
    I would like to keep my partitions as they are. Somebody suggested using testdisk for Windows to repair the bad partitions but I'm not sure of how to use it. Can anybody help me please? Thank you!

    Are you still frustrated because of cfdisk which gives you something like this:
    FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder
    Press any key to exit cfdisk
    Here, I'm trying to install archlinux on a pendrive and I get almost the same error when trying to manually format the disk. The only difference is that it mention partition 0 instead of partition 3... I guess there is a bug in the livecd?
    I'm having this problem with  archlinux-2010.05-core-i686.iso.
    Last edited by manouchk (2011-04-02 19:06:00)

  • Bad primary partition 1: Partion ends in the final partial cylinder

    i just got a new laptop, dell inspiron 6400.
    it's partition table is set up this way:
    1) a 55 meg partition which is supposedly the dell boot utility
    2) a 10 gig recovery partition that contains the completely original HD
    3) a 81 gig partition which has Vista on it
    4) a 2 gig partition for MediaDirect
    i used dd to backup the 10 gig partition, and was about to install arch.  cfdisk crapped out with the error message:
    "FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder"
    ok...i'm stuck.  gparted is able to go in and see all the partitions as fine, and it can delete partition 2, but if i try to format a new volume, it craps out.
    now here's the kicker.  if i go into vista and into computer management, i can go there, format the 10gig to ntfs and it works fine.
    any ideas?  thanks.

    Does anyone know what else could be done than what is described here???

  • Wordfeud gives the message "protocol error reached end of the buffer. Wf dienst work, what to do?

    Wordfeud doesn't work and gives the Protocol error reached the end of the buffer.
    What to do?

    Have you checked the preview of the book? If not, preview it carefully as described here:
    iPhoto, Aperture: Previewing an order in iPhoto or Aperture
    Your book may contain photos, that are corrupted, or the iPhoto library may have a problem.
    If the preview is showing all pages correcly, but you still cannot upload the book, try to upload in safe mode, see: Mac OS X: What is Safe Boot, Safe Mode?
    This will disable thrid party software, that might be interfering with the upload.
    Regards
    Léonie

  • Disk Utility gives error "Partition failed with the error:  MediaKit reports partition (map) too small" when trying to repartition

    I recently un partitioned my mac book pro with bootcamp in order to gain more space for my mac side.  Now it will neither increse the space on the mac side nor will it re-partition again.  What should I do?

    Hi Rachel,
    Your best bet would be to clone uour present OSX Install to an external Drive, Boot from that & erse the Internal drive, clone back to the Internal drive.

  • Error message rendered into the final output render

    I am getting the image below after I render in SpeedGrade on every other frame. It happens often and the only way to fix is to re-launch SpeedGrade and render again hoping for the best. Sometimes it's fine and then I get the warning again. Any ideas please?

    Thanks for your reply.
    Here are my specs:
    Macbook Pro
    Processor 2.3 GHz Intel Core i7
    Memory 16GB 1600 MHz DDR3
    Graphics NVIDIA GeForce GT 750M 2048 MB
    OSX 10.9.2
    Adobe SpeedGrade CC (Not sure where to find actual version but I uninstalled and re-installed the latest version on 3/17/14.
    I am working with Red r3d footage. I brought the footage in using EDL from Premiere pro so I don't have an option to send back to premiere pro. I tried sending to SpeedGrade from Premiere Pro but I lost use of grading layers and access to raw r3d files. Also none of the scopes worked using that method.
    Thanks

  • Cfdisk error, trying to install Arch

    When it comes to partition my HDD i have one 500GB partition containing Windows, and 500GB free space, yet when i come to manually set up the partitions using cfdisk i get this error:
    FATAL ERROR: Bad primary partition partition ends in the final partial cylinder
    This stops me from continuing the install all together as i can't set up a partition...
    The output of fdisk -l shows everything looking fine except i get this error:
    Partition 2 does not end on cylinder boundary.
    I am trying to set up a partition through an Ubuntu live CD with Gparted so we will see how that goes, but in the mean time does anybody have any idea what is causing this or a way it can get solved?
    Thanks a lot

    Greetings,
    I ran into this issue when setting up my wife's new laptop. It came with windows 7, which she hated, having found linux mch easer for her to use. So She asked me to setup arch linux on her machine, and completely wipe out windows 7.
    Well for some reason windows 7 is set up with an invisible partition. cfdisk seems unable to see this partition, and it completely throws it off. Using gparted (on a puppy linux disk I had laying around) was my way around the partitioning issue.

  • ERROR: Partition 4 extends beyond the end of the disk

    Hi,
    I'm trying to install Solaris 10 on my x86 laptop. Everyting is OK until the start of the installation and as I try to start the installation it prints an error message:
    ERROR: Partition 4 extends beyond the end of the disk
    Output of sfdisk -l /dev/hda command is as follows:
    Disk /dev/hda: 155061 cylinders, 16 heads, 63 sectors/track
    Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
    Device Boot Start End #cyls #blocks Id System
    /dev/hda1 * 0+ 20798- 20799- 10482381 c W95 FAT32 (LBA)
    end: (c,h,s) expected (1023,15,63) found (1023,254,63)
    /dev/hda2 20798+ 20829 32- 15907+ be Solaris boot
    /dev/hda3 20830 53565 32736 16498944 bf Unknown
    /dev/hda4 53568 155060 101493 51152472 f W95 Ext'd (LBA)
    start: (c,h,s) expected (1023,15,63) found (1023,33,1)
    end: (c,h,s) expected (1023,15,63) found (1023,80,63)
    /dev/hda5 53568+ 138900 85333- 43007800+ 83 Linux
    /dev/hda6 138901+ 142869 3969- 2000344+ 82 Linux swap
    /dev/hda7 142870+ 155060 12191- 6144232+ 83 Linux
    I'm trying to install boot partition on /dev/hda2 and the Solaris on /dev/hda3.
    Is there any way to overcome this error without repartitioning the disk ?

    I agree that there is no obvious error from the data you've provided.
    What version of Solaris are you running
    uname -a
    Are you using a SCSI disk or a SATA drive?
    On Solaris it affect which driver we use.
    I've very curious what the geometry stored in the Solaris disk label is.
    Would it be possible for you to dump the fdisk partition table
    and the Solaris disk labels and vtoc and send them to me.
    dd if=/dev/dsk/c0d0p0 of=/tmp/mbr count=1
    dd if=/dev/dsk/c0d0p2 of=/tmp/pbr count=3
    [email protected]
    As a workaround:
    Since partition is 82 is a linux swap partition, it should be relatively easy to
    shrink that partition by a few cylinders and then run makeswap
    with no loss of information.

  • Error message encore cs5 end action can't execute on the final chapter point

    Dvd plays great. Exported it as a mpeg 2-dvd,  video only. Audio separate as a .wav. imported video as a timeline, audio as an asset. Video is not transcoded.
    But I have a sub menu, with 6 chapter markers. I check the project and I get this: "error message encore cs5 end action can't execute on the final chapter point"
    Do I need to make a chapter playlist? Because that gave me a "orphaned playlist" error message.
    I selected the last chapter masker and had the end action go to the sub menu.
    Thanks!

    Saw a previous thread where bill hunt said it ignore it and try to burn a copy.

  • Error message was displaying when comes back from the final output display

    Hi Experts,
    I have developed one program and it works fine. But when i press F3 or BACK button from the final display one Error  wa coming in a pop-up saying "Selection criterion "Posting Date" contains several selection lines".
    I cant understand where the problem was. Can any one suggest where would be the problem. I am sending the code.
    REPORT  zfir0011_o2c_tax_gl_summary.
    TYPE-POOLS slis.
    TABLES: faglflexa.
    Types Declaration.
    TYPES: BEGIN OF x_faglflexa,
           ryear TYPE gjahr,
           bukrs TYPE bukrs,
           belnr TYPE belnr_d,                  "Document Number
           poper TYPE poper,                    "Posting Period
           budat TYPE budat,                    "Posting Date
           buzei TYPE buzei,                    "Document line item
           racct TYPE racct,                    "G/L Account no.
           END   OF x_faglflexa,
           ty_t_faglflexa TYPE STANDARD TABLE OF x_faglflexa.
    TYPES: BEGIN OF x_bset,
           belnr TYPE belnr_d,
           buzei TYPE buzei,
           mwskz TYPE mwskz,                    "Tax code
          hkont TYPE hkont,
           shkzg TYPE shkzg,                    "Debit/Credit Indicator
           txjcd TYPE txjcd,                    "Tax Jurisdiction
           h2ste TYPE h2ste,                    "Tax Amount
           h2bas TYPE h2bas_bses,               "Tax Amount
           END   OF x_bset,
           ty_t_bset TYPE STANDARD TABLE OF x_bset.
    TYPES: BEGIN OF x_skat,
           spras TYPE spras,
           ktopl TYPE ktopl,
           saknr TYPE saknr,
           text  TYPE txt20_skat,
           END   OF x_skat,
           ty_t_skat TYPE STANDARD TABLE OF x_skat.
    TYPES: BEGIN OF x_custom,
           geo_state    TYPE char2,
           geo_county   TYPE char3,
           country      TYPE char2,
           description  TYPE char40,
           END   OF x_custom,
           ty_t_custom TYPE STANDARD TABLE OF x_custom.
    TYPES: BEGIN OF x_budat,
           sign     TYPE char_01,
           option   TYPE char2,
           low      TYPE budat,
           high     TYPE budat,
           END OF x_budat,
           ty_t_budat TYPE STANDARD TABLE OF x_budat.
    TYPES: BEGIN OF x_txjcd,
           geo_state  TYPE char2,
           geo_county TYPE char3,
           END   OF x_txjcd,
           ty_t_txjcd TYPE STANDARD TABLE OF x_txjcd.
    TYPES: BEGIN OF x_inter,
           ryear TYPE gjahr,
           bukrs TYPE bukrs,
           txjcd TYPE txjcd,                    "Tax Jurisdiction
           racct TYPE racct,                    "G/L Account no.
           h2ste TYPE h2ste,                    "Tax Amount
           poper TYPE poper,                    "Posting Period
           belnr TYPE belnr_d,                  "Document Number
           shkzg TYPE shkzg,                    "Debit/Credit Indicator
           END   OF x_inter,
           ty_t_inter TYPE STANDARD TABLE OF x_inter.
    TYPES: BEGIN OF x_final,
           txjcd    TYPE bset-txjcd,                     "Tax Jurisdiction
           state    TYPE char40,                         "State
           curr_bal TYPE bset-h2ste,                     "Current Balance
           per_chng TYPE bset-h2ste,                     "Period Change
           pri_bala TYPE bset-h2ste,                     "Prior Balance
           END   OF x_final,
           ty_t_final TYPE STANDARD TABLE OF x_final.
    Column positions to pass to field catalog
    CONSTANTS : c_pos_1      TYPE sy-cucol       VALUE '1',   " position of the columns
                c_pos_2      TYPE sy-cucol       VALUE '2',
                c_pos_3      TYPE sy-cucol       VALUE '3',
                c_pos_4      TYPE sy-cucol       VALUE '4',
                c_pos_5      TYPE sy-cucol       VALUE '5'.
    *Field names for Field Catalog
    CONSTANTS : c_h           TYPE c              VALUE 'H',                         "Header
                c_s           TYPE c              VALUE 'S',                         "Sub heading
                c_slash       TYPE c              VALUE '/',                         "Slash
                c_colon       TYPE c              VALUE ':',                         "Column
                c_top_of_page TYPE slis_formname  VALUE 'TOP_OF_PAGE',"#EC NEEDED          "Top-of-page
                c_top_of_page_split TYPE slis_formname  VALUE 'TOP_OF_PAGE_SPLIT',   "Top-of-page centered
                c_txjcd       TYPE slis_fieldname VALUE 'TXJCD',                     "Tax Jurisdiction
                c_region      TYPE slis_fieldname VALUE 'STATE',                     "State
                c_currb       TYPE slis_fieldname VALUE 'CURR_BAL',                  "Current Balance
                c_perch       TYPE slis_fieldname VALUE 'PER_CHNG',                  "Period Change
                c_prbal       TYPE slis_fieldname VALUE 'PRI_BALA'.                  "Prior Balance
    CONSTANTS : c_table_name  TYPE slis_tabname   VALUE 'IT_FINAL', "For Field Catalog
                c_spras       TYPE spras          VALUE 'E',        "Language
                c_buzei       TYPE c              VALUE '1',        "Line item in BSET
                c_one(2)      TYPE c              VALUE '01',
                c_zp          TYPE bset-mwskz     VALUE 'ZP',       "Sales Tax Code
                c_zr          TYPE bset-mwskz     VALUE 'ZR'.       "Sales Tax Code
    Variables Declaration.
    DATA : v_current_year TYPE i,                                   "Current year
           v_poper        TYPE poper,                               "Posting period
           v_saknr        TYPE saknr,                               "Account no.    "#EC NEEDED
           v_ktopl        TYPE ktopl,                               "Chart of Accounts
           v_konts        TYPE saknr,                               "G/L Account Number
           v_bukrs        TYPE bukrs,                               "Company Code
           v_sum_val      TYPE h2ste,           "#EC NEEDED     "Tax Amount
           v_sum_val1     TYPE h2ste,                               "Tax Amount
           v_sum_val2     TYPE h2ste,                               "Tax Amount
           v_sum_debit    TYPE h2ste,
           v_sum_credit   TYPE h2ste,
           v_sum_debit1   TYPE h2ste,
           v_sum_credit1  TYPE h2ste,
           v_h2ste        TYPE string,                          "#EC NEEDED
           v_desc         TYPE char40,                              "G/L Acct. Description
           v_title        TYPE char40.                              "Title
    Internal Tables Declaration.
    DATA : it_faglflexa        TYPE ty_t_faglflexa,             "Internal table for G/L Line Items.
           it_bset             TYPE ty_t_bset,                  "Internal table for Tax Data Document Segment.
           it_skat             TYPE ty_t_skat,                  "Internal table for Chart of Accounts: Desc.
           it_custom           TYPE ty_t_custom,                "Custom table for storing STATE Description.
           it_txjcd            TYPE ty_t_txjcd,                 "For storing Tax Jurisdiction codes.
           it_inter            TYPE ty_t_inter.                 "Intermediate table for storing data & Performing Calculations.
    DATA : it_final            TYPE ty_t_final.                 "#EC NEEDED
    *Fieldcatalogue Internal Table Declaration
    DATA : it_fieldcat         TYPE slis_t_fieldcat_alv,
           wa_fieldcat         TYPE slis_fieldcat_alv,
           it_alv_top_of_page  TYPE slis_t_listheader,
           wa_line             TYPE slis_listheader.
    *Field-symbols and Work Area Declarations
    FIELD-SYMBOLS : <fs_faglflexa>      TYPE x_faglflexa,
                    <fs_bset>           TYPE x_bset.
    DATA : wa_faglflexa     TYPE x_faglflexa,                   "#EC NEEDED
           wa_bset          TYPE x_bset,
           wa_skat          TYPE x_skat,
           wa_custom        TYPE x_custom,
           wa_txjcd         TYPE x_txjcd,
           wa_inter         TYPE x_inter,
           wa_final         TYPE x_final.                      " #EC NEEDED
    SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:     p_bukrs TYPE faglflexa-rbukrs OBLIGATORY,              " Company Code
                    p_gjahr TYPE faglflexa-gjahr  OBLIGATORY.              " Fiscal Year
    SELECT-OPTIONS: s_budat FOR  faglflexa-budat  OBLIGATORY               " Posting Date
                                                  NO-EXTENSION
                                                  NO INTERVALS.
    PARAMETERS:     p_racct TYPE faglflexa-racct  OBLIGATORY.              " G/L Accounts
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN VALIDATIONS.
    *Company Code Validation.
    AT SELECTION-SCREEN ON p_bukrs.
      SELECT SINGLE bukrs INTO v_bukrs
      FROM t001
      WHERE bukrs = p_bukrs.
      IF sy-subrc NE 0.
        MESSAGE e071(zfinprjt).
      ENDIF.
    Fiscal Year Validation. It should not be more than Current.
    AT SELECTION-SCREEN ON p_gjahr.
      v_current_year = sy-datum+0(4).
      IF p_gjahr > v_current_year.
        MESSAGE e072(zfinprjt).
      ENDIF.
    *G/L Account Validation.
    AT SELECTION-SCREEN ON p_racct.
      SELECT SINGLE saknr INTO v_saknr
      FROM skb1
      WHERE saknr EQ p_racct
      AND   bukrs EQ p_bukrs.
      IF sy-subrc EQ 0.
    *Check the Chart of Accounts for that Company Code.
        SELECT SINGLE ktopl FROM t001
        INTO v_ktopl
        WHERE bukrs = p_bukrs.
    *Check that it is a Tax G/L Account for that Company Code and G/L Account.
        SELECT SINGLE konts FROM t030k                          "#EC *
        INTO v_konts
        WHERE ktopl = v_ktopl
        AND   konts = v_saknr.
        IF sy-subrc NE 0.
          MESSAGE e073(zfinprjt).
        ENDIF.
      ELSE.
        MESSAGE e073(zfinprjt).
      ENDIF.
    AT SELECTION-SCREEN ON s_budat.
      DATA : v_year(4)  TYPE c,
             v_month(2) TYPE c,
             v_date(2)  TYPE c.                                 "#EC NEEDED
    *if date ne 01 converting date to '01'
    READ TABLE s_budat.
      IF s_budat-low+6(2) NE c_one.
        v_year  = s_budat-low.
        v_month = s_budat-low+4(2).
        v_date  = s_budat-low+6(2).
        s_budat-high = s_budat-low.
        CLEAR s_budat-low.
        CONCATENATE v_year c_one c_one INTO s_budat-low.
        s_budat-sign = 'I'.
        s_budat-option = 'BT'.
        APPEND s_budat.
      ENDIF.
    START-OF-SELECTION.
      PERFORM get_data USING p_bukrs                            "#EC *
                             p_gjahr                            "#EC *
                             s_budat[]                          "#EC *
                             p_racct  CHANGING it_final.        "#EC *
    *Display report in ALV grid
      IF it_final IS NOT INITIAL.
    *Build Top of the page table.
       PERFORM comment_build USING it_skat CHANGING it_alv_top_of_page.
    *Build Field catalog table for ALV
        PERFORM build_field_catalog CHANGING it_fieldcat.
    *Display report
        PERFORM display_alv USING it_final.
      ELSE.
    *No data found for the selection criteria/period.
        MESSAGE i022(zfinprjt).
        exit.
      ENDIF.
    *&      Form  GET_DATA
          Retrieve data from Database tables
         -->P_P_BUKRS  text
         -->P_P_GJAHR  text
         -->P_P_BUDAT  text
         -->P_P_RACCT  text
         <--P_IT_FINAL  text
    FORM get_data  USING    fp_bukrs     TYPE bukrs             "#EC *
                            fp_gjahr     TYPE gjahr             "#EC *
                            fp_budat     TYPE ty_t_budat        "#EC *
                            fp_racct     TYPE racct             "#EC *
                   CHANGING fp_it_final  TYPE ty_t_final.
    *selecting the Required data from FAGLFLEXA
      SELECT ryear                                "Fiscal Year
             rbukrs                               "Company Code
             belnr                                "Document Number
             poper                                "Posting Period
             budat                                "Posting Date
             buzei                                "Document line item
             racct                                "G/L Account no.
             INTO TABLE it_faglflexa
             FROM faglflexa
             WHERE rbukrs EQ p_bukrs                            "#EC *
             AND   gjahr  EQ p_gjahr                            "#EC *
            AND   budat  LE s_budat                            "#EC *
             AND   budat  IN s_budat                            "#EC *
             AND   racct  EQ p_racct.                           "#EC *
      IF sy-subrc EQ 0.
        SORT it_faglflexa.
      ENDIF.
    *selecting the Tax Jurisdiction, Tax amount from BSET
      IF it_faglflexa IS NOT INITIAL.
        SELECT belnr
               buzei
               mwskz
               "hkont
               shkzg                                "Debit/Credit Indicator
               txjcd                                "Tax Jurisdicaiton
               h2ste                                "Tax Amount
               h2bas                                "Tax Amount1
               INTO TABLE it_bset
               FROM bset
               FOR ALL ENTRIES IN it_faglflexa
               WHERE belnr EQ it_faglflexa-belnr
               AND   gjahr EQ p_gjahr               "it_faglflexa-ryear
               AND   buzei EQ c_buzei.              "Line item
      ENDIF.
      IF sy-subrc EQ 0.
       SORT it_bset BY txjcd ASCENDING.
        SORT it_bset BY belnr ASCENDING.
      ENDIF.
    *Selecting the G/L Account Long Text from SKAT
      IF it_faglflexa IS NOT INITIAL.
        SELECT  spras                            " Language key
                ktopl                            " Chart of Accounts
                saknr                            " G/L Account Number
                txt20                            " G/L Account Long Text
             INTO TABLE it_skat
             FROM skat
             FOR ALL ENTRIES IN it_faglflexa
             WHERE spras =  c_spras
             AND   saknr =  it_faglflexa-racct.
      ENDIF.
      IF sy-subrc EQ 0.
        SORT it_skat.
      ENDIF.
      LOOP AT it_bset ASSIGNING <fs_bset>.
        wa_txjcd-geo_state  = <fs_bset>-txjcd+0(2).
        wa_txjcd-geo_county = <fs_bset>-txjcd+2(3).
        APPEND wa_txjcd TO it_txjcd.
        CLEAR wa_txjcd.
      ENDLOOP.
      IF sy-subrc EQ 0.
        SORT it_txjcd BY geo_state.
        DELETE ADJACENT DUPLICATES FROM it_txjcd COMPARING geo_state geo_county.
      ENDIF.
    *Selecting the Description from Custom table
      IF it_txjcd IS NOT INITIAL.
        SELECT geo_state
               geo_county
               country
               description
        INTO TABLE it_custom
        FROM ztfi_tgl_summary
        FOR ALL ENTRIES IN it_txjcd
        WHERE geo_state  = it_txjcd-geo_state
        AND   geo_county = it_txjcd-geo_county.
      ENDIF.
      IF sy-subrc EQ 0.
        SORT it_custom.
      ENDIF.
      LOOP AT it_faglflexa ASSIGNING <fs_faglflexa>.
        MOVE-CORRESPONDING <fs_faglflexa> TO wa_inter.          "#EC ENHOK
    *Read Tax Jurisdiction and Tax Amount from BSET Table.
        READ TABLE it_bset INTO wa_bset WITH KEY belnr =  <fs_faglflexa>-belnr
                                                 BINARY SEARCH.
        IF sy-subrc EQ 0.
          wa_inter-shkzg = wa_bset-shkzg.
          wa_inter-txjcd = wa_bset-txjcd.
        ENDIF.
    *If BSET-MWSKZ = ZP or ZR then pick H2BAS as Tax Amount.
        IF wa_bset-mwskz = c_zp.
          wa_inter-h2ste = wa_bset-h2bas.
        ELSEIF wa_bset-mwskz = c_zr.
          wa_inter-h2ste = wa_bset-h2bas.
        ELSE.
          wa_inter-h2ste = wa_bset-h2ste.
        ENDIF.
    *Check it is credit entry or debit entry ('H' or 'S').
        IF wa_inter-shkzg EQ 'H'.
          wa_inter-h2ste = wa_inter-h2ste * -1.
        ENDIF.
        APPEND wa_inter TO it_inter.
        CLEAR: wa_inter, wa_bset.
      ENDLOOP.
      IF sy-subrc EQ 0.
        SORT it_inter BY bukrs ryear txjcd ASCENDING.
        DELETE it_inter WHERE txjcd EQ space.
        DELETE ADJACENT DUPLICATES FROM it_inter COMPARING belnr.
      ENDIF.
      v_poper = s_budat-high+4(2).
      LOOP AT it_inter INTO wa_inter.
    *Read the Text maintained in the custom table based on the GEO_STATE = First two digits of TXJCD
    *and GEO_COUNTY = Next three digits of TXJCD. If this is blank pick based on First two digits of TXJCD.
        READ TABLE it_custom INTO wa_custom WITH KEY geo_state  = wa_inter-txjcd+0(2)
                                                     geo_county = wa_inter-txjcd+2(3)
                                                     BINARY SEARCH.
        IF sy-subrc NE 0.
          READ TABLE it_custom INTO wa_custom WITH KEY geo_state  = wa_bset-txjcd+0(2)
                                                       BINARY SEARCH.
        ENDIF.
        IF sy-subrc = 0.
          wa_final-state = wa_custom-description.
        ENDIF.
        AT NEW txjcd.
          CLEAR: v_sum_val, v_sum_val1, v_sum_val2.
        ENDAT.
      Period Change, if v_poper equal to present period(v_poper).
        IF wa_inter-poper EQ v_poper.
          IF wa_inter-shkzg EQ 'H'.
            v_sum_debit     = v_sum_debit + wa_inter-h2ste.
          ELSE.
            v_sum_credit    = v_sum_credit + wa_inter-h2ste.
          ENDIF.
      Prior Balance, if v_poper is less than present period(v_poper).
        ELSEIF wa_inter-poper LT v_poper.
          IF wa_inter-shkzg EQ 'H'.
            v_sum_debit1    = v_sum_debit1 + wa_inter-h2ste.
          ELSE.
            v_sum_credit1   = v_sum_credit1 + wa_inter-h2ste.
          ENDIF.
        ENDIF.
        AT END OF txjcd.
          wa_final-txjcd    = wa_inter-txjcd.
          IF sy-subrc EQ 0.
            v_sum_val1      = v_sum_credit - v_sum_debit.                     "Temp Commented
          ENDIF.
          wa_final-per_chng = v_sum_val1.                                     "Period change
          IF sy-subrc EQ 0.
            v_sum_val2      = v_sum_credit1 - v_sum_debit1.                   "Temp commented
          ENDIF.
          wa_final-pri_bala = v_sum_val2.                                     "Prior Balance
          wa_final-curr_bal = v_sum_val1 + v_sum_val2.                        "Current Balance
          APPEND wa_final TO it_final.                          "#EC *
          CLEAR: wa_inter,
                 wa_final,
                 v_sum_credit,
                 v_sum_credit1,
                 v_sum_debit,
                 v_sum_debit1.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " GET_DATA
    *&      Form  COMMENT_BUILD
          ALV Top of Page
         -->P_IT_SKAT  text
         <--P_IT_ALV_TOP_OF_PAGE  text
    FORM comment_build  USING    fp_it_skat            TYPE ty_t_skat"#EC NEEDED
                        CHANGING fp_it_alv_top_of_page TYPE slis_t_listheader.
      DATA: v_budat_low  TYPE c LENGTH 10,                      "#EC NEEDED
            v_budat_high TYPE c LENGTH 10,                      "#EC NEEDED
            v_butxt      TYPE butxt.
      CLEAR wa_line.
    *Report Title
      CONCATENATE text-005 p_bukrs INTO v_title SEPARATED BY space.
      wa_line-typ = c_h.
      wa_line-key = ' '.
      wa_line-info = v_title.
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR  wa_line.
    *Account Number
      wa_line-typ = c_s.
      wa_line-key = text-006.
      wa_line-info = p_racct.
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR  wa_line.
    *G/L Account Description
      READ TABLE it_skat INTO wa_skat WITH KEY ktopl = v_ktopl BINARY SEARCH."#EC *
      IF sy-subrc EQ 0.
        v_desc = wa_skat-text.
      ENDIF.
      wa_line-typ = c_s.
      wa_line-key = text-007.
      wa_line-info = v_desc.
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR  wa_line.
    *Fiscal Year from selection
      IF NOT p_gjahr IS INITIAL.
        wa_line-info = p_gjahr.
        wa_line-typ   = c_s.
        wa_line-key  = text-008.                                              "Fiscal Year
        APPEND wa_line TO fp_it_alv_top_of_page.
        CLEAR  wa_line.
      ENDIF.
    *Posting Date
      CONCATENATE s_budat-high4(2) s_budat-high6(2) s_budat-high+0(4) INTO wa_line-info SEPARATED BY c_slash.
      wa_line-typ   = c_s.
      wa_line-key  = text-009.                                               "Posting Date
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR  wa_line.
    *Company Code Description from selection
      IF NOT p_bukrs IS INITIAL.
        SELECT SINGLE butxt FROM t001
        INTO v_butxt WHERE bukrs EQ p_bukrs.
        IF sy-subrc EQ 0.
          wa_line-info = v_butxt.
          wa_line-typ  = c_s.
          wa_line-key  = text-010.                                              "Company Code Description
          APPEND wa_line TO fp_it_alv_top_of_page.
          CLEAR  wa_line.
        ENDIF.
      ENDIF.
    Printed Date
      wa_line-typ = c_s.
      wa_line-key = text-011.                                                 "Printed Date
      CONCATENATE  sy-datum+4(2)
                   sy-datum+6(2)
                   sy-datum(4) INTO wa_line-info SEPARATED BY c_slash.        "todays date
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR: wa_line.
    Printing Time
      wa_line-typ = c_s.
      wa_line-key = text-012.                                                 "Printing Time
      wa_line-info = sy-uzeit.
      CONCATENATE  sy-uzeit(2)
                   sy-uzeit+2(2)
                   sy-uzeit+4(2) INTO wa_line-info SEPARATED BY c_colon.      "current time
      APPEND wa_line TO fp_it_alv_top_of_page.
      CLEAR: wa_line.
    ENDFORM.                    " COMMENT_BUILD
    *&      Form  BUILD_FIELD_CATALOG
          Fieldcatalogue
         <--P_IT_FIELDCAT  text
    FORM build_field_catalog  CHANGING fp_it_fieldcat TYPE slis_t_fieldcat_alv.
    TAX JURISDICTION
      wa_fieldcat-col_pos      = c_pos_1.
      wa_fieldcat-reptext_ddic = text-013.                                    "TAX JURISDICTION
      wa_fieldcat-fieldname    = c_txjcd.
      wa_fieldcat-tabname      = c_table_name.
      wa_fieldcat-outputlen    = '15'.
      APPEND  wa_fieldcat TO fp_it_fieldcat.
      CLEAR : wa_fieldcat.
    STATE
      wa_fieldcat-col_pos      = c_pos_2.
      wa_fieldcat-reptext_ddic = text-014.                                    "STATE
      wa_fieldcat-fieldname    = c_region.
      wa_fieldcat-tabname      = c_table_name.
      wa_fieldcat-outputlen    = '40'.
      APPEND  wa_fieldcat TO fp_it_fieldcat.
      CLEAR : wa_fieldcat.
    CURRENT BALANCE
      wa_fieldcat-col_pos      = c_pos_3.
      wa_fieldcat-reptext_ddic = text-015.                                    "CURRENT BALANCE
      wa_fieldcat-fieldname    = c_currb.
      wa_fieldcat-tabname      = c_table_name.
      wa_fieldcat-do_sum       = 'X'.
      wa_fieldcat-datatype     = 'CURR'.
      wa_fieldcat-outputlen    = '17'.
      APPEND  wa_fieldcat TO fp_it_fieldcat.
      CLEAR : wa_fieldcat.
    PERIOD CHANGE
      wa_fieldcat-col_pos      = c_pos_4.
      wa_fieldcat-reptext_ddic = text-016.                                    "PERIOD CHANGE
      wa_fieldcat-fieldname    = c_perch.
      wa_fieldcat-tabname      = c_table_name.
      wa_fieldcat-do_sum       = 'X'.
      wa_fieldcat-datatype     = 'CURR'.
      wa_fieldcat-outputlen    = '17'.
      APPEND  wa_fieldcat TO fp_it_fieldcat.
      CLEAR : wa_fieldcat.
    PRIOR BALANCE
      wa_fieldcat-col_pos      = c_pos_5.
      wa_fieldcat-reptext_ddic = text-017.                                    "PRIOR BALANCE
      wa_fieldcat-fieldname    = c_prbal.
      wa_fieldcat-tabname      = c_table_name.
      wa_fieldcat-do_sum       = 'X'.
      wa_fieldcat-datatype     = 'CURR'.
      wa_fieldcat-outputlen    = '17'.
      APPEND  wa_fieldcat TO fp_it_fieldcat.
      CLEAR : wa_fieldcat.
    ENDFORM.                    " BUILD_FIELD_CATALOG
    *&      Form  DISPLAY_ALV
          ALV Grid Display
         -->P_IT_FINAL  text
    FORM display_alv  USING    fp_it_final TYPE ty_t_final.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      i_callback_top_of_page            = c_top_of_page
       i_callback_html_top_of_page       = c_top_of_page_split
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
         it_fieldcat                       = it_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
         i_save                            = 'A'
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = fp_it_final
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc EQ 0.                                         "#EC *
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    *&      Form  top_of_page_split
          Top of page for displaying the Text in Center
    FORM top_of_page_split USING fp_top TYPE REF TO cl_dd_document."#EC *
      TYPES: BEGIN  OF ty_text,
             text   TYPE sdydo_text_element,
             END    OF ty_text.
      TYPES: BEGIN  OF ty_text1,                        "AAAAAAAA
             text1  TYPE sdydo_text_element,
             END    OF ty_text1.
      DATA: v_tab          TYPE sdydo_text_table,
            v_area         TYPE REF TO cl_dd_area,
            v_text         TYPE sdydo_text_element,
            v_text1        TYPE sdydo_text_element,             "#EC NEEDED
            v_tab1         TYPE sdydo_text_table.
      DATA: it_text        TYPE TABLE OF ty_text,
            wa_text        TYPE ty_text,
            it_text1       TYPE TABLE OF ty_text1,
            wa_text1       TYPE ty_text1.
      DATA: v_title        TYPE string,
            v_accts_desc   TYPE string,
            v_year         TYPE string,
            v_comp_code    TYPE string,
            v_desc         TYPE char40,
            v_budat        TYPE char10,
            v_budat1       TYPE char10,
            v_butxt        TYPE butxt,
            v_time         TYPE char10,
            v_comma        TYPE c VALUE ','.
      CALL METHOD fp_top->initialize_document.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->vertical_split
        EXPORTING
          split_area  = fp_top
          split_width = '31%'
        IMPORTING
          right_area  = v_area.
      IF sy-subrc EQ 0.                                         "#EC NEEDED
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *G/L Account Description
      READ TABLE it_skat INTO wa_skat WITH KEY ktopl = v_ktopl BINARY SEARCH.
      IF sy-subrc EQ 0.
        v_desc = wa_skat-text.
      ENDIF.
    *Company code Description
      IF NOT p_bukrs IS INITIAL.
        SELECT SINGLE butxt FROM t001
        INTO v_butxt WHERE bukrs EQ p_bukrs.
      ENDIF.
      CONCATENATE text-005 p_bukrs INTO v_title SEPARATED BY space.
      wa_text1-text1 = v_title.
      APPEND wa_text1 TO it_text1.
      v_tab1 = it_text1.
      CALL METHOD v_area->add_text
        EXPORTING
          text_table   = v_tab1
          fix_lines    = 'X'
          sap_fontsize = cl_dd_document=>large
          sap_emphasis = cl_dd_document=>strong.                           "AAAAAA
      CHECK sy-subrc EQ 0.
      CONCATENATE text-006 p_racct v_comma text-007 v_desc INTO v_accts_desc SEPARATED BY space.
      CONCATENATE s_budat-high4(2) s_budat-high6(2) s_budat-high+0(4) INTO v_budat SEPARATED BY c_slash.
      CONCATENATE text-008 p_gjahr v_comma text-009 v_budat INTO v_year SEPARATED BY space.
      CONCATENATE text-010 v_butxt INTO v_comp_code SEPARATED BY space.
    wa_text-text = v_title.
    APPEND wa_text TO it_text.
      wa_text-text = v_accts_desc.
      APPEND wa_text TO it_text.
      wa_text-text = v_year.
      APPEND wa_text TO it_text.
      wa_text-text = v_comp_code.
      APPEND wa_text TO it_text.
      v_tab = it_text.
      CALL METHOD v_area->add_text
        EXPORTING
          text_table   = v_tab
          fix_lines    = 'X'
          sap_fontsize = cl_dd_document=>medium
          sap_emphasis = cl_dd_document=>medium.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->new_line.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->new_line.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->new_line.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->add_gap
        EXPORTING
          width = 0.
      CHECK sy-subrc EQ 0.
      CONCATENATE sy-datum4(2) sy-datum6(2) sy-datum+0(4) INTO v_budat1 SEPARATED BY c_slash.
      CALL METHOD fp_top->add_text
        EXPORTING
          text         = text-011
          sap_emphasis = 'STRONG'.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->add_gap
        EXPORTING
          width = 1.
      CHECK sy-subrc EQ 0.
      v_text = v_budat1.
      CALL METHOD fp_top->add_text
        EXPORTING
          text = v_text.
         sap_style = 'KEY'.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->new_line.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->add_text
        EXPORTING
          text         = text-012
          sap_emphasis = 'STRONG'.
      CHECK sy-subrc EQ 0.
      CALL METHOD fp_top->add_gap
        EXPORTING
          width = 1.
      CHECK sy-subrc EQ 0.
      CONCATENATE  sy-uzeit(2)
                   sy-uzeit+2(2)
                   sy-uzeit+4(2) INTO v_time SEPARATED BY c_colon.   "current time
      v_text = v_time.
      CALL METHOD fp_top->add_text
        EXPORTING
          text = v_text.
         sap_style = 'KEY'.
      CHECK sy-subrc EQ 0.
    ENDFORM.                    "top_of_page_split
    Thanks in Advance.
    Regards,
    Ramana

    Problem is with ur selection screen definition for s_budat
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs TYPE faglflexa-rbukrs OBLIGATORY, " Company Code
    p_gjahr TYPE faglflexa-gjahr OBLIGATORY. " Fiscal Year
    SELECT-OPTIONS: s_budat FOR faglflexa-budat OBLIGATORY " Posting Date
    NO-EXTENSION
    NO INTERVALS.
    PARAMETERS: p_racct TYPE faglflexa-racct OBLIGATORY. " G/L Accounts
    SELECTION-SCREEN END OF BLOCK b1.
    Here u r defining  s_budat like parameter with NO-EXTENSION
    NO INTERVALS. additions.
    So that means it should contain only one record in it. As s_budat is nothing but a range table with headerline so this entry should be contained in the body as well as in the header.
    But in AT SELECTION-SCREEN ON s_budat. u r again entering a 2nd record if date is not 01.
    AT SELECTION-SCREEN ON s_budat.
    DATA : v_year(4) TYPE c,
    v_month(2) TYPE c,
    v_date(2) TYPE c. "#EC NEEDED
    *if date ne 01 converting date to '01'
    READ TABLE s_budat.
    IF s_budat-low+6(2) NE c_one. << Here u r checking the header not the body
    v_year = s_budat-low.
    v_month = s_budat-low+4(2).
    v_date = s_budat-low+6(2).
    s_budat-high = s_budat-low.
    CLEAR s_budat-low.
    CONCATENATE v_year c_one c_one INTO s_budat-low.
    s_budat-sign = 'I'.
    s_budat-option = 'BT'.
    APPEND s_budat.
    ENDIF.
    Due to these 2 records it is giving u error. So to avoid the problem u should read the body of the table and then modify the record.
    Read table s_budat index 1.
    IF s_budat-low+6(2) NE c_one.* << Here u r checking the header not the body
    v_year = s_budat-low.
    v_month = s_budat-low+4(2).
    v_date = s_budat-low+6(2).
    s_budat-high = s_budat-low.
    CLEAR s_budat-low.
    CONCATENATE v_year c_one c_one INTO s_budat-low.
    s_budat-sign = 'I'.
    s_budat-option = 'BT'.
    modify s_budat index sy-tabix.
    Regards,
    Joy.

  • I am performing a clean install of OS X vs. 10.8.5 on a new internal hard drive.  At the end of the installation process the progress bar stalls with a minute to go - error message "Can't download the additional components needed to install OS X" appears

    At the end of the installation process (Clean install, new 500GB internal hard drive, formatted and partitioned, MacBook 13" Aluminum, late 2008) the progress bar stalls and eventually a drop down error message appears "Can't download the additional components needed to install OS X".   I am using a USB 8 GB bootable flash drive.  Any ideas? 

    At the end of the installation process (Clean install, new 500GB internal hard drive, formatted and partitioned, MacBook 13" Aluminum, late 2008) the progress bar stalls and eventually a drop down error message appears "Can't download the additional components needed to install OS X".   I am using a USB 8 GB bootable flash drive.  Any ideas? 

  • Adobe Encore CS4: End action will not execute because of end action on the final chapter point

    Error screen:
    Error I’m getting for section titled Notes (PP 45 second video): “End action will not execute because of end action on the final chapter point.”
    The icon that shows error is in top line second from end.  I’m trying to 'end action' that portion of the video by going back to 'menu default'; also tried end action w/ ‘Stop’ and neither work.
    I saw a post about checking timeline.  Not sure what I’m looking for there.  I have nothing in Orphanage area.  I also tried building despite Check Project error and it will not build project.  Any suggestions on how to fix: “End action will not execute because of end action on the final chapter point.”?

    Select chapter one on that timelne. Look in the properties panel. Does it have an end action? You do not want an end action on the chapter; just on the timeline itself.
    That will not generally prevent a build, however. So you may have other issues.

  • End action will not execute because of end action on the final chapter point

    I will be referring to this video:
    http://tv.adobe.com/watch/learn-encore-cs4/creating-an-event-dvd/
    I followed this exactly, except for the slide show (and I made a DVD instead of flash), but when I checked the project, I get the error message "End action will not execute because of end action on the final chapter point".
    I don't understand.  I did not change any end points except for the one specified in this tutorial.  (About the Max footage for the very beginning, before the menu).  If anything was added, it was Adobe's doing.
    I do notice that in 00:04 in the tutorial, there's a downward arrow on the very end of the timeline.  My timeline does not have this.  How was this done?
    In the Encore software, after the timeline is loaded, there is no arrow at the very end.  Mine doesn't have that either.
    I'm finding Adobe/Encore's way of making menus rather difficult.  With Pinnacle Studios (at least through 8-12), making menus was easy, and it set up the chapters for you.  Why can't there be an automated menu feature in Encore?
    Anyway, here's my project:
    Main time line has 9 chapters. When clicking on their chapter points, all say End Action: not set.
    When I click on the white bar above the lite purple footage of the time line, where the chapter point's bottom rest, it says, End Action: Not Set AND Menu Remote: Return to Last Menu.
    All 9 chapter points are white.
    In the flowcart, there is the DVD icon --> my few seconds opening credits --> menu that has a Play All and Scene Selection button
    Play All goes to first chapter of video
    Scene Selection (submenu #1) goes to 6 scenes, a next, previous, main menu.  All seem to be linked properly.
    Scene Selection for scenes 7-9 are in the #2 submenu.  Has a previous button and a main menu button.   All seem to be linked properly.
    Can anyone offer any advice?  Help?  I need to make this DVD and two others by the end of the week!
    If you need more information, please let me know that too.

    If I make a change in the timeline in Premiere, will that new change be reflected in the timeline of Encore?
    If you used Adobe Dynamic Link, then yes, the Timeline will be updated. If you did not, then you will need to Export again, then Import into Encore. Watch out if you have already Transcoded, etc., and I'd name the new Timeline Export differently, Import that, use Replace Asset. When a Project is very new, and nothing much has been done, it will not be so picky. After a couple of links, etc., it gets VERY picky, and Replace Asset will help.
    Is there a way to reload the project without having to redo all the menus and links?
    If you did a Save_As, or still have your original Project, i.e. you started a completely new Project with a unique name, you can go back to the original.
    Hope that helps,
    Hunt

  • I'm trying to burn an iMovie in iDVD and at the end of the whole burn process it says "Multiplexer Error" "there was an error during formatting".  How do I fix it so that it'll burn?

    I'm trying to burn an iMovie in iDVD and at the end of the whole burn process it says "Multiplexer Error" "there was an error during formatting".  How do I fix it so that it'll burn?

    Hi
    Multiplexing error is a very complex problem due to many things (long long list following) - one common but not obvious reason is that material on the iDVD menu goes outside the TV-Safe area (or just touching it).
    So first - turn on TV-Safe area and move any object well inside of this.
    Wide screen stretched - usually (as I think) it is due to making a 4x3 movie in a 16x9 wide-screen project OR the other way around. This forces one to on flat-screen TV (or other) set the presenting view right - My has 4x3, wide-screen, zoom and auto-wide-screen and I have to switch this by my remote for some DVD I've made "wrong" way.
    Now my long long list on Multiplex Error
    LONG LONG LONG LIST
    Multiplexing Error
    PART One.
    Use of strange video/audio material e.g. .avi, .wmv, .mp3 etc.
    I only use.
    Video - StreamingDV (miniDV tape via FireWire) and
    Audio - .aiff (as on audio-CDs) (else converted to this .aiff 48KHz)
    Photo - .jpg (.bmp known problematic)
    Chapters !
    A.    Using strange letters in video project name e.g. +,/; etc. keep to a-z and 0-9 strange letters in project name e.g. +
    as described by Donnyboy69.  Does the title of your project have any symbols or decimal points in it. If so, that is why you are getting the error. I had a project that had a + sign which caused the same problem. I renamed it without the symbol and low and behold, it worked.
    B.    Location of Chapters
    • Can’t be at start or end of movie (Skip first/start one - iDVD sets this by it self. At the End - no need)
    • Not in a transition (or within 2-3 seconds from it)
    Important when from iMovie HD6 or previous - Now also observed when using FCE 4
    PART Two.
    from Robert Modero.
    "Multiplexing Error. Problem during initialization of tracks"
    Simply remember to add subtitles to your Quicktime files and menu buttons.
    Once I did that, I was back in business.
    from Boise Jim
    Do a safe reboot (by holding down the shift key until you see the spinning gear on gray background, then release, then restart when your start-up screen appears).
    I always makes a DiskImage first and test this so that it runs OK
    I use only - Verbatim DVDs
    I use only - DVD-R
    I burn at an as slow speed possibly e.g. x1
    This gives good DVDs
    PART Three.
    Multiplex Error
    Chuck, Chicago 2/7/2009.
    Back again. Here is what I have found to work. I also have and use a LaCie DVD-R/RW DL external drive and a LaCie external hard drive as well. Since yesterday I have tried a few ways to burn a themed iDVD project having four 56 minute movies on it, amounting to 226 minutes onto a DVD DL disc, capacity 240 minutes. Apple tech support really didn't know what to do but gave me a very good tip. I had two options left. Apple tech support's tip was to try disc image. One of the replies on a thread with this subject said not to, but my experience today is good. Put your project onto "Burn to disc image," under "iDVD, file." Yesterday encoding took me 23 1/2 hours. Overnight for iDVD disc image, encoding took 21 1/2 hours (again) while I slept. This morning I tried to copy/burn disc image to a DVD with Roxio Toast 7, and it stopped near the end of the burn with some kind of "error" message. So then I tried Utilities> Disc Utility> Burn icon, and followed it through. Be sure to click the DVD DL drive in the window "Burn disc in.". I had one other problem though. At the end of a 46 minute copy, it started to verify, and at the end of verify it rejected the burn. So I tried again, and when "verify" appeared, I clicked on "Skip." The disc finished burning and is doing fine and well. A long and tortuous process, but at last something works. I made several additional copies using Disc Utility. Best wishes. Chuck, Chicago.
    2. Disconnect any other external devices not absolutely needed.
    e.g. external USB/USB2 hard disks, other FW hard disks etc.
    3 Chapter marks in transitions - minimum 2 sec from
    FROM Bev.
    (Not a 'guy' but I will answer!)
    First, I do not think that mixing wide-screen and standard makes a difference in iDVD.
    Second, you should use a better brand of DVD disk. Also, many of us have experienced fewer problems on playback with DVD-R disks. Recommended brands here are Verbatim, Maxell and Taiyo Yuden. Memorex and TDK are not consistent and may not give you a correct burn. They apparently have fewer layers in the composition of the disk. I have always used Verbatim DVD-R disks and have not had any burn problems.
    Also, choose a slower burn speed, 4x or less.
    Third, to determine if the iDVD project will burn properly, create a disk image file (from within iDVD, go File->Save as Disk Image) and test it. Mount the disk image and then open DVD Player (in Applications) and view your project. If it plays correctly, you can then burn the actual DVD disk from the disk image file using Disk Utility.
    From. Boise, Idaho
    I did everything I've seen suggested, but a friend (who used to be an Apple Genius) suggested that I do a safe reboot (by holding down the shift key until you see the spinning gear on gray background, then release, then restart when your start-up screen appears).
    It worked, and I got a clean burn from iDVD.
    Hopefully this can help other people.
    by dheb0422
    Well, I finally got it, and it was odd enough to post here incase anyone looks this topic up again. Many things were tried, including burning the unedited film, the edited film without titles and chapter markers, abbreviating the chapter markers in case length was the issue (remember the old iMovie used to truncate them when moving to iDVD?). In the process, I noticed that one, and only one, chapter marker was on the same line as the title marker. All the others were on the line above. The only way I seemed able to change that was to clip a few seconds of film. After that last clip, the offending marker took a place on the line above, as were all the others. That run published, compiled completely and burned. That's one for the books.
    One user more writes
    To add my experience with Multiplex Errors using iDVD (7.0.4), I recently created two iDVD projects
    Video from both passed from FCE 4.01 with chapters
    One project worked fine in creating disk image file
    The other gave Multiplex Errors
    I tried suggestions to remove special characters and no chapter marks at beginning, but nothing worked
    Note that I've used iDVD for dozens of projects and this is first time I've run into Multiplex Errors
    Anyway, for problem project, I tried an experiment where I removed all chapters in FCE and passed to new iDVD project
    This time multiplex errors gone
    So had something to do with chapters
    So now I tried numerous experiments to remove individual chapters and try again creating disk image with new iDVD project
    After numerous tries, I was able to narrow problem down to 1 "Bad" chapter mark
    That is, when I left the "bad" chapter in my FCE project and passed to iDVD, iDVD gave multiplex error
    When I removed "bad" chapter mark (and others in), no multiplex error
    As a final experiment, I moved "bad" chapter mark about 5-10 sec's beyond original point and passed to iDVD, the multiplex errors now magically went away and I was able to finally create my disk image.
    I have no idea why this worked, but thought I'd mention here in case someone else runs into similar problem.
    Rich839
    In addition to Bengt's fine advice, burning errors can occur if you have located any of your menu buttons wholly or partly outside of the safe TV viewing area. Go to your main project menu, then click on View/Show TV Safe Area, to check. Drag into the safe viewing area any buttons that are outside the safe viewing area.
    Russ One - suggest this
    Multiplex Error-There was an error during muxing preparation
    One thing that worked for me was to export the video w/o chapter markers as a self contained movie (thereby not loosing the edits & etc). Then make a new FCE project and import that movie into a new sequence and add the chapter markers. I've used "-", "&" and "," with no problem in the chapter names. Removing the markers or exporting without them did solve the problem but renaming them with just numbers 1,2,3....5, did not solve the problem and since this problem seems to happen with with iMovie as well, it would suggest the problem is in the video or audio and in combination with the chapter markers iDVD just can't handle it. The only other possibility is that both iMovie and FCE share the same or similar chapter marker code that some how is corrupting the markers.
    Summary - What to try
    1. Chapters
    • Only A to Z and 0 to 9 in chapter title
    • No Chapter mark at very beginning of movie
    • No Chapter mark in or within 2 seconds from any transition in movie
    2. TV-safe area for buttons (no one outside this)
    3. Safe re-boot
    4. No other external devices connected - that are not needed
    SDMacuser adds to this
    • On #4 ... No ext. devices. Some think this applies mainly to ext. FW. Not the case. Also applies to ext. USB2 as well (not to mention flash drives too).
    Do not leave 3rd party devices / camera / camcorder plugged in unless it is being used with iDvd's One Step process. Certain web cams can trigger this also (especially ones with added features like LED light/s that draw additional power from the FW or USB bus).
    5. Minimum of 25Gb free space on Start-up hard disk
    6. Make a DiskImage first - reduces where problem originates
    7. Trash iDVD pref. file
    8. Make a new iDVD project
    9. Movies in project with same aspect ratio e.g. 4x3 or 16x9
    10. No other programs/applications running during iDVD process. e.g. Internet, screen & energy savers
    Yours Bengt W

Maybe you are looking for