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

Increasing field length in code

Hamza_imran
Participant
0 Likes
2,135

Hi gurus,

I am using these two fields STORENETWORKID AND STORESUPPLIERID from the table EBAN in an adobe form. Now my requirement is to increase the field length of these two to 'String' in the Zprogram that i've created for my PR that is attached to my adobe form. i'm calling out these field texts using the FM 'Read_text'. Any way that i can increase their length by code. Any help regarding this would be highly appreciated.

Regards,

Hamza

7 REPLIES 7
Read only

FredericGirod
Active Contributor
0 Likes
2,040

Why didn't you create 2 new fields, defines them in the Interface of the Form & used them in the form ... simply ?

Read only

Hamza_imran
Participant
0 Likes
2,040

frdric.girod i'm looping at the table eban and getting all the data from there.

Read only

FredericGirod
Active Contributor
0 Likes
2,040

Create a new table with the two new fields and populate it, and use it ...

types: begin of my_eban,
         eban type eban,
         my_field1 type my_type_1,
         my_field2 type my_type_2,
       end of my_eban,
       my_table_eban type standard table of my_eban .....


data(my_table) = corresponding my_table_eban( eban... ).

Read only

0 Likes
2,040

will I have to define the same in my adobe form?

Read only

0 Likes
2,040

You will have to define the same in the interface of the form.

Read only

0 Likes
2,040

While writing the code in my program it's giving this error

Read only

0 Likes
2,040

yes because "..." should be replace 🙂

I wrote the code without checking the syntax

so you should complete the type of key for your internal table

you should replace "eban" by the internal table containing the data of eban (eban is certainly a simple structure)