on 03-17-2015 10:17 AM
We have data coming into BW with a lot of invalid char '$ , space, chinese char, spanish' etc. User has told that he wants it to show in report. But we don't want to globally accept such chars (RSKC).
scenario1.
ZTCODES master. datatype char 40.
tcodes coming in with invalid values (red status). How can these values be accepted locally only? These values may then be used for in cubes for reporting and ztcodes is to be used for selection in selection screen.
Scenario2.
DSO holds transaction data but does not activate due to invalid ztcodes vales.
Any ideas?
Regards,
Cleo.
Hi Cleo,
I think we should distinguish between not allowed characters in the context of RSKC and "unwanted" characters, e.g. from Chinese or Spanish character sets.
Not allowed characters can be handled e.g. via a character string cleansing tool. Please refer to my blog for an example. This should be a global approach.
"Unwanted" characters can have a different approach. You can write a routine (or any other ABAP coding) to handle this (e.g. check characters against an allowed set of characters and replace all the rest with e.g. a space).
Best regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made 2 text master infoobjects. I gave a counter as key for both text masters. Took tcode as text in one master and tcode description as text in another master. I use counter no. to relate both tcode and tcode description. I use code to ensure that a certain tcode and and its description will have same counter no. value.
Hi Cleo,
RSKZ must be enough. If you want load this data, you have two ways.
1) Try change your DSO standar to write optimized.
2) Use a routine to change your data.
Regards.
data:lv_string type string.
lv_string = '&^%&^%!@&%hjasdg^%^%@%!aa&'.
REPLACE all occurrences of REGEX '[^[:alnum:]]*' IN lv_string WITH '' .
write lv_string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francisco,
in RSKZ , we can accept invalid values locally?
and since I need to report and use these invalid values as parameters in my selection screen in report, accepting them in a DSO without activation requirement will still not suffice. Ultimately I need to take to a Infoprovider which can be used for direct reporting on BEx.
Hi,
For ASCII characters from 32 to 255 (typeable) from keyboard you have options in SPRO - Business Warehouse - > General settings -> maintain permitted extra characters. For the rest you have to write FM to deal with
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.