Need Space Between Firstname and Last Name
Hi I am using Concat to Join First name and last name,But i need space in between...
CONCAT("Users"."First Name",' ',"Users"."Last Name")
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <,>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT CONCAT("Users"."First Name",' ',"Users"."Last Name") FROM "Usage Tracking"
I am getting this..
Similar Messages
-
Display FirstName and Last Name on change password form
Hi,
I have to display FirstName and Last Name in change password form instead of DN of the user the below syntax is displaying complete DN.
resourceAccounts.currentResourceAccount[$(name)].accountDisplayName, would appreciate if anybody can guide me on this.
ThanksHi,
For anyone searching how to do this, I've modified the Change User Password Form to contain a user's first and last names. As the User view is not accessible from this form, I added the following:
<Field name='fullname'>
<Display class='Label'>
<Property name='title' value='Full Name'/>
<Property name='value'>
<rule name='EndUserRuleLibrary:getRealName'>
<argument name='accountId' value='$(resourceAccounts.id)'/>
</rule>
</Property>
</Display>
<Disable>
<or>
<ref>answersVerified</ref>
<isnull>
<ref>resourceAccounts.id</ref>
</isnull>
</or>
</Disable>
</Field> I'm not at all sure this is the best way of accomplishing this, but I couldn't find forum search results that would allow me to display additional user attributes on this form.
Hope it helps!
Nick. -
Contact person's firstname and last name of an organization??
Hi,
how to get the contact person's name of an organization?
I have partner_guid.
Thanks in advance,
Surekha.Hello,
Just copy this short abap:
data: iv_partner type bu_partner.
data: iv_bupa_name type c length 80.
call function 'BUPA_NUMBERS_GET'
exporting iv_partner_guid = guid_you_know
importing ev_partner = iv_partner.
call function 'BUPA_GET_NAME'
exporting iv_partner = iv_partner
importing ev_partner_name = iv_bupa_name
exceptions invalid_bupa = 1.
e.g. iv_bupa_name = 'Wayne, John'
Best regards, Robert
Reward with Points! -
Need to remove the space between Menu and the Inner screen
Hi
I am using forms 10G.
In my screen there is some space is coming in between menu and the inner screen and also same in the left side as well .
So can any one tell me which parameter I need to change so that the inner screen should display just below to the menu and same for the left side as well ?Hi
Yes , If I change that then it is woring fine .
But my question is :- I have 10 forms in server , and in 2 forms I have changed some functionalty then I have FTP it to server .
Now all the forms are coming with some spaces between menu and inner screen . This is what I am little confused . -
First name and last name order in contact list
Actually, my contact list is displayed with the last name before the first name, but everything is fine in Address Book settings (I choosed "First name, Last name" option), and I checked that first name and last name has not been reversed for some reasons between two fields, the first name is right in place, as is the last name.
So changing this is AddressBook has no effect.
I tried disabling Chax, without success.
It could be possible this problem occured when I enabled Microsoft Exchange address book synchronization, (iSync reported 500+ changes in AB database, I did it anyway and noticed no problems in data after synchronization (I still have a backup :-))
One more thing , the displayed name in the iChat menu extra is correct.
So, what could possibly change this behavior I did not already check ?
Powerbook Aluminium 15" 1,2GHz | iPod | iPod Shuffle | iSight | MX900 Mac OS X (10.4.6)Hi Yann,
If you add details to the Address card in iChat as you add a Buddy then you need the first set of instructions I posted.
You nee this menu in iChat http://www.flickr.com/photos/90943061@N00/135575605/
In the second section of this menu you can sort the list.
<hr>
Ahhh. I see what you mean.
iChat does in fact always display First Name, Last Name as you say.
Adding a Buddy with the names in the reverse order to display as you want in iChat your Address book gets messed up as it is not consistent with those contacts that are not iChat Buddies.
The only work around I can see is to change all the Address Book entries to match a reverse entry in iChat and then use the Address Book option to display Last Name, First name to show them the 'correct' Fist name, Last name and have them in Last name, First name in iChat.
11:06 PM Wednesday; April 26, 2006 -
Separating 1st name and last name in contact name in a component
Hi,
I have a requirement as follows:
"while creating opportunity and after selecting the account, a pop up window prompted to choose the contact person.The form of the name has the Contactu2019s Lastname and Firstname concatenated into a field labeled u201CNameu201D.
Now we need to
--Separate the Name into First Name and Last Name"
When I checked, the pop up is the componet BTPARTNER.Can any one suggest how to achieve the above?
Thanks.
Edited by: Ginger on Apr 20, 2011 4:02 PMHi,
you can have a look at Component BTPARTNER, View PartnerSelList, Context node BTQRSPARTDET, Attribute STRUCT.NAME1 -> GET_NAME1. Here you can see how the Name field is composed and you can change the coding, for example transfer the Last Name part to another field via set_property method and keep the First Name part in this field.
Kind regards,
Carl -
How can I display the first and last name using a paramater as employee ID?
Hi SAP,
I have a parameter that is called {? Employee ID}. What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report. Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
if table.employeeid = {? Employee ID} then
table.firstname" "table.lastname
It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
Anyone have any ideas?
ZHi Try this,
Whileprintingrecords;
if ={?EmpID} then
Also check the option "Default values for null" in the formula editor.
Regards,
Vinay -
Day must be between 1 and last day of month
Hi
I have a master detail form for overtime entries.
Master Block contain emp_no,name,month etc.
Detail block contain a date field ,,from time, to time etc
when i enter the date in detail block it defaults the month from Server date and i am getting the error "Day must be between 1 and last day of ...."
The form is going to reside on server so i cant go for changing system date for that.
THe work around i am trying is i have created a dummy item in detail block for Date(dd) entry and populating my original date field on the basis of it.
so that i can get rid of last day validation of month.The datatype of dummy item is char
my code is
c_day varchar(2);
c_month varchar(2);
c_year varchar(4);
d_date varchar(8);
begin
c_day := :DETAIL.dummy;
c_month := to_char(:MASTER.month, 'mm');
c_year := to_char(:master.month, 'yyyy');
d_date := c_day||c_month||c_year;
:DETAIL.ot_date := to_date(d_date,'ddmmyyyy');
end;
I am using post change trigger on my dummy item but i am getting ORA-01840 for that.I have tried several ways but it is giving different type of date errors for that.
Any help is highly appreciatedDear try this
SELECT RUN_NUM, CV AS MONTH_DATE
FROM
SELECT ROWNUM AS RUN_NUM,TO_DATE('01-' || 'SEP' || '-' || 2007 ,'DD/MM/YYYY')+ (ROWNUM-1) CV
FROM
(SELECT 1 FROM DUAL GROUP BY CUBE (1,1,1,1,1)) A
WHERE TO_CHAR(CV,'MON-YYYY') = 'SEP-2007' -
How to maintain space between value and base unit of measure in sapscript
Hi Guys,
I am working on an upgradtion project, i have problem like while upgrading from 4.6b to 5.0. i need to main a space between value and base unit of measure. can anyone letme know how to maintain in the form. I mean in sapscript.
Thanks,
YogeshThere are a couple of ways to handle this, if you need a bigger space between, you can use tabs in the paragraph format. Or you can just write the space in between the fields like so.
ZA &MSEG-MENGE& &MSEG-MEINS&
Regards,
RIch Heilman -
ORA-01847: day of month must be between 1 and last day of month error
Hi All
When i run the following code i'm getting the error:ORA-01847: day of month must be between 1 and last day of month error
SELECT t2.owner_cat,
t1.owner_id,
stock_id,
Sum(received_amount) received_amount,
Sum(curr_amount) curr_amount,
Sum(used_amount) used_amount,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM (SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY')) t1,
dw_wms_setup_owner t2
WHERE t1.owner_id = t2.owner_id
GROUP BY t2.owner_cat,
t1.owner_id,
stock_id,
To_char(Add_months(date_work,6),'YYYY')
But when i just run the inner query:
(SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY'))
I'm not getting that error, any help please?Hi,
Like Anuraq already explained, you need to keep in mind that when you apply a to_char, you've turned your DATE datatype into a STRING and by doing that you've lost the ability to use the add_months function again in your outer query.
Using a simplified example, extracted from your example:
MHO%xe> select to_char(add_months(date_work, 6), 'yyyy') date_work
2 from ( select to_char(0) date_work
3 from dual
4 union all
5 select to_char(0) date_work
6 from dual
7 union all
8 select to_char(add_months(sysdate, 6), 'yyyy') date_work
9 from dual
10 );
select to_char(add_months(date_work, 6), 'yyyy') date_work
FOUT in regel 1:
.ORA-01847: day of month must be between 1 and last day of monthHowever, you should either do something like:
MHO%xe> select nvl(to_char(add_months(date_work, 12), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select sysdate date_work
9 from dual
10 );
DATE
0
0
2010or (less clear, more confusing):
MHO%xe> select nvl(to_char(add_months(date_work, 6), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select add_months(sysdate, 6) date_work
9 from dual
10 );
DATE
0
0
2010It's not clear to me why you're using add_months twice (inner + outer query) in your original example.
As you can see you can get the same results using it only once in your outer query. -
Search employment verification database by first and last name
hi
can anyone please tell me from which info types do i have to get the data???
this is in compensation management
thanks
sateeshSateesh,
I am assuming that you are trying to build a search help using SSN (surprised), first name and last name.
I believe for this you can just use infotyypes 2 or 3. i dont what field in those infotypes your company is using to store SSN.
I dont think you need to use any other ifoctypes like 267 etc.
Thanks, -
Getting approver first name and last name
Hi,
Im using Multi Approval sub process for sending Approval request to multiple approvers, im unable to get the first name and last name of the approver who had responded to it.Hello,
The <ref>Actual_Approver</ref> should bring you back the accountId for the actual approver for that item. Depending on how your setup is you should be able to take that information and call out to your resource and bring back that user's specific attributes. Granted your internal accountId, and your resource account Id are probably not the same so you might have to do some massaging, but you can get what you need....There should be a way to do it internally also..references the fullname attibute..but off the top of my head I can't think of a way to do that.
Hope this helps. -
The Correct Space Between You And Your Monitors
Something that always crossed my mind was the space between your monitors and where you are seated. How far exactly are you supposed to be positioned from your speakers in order to read and hear correctly. Most producers would comment that people produce in all types of environments, headphone close rang monitors, far range monitors. But what exactly is the ideal space between you and your speakers? To look into this issued even more closely each speaker is designed differently, there for you cannot look at them all equal as far as performance is concerned.
How far are you away from your speakers?dude it depends what you want
I got mine at about 1-meter to 1.5-meters at my home studio
at the big studio i've got two pairs of monitors in there and they both 1.5 meters
other people will go as far as 3-meters, in your case get abit closer as you said before that your room is not acoustically treated there for sitting too far away will give you a mix of 50% of the speakers and 50% of the room
but you need 80% of the speakers and 20% of the room
ps: don't just leave this topic alone and start another one, because its annoying when people don't if you've been help or not and they keep trying to help you
and people also don't know if you are reading your post or your just using it as an amusement forum just for fun on your lunch breaks
so please reply back and let people know if they've helped
stash -
How do I bulk edit contact's nicknames to first and last names?
i imported contacts to the contacts app and they all say "NoName".
i click on one of them and the first and last name fields are empty but the nickname field has the first and last name in it.
how can i bulk edit 1120 contacts to change the full nickname to a first and last name?
ex: "First" ~ "Last" ~ "Nickname"
"Blank" ~ "Blank" ~ "John Smith"
i want to to be:
"John" ~ "Smith"
help me create an applescript or use a program or something cuz its killing me....thanks
ohh and i used both of the following applescripts and nothing happened:
tell application "Address Book"
set all_Persons to every person in group "Test"
repeat with per_son in all_Persons
set nknm to per_son's nickname
set per_son's first name to word 1 of nknm
set per_son's last name to word -1 of nknm
end repeat
end tell
ANDDDDDD
tell application "Address Book"
set {ASTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, space}
repeat with onePerson in (get people whose nickname is not missing value)
set N to text items of (get nickname of onePerson)
tell contents of onePerson
set first name to text items 1 thru -2 of N as text
set last name to text item -1 of N as text
end tell
end repeat
set AppleScript's text item delimiters to ASTID
end tell
neither did anything...to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........
-
Space between content and logo
Playing with fluid layouts and getting a space between logo and content DIV's
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Playing with Liquid Layouts</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="container">
<div id="logo">
<h1>Welcome to Liquid Layouts</h1>
<h2 class="logo">Place your slogan here...</h2>
</div>
<div id="navigation">
<ul>
<li>Home</li>
<li>Page 1</li>
<li>Page 2</li>
<li>Page 3</li>
<li>Page 4</li>
<li>Page 5</li>
</ul>
</div>
<div id="content">
<h1>Adding this element creates a space between logo and content...</h1>
</div>
<div id="footer">
</div>
</div>
</body>
</html>
@charset "utf-8";
/* CSS Document */
body
text-align: center;
div#container
margin-left: auto;
margin-right: auto;
min-width: 600px;
max-width: 2000px;
text-align: left;
width: 85%;
div#logo h1, h3
padding-left: 20px;
margin-bottom: 0;
div#logo h2
padding-left: 35px;
margin-top: 0;
font-size: 125%;
div#logo
background-color: #F00;
width: 100%;
height: 300px;
div#navigation
background-color: #0F0;
width: 25%;
height: 600px;
float: left;
div#navigation ul
padding-left: 25%;
font-size: 150%;
list-style-type: square;
div#content
background-color: #C93;
width: 100%;
height: 600px;
margin-top: 0px;
div#footer
background-color: #69F;
height: 30px;;
.footerP
margin-top: 0px;
padding-left: 2%;
line-height: 35px;;
PICTURE:
[IMG]http://i.imgur.com/1nGUG.jpg[/IMG]The space is caused by the default margin in your H1 tag. As such, you need to define a style for H1:
h1{
margin-top:0;
padding: ??;
You can add padding to move the H1 away from the edges of the surrounding DIV.
EDIT:// An after thought. If you are "Playing with fluid layouts", you might want to consider not using heights and/or set the heights/widths in % values.
Maybe you are looking for
-
What's the level system and how does it work?
I've noticed that underneath users' nameplates and pictures, there are levels. I'm sorry if I posted this in the wrong forum, but could somebody please explain this to me?
-
Can I update my Lumia 520 to Lumia Cyan by mobile network?? Please help me. Solved! Go to Solution.
-
Yes, I know that my version is painfully outdated, but it's what I have to work with. I have Russian text which displays fine in the browser, but when the file is opened in DW, the text turns to random characters. I tried changing the Document Encodi
-
MaxL script syntax: How do I add comment lines?
How do I add comment lines to MaxL scripts? REM didn't work, ' didn't work. http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/utils/shell/syntax.htm
-
Hey there, is it possible to get custom skins to appear in design view without creating a Theme? My ultimate goal is to improve the design-time experience for a custom component that I have. The component extends SkinnableContainer and I have a skin