Skip to Content
avatar image
Former Member

how to load multiple csv files automatically in one batch job

Hi all,

Is there a way to load multiple csv files automatically?

We have to load over 200 flatfiles into BW and don't want to generate over 200 Infopackages.

I'd be grateful for any advice.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 23, 2004 at 07:00 PM

    Hello Andreas,

    depending on the file size, you might want to consider OS tools to merge the files. It should be a simple concatenation.

    Otherwise, you can develop an ABAP routine that is used in a single InfoPackage. The routine would return one filename and store somewhere a counter so the next time the routine is called it would return the next filename.

    All you have to do then is schedule the InfoPackage 200 times (you could use a program and the corresponding BAPI).

    Regards,

    Marc

    SAP NetWeaver RIG, US BI

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2004 at 03:49 PM

    Hi Marc,

    thank you for this hint. I tryed BAPI_IPAK_START and BAPI_IPAK_CHANGE. It works fine.

    Kind regards

    Andreas

    Add comment
    10|10000 characters needed characters exceeded