Application Development and Automation 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: 
Read only

Upload flat file with 3 different structures

Former Member
0 Likes
427

Hi,

I have a flat file with 3 structures.

<b>Header

Detail

Trailer.</b>

The first character identifies the record type.

How to define a internal table for this?

How can i upload this file using GUI_UPLOAD?

please give a sample code.

3 REPLIES 3
Read only

Former Member
0 Likes
394

Hi

Go thru this blog How to send a flat file with various field lengths and variable substructures to XI 3.0

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

regards,

rewards point.

Read only

Former Member
0 Likes
394

I think we can do it. we need to have good knowledge on START function module. once it generates Batch. we can do it. I checked the function module. these we will work parrelly i suppose.

load all the file names in to table by using one function module(we can read all the files in a perticular directory, i will update the Function Module if ound it). I want you to create 3 Infopackages, split all the files into 3 parts. load them parrelly. keep indicator for them to identify.

Note: We need to load all these files from the application Server.

all the best.

regards,

rewards point

Read only

0 Likes
394

Hi Abhay,

I just have a single file.

Is it not possible with GUI_UPLOAD?