Skip to Content
-2
Jul 16, 2019 at 10:47 AM

[ABAP] Extract first four characters of EDID4-SDATA field

664 Views

Dear ABAP Experts,

I'm facing some issues to extract iDOC Data.

EDID4-SDATA is troublesome due to its length.

Attached is the line i would like to extract from EDID4 table -> the first four characters of this field.

I can retrieve the idoc number (DOCNUM) without any problem and SEGNAM = 'ZEDKARCHIVE' always.

Can you please elaborate ABAP-Wise how this can be achieved?

capture-extract-4-first-characters-of-sdata.png

Best regards,

Shérif Baldé