Skip to Content
author's profile photo Former Member
Former Member

data download

Hi everyone,

I've been ask to modify a program that downloads data into a file.

the internal table of the program is the following

before downloading the data they want me to group it as fallow

DATA: BEGIN OF t_extra1 OCCURS 0,
        BLDAT  LIKE BSIS-BLDAT,    " Fijo
        BLART  LIKE BSIS-BLART,    " Fijo
        BUKRS  LIKE BSIS-BUKRS,
        BUDAT  LIKE BSIS-BUDAT,    " Fijo
        WAERS  LIKE BSIS-WAERS,
        BELNR  LIKE BSIS-BELNR,    " Fijo
        BKTXT  LIKE BKPF-BKTXT,    " Fijo
        BSCHL  LIKE BSIS-BSCHL,    " Regla
        HKONT  LIKE BSIS-HKONT,
        WRBTR  LIKE BSIS-WRBTR,
        GSBER  LIKE BSIS-GSBER,
        KOSTL  LIKE BSIS-KOSTL,
        PRCTR  LIKE BSIS-PRCTR,
        ZUONR  LIKE BSIS-ZUONR,    " Fijo
        SGTXT  LIKE BSIS-SGTXT,    " Fijo
        BSCHL2 LIKE BSIS-BSCHL,
        HKONT2 LIKE BSIS-HKONT,
        WRBTR2 LIKE BSIS-WRBTR,
        GSBER2 LIKE BSIS-GSBER,
        ZUONR2 LIKE BSIS-ZUONR,
        SGTXT2 LIKE BSIS-SGTXT,
        SHKZG  LIKE BSIS-SHKZG,
      END OF t_extra1.

hkont kostl

hkont kostl prctr (in the same group)

hkont prctr

and

hkont zuonr

My question is how can I take all the data from the internal table t_extra1 and collect the data in this three different groups and then put it together in a internal table to download it.

Any help will be appreciate it.

Regards,

Fidel

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 09, 2006 at 03:35 AM

    Hi,

    You could separate your downloads by your groupings so that means you would have 3 different files. I don't see the reason why 3 different groupings will all be joined together in a single file.

    Regards!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.