Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Blank line in Application server file

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi Puneet,

Can you we use skip while creating file in the app server.I think we can use SKIP

only during list processing.

0 Kudos

Hi Sowmmya,

I realised that and that is why edited my reply.

Try this and you might be able to get what you want.

0 Kudos

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.

Former Member
0 Kudos

Hi Sowmmya,

Create one temporary Parameter and pass "." to that Parameter.

Then It will displays the Blank Line.

Thanks.

Former Member
0 Kudos

try appending a blank line in your internal table at end of first 1.

clear itab.

append itab.