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 with conversion of Data Types

Former Member
0 Likes
282

Hi,

In my program I need to consider a internal in the follwoing fashion. But

actually LABST is "Valuated stock with unrestricted use"

with DATA TYPE : QUAN and length 13 with decimal length 3.

How to do conversion with out any error.

*******************

data: begin of i_mard occurs 0,

matnr like mard-matnr,

labst(17) type N, "otherwise what I have to change

end of i_mard,

select matnr labst from mard into table i_mard.

**********************

I dont want to use labst like mard-labst.If its necessary to declare like that I use this .So I think I need to create one more internal table and I have to pass this internal table to it again I think

Please help me in this regard.

This is going to Short dump

1 REPLY 1
Read only

Former Member
0 Likes
262

Hi Satys,

take the data element for that field fromt that table

data: begin of i_mard occurs 0,

matnr like mard-matnr,

labst type < DATA-ELENET> , "otherwise what I have to change

end of i_mard,

Regards

Sudheer