Application Development 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: 

Table with fileld (data type string)

0 Kudos
296

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

Sandra_Rossi
Active Contributor
0 Kudos
199

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

0 Kudos
199

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...

FredericGirod
Active Contributor
199

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

0 Kudos
199

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)

SimoneMilesi
Active Contributor
199

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

FredericGirod
Active Contributor
0 Kudos
199

you could check the real size of a field table :

SE11 -- enter table name -- Display

menu Utilities (french translatation) > Execution object > Display

Sandra_Rossi
Active Contributor
0 Kudos
199

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