Item Texts in a Table column
Hi All,
I am working on a Purchase Order Adobe Form. We have a requirement to display multiple item level texts i.e. material text, item text and delivery instructions in one of the table column. How can i add all these three item texts in one of the column. For every item, i have to display all these item texts in the same column. Please suggest me how to do this.
Thanks,
Kumar
Hi Kumar,
Using nested tables you can do something like this.
for that particular column have a subform (type flowed top to bottom) instead of anyother UI element , with in this subform have your 3 tables for the 3 table type fields. and do data binding as usual.
If it's with nested subforms.
1) the main table in a nested subform of flowed western text, so all the individual fields will become coulmn here.
2) for this specific column of 3 tables have a subform instead.
3) in this subform have your 3 tables for the texts.
do the binding as usual.
in all the cases the context should be similarly nested.
let me know if you need any more help.
Cheers,
Sai.
Similar Messages
-
Which option to use to search text in multiple table columns
Hi, I have a case where I have 4 db tables. On the UI there is an option to search a keyword from some columns of these 4 tables.
Table1 = summary, description are the columns user can search on
Table2 = project_name is the column user can search on
Table3 = need_by_date is the column user can search on
Table4 = owner is the column user can search on
On the UI, user can enter a keyword and check the columns they want to search on. Out of the above, they can check one column, or more, or all.
My question is what is the best option to use oracle text search in this case.
Option 1 = I create a procedure to select these columns and then create an index on this procedure. In this case, is there a way to specify
which columns to search on?
Option 2= Create 4 separate indexes on these table/columns and then query the columns which user has selected to search on.
Any other better idea?Hi,
multicolumn only works on columns in the same table.
If you can also query just on one field, then an index per field will be preferable. If you query always on all the fields then the one index approach is good. For this last the options are:
1. Use User_datastore, create a procedure and a dummy column
2. Create a materialized view for the query and build an index on this materialized view
3. Store the fields as an xml in the main table and index the xml column.
The maintanance of options 1 and 3 are bigger, because you need triggers to be aware of an update. Option 2 and 3 will need more storage.
Herald ten Dam
http://htendam.wordpress.com -
How do I get text inside a table column to stretch the whole column width?
Hi I am using JDeveloper Studio Edition Version 11.1.1.0.2.
I have some tables where one of the columns are quite wide (700px) wide and some quite narrow 50px. It doesn´t look pretty. The input text inside the 50px column looks like it stretches out of the column and the inputtext in the 700px column leaves a big empty space in the right side of the column. What I had hoped for is columns which have the same padding to its content as a 100px column no matter the columns width. How do I do that? Do I have to use skinning?Well I don´t want the space on both sides of the input text to be that big either so that doesn´t solve the problem.
-
WD ABAP: Problem with Header text wrapping in Table Column
Hi,
I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
Thanks,
Adithyahi..
Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true. -
Page Item / Source / Format Mask - Table Column Numeric
Form page to maintain a table row, the item is for a numeric column. Selected/Entered the format mask "999G999G999G999G990D00" for the Page Item / Source. I was under the impression that this would result in the page item being formatted with the mask when navigating out of the item. I can enter non-numeric values and navigate out with no error being raised/reported ... is this expected behaviour?
ThanksAPEX was touted at being a MS Access application killer and a RAD tool. If the user is presented with having to understand the complexities of session state variables, page item variables, etc. then a lot of developers/users will be switched off. APEX was supposed to appeal to the masses as the pipes and plumbing coding behind having a web application front end on an Oracle database backend was being hidden. The converse seems to apply when implementing functionality like a format mask being applied both on entry and display of several page items. So I may be able to implement the required format validation using Javascript but if I have to apply this functionality to more than one page item in now way does APEX lend itself to RAD, e.g. In Oracle Forms you could select multiple Block/Items and then change a property to apply to all the selected items.
-
How to truncate the text in a table column
Hi all,
I have a text column in a table RN. the column length is varchar2(240). When the text is too long I want to only display 20 text and followed by '...'
So I change the xmlfile of tableRN maximumLength="240" columns="80"
but the text is still long and let the page very wide. I notice the standard page have this functionality while I don't find any control either in the xml file or in the CO class.
Can anyone show me the method to implement this? I really don't want to modify the VO to decode the column to contain '...'
Thanks & Regards,
Scott
Edited by: Typhoon on Aug 5, 2009 1:07 PM
Edited by: Typhoon on Aug 5, 2009 1:25 PMI have resolve it, by adding these code in VOimpl.java
super.executeQuery();
oracle.jbo.RowSetIterator rowsetiterator = OIEUtil.getNoValIterator(this);
Object obj = null;
TrackExpenseReportsVORowImpl trackexpensereportsvorowimpl;
for(; rowsetiterator.hasNext(); trackexpensereportsvorowimpl.setPurpose(OIEUtil.trimString(trackexpensereportsvorowimpl.getPurpose())))
trackexpensereportsvorowimpl = (TrackExpenseReportsVORowImpl)rowsetiterator.next();
---------------------------------------------------------------OIEUtil.class-----------------------------------------------------------------------------------------
public static RowSetIterator getNoValIterator(ViewObject viewobject)
RowSetIterator rowsetiterator = viewobject.findRowSetIterator("noValidationIterator");
if(rowsetiterator == null)
rowsetiterator = viewobject.createRowSetIterator("noValidationIterator");
rowsetiterator.setRangeSize(-1);
rowsetiterator.setRowValidation(false);
rowsetiterator.reset();
return rowsetiterator;
public static String trimString(String s)
if(s == null)
return s;
if(s.length() < 20)
return s;
else
return s.substring(0, 20) + "...";
} -
How to set title/text for ALV table column header in WD ABAP
Hello,
I am working in WDA using SALV_WD_Table to display data in table. I need to change the column header text, the obvious way is to get the column header and call the method SET_TEXT to set new text / title. However, this method does NOT work, it does not change the column header text. I also tried the SET_TOOLTIP, this one works, but SET_TEXT does not work. Anyone has idea why this not working and do you find any go-around solution?
My version is NW 7.0
Thank
JaysonHi jason ,
For setting Heder text for your ALV table
ip_confing type ref to CL_SALV_WD_CONFIG_TABLE.
"set alv table header
ip_config->if_salv_wd_table_settings~r_header->set_text( 'Test ALV Header functionality' ).
first you have to hide the DDIC text and then try to set your own text .
"modify columns
LOOP AT lt_columns INTO ls_column.
lr_column = ls_column-r_column.
CASE ls_column-id.
WHEN 'MANDT'.
"hide this field
lr_column->set_visible( cl_wd_abstr_table_column=>e_visible-none ).
WHEN 'SEQNR'.
"set header to different string
lr_column->r_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none )." use this line to hide ddic text
lr_column->r_header->set_text( 'Position' ).
endcase.
endloop.
Regards
Chinnaiya P -
JDeveloper 10.1.3.4: text-align for table column has no effect
Hi,
I am using JDeveloper 10.1.3.4. In a tabe I have a column that displays numbers, which are left-aligned by default:
Applied
$50.00
$2,160.00
$50.00
$2,260.00I want to have them aligned to the right to look neater:
Applied
$50.00
$2,160.00
$50.00
$2,260.00Or better still, have the cell with the longest string aligned to the center, and all the other cells align to it by the decimal point:
Applied
$50.00
$2,160.00
$50.00
$2,260.00I looked in the property inspector and the only thing that looks closest to the purpose is text-align. I set this attribute to right (text-align:right) for the column, and for the outputText, but neither has effect. Everything is still flush to the left. How to get it right?
Thanks!
NewmanHi, Branislav,
Nice meeting you again.
Last time the question was about formatting the total amount returned from the method, from String to Number, Re: JDeveloper does not handle expert SQL, cannot add query clause in view link, which can also format the number as currency.
This time, your answer again solved my problem. I was looking in the inline styling section, and did not notice this property in the General section. Thank you so much for your help!
Newman -
Bold text in af:table column header
Guys,
I want to bold the text in af:column header.
I want "label1" text to be bold.. Any suggestions welcome.
<af:column sortProperty="test1" headerText="label1"
inlineStyle="font-weight:bold;">
<af:outputText value="#{row.attribute1}" id="ot129">
</af:outputText>
</af:column>Hi,
you can use the property headerClass.
For example:
headerClass="myClass"
.myClass{
font-weight:bold;
}or using facet:
<af:column align="center">
<f:facet name="header">
<af:outputValue value="Text" inlineStyle="font-weight:bold;"/>
</f:facet>
<af:outputText value="#{row.attribute1}" id="ot129">
</af:outputText>
</af:column>Regards, -
Image in table column header to the right of the text?
Does anyone know how I can put an image on the right of the text in the table column header?
If I do column.setGraphic it positions image on the left, how can I change the position of the image?
For that matter how can I set alignment of the image? Like if I want it in the corner (even left corner will do) and not next to the text?
Appreciate any help !You can do this with CSS (needs an external stylesheet, can't be done (easily) with an inline style).
Something like
.table-view .column-header-background .label {
-fx-content-display: right ;
}(Untested... you may need to experiment a bit.)
The structure of the table view control from the css perspective is documented here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#tableview -
Problem in Capturing Item text (BAPI_PO_CREATE1 )
HI Experts
I have a problem with the BAPI BAPI_PO_CREATE1 for PO creation.
When I pass the values to the BAPI and passing Header text in the table I_PO_HEADER_TXT and Item text in the table I_PO_ITEM_TXT.
But after the execution of BAPI I_PO_HEADER_TXT is getting cleared and the same is beiong populated in the table I_PO_ITEM_TXT.
Is there any way to differentiate Item text and Header text??/
Thnks in Advance.
Hari KrishnaHi,
For header texts, pass '00000' as the value to structure field POTEXTHEADER-PO_ITEM.
Read BAPI documentation regarding header & item texts
4. Examples of population of BAPI_PO_CREATE1 interface:
Parameter: POTEXTHEADER
PO_NUMBER
PO_ITEM = 00000
TEXT_ID = F01
TEXT_FORM = *
EXT_LINE = HEADER TEXT
Parameter: POTEXTITEM
PO_NUMBER
PO_ITEM = 00010
TEXT_ID = F05
TEXT_FORM = *
EXT_LINE = ITEM TEXT, ITEM 00010
Regards
Vinod
Edited by: Vinod Kumar on May 21, 2010 4:14 PM -
Purchase requisition - Header Texts and Item Texts
Hi,
In Creating Purchase requisition if we enter the Header note text and Item text, in which table these texts will be stored.
Regards,
RamHi,
To see any text go to the detail of that text you will have a magnify button below that text click there you will get the stand text editor open.
Click on GOT->Header it will give the information you need to get this text via function module 'READ_TEXT' they are sored in STXH.
Points if find this helpful
Regards,
Yakub Shah -
VC Multiple Table Column Header Lines, Table Width Adjustment
Hi Experts,
1) How to have Multiple headers for a column in a single cell i.e multiple lines in the same cell. please provide with example.
2) How to set your table to adjust the width automatically for all screen resolution since columns of the table disappear and some of the content of the header is not visible if the screen resolution is low.
3) Is there any way to set the screen resolution for our report alone to very high resolution even if the end user has set the system resolution to low. The reports were developed on a high resolution and now we face the problem as citrix is rolled out and it is standard 1024 * 768 resolution.
Thanks and Regards,
SivaWrapping the text of a table column caption into lines is currently not possible. Workarounds could be:
- using a single character text and a tooltip for the description
- using an image containing the wrapped text
Both workarounds have their problems.
Armin -
Header and Item Texts for Sales Order
Hi,
Can any one help me on Header Text and Item Text...........
<b>STXH & STXL</b>
TDOBJECT :__________
TDID:_____________
TDNAME :_______________
Regards,
Raghunath.SHi
Double click on the related text
it will open Text editor
from Menu GOTO-> header
for SO HEADER Texts
then you see the 4 paramters like OBJECT (VBBK),ID,OBJECTNAME (sales Order No) and LANG
FOR SO ITEM texts
OBJECT (VBBP table), ID, OBJECTNAME(SO no plus ITEM No) and LANG
You have to pass these 4 parameters to READ_TEXT fun module to fetch the corresponding texts
see the doc on READ_TEXT
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
<b>Reward points for useful Answers</b>
Regards
Anji -
Item text in table not printing correctly
Hi All,
I have a requirement to display Purchase Order Line Item Text in one of the column in a table. I used table to do this, but it is not working correctly, when there is more data (more than one page) in long text.
Columns using in the table
EBELP MATNR LONG TEXT QTY CURRENCY PRICE Delivery Date
Then, I used Subforms to achieve this, but i have a problem using this also. If the long text overflows then other fields after the long text are printing on the last page.
EBELP MATNR LONG TEXT - First Page
LONG TEXT QTY CURRENCY PRICE DELIVERY DATE - last page.
But, i am looking for a pattern to print
EBELP MATNR LONG TEXT QTY CURRENCY PRICE DELIVERY DATE
IF IT OVERFLOWS
ONLY LONG TEXT ON NEXT LINES.
Please suggest me how to do this.
Thanks,
KumarHI William,
Go here for help for Font problems and management in OS X
You may have a duplicate or corrupted font.
Carolyn
Maybe you are looking for
-
Since a couple of weeks my btyahoo email is behaving strangely. It take a while to load when I enter, and if I click on an e-mail it opens a blank, contentless page. After a while I am eventualluy able to see the content, but it is annoying. BT (the
-
Light shining through,is your iPhone the same?
Just purchased an iphone 3gs from apple online and noticed it has light coming through from sides of the phone between bezel and screen is this a fault?can be seen especially in the dark,has anyone else had this problem with their iPhones?thanks
-
Re:install oracle forms 11g in window 7 home basic in 64 bit
I have done install oracle forms11g successfully but not configure successfully. error is does not create domain etc. so please provide the needful solutions.
-
PASTA Printers Stop printing after OS upgrade and Database Upgrade
Problem Description: We recently upgraded our Development and DR environments from 10G Database to 11G version. In order to perform the Database upgrade we have also upgraded the Operating System from version 5.9 to 5.10 Solaris Sparc. Soon After the
-
Hi everyone,Just wanted to ask before I go and buy this card... does it have the Mode Switcher feature which allows to switch between Entertainment mode, Game mode and?Audio creation mode?Or should I buy the Xtreme Music?I want a card maily for gamin