10-10-2007 9:09 AM
Hi,
I am uploading datas from 2 internal tables to Application server file(same file).
I want a blank like after i finish uploading the first internal table.
Need a blank line between two internal table datas.
Kindly help me in solving this issue.
Regards
Sowmmya VB
10-10-2007 9:13 AM
Hi,
The data that you are appending to the first internal table for uploading to the file on the Application server,at the end of that internal table,append some blank lines and upload them along wth the internal table.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
Message was edited by:
Puneet Jhari
10-10-2007 9:17 AM
Hi Puneet,
SKIP will leave blanks lines in the report output that is between Write statements, not in the Applicaiton server file.
Regards
Sowmmya B
10-10-2007 9:19 AM
Hi Puneet,
Can you we use skip while creating file in the app server.I think we can use SKIP
only during list processing.
10-10-2007 9:20 AM
Hi Sowmmya,
I realised that and that is why edited my reply.
Try this and you might be able to get what you want.
10-10-2007 9:26 AM
hi Sowmya...
Do this way.. Sample code....
Data : Blank(100).
OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT ITAB1.
TRANSFER ITAB1 TO P_FILE.
ENDLOOP.
TRANSFER BLANK TO P_FILE. "this will transfer a Blank record.
LOOP AT ITAB2.
TRANSFER ITAB2 TO P_FILE.
ENDLOOP.
CLOSE DATASET P_FILE.
10-10-2007 9:13 AM
Hi Sowmmya,
Create one temporary Parameter and pass "." to that Parameter.
Then It will displays the Blank Line.
Thanks.
10-10-2007 9:32 AM
try appending a blank line in your internal table at end of first 1.
clear itab.
append itab.