Setting field header width in table control
I have created a table control by using the wizard and i am populating my internal table data in to this.
Here i have small issue.
There are two fields called recoverable, identifiable with char (1).
These two field headers are displayed as R, I on the table control.
Is there any way that i can adjust the field width to accomodate the header.
points will be awarded immediately.
Thanks
In SE51 (Screen Painter), select/click-on the field (not the column header).
Press F2 (to get the Properties window) and set the Visible Length to a larger number. Save and activate the screen.
Similar Messages
-
How to set field alignment in a table in jdev 11.1.2.3?
hi,
How to set field alignment in a table in jdev 11.1.2.3?
eg: to diplay a number field in a table as right aligned.
I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
and jspx as flowing, but it doesnot work.
Thanks.
bao
<af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
sortable="true"
headerText="#{bindings.VO1.hints.Amount.label}"
id="c44" width="60"
align="center">
<af:inputText value="#{row.bindings.Amount.inputValue}"
label="#{bindings.VO1.hints.Amount.label}"
required="#{bindings.VO1.hints.Amount.mandatory}"
columns="#{bindings.VO1.hints.Amount.displayWidth}"
maximumLength="#{bindings.VO1.hints.Amount.precision}"
shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
id="it58"
secret="false"
inlineStyle="text-decoration:overline;">
<f:validator binding="#{row.bindings.Amount.validator}"/>
</af:inputText>
</af:column>Works for me:
<af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
<af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
<f:validator binding="#{row.bindings.Salary.validator}"/>
</af:inputText>
</af:column>JDeveloper 11.1.2.3
Salary is shown right-aligned.
What happens if you get rid of your inlineStyle on the af:inputText -
Dynamic setting of cell attributes in Table Controls
Hi everybody,
I would like to set dynamicly wheather a cell or a line in a Table Control is only for output or ready for input.
I know how it works with columns, but nothing is said about cells or lines.
Thanx for clues.
Greets
OlafHi Olaf,
Basically this works the same for all fields. However for table controls you should do the 'LOOP AT SCREEN' (within routine modify_screen_line in the example code) within the LOOP/ENDLOOP over your table control:
LOOP AT g_tc_itab
INTO g_tc_wa
WITH CONTROL tc_delivplant
CURSOR tc_delivplant-current_line.
MODULE modify_screen_line.
ENDLOOP.
Regards,
John. -
Hi all
In the component overview screen of CO01 I want to disable all the field in screen of table control.I want to make it as output screen only.
Thanks & Regards,
Rajib.Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
Maybe your goal is to stop then end user changing the component assignment that is automatically detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02 -
Dynamic header text in table control - Dialog programming
Hi All,
I have a table control on one of my dialog screens. I need to dynamically change the column header texts on this control in my PBO. Does anyone know how to do this? I have found all kinds of ways to modify the other characteristics of the fields at run time in the PBO (active, input/output, invisible, etc.) - but not to change the header text! Any help is appreciated.
thanks,
MattHi Hymavathi,
I appreciate your help! This didn't solve the issue, however,...I have used the method you'd mentioned before (many times) for setting it inside the loop at screen:
%_<screenname>_%_APP_%-TEXT = <text something>.
- but only in ABAP reports. It doesn't seem to recogize it (the table control column header text) within a dialog program. I keep getting a compile error. (saying that the %_<screenname>_%_APP_%-TEXT doesn't exist.
I tried the suggestion that you stated below (from lateesh) - yet it only let me place i/o field in title text area (not the column header text). Am still searching... -
How to optimize the column width in Table Control
Hi all,
When I am displaying fields in Table Control, the columns are displayed in full length, and I am unable to see all the fields at once.
So as in grid , where we optimize the column width using layout, do we had any property for TC to do so.
thanks for your help.
Points would be awarded .
Regards,
Anil .Hi,
In Se51, you can do this one, ust open your table control and resize the TC, there is no direct option to do this for entire TC, you need to do this field by field, and arrage the TC to adjust in a Single screen. In the field parameters, you have the field lenghts, there you can minimize the length of a field
Regards
Sudheer -
Transfering multiple fields from help in table control
Hi everyone.
I have a table control in a dynpro.
The table control has many fields: x, y, z ...
I have a module in PROCESS ON VALUE REQUEST for a field "x".
The module calls a function to search values for field "x" and for field "y".
How can I transfer the value of field "y" to the screen?
I know that I can use the function DYNP_VALUES_UPDATE but it updates the field "y" in the wrong position of the table.
Thanks so much for your help.Hi Sara
It seems you are a new member; welcome to SDN forums. According to SDN customs, you can assign points to posts to thank people. You can do this by clicking the yellow star icon at header of each post. You can assign;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)
Kind regards...
*--Serdar -
I need two header line in table control
Hi all,
I am using table control. The requirement is to have 2 headers in the table control. for example., if their is field name ' Vendor Comments', I need to display 'Vendor' in one line and 'Comments' in next line. Is it possible to have such 2 headers for 1 field?
If have answer please reply me.
Thanks in advance,
KaarthickYou cannot do this in table control in dynpro environment. Maybe you can check the ALV to get more flexibility about header titles.
-
Error when displaying a field on Screen with Table Control
Hi,
It is going to 'Dump' when I am trying to display data on the screen with the help of Table Control. From the dump, What I have observed is , there is a field 'ZTSV_FSRDATA-ANZFEHLER'. If this field has negative value, then it is going to 'Dump' saying that the length is not enough. If it has a positive value then it is working fine. But the type of the field in the Internal table & on the screen are same.
Please help me to resolve this error.
I am posting here the Dump message also:
A conversion error occurred while the program was trying todisplay data on the screen.
The ABAP output field and the screen field may not have the same format.
Some field types require more characters on the screen thanin the ABAP program. For example, a date field on a screen needstwo characters more than it would in the program. When attempting to display the date on the screen, an error will occur that triggers the error message.
Thanks,
Sreenivas Reddy Maddi.Hi Sreenivas,
Refer this thread:
how to display negative values in a screen field of a screen
Re: negative values not allowed
Regards,
Sampath -
Read and display the field values in the table control
Hi Experts,
I am new to the Table Control. I have created table control using the wizard where i have mentioned the ztable while creating which consist of the following fields.
Item Number
Material number
Material Description
Net Price.
I would like to retrieve the material description, Order quantity and Netprice based on the selection of the material number from the table control field.
Thanks in advance.
Sunil Kumar.Hi,
Try to implicate the following code to your requirement..
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
LOOP AT itab INTO wa_itab.
CHAIN.
FIELD wa_itab-item.
FIELD wa_itab-material MODULE fetch_desc_price ON CHAIN-REQUEST.
FIELD wa_itab-mat_desc.
FIELD wa_itab-price.
ENDCHAIN
MODULE modify_itab.
ENDLOOP.
Inside the module.
MODULE fetch_desc_price INPUT.
SELECT maktx FROM makt INTO itab-mat_desc
WHERE matnr = itab-material.
SELECT STPRS or resp fld from MBEW
INTO itab-price WHERE matnr = itab-material.
ENDMODULE.
MODULE modify_itab INPUT.
MODIFY itab from wa_itab INDEX <table control name>-CURRENT_LINE.
ENDMODULE. -
Hi all,
Can i have two lines in the header text of a table control.
for example:.
valid (1st line)
date time (2nd line)
(column1)(column2)
Please send ur suggestions,
Rajesh.hi rajesh,
it is not possible.
just look on ALV.
sometimes it may have that option.
rgds
anver -
Add a new field in the item table control of sales order
Hi Experts,
We have created a new custom field in Material master table. Now, they want to add the custom field from material master to the last field of item control of sales order.
Please, let me know the steps to do it.
Regards,
M.SaravananHi,
take program: SAPMV45A
take screen 8459 and add the new field.
Also add the validation in the flow logic.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10547810&messageID=3132651
Regards
Kiran -
Setting Portlet Header Widths (not region widths!)
Am having trouble with portlet headers / portlets' widths being determined by the text width.
My region widths are set yet I have noticed that when I show portlet headers the width of the portlet appears to be determined by how many text characters in the header- (not how many text characters in the portlet itself)
Is there some way I can set the portlet width (as opposed to the region width) to ensure uniformity across my site?
Any help appreciated!
Thanks
JoThe user you have responded to is totally unaware of your post as watches on threads only persist for a few weeks. Do not post follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread if it is closed
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
<li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
<li>You have no ability to mark posts as helpful or correct
Post your question as a new thread, including at least the following information:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s)
<li>Links to related posts and threads (using the methods in the FAQ)
Please read the FAQ and forum sticky threads for more information on using this forum effectively.
Update your forum with a real handle instead of "user11986803". -
ALV Layout set fields stored in Which table?
HI All,
I Developed ALV Report,and created Layout for that . I want to know where the all fields for particular layout set are stored?Hi
i am getting the error, not_found.
if i found the table entries i have 8 entries.
CALL FUNCTION 'LT_VARIANT_LOAD'
EXPORTING
I_TOOL = 'LT'
i_tabname = '1'
I_TABNAME_SLAVE =
I_DIALOG = ' '
I_USER_SPECIFIC = ' '
I_DEFAULT = 'X'
I_NO_REPTEXT_OPTIMIZE =
I_VIA_GRID =
I_FCAT_COMPLETE =
IMPORTING
E_EXIT =
ET_FIELDCAT = ttet_fieldcat[]
ET_SORT =
ET_FILTER =
changing
cs_layout = tcs_layout
ct_default_fieldcat = tct_default_fieldcat
cs_variant = GT_disvari
EXCEPTIONS
WRONG_INPUT = 1
FC_NOT_COMPLETE = 2
NOT_FOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE 'Error loading variant!' TYPE 'I'.
ENDIF.
any clue on this -
I\
Moderator message : Search for available information, discussion locked.
Message was edited by: Vinod KumarHi,
You need to create table events to do so.
Refer blog
http://wiki.sdn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS
Maybe you are looking for
-
Have been attempting to sync my iPhone 4S with iTunes using WiFi. It appears to complete the 5 or 6 syncs, but then waiting for change to be applied comes up and it never completes the sync. Waiting for changes to be applied continues for every.
-
I have 2008R2 Remote Desktop Servers with Adobe Acrobat XI pro. When a new user tries to send a pdf via email, it pops up a message "How would you like to send this email" they have to pick "Default email application (Microsoft Outlook) and Remembe
-
Calling transaction from workflow step ?
hi there, is there any business object or apab-class with which i can directly call a transaction ? i want to put in the fixed value PA71 for the transaction, and that should be started. but i can't find an OT for that ! best reg, Martin
-
Why is the new update gone?
I had the update for 24 hours, whole new layout and such and then it asked me to update something for OS and now Im back to the old format! HELP SOS HELP
-
I just purchased the adobe so I could convert pdf to word but I keep getting an error message saying trouble signing in, but I am already signed in...what's up?