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

file down load issue

Former Member
0 Likes
430

I have a program in which quantity was declared as menge.

We are down loading the file in which the quantity shows as 12,234,456.789

But in the down load file we need the quantity as 12234456.789

Can you please suggest if it works if I declared quantity as character with 17 like menge(17) TYPE c.

is this a correct solution ?

Your help will be highly appreciated. Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
396

Hi ,

Try like this to remove the commas,


replace all occurrences of ',' in w_currency with ' '.
condence w_currency  NO-GAPS.

Then pass it to the downloading FM.

Regards,

Vikranth

2 REPLIES 2
Read only

Former Member
0 Likes
397

Hi ,

Try like this to remove the commas,


replace all occurrences of ',' in w_currency with ' '.
condence w_currency  NO-GAPS.

Then pass it to the downloading FM.

Regards,

Vikranth

Read only

Former Member
0 Likes
396

Hello,

Your approach is coorect. You need to transfer a char. field only.

Actually, SAP internally doesnot stores the seperators (such as ,). During the display the seperators are shown and viceversa.

You can proceed with your logic with no problems.

Regards,

Sachinkumar Mehta