on 12-26-2005 8:17 AM
Hi All
I am looking for a way to replace the "#" with "-" in the query when there is null in the cube.
Thanks
Dror Golani
Im not sure if there is a direct way to do this in the infoCube level.
Alternatively, you can do this in the query level using table API to replace # with or any other character. This would work only if you are using your query in a web template.
Here are the steps involved:
1. Create ABAP class that extends class CL_RSR_WWW_MODIFY_TABLE (TC SE24)
2. Redefine method CHARACTERISTIC_CELL and put in it below ABAP code:
IF I_CHAVL EQ '#'.
*uncomment below line if you want to show blank instead of #
* clear c_cell_content.
replace '#' with '-' into c_cell_content.
replace '#</a>' with '-</a>' into c_cell_content.
ENDIF.
3. Activate the method and the class.
4. Link your template with the class that you have created. This can be done by opening the template and entering the class name in the table interface class field under table properties.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.