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

convert volume type values from excel into internal table

manjunatha_mn
Explorer
0 Likes
969

PFA attached image.

I want the column in excel which is of type volume and weight in internal table as it is..(PFA image)

When i upload the excel with volume type it doesn't consider the comma in the excel and stores without comma in internal table,

I want the format in excel to be same in internal table

For ex. i have 9,999 in excel .. but in internal table it stores as 9999 ... I have this field as string type in internal table (If i give this field as volume, it throws conversion failed error)

Please help me with the solution...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
931

Hello Manjunath,

Please use below mentioned FM. I hope this will solve your issues.

Example

Excel File

Output of this file in Debugging Mode

Regards,

Rajkumar.

PFA attached image.

I want the column in excel which is of type volume and weight in internal table as it is..(PFA image)

When i upload the excel with volume type it doesn't consider the comma in the excel and stores without comma in internal table,

I want the format in excel to be same in internal table

For ex. i have 9,999 in excel .. but in internal table it stores as 9999 ... I have this field as string type in internal table (If i give this field as volume, it throws conversion failed error)

Please help me with the solution...

2 REPLIES 2
Read only

Former Member
0 Likes
932

Hello Manjunath,

Please use below mentioned FM. I hope this will solve your issues.

Example

Excel File

Output of this file in Debugging Mode

Regards,

Rajkumar.

Read only

0 Likes
931

Thank you so much