Skip to Content
0
Former Member
May 28, 2008 at 05:50 AM

Doubt in type conversions

29 Views

Hi gurus,

I retrive the vbelv and vbeln values from VBFA table into my internal table.

In that some vbeln values are equal to tanum values in LTAP table.

for this i wrote the select query like below.

if gt_vbfa is not initial.

select

tanum

nistm

from ltap

into table gt_ltap

for all entries in gt_vbfa

where tanum = gt_vbfa-vbeln.

But is shows error, Why because, the type of the TANUM field is NUMC and the type of the VBELN field is CHAR.

But the values of vbeln are equal to tanum.

How can i retrive tanum values for corresponding vbeln values.

Please can any one suggest me on this issue.

Thanks in Advance.

Thanks and Regards

Siri...