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

Data Type mismatch

Former Member
0 Likes
394

Hi,

I have the following code which needs to be changed .

Data quantity1 type vbap-kwmeng.

---

---

---

SHIFT quantity1 LEFT DELETING LEADING zeros.

SHIFT quantity1 RIGHT DELETING TRAILING spaces.

As in ECC 6.0 we cannt shift those data types which are not either C, N, D, T or String and the variable is declared as a quantity field in dictionary.

Can any one suggest me an alternate way around ?

Thanks !!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
352

HI Adarsh,

Move the value to a Type C or N variable.

Data quantity1 type vbap-kwmeng.

Data quan(20).

write quantity1 to quan.

SHIFT quan LEFT DELETING LEADING zeros.

Regards,

Ravi Kanth Talagana

1 REPLY 1
Read only

Former Member
0 Likes
353

HI Adarsh,

Move the value to a Type C or N variable.

Data quantity1 type vbap-kwmeng.

Data quan(20).

write quantity1 to quan.

SHIFT quan LEFT DELETING LEADING zeros.

Regards,

Ravi Kanth Talagana