‎2008 Jun 16 2:13 PM
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......
‎2008 Jun 16 2:23 PM
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
‎2008 Jun 16 2:26 PM
hi check this...
use the offset values like for your fields..
ztable-dispo = wa_marc-dispo+0(3).
‎2008 Jun 16 2:27 PM
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
‎2008 Jun 16 2:45 PM
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
‎2008 Jun 16 3:10 PM
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