on ‎2015 Aug 11 8:16 AM
Hi all,
I am currently trying to load master data into BPC.
The member IDs could have the following structures:
?IS?
.? 22W
???XXCW
***XYZ
$$$XYZ
I want to Skip all of these members, how can I find these special characters in my string?
Thanks in advance!
Request clarification before answering.
Hi Simon
Say you want to skip members beginning with given special characters, you can achieve that by defining under SKIPIF option of the transformation file:
This will skip the members beginning with these characters.
Secondly, I assume that you are trying to load only alphanumeric values as your member IDs. In case you do not wish to skip, you can remove these special characters and keep the alpha-numeric string only by using the conversion as below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
Do you want to skip members containing some list of characters?
Or do you want to skip members with some specific format?
Or do you want to skip special characters in the member names?
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to skip members containing some list of characters (and this list is containing special characters like "*" and "?") then you have to use routine badi. Javascript in conversion file is only able to change the member id, but not to skip it. You may try to rename all "bad" members to some dummy id...
Vadim
Hi,
You need to define only your way. You suppose to careful about their sequences, the order of your statement suppose to be specific to generic.
Like first statement ?IS? and in next statement suppose to be *IS*
Thanks,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
You can achieve this in your Conversion file.
In EXTERNAL you type "*" and in INTERNAL you type js:%external%.split('?').join('').split('$').join('')..........
whichever character you want to skip, just mention it in split('character to skip').join('')
Also you can use replace function in INTERNAL for e.g. js:%external%.toString().replace(/\s+/g,"")
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.