2009 Jun 03 11:29 AM
I am storing output to a text file in application server . The internal table has a field of DEC type and hence it is throwing an error that it cannot be converted to a text file . It has to be of cahrater type data object . Any suggestion will be highly appreciated
2009 Jun 03 11:38 AM
Hi Sanjeev,
Before populating the internal table data to the file, pass on the DEC value to a string temporary variable and copy the value from this string temp variable to the actual file variable. And populate.
@ Moderators: This could be a basic question, but it seems to be that Sanjeev got confused with the logic and posted this thread. I've just cleared the doubt.
Regards,
-Syed.
I am storing output to a text file in application server . The internal table has a field of DEC type and hence it is throwing an error that it cannot be converted to a text file . It has to be of cahrater type data object . Any suggestion will be highly appreciated
2009 Jun 03 11:38 AM
Hi Sanjeev,
Before populating the internal table data to the file, pass on the DEC value to a string temporary variable and copy the value from this string temp variable to the actual file variable. And populate.
@ Moderators: This could be a basic question, but it seems to be that Sanjeev got confused with the logic and posted this thread. I've just cleared the doubt.
Regards,
-Syed.
2009 Jun 03 11:42 AM
dear Sanjeev,
Try to use filed type string to trafer decimal data .
Regards,
Vijay
2009 Jun 03 11:44 AM
Hi ,
pass that value to a string & then append it in final int table
2009 Jun 03 2:09 PM
Hi
Before sending the file to application server, take another internal table with same structure as existing with a chnage instead of decimal field take char field with some length. And fill that new table with loop on existing table, and send the file with data from new table to application server.
thanks
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |