on 2016 Jul 29 7:45 PM
Hello Experts,
I have created one transformation file for MD flat file loads.
I need to bring in ID's with the filter of another column FIL_ACCT which has "Y".
Just keep in mind that the column which has "Y" and "N" is not mapped with Dimension properties. I just need to bring ID's from ID column which have value "Y" in column FIL_ACCT.
Following is the scenario:
| ID | FIL_ACT |
| ACCT1 | N |
| ACCT1 | N |
| ACCT1 | N |
| ACCT1 | N |
| ACCT2 | Y |
| ACCT3 | Y |
| ACCT4 | N |
| ACCT4 | N |
| ACCT4 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT6 | Y |
In above example, I just need to bring ACCT2, ACCT3, AND ACCT6.
Any expert opinion highly appreciated.
Muhammad
Request clarification before answering.
And another option:
In transformation file MAPPING use something like:
ID=FIL_ACCT+ID
In CONVERSION
ID=ACCTCONV.xls
Where:
External Internal
N* *skip
Y* *
The simplest one !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vadim,
It is related to the original discussion. Please see scenario below.
| ID | ACCT_FIL |
| ACCT1 | N |
| ACCT1 | N |
| ACCT1 | N |
| ACCT1 | N |
| ACCT2 | Y |
| ACCT3 | Y |
| ACCT4 | N |
| ACCT4 | N |
| ACCT4 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT5 | N |
| ACCT6 | Y |
| N | |
| N | |
| ACCT9 | N |
| ACCT9 | N |
| ACCT10 | Y |
As original discussion, we are bringing only ID's with "Y" and skipping "N". Your recommendations work fine. During my test, I deleted all the blanks and your solution works fine. But If I have blank rows there, then it is giving me the error. Basically I have three conditions.
1. Just bring Y related ID's
2. Skip N related ID's
3. Also need to skip Blank rows.
Muhammad
Number of options:
- Preprocess the file to remove lines with N
- Place the column with FIL_ACCT as first column and use SKIPIF in transformation
- Use routine badi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.