Skip to Content
avatar image
Former Member

Unicode Fragment Views

Hi all..

I have a doubt on Unicode Fragment Views. when does the allignment gaps inserted in Unicode? Is there any generalized way which we can follow for allignment gaps?

Hoping for a quick reply. Plz help.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 17, 2006 at 04:25 AM

    hi

    good

    Unicode Fragment View

    The data layout of structures is relevant to UP checks with regard to the reliability of assignments and comparisons, for example. This data layout is represented in the Unicode fragment view. The fragment view breaks down the structure into alignment gaps, in byte and character-type areas, and all other types such as P, I, F, strings, references or internal tables.

    Juxtaposed character-type components of a structure except strings are internally combined into a group if no alignment gaps exist between these components. All possible alignment requirements for characters are considered. Juxtaposed byte type components are grouped together in the same way.

    Example

    BEGIN OF struc,

    a(2) TYPE C,

    b(4) TYPE N,

    c TYPE D,

    d TYPE T,

    e TYPE F,

    f(2) TYPE X,

    g(4) TYPE X,

    h(8) TYPE C,

    i(8) TYPE C,

    END OF struc.

    Fragment 1: a, b, c, d

    Fragment 2: Alignment gap between d and e

    Fragment 3: e

    Fragment 4: f, g

    Fragment 5: Alignment gap between g and h

    Fragment 6: h, i

    thanks

    mrutyun

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi

      good

      check out this

      Unicode Fragment View

      The data layout of structures is relevant to UP checks with regard to the reliability of assignments and comparisons, for example. This data layout is represented in the Unicode fragment view. The fragment view breaks down the structure into alignment gaps, in byte and character-type areas, and all other types such as P, I, F, strings, references or internal tables.

      Juxtaposed character-type components of a structure except strings are internally combined into a group if no alignment gaps exist between these components. All possible alignment requirements for characters are considered. Juxtaposed byte type components are grouped together in the same way.

      Example

      BEGIN OF struc,

      a(2) TYPE C,

      b(4) TYPE N,

      c TYPE D,

      d TYPE T,

      e TYPE F,

      f(2) TYPE X,

      g(4) TYPE X,

      h(8) TYPE C,

      i(8) TYPE C,

      END OF struc.

      Fragment 1: a, b, c, d

      Fragment 2: Alignment gap between d and e

      Fragment 3: e

      Fragment 4: f, g

      Fragment 5: Alignment gap between g and h

      Fragment 6: h, i

      -


      go through this link

      http://help.sap.com/saphelp_nw04/helpdata/en/79/c55473b3dc11d5993800508b6b8b11/content.htm

      THANKS

      MRUTYUN