Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

NOT EQUAL in the InfoPackage Data Selection


<u><b>I need to build a NE, NOT EQUAL <> in an InfoPackage</u></b>

I need to exclude some DataSets from beeing loaded.

The DataSets to be excluded can be distinguished by a

certain value of a an InfoObject.

For example:

All DataSets with 0COMPANY_CODE NOT EQUAL "0001" should not

be loaded.

How can I set in the InfoPackage DataSelection a filter

to exclude some DataSets ?

Thank You

Martin Sautter

Former Member
Former Member replied

Hi Martin,

The Infopackage level Routine can be written in Selection tab , by setting Type as 6.

But i dont think it will help you as it has only three options EQ Equals, BT Between and CP (Contain Pattern).

I dont know how to do in your case but giving an example case here

I need to introduce a routine for time interval in a BW infopackage. Here's what I need:

  • p_datefrom less than or equal to systemdate

  • p_dateto greater than or equal to systemdate

What's the code that I should use in the routine?

Here's how the current code looks like:

program conversion_routine.

  • Type pools used by conversion program

type-pools: rsarc, rsarr, rssm.

tables: rsldpsel.

  • Global code used by conversion rules

$$ begin of global - insert your declaration only below this line -

  • TABLES: ...

  • DATA: ...

$$ end of global - insert your declaration only before this line -

  • -------------------------------------------------------------------

form compute_time_dependent_dates

using p_infopackage type rslogdpid

changing p_datefrom type d

p_dateto type d

p_subrc like sy-subrc.

  • Insert source code to current selection field

$$ begin of routine - insert your code only below this line -

p_datefrom =

p_dateto =


p_subrc = 0.

$$ end of routine - insert your code only before this line -


I am not sure how will you use it.

Hope it gives you some idea.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question