Skip to Content
author's profile photo
Former Member

Upload flat file with 3 different structures

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 04:20 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 04:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded