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

Problem in uploading ztable.

Former Member
0 Likes
722

Hi All,

when i was updating the ztable which contains marc-dispo.

it is taking first two charecters are spaces last is value

for eg :

actual value is 234

it is updating as 2

first two are spaces and then value start.

could you pls tell me where is the actual problem??

Thanks in advance......

5 REPLIES 5
Read only

Former Member
0 Likes
696

Hi Sudhakar,

The length of the field marc-dispo in your program has more than the original field. so that you remove the space before format or upload the data in your progam.(declare the same data element in your progam)

wherever you are assigning the value from one field to update field (or another field), check the both field have the same data type and length.

Reward if found helpful.

Regards,

Boobalan Suburaj

Read only

Former Member
0 Likes
696

hi check this...

use the offset values like for your fields..

ztable-dispo = wa_marc-dispo+0(3).

Read only

Former Member
0 Likes
696

Hi,

All the fields have the same length and datatype and same output field length

but i am unable to update the ztable.

Thanks in advance

Read only

Former Member
0 Likes
696

hiii

check the length of field of actual value & the value which you are going to update..is it having same field type & length?if not then take it as same.& if same then also this problem exist then try using variable of that type & update value from that variable.or else you can try by taking offfset also like

wa_actual+0(3).

reward if useful

thx

twinkal

Read only

former_member435013
Active Participant
0 Likes
696

Hi,

you should fix your problem step by step.

- change field type in your ztable to CHAR3

- perhaps use a copy of your ztable and try again

- If CHAR3 does work, make a copy of original data element, delete further characteristics like search help, parameter id etc. and change domain to CHAR3

- now you should fix it by getting closer and closer to your faulty situation

regards

Walter Habich