Skip to Content

'DDIF_FIELDINFO_GET' offset incorrect for QUAN values (unicode)

I am having issues with offset values returned by FM "DDIF_FIELDINFO_GET" as my structure contains QUAN fields with decimals.

The offsets after the QUAN fields seems to alttle off. I am counting the decimal length and appending it to the offset but that seems to be wrong.

anybody know is there is a way to get the right offsets for a structure that contains Quan fields with decimals?

As you can see from below, why is the offset is returned in such way?

capture.png (49.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 01, 2018 at 01:14 AM

    offset is not about that field but it is accumulated of intlen of all fields before it. example:

    MANDT is first field so it have offset = 0, also it have intlen = 6 so next field would have offset = 0 + 6...etc

    Add comment
    10|10000 characters needed characters exceeded