Skip to Content
avatar image
Former Member

HCI - Global variables as filter

Hi all,

In HCI, what is the best way to set a filter which will be used by many dataflows / tasks ?

In the first phase of our project, we will only consider several plants and DC. This list will evolve latter.

What we did so far is to create one global variable for each plant and DC :

$G_PLANT_01 = 'plant1'

$G_PLANT_02 = 'plant2'

etc...

$G_DC_01 = 'dc1'

$G_DC_02 = 'dc2'

etc...

We keep some of these variables empty for future phases of the project.


Then, we use these variables in the filter of our data flow :


It works but it's not really "elegant" and flexible.

It also takes a lot of time to replicate the global variables in each task.

Any recommendation?

Thanks for your help,

Pierre

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 14, 2015 at 09:48 AM

    Hi,

    One of the option which you can use is, create Z table in source system ( ECC / APO / BI).

    Use this table in your dataflow to lookup / join which will work as virtual filter. Its easy to add new values in Z table, its flexible, and you donot have to keep changing HCI DF everytime.

    Also note, adding new values in this Z table will not require any transport, so its editable directly in Prod.

    if its APO or BI, you can also use Z DSO or Info Object, both can work as Z table.

    Thanks,
    Purav

    Add comment
    10|10000 characters needed characters exceeded