About comma display

Hi,
I have a question about sap scripts.
There're three fields in the form,devided with comma.
for example:
Location:&street&,&city&,&state&
but not every fields always have data,   when &street& and &city& are empty,&state& = 'USA',result will be like this:
Location:,,USA
I want to hide the first two commas,how to deal with it.
a solution is:
If  &street& = ' '
Location:&city&,&state&
endif
but if like that ,I must write many 'if' to shown different situation.A little prolixity.
Do you have some simple methods?
Message was edited by:
        yang zou

hi Yang,
I had encounter similar situation.
Here is what I did.
Tag      SAPScript text
         Location:,,
/:         if   &street&   NE  ' '
=         &street&,
/:         endif
/:          if  &city&  NE ' '
=         &city&,
/:          endif
/:          if &state& NE ' '
=         &state&
/:         endif
= tag means the texts will be on same line as ofg 'Location' text.
and If endif will ensure they are displayed only if NOT BLANK.
Regards,
Vivek Kute.
Reward points if helps.

Similar Messages

  • I am unable to play a downloaded HD movie from iTunes. SD movies play OK. An error popped up saying something about the display not suitable for HD movies but now all I get is a blank window. I have tried changing the display resolution to no avail.

    I have sownloaded an HD movie from iTunes store and when I attempted to play it on my Windows 7 PC a error message popped up saying something about the display not being compatible for HD movies. I have tried changing the display resolution several times but it didn't help. Now it just comes up with a blank screen when I attempt to play it. SD movies work fine. I have the latest version of iTunes installed.
    Can anyone help me resolve this problem?

    Apparently the display is required to be HDCP compatible to view HD movies in iTunes. My display isn't so this is my problem. I contacted Apple support and they have agreed to credit me for the HD movie and I have now downloaded the SD version.

  • Is this a bug of Outlook 2007 about images displaying in signature?

    I've done many tests and researched on website or MS KB. But still got no solution.
    My issue is:
    I make a signature with images linking from website which can be easily accessed.
    I setup this signature in Outlook 2007, when I compose a new mail, and choose the signature I set. It won't show the images with a high percentage rate, meanwhile, I try to get into "Signature"-"Signature...", 
    Outlook2007 gets stuck, then you can not close Outlook or open Internet Explorer unless you kill the process of OUTLOOK.exe.
    1. Test are done under a clean XP system and Office 2007 standard fresh installed. Also there are some other staffs who help me test the signature that report the same issue on Office 2007.
    2. Images are rendered in 96dpi. They are all in very small size stored on website, can be easily accessed without network connctivity problem.
    3. The signature is made by simple HTML language not by Outlook signature setup wizard. but in this case,  you can ignore which method I use to create the signature. The images in signature can be displayed well in Outlook 2003 &
    2010. Also I have tried insert images using "link to file" in Outlook signature setup wizard, got same issue.
    4. Don't suggest me to store the images locally. These images should be updated after a period. You can not ask the company staffs to update these images manually by themselves. and even if the images are stored locally, the images won't be shown
    in Outlook 2007 with a high percentage rate.
    5. I've tried setup signature with or without an account profile, got same issue.
    6. I 've tried without an accout profile, just copy the signature file to Outlook signature folder, unplug the network cable, and "new mail" then load the signature, of course, the images won't be shown because network connection doesn't exist,
    and then when I try to get into "Signature"-"Signature...",  the Outlook interface also gets stuck. So I think Outlook 2007 may have some problem on detecting the network connectivity.
    7. It is not possible to upgrate the version of Office. Since Office 2007 isn't out of date and is powerful enough for us, no one want to pay more money just to avoid this issue.
    I don't know why I cannot upload a screenshot for troubleshooting. If needed. I can send a mail with screenshot attached.
    So far to now, I still get no solution, I think this is a bug of Outlook 2007, because the same signature, there is no problem on Outlook 2003 & 2010. Hope someone of MS staff can see this article and report to technical support center.
    I would appriciate anyone's kindly help but please consider that you understand what I am talking about. I don't want to waste time for each of us.
    thanks in advanced.

    What kind of problem about the display image in signature?
    How do you add the image into the message body when you send the message?
    Does it show correct through Web-based access?
    Outlook 2007 doesn't support some of Style Element, you may reference the link as below:
    http://www.campaignmonitor.com/css/
    Thanks.
    Tony Chen
    TechNet Community Support
    Thanks for your reply,  I know that some Style Elements won't be supported in Outlook, but this is not the reason.
    Please refer to my post previously, I post it but get no response.
    http://social.technet.microsoft.com/Forums/office/en-US/481170b1-f23f-4d46-9914-823326491846/is-this-a-bug-of-outlook-2007-about-images-displaying-in-signature?forum=outlook

  • Question about external displays.

    Just curious about external display use with the macbook.
    I want to link up using DVI to DVI but I recently read that my external display will only show the same as the macbook display, and that i cant use the macbook display, and the external display as two seperate screens? but i read its possible to do on the macbook pro. Is this correct?

    I don't normally use my macbook with my primary display, but I have tried it out.
    I hooked it up via vga, rather than dvi though.
    It worked fine, but defaulted to mirrored. There is an option in the settings to disable mirroring, and use the macbook as the primary and the external as the secondary.
    I haven't found any way to swap them, and have the macbook as the secondary display.
    The management of the screens was pretty cool though. You can drag and drop the screens so their relative position is set up how you want it (over/under, left/right, etc).
    hope that this helps...
    -jamie
    MacBook 2.0GHz (white)   Mac OS X (10.4.7)  

  • About table display functionalities

    Hi all,
    I have to deal with one question about table display :
    - I'd like to remove the orange color when we select a row. I tried to change the selectionChangeBehaviour properties but it only freeze the colored row to the first position.
    Does someone has an idea?
    Thank you.
    Regards

    Hi,
    If we set selectionMode property to none then it disables the lead selection. Try it once that whether it meets your requirement.
    Regards,
    Siva

  • Can anybody explain in more detail about NO-DISPLAY in selection screens..

    an anybody explain in more detail about NO-DISPLAY in selection screens.. in that it is saying
    "If you want to display a parameter only in certain cases, for example, depending on the values entered by the user in other input fields of the selection screen, you cannot use the NO- DISPLAY addition. If you use NO-DISPLAY, the parameter actually is an element of the interface for program calls, but not an element of the selection screen. As a result, you cannot make it visible using the MODIFY SCREEN statement. To hide a parameter that is an element of the selection screen, you must declare it without the NO-DISPLAY addition and suppress its display using the MODIFY SCREEN statement."
    what is the meaning of this?

    This is use a lot in programs which are submitted using the SUBMIT statement.  Say that you have a program which runs as usally with a selection screen and nornal output, but you also have some logic built in there that needs to be execute when this program is not ran by the user with the selection screen, but submitted.  You can use a PARMETER statement the selection screen and NO-DISPLAY to hide it when normal processing by the user.  You could pass a value to the parameter when it is called via the SUBMIT statement.  Does this make sense?
    Regards,
    Rich Heilman

  • HT4241 I can see a mirrored image of my laptop screen but it won't let me play videos something about my display please help

    I can see a mirrored image of my laptop screen but it won't let me play videos something about my display please help

    Can you send Messages with videos?
    Have you tried:
    iOS: Troubleshooting Messages

  • Macbook Pro C2D 15,4" on order - Should I worry about the display?

    I have ordered the new Macbook Pro C2D 15,4" and I read the numerous threads here about the display quality. I have just selled my CD Macbook Pro 15,4" so I want to ask you all here, is there a difference between the new and the previous model, or do you think that both are grainy?
    I personally found the display of the Macbook Pro CD very good and I hope that the new is at least as good as that one.

    My advice to you is check it out before you buy it. I've gone to 4 different apple stores or resellers and all the ones I've seen on display have unevenly back lit displays. You can tell the cd from the cd2 from the lighting. Its very obvious as you take a look at them side by side. You'll notice what i mean if you look at the very bottom corners of the display. There is more light coming through than the rest of the screen and this is very annoying. There also seems to be burn marks at the very corners, they are faint and gray but also noticable. In fact there seems to be a bar of light that looks like a reflection of the macbook pro, but is actually uneven lighting all the way across the bottom. Definately bad. I went through 3 17" macbook pros cd2 at the store and all 3 of them exhibited the same uneven lighting. So then i went with a 15" but that too had the same problems. I'm going to wait it out for another month or so. I love the macbook pros, but I want to spend my money on a good product.
    macbook pro 17" cd2   Mac OS X (10.4.8)  

  • In need of a mac wiz-who knows something about external displays

    Hello...
    I posted yesterday about my LG 19” Flatron LCD Monitor. I see that people have read the post, but no one seems to have an answer. Therefore, I thought I would ask again. I called apple support twice, but since my apple care expired a while back, they could only send me to articles in the support section. However, none were able to resolve the issue. There are 3 problems:
    1. When the powerbook is turned off, lid closed, etc., if I plug my VGA adaptor into the powerbook, the computer immediately turns on. Please note- I did not hit the power button and the LG monitor is turned off- only plugged into the outlet.
    2. Once the computer is on and the monitor is up and running, I cannot put the computer to sleep. The display will go to sleep for a second and then the computer will kick back on. Please note- I use my laptop at home like a desktop- the lid is closed and the computer is operating with the external display.
    3. I cannot shut down the computer when the VGA adaptor is connected to my computer.
    Concluding remarks- for some odd reason, the LG monitor is controlling the sleep and power functions of the powerbook. How can this be? Even the apple support person had no idea why the computer would turn on automatically once the VGA adaptor is connected.
    Well, thank you for your time, and I hope there is someone out there who has some advice- even software that I can download which may allow me to control the power settings to put the computer to sleep.
    Best,
    Adam

    Hi, composeras. I don't think I can shed any real light on your odd problem, but I have a couple of questions about it.
    1. When the powerbook is turned off, lid closed, etc., if I plug my VGA adaptor into the powerbook, the computer immediately turns on...
    Are you sure the computer is actually shut down when this occurs, and not just sleeping? Plugging almost anything into the PB when it's asleep will normally wake it. Plugging things in when it's really turned off certainly shouldn't, and normally doesn't.
    2. Once the computer is on and the monitor is up and running, I cannot put the computer to sleep...
    Are any USB devices connected to the computer when this happens? Nothing fouls up system sleep like some USB devices do. Disconnect all USB devices except keyboard and mouse (are those Apple-branded, by the way?) before putting the machine to sleep, and see whether that makes any difference. If a USB hub is in use, that in itself could be the culprit. Some USB devices prevent sleep completely by communicating with the OS every few seconds or minutes. If your LG monitor itself contains a USB hub, disconnect it from your PB's USB port and see whether matters improve.

  • Ideas about viewing/displaying XMP metadata from Reader ?

    Hi,
    We are using Acrobat 9 to add XMP metadata to PDF documents.
    These documents are viewed by the others employees with Acrobat Reader.
    Since "File->Properties->Advanced Metadata" and "Custom Info Panels" are not available in Reader, how can we display XMP metadata ?
    Do you know some ways or plug-ins to do this ?
    Our custom XMP metadata schema have more than 20 fields, so I don't want to put all these informations in the "Keywords" field of the document properties.
    Any idea would be greatly appreciated !
    Thank you !

    Michael... what you are describing above is not accurate.  The iPod Classic does NOT have the capability of using the "Album Artist" field from iTunes to sort music.  This particular metadata field is not even available to the iPod Classic.  Only the "Artist" field is available.  (It is the other way around with the iPod Touch, iPhone, and Ipad -- for these iOS devices, the "Album Artist" field is the one that is available, and not the "Artist" field.)  There are numerous posts here in the discussion forums from other folks who are frustrated by the same issue.  The iPod Classic can only sort and group songs together by "Artist" -- that is, the track artist.  And the track artist is often quite different from the album artist.  For example...  I have 29 different Barbra Streisand albums in iTunes.  For all of them, the album artist is "Barbra Streisand."  There are several different track artists however.  Most of them are just Barbra Streisand.  But she also does a duet or two on several albums.  So there are track artists like...  "Barbra Streisand with Kim Carnes," and "Barbra Streisand with Barry Gibb," and many more like that.  After syncing to my iPod Classic, when I sort on the iPod's "Artist" field, I get about 25 different iterations of "Barbra Streisand and .... " as the artist.  Yes, "Barbra Streisand" does appear among them.  But the only songs that are listed under "Barbra Streisand" are those that she sang by herself, and where she is the only track artist.  Given the setup of the iPod Classic as it is now, using firmware version 2.0.4, it is NOT possible to use the Album Artist field to sort and group songs together. 

  • Usage question about Default Display Value based on calculation

    Hi,
    I read on page 3-70 of the devguide about using EL for Default Display Values.
    I want to something similar as the defaultSalaray based on some kind of calculation. There is stated to store the value on the request or session (request is fine for me).
    I'm only wondering how I can put some infromation like this on the request using JHS.
    Regards,
    Marcel

    Marcel,
    This requires custom code in a JhsDataAction subclass. For example, you can overwrite method handleLifeCycle, and before calling super you can add a request attribute:
    actionContext.getHttpServletRequest().setAttribute("defaultSal","23000");
    Alternatively, if you have a business service method that calculates the default salary, you could create a separate DataAction, drag and drop this method on the data action, and add a success forward to your data page action. In the DataAction you can configure the method result location (requestScope, sessionScope). This way, you do not need to write java code.
    Steven Davelaar,
    JHeadstart Team.

  • Comma displaying in calculated number

    I have a caluclated column used to calculate a fiscal year.
    =IF(NextReleaseDate=DATE(2009,7,1),YEAR(NextReleaseDate),IF(MONTH(NextReleaseDate)<7,YEAR(NextReleaseDate),(YEAR(NextReleaseDate)+1)))
    It works, but the displayed result is less than desireable due to the addition of a comma in the number (see below for screen shot).
    I've tried having the result returned as single line text but it still returns the number with a comma in the thousands position. Trying to use the Date and Time option does not work as it attempts to return a full calendar date instead of just the year.
    If I could get the comma to not display that would be ideal. Any help is appreciated.

    Hi,
    I think you can use this function TEXT(value,format_text) in the calculated column。
    For example to format a year and remove commas: =TEXT(IF(NextReleaseDate=DATE(2009,7,1),YEAR(NextReleaseDate),IF(MONTH(NextReleaseDate)<7,YEAR(NextReleaseDate),(YEAR(NextReleaseDate)+1))),"0")
    Hope it can help you.
    Xue-Mei Chang

  • About integer display format

    Hi, I am looking for a Java class that has the suitable methods to display large integers with separating commas(325,589 instead of 325589) and have a restricted number of decimal places for decimal numbers(26.2 kilos instead of 26.233985305). Anyone can help me for that? Thanks in advance. :)

    Check the java.text.DecimalFormat class

  • Questions about Thunderbolt Display

    Hi there,
    I'm thinking about buying a 27" Thunderbolt Display to accompany my 15" Macbook Pro. Basically, the current MBP screen is a little small for some of the tasks I'm currently undertaking. The specs of my Macbook Pro are:
    - 2.3GHz i7 Quad Core
    - 8GB RAM
    - AMD Radeon HD 6750M with 1GB VRAM
    - Running the latest version of Lion.
    I was wondering if anyone can advise of the kind of performance I can expect from the 27" Thunderbolt display if it is hooked up for the following tasks that I use my computer for:
    - General day to day internet use and Microsoft Office For Mac use.
    - Editing HD movies in iMovie (and potentially at a later date, Final Cut X).
    - Recording music in Logic Studio 9.
    - Web coding in Dreamweaver CS5.
    - Photo Editing in Photoshop CS5.
    - Graphics creation in Fireworks and InDesign CS5.
    - Running a game like X Plane 10.
    - Running Bootcamp with Windows 7 and games like Flight Simulator X.
    - Running a game like Football Manager 2012.
    - Watching movies.
    Ideally I'd want to be running the above tasks in full screen mode.
    How would the MBP cope with upscaling the above tasks to the full resolution of the Thunderbolt screen, with good graphical performance on the video editing and games specifically? Ideally I'm hoping for literally no loss in quality.
    Any help with this would be greatly appreciated.
    T

    I've looked into it more and according to this (http://www.apple.com/macbookpro/specs.html) my graphics card supports an external display to the maximum of 2560 by 1600 pixels which should be enough for the Thunderbolt Display considering it's native resolution is 2560 by 1440 pixels.
    My question now is though, will the performance of things like video editing of moderate gaming be good on the TBD at full resolution?

  • Conflicting information about external display resolution - please help!

    I have a MacBook Pro (15-inch, Mid 2009) with the non-reflective screen, Mini Display Port and NVIDIA GeForce 9400M Graphics processor.
    According to these technical specifications (http://support.apple.com/kb/SP544), the built-in NVIDIA GeForce 9400M Graphics processor supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display.
    Armed with this information, I just purchased a shiny, new DELL U2711 (http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku= 224-8284&redirect=1) external display which has a resolution of 2560 x 1440. Unfortunately, all I can get out of it is 1920 x 1080 (This is the maximum resolution I can select in the monitors system preferences panel.)
    So Apple tells me this graphics card supports 2560 x 1600, but I also contacted NVIDIA directly who told me that this particular card's maximum resolution is 1920 x 1080.
    Somebody has to be wrong. Is this monitor supported? Am I doing something wrong? Do I need to send this monitor back and buy a smaller display?
    Any advice would be greatly appreciated.
    O

    Well - seeing as nobody could provide any help on this, I'll post the answer in case anybody else has the same problem.
    It turns out that the monitor's resolution IS supported by the NVIDIA GeForce 9400M, so the information NVIDIA gave me was wrong.
    The issue was the adaptor.
    A regular Mini Display > DVI adaptor can only handle a resolution of 1920 x 1080. Turns out I needed a Mini Display > DUAL LINK DVI Adapter, which is a combination of USB and DVI which provides the required resolution of 2560 x 1600.
    http://store.apple.com/us/product/MB571Z/A
    Hope this is helpful to somebody.

Maybe you are looking for

  • Password for a startup

    Tell me please, what section Bios menu sets password for a startup? System board of MSI. Chipset - Intel 915 P Combo2 BIOS version -  W71401MS v.3.1 In the main BIOS menu exist the Set Password menu, the password is set ONLY entrance to the BIOS. In

  • How do I add a repeater Airport Extreme? Need a little more range.

    Just added the new Airport Extreme to my home/office network. Since my macbook pro is a dual core and not a dual core2, I am not able to use the new "n" wireless network. Not happy. So...I need more range to hit my office which is through 3 walls. Ho

  • Error connecting Visual C# app to Oracle database

    I'm trying to write a simple web form that will display some info from an Oracle 9 database. I've downloaded the ODP for .net (the 10g version) and this allows me to set up an OracleDataProvider. However, when I try to configure this I get the follow

  • Export photo creation date

    How does one preserve the original creation date on photos exported from iPhoto?  My wife and I use different cameras and want to integrate our pictures.  The only way to do so is by creation date.  But when I export my photos from iPhoto the creatio

  • ReReplace all html tags except selected

    Folks, I'm trying to figure out how to eliminate all html tags in a string except for <img> and <a> tags. Any ideas? I've been stumped for several days. thanks, /r