Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table with fileld (data type string)

0 Likes
1,964

Hi experts

On the ERP system I found a Z* table with have one of the fields type string (data type string).

When I whant to display data from this field i see only first 50 char.

How I can see all content of this field?

Is there same FM with show me all content of this field type string?

I need to split content of this field to several other fields and extract to BW...

Thanks from advance

7 REPLIES 7
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,867

Explain how you "display data from this field", because I suspect it's the problem!

Read only

0 Likes
1,867

Data: lv_field type Z_table-field_type_string.

select single field_type_string from Z_table into lv_field

where...

When I debug I see that lv_field is type C lenght 50...

Read only

FredericGirod
Active Contributor
1,867

in debug if you set lv_field+49(2) it works?

Read only

0 Likes
1,867

I tried this at the begining (lv_field+49(2)) but it causes abap error

Invalid access to a string (offset and length too big)

Read only

SimoneMilesi
Active Contributor
1,867

Can you share a screenshot of your se11 transaction with the field definition?

Read only

FredericGirod
Active Contributor
0 Likes
1,867

you could check the real size of a field table :

SE11 -- enter table name -- Display

menu Utilities (french translatation) > Execution object > Display

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,867

Other question: how did you make sure that in the table, the field contains more than 50 characters?