How to get different fonts in basic list
how to get different fonts letters like bold italic etc in basic list
Hi,
1. ... COLOR n [ON] or ... COLOR OFF
2. ... INTENSIFIED [ON] or ... INTENSIFIED OFF
3. ... INVERSE [ON] or ... INVERSE OFF
4. ... HOTSPOT [ON] or ... HOTSPOT OFF
5. ... INPUT [ON] or ... INPUT OFF
6. ... FRAMES [ON] or ... FRAMES OFF
7. ... RESET
Effect
Sets or modifies the valid output format for list output statements (WRITE, ULINE).
The formats set by FORMAT are effective from the next output operation to the list, i.e. from the next WRITE command or from the next new line.
The addition ON for switching on the relevant output format is optional.
You can also set the static additions ON, OFF and n (for COLOR) dynamically with = var (for further information, see end of this documentation).
Regards,
Sruthi
Similar Messages
-
Qry:How to get different price for each price list (variable area) in order
1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
2- I add a location store from a table in line item and I want to see this area in order,.
I 'm created 2 field location(item line and order), 1 table location
I tried this for exemple : select $ [userfieldlocation.OITW]Thanks Suda for your answer,
the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,
I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
read carefully and imagine how (Management warehouse locations)
I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data line and an ather user field 'U_Location' in sales order
I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
or
create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
I think we will use all these tables
@LOCATION
PDN1
OITM
OITW
OWHS
RDR1
Juste a another question : where you found this and What is: ' 38.1.0 '
Is it in document (System information):Item=38 Pane=1 ??
Thanks,
Ouchen -
How to get actual value from LOV list
Like Subject says: How to get actual value from LOV list. Any help will be appreciated.
Thanks.Thanks Shay, I did it with bind variable because I'm not using JSF. Is there any chance to post solution using standard JSTL or HTML expression. I have something like this: LOV displays some Companies names:
<html:select property="UserJobCompanyId"
disabled="${!bindings[\'UserJobCompanyId\'].updateable}"
onchange="submitform();">
<html:optionsCollection label="prompt" value="index" property="UserJobCompanyId.displayData"/>
</html:select>and I want to get CompanyID of selected Company.
Thanks, again. -
How to get the Ap credit memo list?
Dear Experts,
Could you tell me how to get the AP credit memo list?
Is it standard report ?
Thanks!
XinlingHi,
Go to transaction code FB03 and do following steps :
1. Click on
2. Click on
3. Next Screen
Double Click on Transaction Code if it is not Green
4. Next Screen
Enter the transaction code through which you are generating Credit Memo or click on Multiple Selections in case you are using more than one.
5. Execute
Regards,
Tejas -
How to set different font for a particular row in jtables?
How to set different font size and font type for a particular row in jtable?
More than enough sample code here:
[http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]
db -
I excluded iphone from controls in Keynote. How I get it back on the list to use Keynote remote?
Welcome to the Apple Community.
If you haven't turned find my phone off on the device, it should just reappear next time it is connected to an appropriate network. If you have turned off find my phone, turn it back on. -
How to display different fonts in same indicator in labVIEW
hi
i want to know how to display different fonts in same string indicator at run time in labVIEW 8.2
Regards
Abhishek VermaHi ABHI VERMA,
see this http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16
Mike -
Can't figure how to get larger fonts in terminal
I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports can I get larger font on my terminal when in XFCE?
Thanks in advance,
Davenaperdave wrote:I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports...
I too have experienced the "agony of defeat" with fonts and xterm. Here is how I use to launch my xterm:
xterm -fa "andale:size=18" -bg black -fg white -geometry 80x25 -tn xterm-color -sl 1000
* The key is the "size" parameter after the font (fa)mily name. I was using True Type fonts and was using "andale" in this case. I believe the size field should be applicable to whichever font you choose. Alternatively, I believe you can pass the "-fs" option to xterm to accomplish the same thing as ":size".
For example,
xterm -fa "andale" -fs "18"
will accomplish the same text size as in the first example. Just try different font size (fs) values, and see which values will actually scale for that font.
One caveat, I believe the "fa" option for xterm is limited to the freetype library fonts. -
How to get different sum value by different types of record in sql server
Hi,I have my query result like below
AppID LabType DiaType LabPrice DiaPrice
1
a
b 100 1000
1 a
cc 100 1000
1
aa b 100 1000
1 aa cc
100 1000
1
aaa b 100 1000
1 aaa cc 100
1000
from this query
select
app.AppointmentId,
lr.LabPrice,
lt.LabCategoryType,
drt.DiagnosisReportType,
dr.DiaPrice as diaprice,
from Appointment app
left join DiagnosisReport dr on app.AppointmentId=dr.AppointmentId
left join DiagnosisReportType drt on dr.DiagnosisReportTypeId=drt.DiagnosisReportTypeId
left join LabCategoryReport lr on lr.AppointmentId=app.AppointmentId
left join LabCategoryType lt on lt.LabCategoryTypeId=lr.LabCategoryTypeId
where app.DeleteStatus='N'
and app.AppointmentId='MLM-Appointment-60314748311012015'
and dr.DeleteStatus='N'
and lr.DeleteStatus='N'
But I want following one line result by getting two sum result for 3 different types of Lab and 2 different
type of Dia.
AppID LabPrice DiaPrice
1 300 2000
Please, can anyone give me any idea or help how to get only one record query result.
Thanks in advanced.
SupermanPlease follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You failed. You should follow ISO-8601 rules for displaying temporal
data. We need to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for:
https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
>> I have my query result like below <<
So you show us a result and expect that we can guess! Wow! We are magical! Did you ever read Douglas Adams? The answer is 42! Now find
the question.
Also, you have things like “lab_category_type” in this code. Is it a category or a type? In a valid data model that follow ISO-11179 rules you could have a “lab_category” or “lab_type” but never a mixed hybrid. In one of my books, I had something like “lab_category_type_id”
as a joke; it was so stinking awful that I never dreamed any programmer would really do this!
Also OUTER JOINs a rare in a valid schema. A good design will have DRI so you know you have matches. Since a table is a set, their names are plural or collective; but you have only one appointment according to your unseen DDL. And only one “Diagnosis_Report”,
etc.
Now think about “Lab_Category_Types” as a table. Regardless of how this ambiguous mess is resolved, it will be an attribute. An attribute is in a column, not an entity like you are modeling it. If it has a few static values then use a CHECK( x IN (..)) constraint.
If it is dynamic or large, then use a REFERENCES. Never use a join like this.
That silly, magical “delete_status” looks like an assembly language flag. This is what we did with tape files in the 1950's. We would have a bit in the front of records and flip it. Later a program would move the active records to a new tape. Ask yourself
why everything in the universe would share a common attribute. Such an attribute would be so generic as to be useless or (your case) it would be meta data and not part of the entity at all. Oh, rows are not records; you got that wrong too.
Why do you keep prices in integers? Currency is decimal. Sure wish we had DDL. My guess is that this should look more like this simpler, faster query.
SELECT APP.appointment_id,
LT.lab_type, LR.lab_price,
DRT.diagnosis_type, DR.diagnosis_price
FROM Appointments AS APP
LEFT OUTER JOIN
(SELECT appointment_id, diagnosis_type,
SUM(diagnosis_price) AS diagnosis_price_tot
FROM Diagnosis_Reports AS DR
GROUP BY appointment_id, diagnosis_type)
AS DR
ON APP.appointment_id = DR.appointment_id
LEFT OUTER JOIN
(SELECT appointment_id, lab_type, SUM(lab_price)lab_price_tot
FROM Lab_Reports
GROUP BY appointment_id, lab_type)
AS LR
ON APP.appointment_id = LR.appointment_id
WHERE APP.appointment_id = 'MLM-APPOINTMENT-60314748311012015';
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to get the font name?
Hi i used the following code to find the font in illustrator cs3. but somewhere it exits the loop.
Please some one guide me.
AIArtHandle path=NULL,line;
short artType; AILayerHandle layer;
ADMItemRef ItemRef, FontListRef;
ADMListRef theItemList, FontList;
short ccount;int l, i;
AIErr error;
long count, FontCount;
char buf[250],fonttext[500];
short forfont;
AIFontStyle faceStyle;
AIFontKey fontKey;
int idx;
ADMEntryRef entry;
AIArtHandle textPath=NULL;
AIArtSet artSet;
long numLayers;
unsigned char title[150];
strcpy(ArtAssess.FontList,"\0");
error = sAILayer->CountLayers( &numLayers );
ItemRef = sADMDialog->GetItem(g->qcGuide , lstDifferences);
theItemList = sADMItem->GetList(ItemRef);
FontListRef = sADMDialog->GetItem(g->qcCheckDialog , lst_FontsTo);
FontList = sADMItem->GetList(FontListRef);
//for ( int q = 0; q< numLayers; q++ )
for (int q = numLayers-1;q >= 0; q-- )
error = sAILayer->GetNthLayer( q, &layer ); //extracting layer by layer
sprintf(buf,"%d",q);
MessageBox(NULL,buf,"q",0);
error = sAILayer->GetLayerTitle( layer, title );
if(strstr((char*)title,"SCAN")==0 && strstr((char*)title,"Bounding Box")==0)
error=sAIArtSet->NewArtSet(&artSet);
error=sAIArtSet->LayerArtSet (layer,artSet );
error=sAIArtSet->CountArtSet (artSet, &count );
FontCount = sADMList->NumberOfEntries( FontList );
int fontfound=0;
for(long j=0;j<count;j++)
error=sAIArtSet->IndexArtSet (artSet,j,&path );
error = sAIArt->GetArtType(path,&artType);
if (artType==kTextFrameArt)
//char buf[250];
AIPathStyle style;
AIPathStyleMap styleMap;
long index;
TextRangesRef selRef;
TextRangeRef textRange;
sAITextFrame->GetATETextRange(path,&textRange);
if ( error ) throw( error );
ITextRange itext( textRange );
ICharFeatures features=itext.GetUniqueCharFeatures();
bool isValid = false;
IFont textfont=features.GetFont(&isValid);
FontRef FntRef=textfont.GetRef();
sAIFont->FontKeyFromFont(FntRef,&fontKey);
MessageBox(NULL,"Fonts","2",0);
//sAIFont->GetFullFontName(fontKey,fonttext,forfont);
sAIFont->GetUserFontName(fontKey,fonttext,forfont);
//sAIFont->GetFullFontName(fontKey,fonttext,forfont);
sprintf(buf,"%s",(char*)fonttext);
MessageBox(NULL,buf,"Font Name",0);
bool Exists=CheckIfValueExists(ArtAssess.FontList,buf);
if (Exists==false)
strcat(ArtAssess.FontList,buf);
MessageBox(NULL,ArtAssess.FontList,"Fonts Used",0);
strcat(ArtAssess.FontList,";");
Exists=true;
MessageBox(NULL,"End font","",0);
return kNoErr;When dealing with text frames that contain multiple styles such as different fonts, kerning or point sizes etc. You need to split the text frame into text runs.
Using an ITextRunsIterator you can essentially split the text frame into a list of uniquely-styled text ranges.
AIArtSet artSet;
long artCount = 0L;
AIArtSpec spec = {kTextFrameArt,kArtHidden,0 };
sAIArtSet->NewArtSet(&artSet);
sAIArtSet->MatchingArtSet(&spec, 1, artSet)
sAIArtSet->CountArtSet(artSet,&artCount);
for (int index = 0; index < artCount ++index)
TextRangeRef trRef = NULL;
AIArtHandle art = NULL;
sAIArtSet->IndexArtSet(artSet,index,&art);
sAITextFrame->GetATETextRange(art,&trRef);
ATE::ITextRange textRange(trRef);
ATE::ITextRunsIterator textRunsIterator(textRange.GetTextRunsIterator());
while (textRunsIterator.IsNotDone())
// All of the text in this text range will have the same stylistic attributes
ATE::ITextRange range(textRunsIterator.Item());
// Get your character features etc here.
textRunsIterator.Next(); -
How to get multiple values from the list
I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
<% // clicked on Select District Button
Vector vselectedDistrict = new Vector();
Vector vdistrictID = new Vector();
String tmpSelectDistrict = "";
tmpSelectDistrict = request.getParameter("bSelectDistrict");
if(tmpSelectDistrict != null)
// get multiple values from the list
String[] selectedDistrict = request.getParameterValues("usrTDistrict");
vselectedDistrict.clear();
vdistrictID.clear();
if((selectedDistrict != null) && (selectedDistrict.length != 0))
for(int i=0;i<selectedDistrict.length;i++)
vselectedDistrict.addElement(selectedDistrict);
vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
for(int i=0;i<vdistrictID.size();i++)
out.println("district = " + selectedDistrict[i]); out.println("district ID= " + vdistrictID.get(i).toString());
%>
// get vdistrict from the database here......
<select name="usrTDistrict" size="5" multiple>
<% for(int i = 0; i< vdistrict.size(); i++)
%>
<option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
<%
%>
</select>
<input type="submit" name="bSelectDistrict" value="Select District">
Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
what I got is this error message:
org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
So where is going wrong and what the message means?. Any help very much appreciated. ThanksThese are just guesses that might hopefully steer you in directions you haven't looked in yet.
I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
expects a Vector as its second parameter? And returns a Vector?
I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector? -
How to get multiple selected fields in list
Hello all,
I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
Thankx..i want to put the selected fields of list in an array through AS3....
actually......i figured it out how to do that...........
Its simple......use
list.selectedItems[index]
and to get the number of items selected......
list.selectedItems.length
simple..... -
How to get USB device in the list of VISA resource Name field of VISA Open VI
I have followed the below tutorial to communicate with my device using USB port. But i didn't get the name of the USB port in Measurement & Automation Explorer devices list. How to get it? Can anyone suggest something?
http://zone.ni.com/devzone/cda/tut/p/id/4478
Solved!
Go to Solution.Hi kimhyun,
I have attempted this.But succeeded.I used pendrive as my USB device.my sugesstion is you don't disconnect your device at any point of your work.Check the device is connected properly.IF your system has recognized your device,you can view the device in control panel>>Device Manager>>Then open your particular device from the list of connected device then Details>>device description>>Hardware Ids>>Then you can find your vendor id there.
Try this.I think your device is loosly connected.Which USB device are you using??Also you must install THE DRIVER OF YOUR USB DEVICE.
GOOD LUCK
Thanks as kudos only -
ECC6.0 t-code COOIS - how to get the "Profile" select-option list
Hi PP Gurus
We are implementing ECC6.0
We upgraded one of the systems from 4.7 to ECC6.0 (and also kept data: documents, users profiles, variants,u2026etc).
My question is regarding standard transaction COOIS.
I do comparison in current 4.7 and ECC6.0 systems (I have SAP_ALL and SAP_NEW in both systems).
The thing is that in our ECC6.0 system the transaction COOIS doesnu2019t display Profile on select-options screen.
There are only the following items (select-option screen of COOIS in ECC6.0):
-LIST
-LAYOUT
-Prod.orders checkbox
-Planned orders checkbox
u2026And u2018Selectionu2019 tab with other fields
In the current Enterprise 4.7 system the transaction COOIS displays the following select-option screen:
-LIST
-PROFILE
-LAYOUT
-Prod.orders checkbox
-Planned orders checkbox
u2026And u2018Selectionu2019 tab with other fields
Questions:
1. Is that possible to maintain / see and select a PROFILE in COOIS of ECC6 (or due to new functionality it no more available on that screen ?) How to do that?
2. Looking at layouts (I ran COOIS in two systems and compared the results) I canu2019s see in ECC6.0 some icons like u2018Refreshu2019, u2018Order logu2019, u2018Display order componentsu2019, u2018Long textu2019 , u2026.) But all of them are in 4.7 layout. How to get them in ECC6.0 ?
What I have already explored:
u2022 ECC6.0 has a new config. t-code COISN (4.7 has only COIS) . I created my new overall profile there, set my own layout, but running COOIS still canu2019t see/use the PROFILE;
u2022 I have compared the standard structure PPIO_ENTRY_SC1100 in 4.7 and ECC6.0 and found the new component COIS_LISTTYP in ECC6.0. In this situation I ran a new t-code u201CDefine New List Typesu201D (it doesnu2019t exist in 4.7) and created my new entry, but still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
u2022 I also tried situation when both config. transaction COIS (in 4.7 and ECC6.0) had the SAME overall profiles u2013 still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
u2022 I found a new icon u201CNavigation profileu201D in result layout of COOIS ECC6.0 Is that right place where I can maintain the icons I need (see my second question) ?
THANK YOU.Hi,
The reports are modified if am right as of ECC 5.0. Refer to note - 747469 which gives a list of all reports modified.
If am right by profile you mean navigation profile, this is now in the display screen. The content remains, only thing is the layout is modified & more structured. So i would suggest you to have a look around in COOIS report & you will find the info.
The navigation profile is adjacent to the icon called Environment (its a drop down list).
Revert if you face any issues.
Regards,
Vivek -
How to get the variants for LAV LIST or GRID?
Hi,
How to get the variants which are stored in table like JVSO1, using function module REUSE_ALV_VARIANT_F4 ?
Thanks.Hi,
Delcare
DATA : st_variant TYPE disvariant, "Work area for variant
st_variant1 TYPE disvariant. "Work area for variant
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-041.
PARAMETERS : p_varnt TYPE disvariant-variant MODIF ID md8. "Variant
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varnt.
*--Local Variables
DATA: l_exit(1) TYPE c. "ALV exit
*--Call the function module to display the list of Variants
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = st_variant
i_save = c_save
IMPORTING
e_exit = l_exit
es_variant = st_variant1
EXCEPTIONS
not_found = 1
program_error = 2.
*--Check Subrc
IF sy-subrc <> 2 AND l_exit IS INITIAL.
p_varnt = st_variant1-variant.
ENDIF.
start-of-selection.
IF NOT p_varnt IS INITIAL.
CLEAR st_variant1.
MOVE st_variant TO st_variant1.
MOVE p_varnt TO st_variant1-variant.
*--Call the function module to check the variant exist
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = c_save
CHANGING
cs_variant = st_variant1.
st_variant = st_variant1.
ENDIF.
DATA : lv_repid TYPE sy-repid.
*--Pass the Report name
lv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = lv_repid
it_fieldcat = it_fcat
is_variant = st_variant
it_events = it_events
i_save = 'A'
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = it_zsd_ra
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e368(00) WITH 'Alv Display failed'(044) .
ENDIF.
regards,
Prashant
Maybe you are looking for
-
Problem with BSOD and awvid5.dll
Hi all, Need help urgently.... My computer keeps crashing when playing any type of file that is Quicktime related or uses Quicktime as a base for the player. This happens when I view mov files in Firefox, try to transfer movies into my iPod Touch usi
-
A paying customer who's fed up with your 'customer service'
Let me see - I'm paying customer trying to renew a subscription that was a reduced rate (hence why I'm not doing it online) - and sometimes I actually want to speak to a human being for a sales transaction. I'm also a customer who's purchased your p
-
Uninstalling Trial Version of Elements 9 for Mac
Hi. I know that Elements 9 for Mac just came out yesterday, but I decided to download the trial. I have a paid version of Elements 8 and I'm probably not going to upgrade soon but I wanted to check out Elements 9's new spot healing brush. Anyway, the
-
My audit database getting too large
Post Author: amr_foci CA Forum: Administration my audit database getting too large, how i reset it?
-
I need help in forwarding an RTP audio stream from one client to another.I know i need to create a datasource from the newReceicveStream event and use it as the ds for the processor in transmitter but i have not had success.Can people help me with th