Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 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.