‎2009 Sep 03 7:13 PM
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.
‎2009 Sep 03 7:33 PM
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
‎2009 Sep 03 7:33 PM
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
‎2009 Sep 03 9:06 PM
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