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

using DATAPAK vs. DATAPACKAGE

Hi All,

I need to write a start routine to skip some records. I search the forum and in almost all the threads about start routine, internal table DATA_PACKAGE is mentioned. However in my start routine I have to use DATAPAK table (have BW 3.1) So what is the difference bet. DATA_PACKAGE and DATAPAK (Is the latter just older version of DATA_PACKAGE without header line??)

And the second question is how can I delete some records using LOOP AT DATAPAK ..... ENDLOOP. Do I have to create internal table and then to replace DATAPAK with this table???

Thanks a lot

Pavel

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 03:15 PM

    Hi Pavel,

    you find DATAPAK in transfer rules, DATA_PACKAGE is in Update Rules.

    Ciao.

    Riccardo

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      thanks for answers. The problem was, that I needed to process every single record and then decide if to delete them or not. So I needed to use Loop at structure and didn't know how. Finally I used something like this...

      LOOP AT DATAPAK INTO ls_datapak.

      CASE ....(ls_datapak)

      WHEN ...

      DELETE DATAPAK.

      ENDCASE.

      ENDLOOP.

      Hi,

      thanks for answers. The problem was, that I needed to process every single record and then decide if to delete them or not. So I needed to use Loop at structure and didn't know how. Finally I used something like this...

      LOOP AT DATAPAK INTO ls_datapak.

      CASE ....(ls_datapak)

      WHEN ...

      DELETE DATAPAK.

      ENDCASE.

      ENDLOOP.

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.