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

Editable ALV Grid problem

Former Member
0 Likes
476

Hi Gurus,

I have developed a program and made the the ALV grid editable. the program is for displaying the employee shift schedule and allowa user to edit the data, and then post the changes thru BDC.

in the editable ALV grid, some time accepting the single char while some time it is accepting 2 chars.

the data type of the all 31 days field is " LIKE t77ed-teild1".

Our users are strucking up while updating the shift schedule due to this behaviour of ALV Gird.

Please help !!!

the internal table used in ALV Gird is as under.

DATA: BEGIN OF i_final OCCURS 0,

pernr TYPE persno,

atext TYPE anrex,

ename TYPE emnam,

plstx TYPE plstx,

teild1_01 LIKE t77ed-teild1,

teild1_02 LIKE t77ed-teild1,

teild1_03 LIKE t77ed-teild1,

teild1_04 LIKE t77ed-teild1,

teild1_05 LIKE t77ed-teild1,

teild1_06 LIKE t77ed-teild1,

teild1_07 LIKE t77ed-teild1,

teild1_08 LIKE t77ed-teild1,

teild1_09 LIKE t77ed-teild1,

teild1_10 LIKE t77ed-teild1,

teild1_11 LIKE t77ed-teild1,

teild1_12 LIKE t77ed-teild1,

teild1_13 LIKE t77ed-teild1,

teild1_14 LIKE t77ed-teild1,

teild1_15 LIKE t77ed-teild1,

teild1_16 LIKE t77ed-teild1,

teild1_17 LIKE t77ed-teild1,

teild1_18 LIKE t77ed-teild1,

teild1_19 LIKE t77ed-teild1,

teild1_20 LIKE t77ed-teild1,

teild1_21 LIKE t77ed-teild1,

teild1_22 LIKE t77ed-teild1,

teild1_23 LIKE t77ed-teild1,

teild1_24 LIKE t77ed-teild1,

teild1_25 LIKE t77ed-teild1,

teild1_26 LIKE t77ed-teild1,

teild1_27 LIKE t77ed-teild1,

teild1_28 LIKE t77ed-teild1,

teild1_29 LIKE t77ed-teild1,

teild1_30 LIKE t77ed-teild1,

teild1_31 LIKE t77ed-teild1,

regards,

R R Suthar

3 REPLIES 3
Read only

Former Member
0 Likes
451

Check the standard report BCALV_TEST_GRID_EDITABLE

Read only

Former Member
0 Likes
451

Hi,

What is that you want to achieve here ? Please be more elaborate about the problem you are facing. t77ed-teild1 is of character data type of length 2, so you can enter upto 2 characters in this field, i.e either 1 or 2.

regards,

Advait

Read only

Former Member
0 Likes
451

Hi,

can you show the fieldcat definition. are there allways the same for each field.

Regards, Dieter