Getting Line Space in between statements

Hi ,
Line1<?field1?>
Line2<?field2?>
Line3<?xdoxslt:ifelse(Field3!='',field4,field5)?>
Line4<?Filed6?>
During runtime in RTF template getting space in between lines.In above statement at line 3 getting space if field3 is not null and field 4 is Null.
Output in RTF template as below:
field1(value)
field2(Vlaue)
SPACE
field6(value)
Please advice how to avoid spaces if the value is null in ifelse statement.
tried byusing @inlines in ifelse.. getting error message.. will @inlines support in ifelse statement.
Thanks
-Ghanta

Hi
Tried following statment but i am getting space inbetween lines if Contactaddress is Null.
<?if@inlines:(ContactFirstLastName!=''and ContactAddress!='') or PrimaryAccountAddr!=''?><?xdoxslt:ifelse(ContactFirstLastName!='',ContactAddress,PrimaryAccountAddr)?><?end if?>
Is anything wrong in above statement.
Thanks
-Sri

Similar Messages

  • Table to see the link between line items on bank statement to customer invo

    table to see the link between line items on bank statement to customer invoices

    Hi,
    There is no link from VBRP to BSEG directly.
    This is because the data in BSEG is posted to various accounts and the VBRP is usually for a Sales Order or Delivery.
    However there is a link from BKPF to VBRK and VBRK is linked to VBRP.
    BKPF-AWKEY has the the Invoice number VBRK-VBELN
    Hope this helps.
    regards,
    Advait

  • How to get lines in between two fields in smartform

    Dear Freinds,
                   I have developed one smart form however iam not getting output correct could you please help me out, the problem iam getting is iam not able to get the following things
    in The Main Window
             i have one header , one Main Area and one Footer Area
    in the header i have created one %ROW1 and named as Row and again under the ROW i have
    created a % Cell ...........again i want to create for the same Row iam not able to creeate another
    Cell.........please let me know how i can have 5 or 6 cells for the same Row .
    as i want the output as
    UNit No. : 103              Quantity Req : 200   Date of Issue  : 10/01/2008
    Destination : Delhi         Amount       : 300    Rate/Per unit  : 7
    and secondly i have to have lines between the rows .... so please do let how to get lines in between rows as well..
    i have tried allot but not able to get.
    regds
    madhuri

    Hi Marcin Pciak ,
                 Thank you very much for giving me the solution, one more point i require in this regard
    i have requirement as below
    IDNo                                      Invoice Amount
    Despatch Date                      Despath Time.
    Now i want i created Two Cell s (Cell A & Cell B)  could you let me know  how i can get IDNO and
    Invoice Amount adjusacent to each other as above but right now iam getting in my smarform
    IDNO
    Invoice amount
    but i want is  IDNO--    Invoice Amount--
    please help me this point
    thanks once again for giving me answer.
    regards
    madhuri

  • How to Increase Line space between two lines in ALV Grid

    hi,
    I want to increase the line space between any two lines in ALV GRID. Can anybody has solution for this issue.
    Regards,
    Madan

    Hi Madan
    It's not possible
    Regards
    Gregory

  • How do you get Mail to single vs double line space?

    I'm new to Mail and finding it frustrating.
    Sometimes I hit carriage return and get a single line space like
    this and at other times I get a double
    line space like that. I've tried Rich Text, Plain text settings and neither seem to have a predictable effect.
    What is this. It is so unintuitive and well... wrong. If I want double spacing, I'll hit my Return key twice. I don't want line spacing forced on me.
    Thanks,
    Steven

    I could not find any way to add to my previous question so I replied to it.  I'm having trouble selecting, copying and pasteing text.  It comes in without formatting to the font in use where it is pasted.  It comes in underlined and the underline cannot be removed.  It comes with extra blank line before and after.  If I do underline text there is no way to remove the underline.  When I try to paste my serial number to get apple help it doesn't work any more so I have to type it in.  OSX knows what the serial number is so why doesn't just put it in there?
    Many thing I try to do in OSX seems to be so restricted that I can hardly do anything I'm use to doing in Windows.  icloud is a joke for storage with all the restrictions on it.  Can't even look to see what is in it. 

  • Form Line Space Work Around (permanently set leading)

    Hi All,
    new to the forums – I find the format confusing, but I'll try to do my best!
    I have discovered a way to permanently set the line space (leading) of a form field. If you all discover a better way, then let me know!
         Create a small, multiline text field anywhere. Name it "Reference". This field will become hidden and read only later, so don't worry too much about it.
         Enable it to have rich text formatting. This is done in the form field properties under "Appearance".
         Exit form field editing. Place a single space in that field (no other characters).
         Select that space, then hit command + e (ctrl +e on PC) to bring up the rich text formatting options.
         Select a font and size, then press "More."
         Click the paragraph tab, then select a line height. I prefer to use the "exactly" option from the drop down menu, makes it the most similar to setting type in Illustrator or Indesign.
         We're halfway done! Exit out of this field and save.
    This next part gets a little trickier because it requires some event javascript.
         Create a new miltiline text field. Worry about this one more, because this is the one the user will use. For this example, name it "Text"
         Like before, enable it to be multiline and rich text in the appearance settings.
         Go to the "Actions" tab of the form field properties.
         Choose event "on blur" and action "run javascript".
         Insert the following code:
    if (this.getField("Text").value == "") {this.getField("Text").richValue = getField("Reference").richValue;}
    This code tells the form field that when exited, if it is left empty, it should copy the exact rich text found in the form field "reference."
    Now set the field "Reference" to read only and hidden under "general" in form field properties. Exit form field editing. Select "Text" and type anything you want, then delete it. Click the field again. There is now a single space there! (invisible to user at first) that has saved all your formatting! If the user starts typing, it will be properly formatted. Make sure to save your document with the field "Text" having only the properly formatted space.
    Other Notes:
    There 100% is a value in the javascript to set line height. Otherwise, copying the ".richValue" of a field wouldn't allow this to work. Problem is, no one seems to know the syntax and can't find it in the API. My challenge to you guys is to find it! We've proven it exists. If we can find the syntax then we can avoid these complicated workarounds.

    Sorry, when I instruct you to adjust settings in the "appearance settings," I actually meant the options settings. Sorry for the confusion!

  • AP Line-Item Report for State Auditors

    Dear Members,
    I am preparing one Report named AP Line-Item Report for State Auditors and i need the following fields in my report.
    Check Number                PAYR-CHECT
    Voucher Number             BSEG-BELNR
    Check Date                     PAYR-ZALDT
    Voucher Date                     BKPF-BUDAT
    Vendor Number             LFA1-LIFNR
    Vendor Name                     ADRC-NAME1
    Vendor Street Address     ADRC-STREET
    Vendor City                     ADRC-CITY1
    Vendor State                     ADRC-REGIO
    Vendor Zip Code             ADRC-POST_CODE1
    General Ledger Acct No     BSEG-HKONT
    Purchase Order Number     BSEG-EBELN
    Tax Status Code             BSEG-MWSKZ
    Taxable Amount             BSEG-HWBAS
    Exempt Amount             BSEG-MWSTS
    Tax                                     BSEG-MWSTS
    Tax Accrued                     BSEG-MWSTS
    Total Invoice                      BSEG-DMBTR
    I am new to FI.So I request some one please let me know which datasources contain the above fields and which CUBE is best suited for this.
    Thanks in Advance for help and quick reply is much much appreciated.
    Best Regards
    RC

    0VENDOR_ATTR - Vendor Master Data Attributes
    0FI_AP_51 - Check Register Line Items
    0FI_AP_4 - Accounts Payable Line Items
    It should be noted, however, that this won't get you everything that you need, so you may have to create enhance one or more of these DataSources and create User Exit ABAP code to get the required data. Also, the 0FI_AP_51 DataSource isn't available if your source system isn't ECC6 EHP3 or higher. If your source system is less than that, you're going to have to create a generic DataSource for the data from the PAYR table.

  • What is the proper way to create a new line space int the output?

    I want to create a space in between each input so the output would look something like this,
    Name of item 1: lollipops
    Quantity of item 1: 10
    Price of item 1: .50
    Name of item 2: diet soda
    Quantity of item 2: 3
    Price of item 2: 1.25
    Instead of this:
    Name of item 1: lollipops
    Quantity of item 1: 10
    Price of item 1: .50
    Name of item 2: diet soda
    Quantity of item 2: 3
    Price of item 2: 1.25
    Here is my code:
    for (i = 1; i < 4; i++)
                   System.out.print( "Name of item " + i + ":");
                   name = keyboard.nextLine();
                   System.out.print( "Quantity of item " + i + ":");
                   quantity = keyboard.nextDouble();
                   keyboard.nextLine();
                   System.out.print( "price for item " + i + ":");
                   price = keyboard.nextDouble();
                   keyboard.nextLine();
              }I know i can use the an empty output statement but is there something that will make my code neater?
    Edited by: RandellK on Sep 27, 2009 6:23 PM

    Just use an empty println.
    It's a pretty common idiom and no messier than printing a newline.

  • I upload all of my photos from my iphone 5 onto my macbook air to get more space on my phone, and now whenver i try to upload it says there is no more storage or there was a problem transferring a picture. what can I do to get more space onto my iphoto?

    i upload all of my photos from my iphone 5 onto my macbook air to get more space on my phone, and now whenver i try to upload it says there is no more storage or there was a problem transferring a picture. what can I do to get more space onto my iphoto? I've tried putting the pictures on flashdrives, but iphoto would no tlet me transfer.

    I don't know how large the SSD (solid state hard drive) is, or how big your iPhone 5 is, but with some iPhones having 64GB and some Airs having as little as 64GB and some having as much as 512GB it's not hard to see how storing the contents of your iPhone 5 on your Macbook Air could run you out of space.
    Go to the Macbook Air and bring up a finder window and pull the Go menu down and go to the Computer. Right click on the Macintosh HD and select get info. See if there is any available space on the MacBook Air. If not you are out of SSD space (you're storing more on your Macbook Air than it has storage for). I'm not sure if iTunes can store its library on an external hard drive or quite how you would make that happen. But even if you managed that, when the hard drive was disconnected, you would lose access to your library. Using a smart media card might be possible (I don't know) but it would probably be irritatingly slow. If you have a small Air and a big iPhone you might just have to find a different computer to sync to. Just remember a 64GB iPhone is a big chunk of SSD for a Macbook Air. I did it with my previous and my current Air but even my previous one had 256GB and I really just fit.

  • Getting blank space after paragraph in RTF template

    Hi there,
    Thanks so much for all your help for your help.
    I am running into one issue in RTF template, wanted to share with you to get any input on this. I have paragraph and Idid put in table at the top and there is xml tag that gives names after that paragraph. but I get blank spaces after paragraph and it shows names from that xml tag.
    I tried to remove spaces by deleting between pargraph and xml tag<name> , still i get blank page between paragraph text and names.
    Can anyone help me or point me to get it resolved that would be greatly appreciated.

    Thanks Varma for your prompt response and your time on this. I am still trying to get any other options to get this done as that is the requirement and with that blank page looks not fully satisfied for users and am trying any other ways to do implement this..
    That's the reason I thought of putting this post again to get more inputs that may have.
    Can anyone put some light onthis.
    Thanks a lot..
    sk

  • Convert rows to columns and put line break in between using t-sql

    Hi,
    I have a table with 5 columns..and my source data looks like this..
    RecordID  ID    Display          AddressType   EmailAddress
        1           1      GeneratedBy       From           
    [email protected]
        1           1      ReceivedBy         To               
    [email protected]
        1           1      ReceivedBy         To              
    [email protected]
        2           1
        3           1      GeneratedBy       From         
    [email protected]
        3           1      GeneratedBy       From          [email protected]
        3           1      ReceivedBy         To             
    [email protected]
    I need  t-sql to show output as..
    RecordID   ID    FullDisplay
       1       1     GeneratedBy  From -
    [email protected]  < CHAR(13) - Need Line Break here so that it goes to 2nd line>
                       ReceivedBy   To   - 
    [email protected] ; To -
    [email protected]
       2       1      Null
       3       1      GeneratedBy From -
    [email protected] ; From -
    [email protected]  < CHAR(13) - Need Line Break here so that it goes to 2nd line>
                      ReceivedBy  To   -
    [email protected]
    Display field will have 3 values - "GeneratedBy" , "ReceivedBy"  or Null
    AddresType field will have  3 values - "From" , "To" and Null.
    In the above example, Those 7 records belongs to ID=1.
    Whenever RecordID is same I want to show everything in one line with line breaks in between.
    In the above example RecordID=1 has 3 rows, display it as 1 row. But Whenever 'ReceivedBy' is there for same recordID put a line break before "ReceivedBy"
    create Statement:
    Create Table SampleTest
    (RecordID int null, ID int null , Dispplay varchar(20) null, AddressType varchar(6) null , EmailAddress Varchar(25) null)
    Insert Statement:
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'ReceivedBy','To','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'ReceivedBy','To','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (2,1,  Null,Null,Null)
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'ReceivedBy','To','[email protected]')
     Thanks!
    sql

    Try below
    drop table SampleTest
    GO
    Create Table SampleTest
    (RecordID int null, ID int null , Display varchar(20) null, AddressType varchar(6) null , EmailAddress Varchar(25) null)
    --Insert Statement:
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'ReceivedBy','To','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (1,1,'ReceivedBy','To','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (2,1, Null,Null,Null)
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'GeneratedBy','From','[email protected]')
    Insert into SampleTest (RecordID ,ID,Display,AddressType,EmailAddress) values (3,1,'ReceivedBy','To','[email protected]')
    with CTE1 as
    select ROW_NUMBER() over(PARTITION by RecordID ,ID,Display order by EmailAddress)rno,* From SampleTest
    ), CTE2 as (
    select RecordID ,ID,'GeneratedBy '+ STUFF(( SELECT '; From - ' + EmailAddress AS [text()]
    FROM CTE1 b
    WHERE
    a.RecordID=b.RecordID and a.ID=b.ID and b.Display = 'GeneratedBy'
    FOR XML PATH('')
    ), 1, 2, '' ) GeneratedBy,
    'ReceivedBy '+ STUFF(( SELECT '; To - ' + EmailAddress AS [text()]
    FROM CTE1 b
    WHERE
    a.RecordID=b.RecordID and a.ID=b.ID and b.Display = 'ReceivedBy'
    FOR XML PATH('')
    ), 1, 2, '' ) ReceivedBy
    From CTE1 a
    group by RecordID ,ID
    select RecordID ,ID,GeneratedBy +CHAR(13)+ ReceivedBy as FullDisplay from CTE2
    Thanks
    Saravana Kumar C

  • How to get line in Line chart to go to edge / border of graph

    Post Author: brutschm
    CA Forum: Charts and Graphs
    How to get line in Line chart to go to edge / border of graph?
    I've seen this before but can't remember how to do it now. I'm using Crystal Reports XI
    Thanks,
    Brandon

    Post Author: V361
    CA Forum: Charts and Graphs
    Not sure if this is what you are looking for.
    Group X Axis setings, uncheck the Value axis crosses Between Groups.

  • Why do i get lines when i print photos from iphoto

    does anyone know why i get lines across my photos when i print them from iphoto to my HP printer. Photos are ok when i print from iphone or other? seems to have something to do with Iphoto??

    Go to your imports for the last 12 months then click on view>sort photos by date, that should group them together.  Click on the first picture in the group, then hold down your shift key then click on the last picture it should select all in between, then delete and empty trash. 

  • HTML Editor kit Line Space Problem

    I am using the HTMLeditor Kit i want to achieve line spacing in it. i have tried two ways one by specifying the line-height attribute directly into p tag and or secondly by using the StyleConstants attribute StyleConstants attribute StyleConstants.setLineSpacing and passing the MutableAttribute Set and linespaceno into it...
    In first case i m getting the same linespace irrespective whatever i mentioned in line-height, however if i save the backend generated html and open it in Internet Explorer it works fine.
    In second option i get content tags and but one the tag gets centre aligned and secondsly it does not woirk properly also.
    Can somebody can give me a clear insight that what i can do to achieve this line space functionality

    Yes please someone explain how to change the line spacing in a text/html accepting component, in my case JEditorPane. My need is specifically this -- I want to display variable font size text including superscripts all in HTML at a single unmoving height on JEditorPane. I believe increasing the line spacing sufficiently will enable this to happen, but how does one setLineSpacing on a JEditorPane component?
    Sorry I could'nt help the original post in this thread!

  • Shortcut to switch between states?

    Hey there gurus,
    Simple one for you.
    Fireworks CS4. Mac OS 10.5.2.
    Is there a shortcut to switch between states?
    Thanks in advance.
    Tom

    Hey Tom,
    Glad to see you found your way to the keyboard shortcuts area. Here are a couple notes that might keep your Fireworks experience happy:
    •Try to keep your Fireworks files small... Don't have too many pages when you are going to be using a lot of states; I know it is tempting to have the entire project in one file... separating the different sections by pages and the different states of the sections by the states, but it will be worth your while to keep these files smaller and have multiple files in place of multiple pages. This will do wonders for helping the app remain consistent.
    •If you do choose to use multiple smaller files in place of large ones, use 'Command + `' (1 key left of 1/! key). This will let you flip through open pages. If you want to go in reverse, add shift (Command+Shift+`).
    •Try using the terminal command 'purge' if/when things get slow, this coupled with the aforementioned smaller files has helped me avoid crashes.
    •Make some custom tool panel layouts and save them in Window > Workspace Layouts > Save Current. If you want to update a workspace layout, just type the name of the layout you wish to save over.
    Best wishes and good luck with the clients!

Maybe you are looking for

  • Aging Macbook Problems - sound going out/shutting down randomly when unplugged

    My macbook is from July/Aug 2007, so it's not quite 5 years old. One of the problems I have been experiencing is when I have a full charge and unplug it, usually around 80% or so, it'll just completely shut down. Doesn't matter if I'm running one thi

  • Strange motion tween problem

    So I have been making an animation to a voice over for a project. Comes in at about 2000+ frames with each animations different "scene" location split into 16 layers. If I play the entire movie from start to finish my 2nd to last "scene's" motion twe

  • Runtime error from LT03/LT06 after System upgrade

    Hi All, Currently we are upgrading our system from 4.7 to eec6. Not we are getting a runtime error while executing LT03/LT06 txns... the error is - Runtime error GETWA_NOT_ASSIGNED... Program - SAPLLPRI Include - LLPRIF00. Row 525. Module name - PROT

  • I redid the aplication and I am posting the error with it

    This is the code that I have now and the error underneath it, import javax.swing.JOptionPane; public class DoubleArray { public static void main(String args[])           double Array[]={10.0,1.0,27.34,1000.0,44.05,5.33,69.74,           99.99,55.5,7.9

  • Order Acknowledgment Requirement Indicator

    Hello, I am a developing consultant. Curious to know the reason why  'Acknowledgment Reqd' indicator is read only in Purchasing tab of MM01. I am aware that this flag can be set in Vendor master. Would like to know in which material types, the indica