2007 Apr 27 11:44 AM
Hi,
I want to transfer the contents of internal table to a file which is of a char type. Everything works fine but when I try to transfer a numeric field, it gives me a dump. Can somebody give me a solution for this?
Thanks,
John.
2007 Apr 27 11:52 AM
Hi
Try to use MOVE statament to transfer a numeric field into char string:
LOOP AT ITAB.
MOVE ITAB TO WA.
TRANSFER WA TO P_FILE.
ENDLOOP.Max
Hi,
I want to transfer the contents of internal table to a file which is of a char type. Everything works fine but when I try to transfer a numeric field, it gives me a dump. Can somebody give me a solution for this?
Thanks,
John.
2007 Apr 27 11:52 AM
Hi
Try to use MOVE statament to transfer a numeric field into char string:
LOOP AT ITAB.
MOVE ITAB TO WA.
TRANSFER WA TO P_FILE.
ENDLOOP.Max
2007 Apr 27 11:53 AM
Store that data to CHAR field before transferring it to flat file.
Regards,
Rohit
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |