2008 May 06 8:47 AM
Hi,
I have struture in which 12 fields are of character,7 are of currency and rest two are of dats and character.
This structure need to be posted to application server and from there need to downloadable to notepad file.
In report programe, while looping to the output table...
Loop at wa_output.
concatenate field-f1
field-2
wa_temp
wa_temp2
field-3
field4
INTO wa_output1
SEPARATED BY co_tab.
CONDENSE wa_output1 NO-GAPS.
TRANSFER wa_output1 TO wf_filename.
endloop.
while the output is not tab limited for some wa_temp (of type character as they are of type currency and while concatenating we cannt use currency field so taken wa_temp as character fields)
as few of them are tab limited and one having a value of negative are not separated by tab.
for example.
022232 30232323 0617370691 85 1 0090016247 20080503 4 1050.00 1000.00 0.00 0.00 0.00 50.00 0.00
085617etgd963 0856ds8963 aa617370691 12 1 0090sd6248 20080504 4 13970.54 11545.90 0.00 475.95- 1075.00 2424.64 4918.15-
Please provide the valuable inputs and let me know why this peculiar error is coming.
Thanks
Mohinder Singh Chauhan
Edited by: Mohinder Singh Chauhan on May 6, 2008 9:48 AM
Hi,
I have struture in which 12 fields are of character,7 are of currency and rest two are of dats and character.
This structure need to be posted to application server and from there need to downloadable to notepad file.
In report programe, while looping to the output table...
Loop at wa_output.
concatenate field-f1
field-2
wa_temp
wa_temp2
field-3
field4
INTO wa_output1
SEPARATED BY co_tab.
CONDENSE wa_output1 NO-GAPS.
TRANSFER wa_output1 TO wf_filename.
endloop.
while the output is not tab limited for some wa_temp (of type character as they are of type currency and while concatenating we cannt use currency field so taken wa_temp as character fields)
as few of them are tab limited and one having a value of negative are not separated by tab.
for example.
022232 30232323 0617370691 85 1 0090016247 20080503 4 1050.00 1000.00 0.00 0.00 0.00 50.00 0.00
085617etgd963 0856ds8963 aa617370691 12 1 0090sd6248 20080504 4 13970.54 11545.90 0.00 475.95- 1075.00 2424.64 4918.15-
Please provide the valuable inputs and let me know why this peculiar error is coming.
Thanks
Mohinder Singh Chauhan
Edited by: Mohinder Singh Chauhan on May 6, 2008 9:48 AM
2008 May 07 9:46 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |