Table interface API: Possible to remove "unasigned" cells?
Dear all,
I was wondering if I could use the table interface API to remove the "###" or "unassigned" values in a cell of a query?
Thanks in advance,
Andreas
Andreas,
you could use the table interface to remove display of the values - you can set it to have a blank space if required....
In the table modifier - check for Null or INITIAL in the cell contents...
Arun
Message was edited by:
Arun Varadarajan
Similar Messages
-
Table Interface : Merge cells in the same column
I want to use the Table Interface to accomplish this...
I need to merge cells that are to the top/bottom of eachother. So, the 2 cells have the same InfoObject. They are 2 different values and i want them to appear in the same cell... for example..
A regular table returns:
STATUS
¯¯¯¯¯¯¯¯¯
OPEN
CLOSED
I want it to be displayed like:
STATUS
¯¯¯¯¯¯¯¯¯
OPEN
CLOSED
The vertical lines on the right should be lined up but i cant get it to format. Anyway, how can this be accomplished?
Thanks.We have data object which is a very long text. Much longer than the 60 char limit. So, we're thinking of breaking the text up into 60 char chunks. And then put each chuck beneath one another. But we need the texts to look like they're all in the same cell.
I first thought of manipulating the borders using CSS styles. But I couln't figure out how to tell if I've reached the last line of the text. (I was trying to use I_Y to navigate through the column.)
Second thought, merge the cells. This would be more efficient.
Thanks. -
Header characteristic cell (table interface)?
Hi folks,
I'm using a table interface (herited from cl_rsr_www_modifiy) to customize the data cell value.
I want to add a link which will contain as url parameters the corresponding row and header characteristic_cell i_chavl of the data_cell.
To get the current row characteristic_cell i_chavl, I redefined the method characteristic_cell as follow :
IF I_X = 1.
L_FILTER = I_CHAVL .
ENDIF.
Thus the method data_cell can retrieve the corresponding row i_chavl.
The problem is to get the header i_chavl... If I use the same way as above, I will only get the latest header i_chavl value of my table (since that a table is created from left to right, up to down)...
How can I get that header back for the method data_cell?
I was thinking of defining cell_content_id to the header characteristic cells and get it back by a javascript function call...
Before going futher, I would like to listen to your suggestion.
Thx
BvsYou can define an additional table (on a structure) as attribute to your class.
In the characteristic_cell definition, you can populate this structure (alogwith i_y value)
In data_Cell you can read this table based on i_y value.
In start method, you can refresh this table.
I am sure there is an easier way (you can access all information in n_r_request) in data_cell method, but you will need to explore n_r_request to see where the relevant information is. In this case you won't need to do the above. -
End of table in table interface
Hi ,
I have a scenario, where I want to add some rows to HTML table. I can do this by table inerface, but how do I know that I have reached end of the table .
Regards
MBHello,
unfortunately this is not possible via table interface, you can only change (or hide) the value of existing cells.
Can you give us a example what you want to add, maybe we can find a solution.
Regards Marcus -
Hi to all experts,
i have the following scenario:
I am using a query in web. Well in the lines there is a characteristic (for example sales org) and in the columns a keyfigure with an exception and a top10 condition. I think exception and condition are not important for my problem but the table is. Now i want to see in front off all lines a checkbox. That means i have - for example - now 10 sales organizations in my query and in front of all sales orgs there should be a checkbox. I think that should be realized with table interface. Now the user should be able to mark two ore more checkboxes to jump with the Report Report Interface by using a link to another Web report? Is that possible? Sounds hard i think or isnt it?
Regards,
M. ErbilHi Memo,
try the following. Create a template with a web item table. Than by using se24 create your own class for table interface. Change method DATA_CELL.
method DATA_CELL.
*CALL METHOD SUPER->DATA_CELL
EXPORTING
I_X =
I_Y =
I_VALUE =
I_DISPLAY_VALUE =
I_NUMERICAL_SCALE =
I_NUMERICAL_PRECISION =
I_CURRENCY =
I_UNIT =
I_ALERTLEVEL =
I_IS_SUM =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_cell_content type string.
if i_x = 2 and i_is_sum <> 'X'.
concatenate l_cell_content '<INPUT type=checkbox value=ON name='
'' filter '' '>' into
l_cell_content.
c_cell_content = l_cell_content.
endif.
endmethod.
You can hold the value from characteristic in method CHARACTERISTIC_CELL:
method CHARACTERISTIC_CELL.
*CALL METHOD SUPER->CHARACTERISTIC_CELL
EXPORTING
I_X =
I_Y =
I_IOBJNM =
I_AXIS =
I_CHAVL_EXT =
I_CHAVL =
I_NODE_IOBJNM =
I_TEXT =
I_HRY_ACTIVE =
I_DRILLSTATE =
I_DISPLAY_LEVEL =
I_USE_TEXT =
I_IS_SUM =
I_IS_REPETITION =
I_FIRST_CELL = RS_C_FALSE
I_LAST_CELL = RS_C_FALSE
I_CELLSPAN =
I_CELLSPAN_ORT =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_filter type string.
Store characteristic value of current row
if i_x = 1 and i_is_sum <> 'X'.
l_filter = i_chavl.
endif.
endmethod.
Please note that "i_chavl" holds the key value from characteristic.
Now back to method DATA_CELL and insert something like this:
filter = l_filter. "l_filter is set in method characteristic cell
so it look like this:
method DATA_CELL.
*CALL METHOD SUPER->DATA_CELL
EXPORTING
I_X =
I_Y =
I_VALUE =
I_DISPLAY_VALUE =
I_NUMERICAL_SCALE =
I_NUMERICAL_PRECISION =
I_CURRENCY =
I_UNIT =
I_ALERTLEVEL =
I_IS_SUM =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
data: l_cell_content type string,
filter type string.
if i_x = 2 and i_is_sum <> 'X'.
filter = l_filter.
concatenate l_cell_content '<INPUT type=checkbox value=ON name='
'' filter '' '>' into
l_cell_content.
c_cell_content = l_cell_content.
endif.
endmethod.
Hope it works
Regards,
Adem -
Access follwing values in table interface
Hi,
how can I access follwing values in the table interface.
I want to use the value of the 9th column cell in the first one to create a link.
But with
if i_x = 1.
endif.
I'm just able to access the current cell.
By the way, is there a possibility to add columns? How?
greetings form munich
MikeHi,
you can have also access on the complete result set of the table (meaning on every cell) at any time in processing the table interface. But this requires some basic understanding on the dataset and especially the cell_data.
http://help.sap.com/saphelp_nw04/helpdata/en/2a/20ac3a22f0785ce10000000a11402f/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/e0/42a63adf18e648e10000000a11402f/frameset.htm
Heike -
Table component - how to find out which cell is clicked
Hello!
I have a couple of questions regarding table component
1. Is there any way to find out which table cell is clicked on?
2. And is it possible to paint clicked cell programmatically?
Possible solution might be a Select Boolean Checkbox inside a cell, but anyway, i'd have to determine which cell contains this checkbox (some kind of cell coordinates, etc...)
Thank you1. Is there any way to find out which table cell is clicked on? It would be easy to suggest the way, if you can share us the requirement
2. And is it possible to paint clicked cell programmatically?You can do it through javascript by setting contentStyle property.
Sample Code:
<af:table ...>
<af:column>
<af:inputText ...>
<af:clientListener method="paintCurrentCell" type="click"/>
</af:inputText>
</af:column>
</af:table>
<!-- javascript method -->
function paintCurrentCell(event){
event.getSource().setContentStyle("background-color:red");
}Sireesha
Edited by: Sireesha Pinninti on Nov 10, 2009 7:01 PM -
Hiding a row based on the the drill down via table interfaces
I have a requirement to hide a particular row (key field) of a table if a characterisitic (0PLANT) is included in the table.
I have managed to hide the key field via the table interface but need to know how I would see if the characteristic is drilled down (IE included in the table).
Initially I used CAPTION_CELL to establish whether 0PLANT was in the report but when I then removed 0PLANT from the report, CAPTION_CELL is not reprocessed and thus the report is incorrect.
What is the best way to establish what characteristics are included in any report.
Any help would be appreciated.
Cheers
Shep.Hi Neal,
why not using the service method get_state_infos.
In e_thx_axis_info you should find all relevant information
http://help.sap.com/saphelp_nw04/helpdata/en/32/ab3a3c24b4a00ae10000000a11402f/frameset.htm
Heike -
Table Interface "destroys" Excel download
Hello all,
i made a webtemplate with 3 dataproviders. To download all into one excel sheet i implemented the How-To-Paper:" Web printing with Excel". It works fine.
Now i attached a table interface class to the webtemplate which adjust some cells regarding color,....
If i now download the template to excel for example: a percentage value like 48.59% 8web) is shown in excel 0.48 %; a normal value like 600 (which is normally 599.57 but rounded in webtemplate) is in excel 600 it should be 599.57).
If i detach the table interface class it works fine again.
Can anybody help ?
Thanks
MarcHI,
I am having the same problem.
Any solutions for this?
Thanks,
Andreas -
Customer Bank Accounts Interface/API
Hello guys
I wonder if you can help me please. I've defined a new bank account in AR and I want to load customers under my new bank account. Is there an Interface or API to programmatically do this? If so, please tell me what interface table or API to use. I'm on Oracle Apps R11.5.10
Thanks for all you help.Hi,
Review the following links:
Customer Conversion
Customer Conversion
API for loading Bank account details for the Customer
API for loading Bank account details for the Customer
Note: 296593.1 - How To Load Banks Into AP Using Ar_bank_directory Table?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296593.1
Oracle Integration Repository
http://irep.oracle.com
Regards,
Hussein -
Is it possible to remove leading 0's?
If I have a column called id_inst in tableA of type String
and having a value of 0000203,is it possible to remove
the leading zeroes from it?
Select LTRIM(id_inst, ??
Is this possible?There is of course no need to strip leading zeroes before storing a numeric value into a number datatype since Oracle will not store leading zeroes anyway.
How a numeric value retrieved from the database is display is completely under the control of the requester via the to_char function:
UT1 > select fld2, to_char(fld2,'009') as c2, to_char(fld2,'999.99') as c3
2 from marktest;
FLD2 C2 C3
1 001 1.00
2 002 2.00
3 003 3.00
5 005 5.00
6 006 6.00
HTH -- Mark D Powell -- -
Hi all,
I would like to use the table interface to hide a lot of consecutive rows (more than 100) in a web query.
Therefore I've redefined both DATA_CELL and
CHARACTERISTIC_CELL method with coding
move '<!-- -->' to c_cell_content for the referring rows.
The effect is, that the cell content is hide but all rows are shown furthermore with a minimal heigth.
Could anybody help me?!
Bye
HagenDear Hagen,
why don´t use the "show rows" paramter of table item in WAD this will not create (not hide) the rows more than 100 or make a condition top 100 into the query this is better for performance than just hide them.
If you want to do it by Table Interface you have to change the methode structure_cell as well.
Regards
Marcus -
Is it possible to make a cell change colour of a period of time with rules?
Is it possible to make a cell change colour of a period of time? for example
Date
Company
Pick Up
Destination
Total
Paid
Sat, 5 Apr 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
FALSE
Is it possible for B7 to change colour if 2 weeks have passed from the date in B1 and Paid is still FALSE and green if it's TRUE?
Many thanks.Hi NeoNapster,
This may be a start. Conditional Highlighting of a cell that depends upon the values in other cells can be tricky, but we can work on that.
Date
Company
Pick Up
Destination
Total
Weeks
Paid?
OK?
Sat 5 Apr 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
29.0
FALSE
Overdue by 29.0 weeks
Sat 4 Oct 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
3.0
TRUE
OK
Wed 1 Oct 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
3.4
FALSE
Overdue by 3.4 weeks
Wed 8 Oct 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
2.4
FALSE
Overdue by 2.4 weeks
Mon 20 Oct 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
0.7
FALSE
OK
Sat 25 Oct 2014
COMPANY NAME
PICK UP POINT
THE DESTINATION
£100.00
0.0
FALSE
OK
Table with one Header Row
Formula in F2 (Weeks) and Fill Down
=DUR2WEEKS(TODAY()−A2)
That shows the Duration in weeks from the Date in column A until TODAY. You can hide this column.
Column G can contain the text TRUE or FALSE or could be checkboxes.
Formula in H2 and Fill Down
=IF(G2,"OK",IF(F2>2,"Overdue by "&F2&" weeks","OK"))
IF a cell in G is TRUE, then insert "OK". No need for any more checking.
Else IF a cell in F is greater than 2, then insert "Overdue by" and the number of weeks
Else insert "OK" (the invoice is less than 2 weeks old).
Conditional Highlighting of the Body Cells in column H. Select the cells.
Add a Rule...
text is
OK
Green Fill
Add a Rule...
text is not
OK
Red Fill.
Column H with the Conditional Highlighting rules:
OK?
Overdue by 29.0 weeks
OK
Overdue by 3.4 weeks
Overdue by 2.4 weeks
OK
OK
(And I have just discovered that colours do paste into this forum ).
Regards,
Ian. -
N_r_data_set- n_sx_version_20a_1 table interface
Can anyone tell me how the n_r_data_set->n_sx_version_20a_1 structure is used in a table interface? I have been able to take a look at it contents in the debugger and see that it holds all data pertaining to the cells in a table. What I want to do is delete records from this structure but I don't know if I am allowed to do so since it is a "deep structure" and not a standard table.
Please Help!!Yes Paolo,
I had a chance to read the documentation but this does not tell me how my changes to the internal table are passed to the OLAP Processor. If I delete some rows in my internal table, how do I pass those changes to the OLAP since it will not read the internal table? What I have done is deleted some records from the cell_data internal table using the debugger but those changes were NOT reflected in my HTML rendered table. What I am trying to do is to delete a row in my table whenever an attribute in that row is equal to a certain value. Can you give some insight on how this can be done? -
Can I use at command line an import dimension using table interface?
Hi guys
I am using EPMA to load some dimensions using the table interface but I want to know if it is possible to lauch it using a command line?
RegardsHi John
I am facing a strange case, after migrate the developments that call the EPMA Batch Client uding ODI 11.1.1.7 to the test environment. I have various package that load data on the table interfaces
and in a next step call the epma batch client.
However when I execute the package, the log file is wrote. However the new customers are not loaded. But If I execute the command (Step on package) that call the epma batch client the log also
is wrote and the member is loaded.
Any suggestion about what can be happening and how I can solved.
Thanks in advance,
Maybe you are looking for
-
I keep getting "the network connection could not be established" message when trying to update my iPad, iPad2 and iPhone4 devices using either my iMac or MacBook. The Macs and iOS devices are apparently working correctly otherwise. Problem started
-
File download for OrdAudio type
Hello I would like to ask why my filedownload link is not displayed. I am using type OrdAudio for Audio files. Do I have to use OrdDoc for this. Is this the reason for JHS not showing the download link Esma
-
this iphone is currently linked to an apple id *********sign in with the apple id that was used to set up this iphone...i got this when i connect my iphone to itunes...who can help me???plzzz
-
ORA-12500 problem, ¿can be?
We investigate all the facts that can provoke ORA-12500 and we are not allowed to connect to the database, the database is running, the service is running, the memory is OK , they are not too many connections because the database is just connected, a
-
Adjust the default login page of a domain
Dear forum, I want to add additional text to the default login page of the Webcenter domain, so the http://<server_name>:16200/<domain_name> page. How can this best be done? Is it configurable via the Weblogic console somehow? Regards, Jan-Willem Klo