Display data in bold and red in color in side a table control cell
Hi,
I need to display data in side a Table Control cell with Bold and Red in color, can any body help me how to do it.
Regards,
Srinivas
The gui does not support the coloring in table controls. You can set the hightlight attribute, but this will only make the text blue in color. There is no way to make it any other color.
Regards,
Rich Heilman
Similar Messages
-
One row as editable and other row as non-editable in table control
Hi Experts,
Is this possible to make one row as editable and another row is non editable in table control?
My Requirement is
1st row non editable field
Customer code, description,amount will come from the previous screen this will be non editable for user.
2nd row editable
User has to enter the amount in 2nd row here the customer code description will be empty.
If 4 customer are there
1,3,5,7 should be non editable and 2,4,6,8 should be editable..
Pls help me in this issue..
Thanks in Advance!hI
This is a simple Module POOL program with only Table control and nothing else
" This is Tested to Enable one row and disabling the next row
in TOP Include
controls : tc type tableview using screen 100.
DATA : OK TYPE SY-UCOMM.
DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
in PBO
PROCESS BEFORE OUTPUT.
MODULE status_0100.
LOOP AT itab WITH CONTROL tc.
MODULE TC_MOD.
ENDLOOP.
in PAI
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT itab.
ENDLOOP.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'TEST'.
SET TITLEBAR 'TEST'.
DESCRIBE TABLE itab LINES tc-lines.
IF tc-lines = 0.
tc-lines = 20.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
MODULE tc_mod OUTPUT.
DATA : mod TYPE i.
LOOP AT SCREEN.
mod = tc-CURRENT_LINE MOD 2 .
IF mod = 1.
IF screen-name = 'SPFLI-CARRID'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
ENDMODULE. " TC_MOD OUTPUT
Edited by: Ramchander Krishnamraju on Jan 25, 2011 7:17 AM -
Display data in list and combo box
hi all....
how to display data from database in list and combo box? i use MYSQL...
help me please..... tq...1 - Write a query to retrieve the data you want from database
2 - In a servlet, connect to database, Run the query, scroll through the result set and put the data into a list of Java Objects.
3 - Set a request/session attribute of that list of objects
4 - Forward to JSP
5 - In JSP, create a <select> box, and then use a <c:forEach> loop to generate <option> tags from the list. -
How to display date on homescreen and not the prof...
I've been looking around at theme and noticed pretty much all of them have the date displayed on the homescreen and no profile type name either?
thanks for any help
Solved!
Go to Solution.as i know , the only way to show date is by using general profile and no other way
-you can show appreciation to my posts if it helped or useful by pressing the green Kudo star beside my post that hepled
-if my answer was the solution , so click accept as solution button
Started From Nokia 3310 , Now with Nokia N97 v.22.0.110 + N900 PR1.2 -
How to color the records in table control.
Hi,
I have created a table control in which i want to add colors to it.
It is possible in reporting,but is it possible in table control.You can do it,
Just follow the code,...
In PBO...
PROCESS BEFORE OUTPUT.
MODULE STATUS.
LOOP WITH CONTROL TABCTRL.
MODULE MODIFY_100.
ENDLOOP.
MODULE MODIFY_100 OUTPUT.
DATA wa_tabctrl TYPE cxtab_column .
LOOP AT TABCTRL-COLS INTO WA_TABCTRL.
IF WA_TABCTRL-INDEX = '1'. "1- Your Respective Field Column's index
WA_TABCTRL-SCREEN-COLOR = '2'. "Give your colour
MODIFY TABCTRL-COLS FROM WA_TABCTRL.
ENDIF.
ENDLOOP.
ENDMODULE. -
Export all data of selected line in search help to fields in table control
I've created a search help which will export 4 fields. These 4 fields should be populated to the corresponding fields in TABLE CONTROL. However, in my program, only the first column is populated and the others are blank. How to solve this problem? Do I need to include POV? Thank you.
Hi,
1. Create a search help with four exporting parameters.
( check the you have created properly the sterp step
procedure in creating the search help).
2. No need to go for POV.
3. After creating the table control assign the fieldnames into
the control, then click on the fieldname it will show the
attributes of that field . ther you can find te search help field
fill that field with your search help name .
4.After assigning the field, check it in executing the report.
Hope this will work for you, if it is not let me know.
Reward points if it is helpful .
Regards,
Madhavi -
T61 display artifacts (blue stripes and red shadowing), external monitor is fine
Hello everyone!
I have a Lenovo T61 laptop that's just (in March) ran out warranty and obviously developed peculiar single-pixel-level artefacts. Now I know that these kind of problems are generally solved by buying a new laptop, but I'm not convinced that this isn't a software problem. Given below are my observations, so, engineering minds, let's unite and please help me solve this.
Relevant specs:
OS: Windows XP SP3 & Ubuntu 11.04
GPU: Nvidia Quadro NVS 140M (version 266.58)
TFT Panel: 1440x900
The big problem:
White display areas have every other column in cyan (Image A), black areas have red shadowing (Image B). The artefacts are present in both OS and in the BIOS screen as well (which is really bad, I know). Red and cyan is both due to the red channel, so we can narrow this down, other colours are displayed fine.
The PECULIARITY of this artefact is that it is only present for:
Cyan columns - pixel values above 247
Red shadowing - pixel values below 4 (And I mean EXACTLY those values, value of 4 - no artefacts, value of 5 - completely unbearable. See Image C, where this display is photographed while showing two patterns with only that slight variation is pixel values. Patterns are attached as D)
Middle gray (value 127) causes flickering, while 128 is perfectly fine.
Solutions tried so far:
Reinstalling GPU drivers - no avail
Setting display contrast to < 35% in Nvidia control panel - artefacts dissappear nearly completely.
I've never heard of such a thing, but since the causing values are so exact I can't believe that this is just fried panel or a broken cable.
So what do You think?
Regards,
LukasWelcome to the forum!
Your GPU is failing.
Lenovo might or might not fix it, although it's out of warranty. They are *extremely* well-aware of the problem that plagued these chips.
Reading related threads here or on Bill Morrow's ThinkPad Forum will reveals hundreds - if not thousands - of similar cases...
Good luck.
Cheers,
George
In daily use: R60F, R500F, T61, T410
Collecting dust: T60
Enjoying retirement: A31p, T42p,
Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you. -
Display is off-center and mostly without color
The laptop display usually works perfectly but there are a couple of events that cause the screen to have issues for some time (usually less than 5 minutes). This happens quite frequently when the computer is restarted and I first log in, or the laptop is removed from the docking station (which connects it to a second monitor).
The Intel HD Graphics 300 driver has been deleted and reinstalled multiple times to no improvement, using first the driver from HP and then using the Intel Driver Update Utility.
It always has the same problems: pushed left and wrapped around, with most color in a single column. Picture of screen when the issue is happening:Hmmm, 2mm is a pretty big offset when you come to think about it.
Apple's been trumpeting their new manufacturing process with tighter tolerances on these new Macbooks/MBP's. Maybe so, but based on the number of posts here already, it appears that their quality control is subpar.
Having said that, I suppose it's business as usual for early adopters of Apple hardware. Last time I got burned on Apple hardware was with my MDD G4's leafblower loud fans.
Despite that negative experience, I'm waiting for my CTO 2.8 MBP to arrive this week. I made the leap of faith and switched from Thinkpads. I hope it won't have any issues. -
SAP MMC does not start and red in color
Hi Gurus,
We are in a process of installing EhP4 and there were lots of errors. We reverted back to old version.
After moving back to old state i.e., EhP3, system does not start.
1. SAPosCol does not start acutomatically in the service
2. sapmmc does not show database details
3. When I try to start the server through SAPMMC, all esmart03 0, esmart03 1 turns to red.
Please let me know how i can fix this problem.
I want to post screen shot, but i am not sure how i can post the same here.
Thanks in advance.
Regards
ShreeshailThanks Sunny for your reply.
We had taken system system backup (complete "E" drive) where SAP server is installed. I had to stop EhP4 process as we got a requirement to bringup NWBC.
We restored the "E" drive content and then restarted the SAP server.
After that servies did not start and MMC does not show up Database details.
Do i need to create services and MMC to fix the issues??
Thanks in advance.
Regards
Shreeshail -
Displaying datas of each and evey request in the data target
Hi All,
Can we display the datas of a single request alone in the data targets such as DSO, Cube, etc.,
If yes please let me know the procedure.
Thanks in advance.
Regards
GeethaYou can do that,
for DSO - se16 -> give the change log table name of the DSO (here change log data of the dso should not be delteted)
cube - listcube -> give the request number ( here that particular request should not be compressed)
If it satisfied above conditions you can display that particular request. -
How to retrieve the data from Website and Upload it in SAP table?
Dear ABAPers,
I want to retrieve the data from website and upload the same in SAP Database Table is that possible.Please help me.It is very Urgent.
Thanks & Regards,
Ashok.Dear Abhishek,
Thanks for your reply.But my requirement is not met.
If i execute the program it should retrieve the data from particular website.
Thanks & Regards,
Ashok. -
How to update and retrieve the table control entries and field entries.
Hello everyone,
i have a requirement,
i have company code , plant, fiscal year, posting period fields in the selection screen and then below that i have a table control which contains 4 fields invoice no., check number, check date and amount.
i have to enter the values and when i press SAVE button , these values have to update in a custom table which i had created.
please send me the coding how to do this object.
will be rewarded.
thanks in advance.Hi Suresh
this is actual requirement
in the CAT2.
1. Add a new column for WBS description and derive the value as per the FS
2. Retrieve project number and description and update in the column specified
3. When a service order is selected it should do the same for 2.
4. Finally repeat for the worklist view (which is the section above)
here i am able to display values at data entry area
for service order and network but not worklist area ?
updation is not coming, can u plz go throw it..
Thanks
Chinna -
How to show data through table control
Hi Experts,
I have created an table control through wizard using table EKKO.
I have to populate one internal table( type ekko ), and then show it in output through table control.
Please advise, how to do that and in where i have to write the codes.
I will reward points for every suggestion
Thanks in advance.
regardshi saubrab,
This is kiran kumar.G.I am sending some sample code to populate data into table control check it once.
i will give input in 100 screen. and display table control in 200 screen.check it once once ..ok....
SE38 :(CODE)
*& Module pool YMODULEPOOL_TABLECONTROL1 *
*& DEVELOPER : KIRAN KUMAR.G *
*& PURPOSE : TABLE CONTROL DEMO *
*& CREATION DT : 17/12/2007 *
*& T.CODE : YMODTABLECONTROL1 *
*& REQUEST : ERPK900035 *
PROGRAM ymodulepool_tablecontrol1.
Tables
TABLES: yvbap, "Sales Document: Item Data
vbak. "Sales Document: Header Data
Controls
CONTROLS: my_table TYPE TABLEVIEW USING SCREEN 200.
Global Variables
DATA: gv_lines TYPE i,
gv_lines1 type i,
gv_temp type i,
gv_flag(20) TYPE c VALUE 'DISP',
gv_mode1 TYPE c,
gv_mode TYPE c VALUE 'C'. " C: Change, D :Display
Internal Table
DATA: BEGIN OF gt_item OCCURS 0,
vbeln LIKE vbap-vbeln, "Sales Document Number
posnr LIKE vbap-posnr, "Sales Document Item
matnr LIKE vbap-matnr, "Material Number
matkl LIKE vbap-matkl, "Material Group
arktx LIKE vbap-arktx, "Short Text for Sales Order Item
cflag, "Deletion Indicator
END OF gt_item.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'ZTABLECONTROL' OF PROGRAM 'YMODULEPOOL_TABLECONTROL'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'DISP'.
SELECT single vbeln
erdat
angdt
bnddt
FROM vbak
INTO (vbak-vbeln,vbak-erdat,
vbak-angdt,vbak-bnddt)
WHERE vbeln = vbak-vbeln.
IF sy-subrc EQ 0.
*Fetch the table control data and place them in Internal Table
SELECT vbeln
posnr
matnr
matkl
arktx
FROM yvbap
INTO TABLE gt_item
WHERE vbeln = vbak-vbeln.
IF sy-subrc EQ 0.
*NO OF line in the Internal Table
DESCRIBE TABLE gt_item LINES gv_lines.
my_table-lines = gv_lines + 20.
ENDIF.
ENDIF.
*Call Screen 200.
SET SCREEN 200.
WHEN 'EXIT' OR 'BACK' OR 'CANCEL'.
*Exit from the Program
CALL TRANSACTION 'SESSION_MANAGER'.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
module STATUS_0200 output.
SET PF-STATUS 'ZTABLECONTROL1'.
endmodule. " STATUS_0200 OUTPU
*& Module copy_data OUTPUT
text
module copy_data output.
*Fetch the current line data from the Table control
read table gt_item index my_table-current_line.
if sy-subrc eq 0.
*Populating data into screen fields
gt_item-vbeln = gt_item-vbeln.
gt_item-posnr = gt_item-posnr.
gt_item-matnr = gt_item-matnr.
gt_item-matkl = gt_item-matkl.
gt_item-arktx = gt_item-arktx.
endif.
SE51:CODE (SCREEN 100)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
SE51 :CODE (SCREEN 200)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0200.
loop at gt_item with control my_table cursor my_table-current_line.
module copy_data.
endloop.
PROCESS AFTER INPUT.
loop at gt_item.
MODULE USER_COMMAND_0200.
endloop.
HAVE A NICE DAY..
Award points if helpful,kiran kumar.G -
Table control enable and disable rows
Hi,
I want to keep the table control in disabled mode initially.
When user press the add button,the row next to where data is already present should alone be enabled for data entry.
In PBO event i was able to disable the entire table control.but when i could not find a way to identify the first blank line to enable it for data entry.
Please help.
Thanks
AmbilyHi Ambily,
follow the below steps
declare a data : w_flag type c. in the global
and next write the code the PBO
PROCESS BEFORE OUTPUT.
* Module screen GUI-Screen&Status and Screen Logic
MODULE status_<Screennum>.
* Table control for OUTPUT
LOOP AT <table-control> .
MODULE Modify_screen.
ENDLOOP.
Module modify_screen output.
* Table control reading values from input screen & displaying on screen
READ TABLE <table> INDEX <tablecontrol>-current_line.
If w_flag is initial.
LOOP AT SCREEN.
IF screen-name = <Tablecontrol Line>.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
wndif.
Endmodule.
"next in PAI mark the w_flag to 'X'
Prabhudas -
Custom Color required to table control in Standard transaction
Hi Expers,
I required to populate a table control row with custom color/s. The table control is belongs to SAP Standard transaction MF50.
Can you please suggest.
Thanks,
PrasadHello Madhu,
As indicated by u have have asked for the access key and have added a field. Where have u added this field. Secondly in which table are u going to update this material field once it starts getting displayed. Also have u put in code in ur PBO and PAI for the same. Please respond to the questions so that we can provide u with better option.
Maybe you are looking for
-
Difference in Stock account , Custom clearing account
Hi All. I found the amount difference issue when GR document is reversed. The background is as follows. 1. Material is procured from import vendor for which PO order currency is CNY. 2. The conditions maintained in PO are indian standard customes con
-
Directory manager resource question
Folks, On page 273 on the Iplanet DS Admin Guide it says that the directory manager receives unlimited resources by default. Using Dirsync, I get limits on look throughs and size limits. Also, from the console, the DM can only display 5000 entries (i
-
How to download Oracle 10g Dev.Suite Patch
Hi, I need to download How to download: Oracle 10g Dev.Suite Patch for WindowsXP SP3 32-bit for Developer Suite 10g. Direct link to the download would be appreciated. With regards, MOHAMMED AJAZ.
-
Billing doc type - Accounting doc type link
Gurus, I would like to know where is the setting for billing document to accounting document. eg. I need accounting document type ZX for regular billing and ZY for rebates. Where can I do this in SAP. Can you please help Thanks
-
Plant code like with CDHDR and CDPOS
Hi Expert I have created a report to see the changes made for the following document from CDHDR and CDPOS tables and cluster respectively I want to know where I can find the Plant code in these above tables and if so how can i link with the above tab