Smartforms: display line only if not empty

Hello friends,
I have a smartform window in which I display the following:
Delivery Address:
&zvbdka-name1_we&
&zvbdka-name2_we&
&zvbdka-stree_we&
But not every time there is a "name2". In the case where there isn't, I don't want to display an empty line, but want to go directly from "name1" to "street".
Is there an easy way to do that? If not, can someone explain to me the complicated way?
Thanks,
Micol

Hi Micol,
You said it, there is no simple way of achieving this.
You need to create different texts in smartforms and place conditions to check if the field is not initial, and depending on that you will display the values.
Another way would be to passed these three fields to an internal table. In smartforms, you just need to loop at this internal table into ONLY 1 ROW, and display the values. I think this one would be easier.
Cheers,
Zaheed

Similar Messages

  • Displaying line items, although not activated in FS00

    Hi everyone!
    I've got a question about line items.
    I had created a GL account, and in it's master record I didn't activated Display line item. But, when I call transaction for displaying GL account's line items (FAGLL03), I can see line items?
    How is that possible?
    I know that there are some special cases, for example expense accounts: for every expense account there is a cost element in CO, and no matter settings in FS00, for expense account there is always line item display. Similary, reconciliation accounts always have open items management, irrespective of settings in FS00.
    But this is just regular account, with very few settings in master record: its balance sheet account, the account currency is local currency, sort key 001 and field status group G001. And that's all.
    Can somebody explaine this?

    Guys. In addition to above my problem.  I was facing this problem due to some graphics issue on my laptop. I was not able to see most of the fields because of Graphics Driver installed on my laptop. ( Later on I got this solution. ).
    This seems very unrealistic to hear but my experience is true.
    I hope in future if some one will have this issue please check out driver compatibility specially Graphics. This problem may suppose to encounter with Dell. 
    Anyways Z layout also worked fine as suggested by Guest FICO.
    Thank you all.
    Regards,
    Sharvari Joshi.

  • Error display line items

    Hi Gurus,
    please help me on this error.. what to do?
    No line item display possible for account 41000010 1000
    Message no. F4430
    Diagnosis
    You have determined that displaying line items is not to be possible for G/L account 41000010 in company code 1000.
    Procedure
    It is presumably a clearing account (incoming check account, GR/IR clearing account) which has its own reports for analysis.

    Hi,
    Intally GOTO FS00 and tick the line item display and then GOTO SE38 and give program RFSEPA01 and execute .
    then GIVE co code and GL account number
    Documemt 1-999999999
    hope this solve your problem
    regards,
    Santosh kumar

  • MBP Display Lines Problem

    Hey everyone, I just bought a MBP 15' 2.2Ghz last wednesday and am now seeing a display line problem. I see a green dotted line that extends from the top of the screen to the bottom approximately 2 inches from the right of the screen. The color of the line seems to change slightly depending on whats on the screen. For instance, I had the ladybug wallpaper and the line was almost complete all the way down (stil dotted with a missing section) and the color was bright green. With a different wallpaper that had a night sky and a green figure, the line flickered green/blue in the night sky area and steady green in the green part. My question is whether this is software or hardware related. I read many many other posts and many had display line problems but not the same as this one. Should I get this repaired? Is there anything I can do to fix this? Thanks

    Hey man, sorry to heard you have a display problem too. I have a line at the bottom of my display which extends across horizontally. Fortunately, its just a clear, bleached looking line which I can mask with the dock. I dont think I could tolerate the line in which you have described.
    I would bring it to the apple store that you bought it from and have one of the apple guys check it out. I would demand a replacement. They will try to repair it. You shouldnt be repairing a defective purchase.
    I am on my 2nd MBP. My first was kernal panicing all the time. I got it to KP in the store and he immediately offered a replacement. Apple care is pretty good, so dont be afraid to bring it in and demand a replacement.
    Better luck with your next one!

  • Display the horizontal lines whether or not a section is empty.

    I am using CR with vb.net 2010 and latest version of CR for net 2010.  I want to print a report like a grid which means horizontal and vertical lines appearing whether or not there is text in a section.
    I have a box surrounding the report and vertical lines extending down the report.  There are two group headers and a details section.    The horizontal lines only appear when there are values in the group or details sections.  Thus, once the detail lines end (and therefore there are no more groups either) on a page, the horizontal lines stop though the vertical ones continue.  I want the horizontal  lines in the sections to continue as well  -- just like in Excel.
    There is a page break for the top group so there are lots of pages that have detail lines empty.  How do I print horizontal lines in those sections as well when there are no values.

    hi Suzanne,
    there are several different ways of doing this.
    1) the easiest way of doing this is to create a new Page Header that contains all of the lines. this works if you've got a report that is static in way that each page is laid out. make the new page header the size of a page in length, move it up so that it is Page Header A, and go to the section expert and set it to Underlay Following Sections. now add the grid lines to this new page header A.
    2) another way of doing this is to create a whole bunch of Details sections....e.g B to Z. put lines in these sections. write a conditional suppression formula for each one based on how many records there are in a group. this is way more work.
    3) another fairly easy way is to create a formula that outputs the horizontal lines...i.e.
         numbervar N:= 10;
         // you'd need to figure out what N is based on the number of existing records and the number of lines you want
         replicatestring(replicatestring("_",300) + chr(10), N)
    make sure that you right click on the formula and go to Format Field > Common tab, and set it to Can Grow.
    -jamie

  • Display line items in Cells of a table- Smartform

    Hello All,
    Can any one help me achieving  the below requirement.
    I have a requirement of printing invoice with a smartform. I am displaying line items from a TABLE node by looping VBRP's internal table. There are 12 cells and the 5 th cell contains a number of Dicount rates.
    I am displaying these discount rates from LOOP node by looping KONV's internal table within that CELL. The 7 th Cell has got 2 values which are required to be: one aligned to the TOP right corner of the cell and the other to the bottom right side of the cell.
    Now the issue description is:
    CELL-5:  Contains unknown number of values for display within the cell to be positioned as MIDDLE justified for an item(POSNR) of the main item table.
    CELL-7: Contains two fixed values :KWERT to be at Top right of the CELL-7and NETWR at the bottom right of CELL-7
    I have managed to display the sub items in CELL-5 in the middle  by giving values to SPACE BEFORE/SPACE AFTER sections of PARAGRAPH FORMAT in SMART STYLE.
    Requirement: Irrespective of number of sub items in CELL-5 the 2 values in CELL- 7 to be aligned as one at the top right and the other  to the bottom right cell flexibly . Same applies to other items(POSNR) of MAIN VBRP item table.
    The ROWS of the MAIN Table to be flexible enough to shrink the space when then are less number of subitems in   CELL-5.
    Values in Cell-7  should be adjusted according to contents in CELL-5.
    Thanks in advance for your valuable suggestions.

    Hi,
    Do one thing while filling the 5th cell , count the number of values(counter) in it for each record and fill new internal table (Itab_cell7) as follws.
    DATA : FLAG,
    counter1 type n.
    DO COUNTER TIMES.
    counter1 = counter1 + 1.
      CLEAR FLAG.
    IF counter = 1.
        WA_CELL7-VALUE = KWERT.
        APPEND WA_CELL7 TO ITAB_CELL7.
        FLAG = 'X'.
    ENDIF.
    IF counter1 =  (counter1 - 1).
        WA_CELL7-VALUE = KWERT.
        APPEND WA_CELL7 TO ITAB_CELL7.
        FLAG = 'X'.
    EXIT.
    ENDIF.
      IF FLAG NE 'X'.
      WA_CELL7-VALUE = ''.
      APPEND WA_CELL7 TO ITAB_CELL7.
    ENDIF.
    ENDDO.
    Adjust the code if need as per your data.
    In cell 7 under loop node print ITAB_CELL7 values in a text. and prepare a paragragh for alingment.
    if it does not work for send me the XML file for your smartform.
    Regards,
    Antim

  • Line items is not displaying

    Hi,
    When i simulate in F-28, line items is not displaying
    eg: 40  SBI  1500
    only displaying the remaining items like
    eg: 40  discount 500
          50  ABC     2000
    is not displaying
    what may be reason. where can i change settings
    Rgds
    sunfico

    This will happen as the system searches for automatically created line items, in this case, the discount.
    Nothing to worry, press Enter key twice, after simulation, you should get the all line items display
    Thanks
    Siva

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • Automatic Payment program -line item cleared not displaying in table

    automatic Payment program -line item cleared not displaying in table
    i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
    Can some one please guide me on this.

    Hi Priyanka,
    First, which table are you referring to.  If your fist APP run clears the line item, it will no longer be available in the open item. 
    Please be more specific on the problem so that we can try to help you.  If possible, please provide screenshots.
    Regards,
    Ganesh

  • How to display sub table and NOT repeat each detail line?

    I am going nuts trying to get this thing to display correctly, so I am someone can help me. I am trying to display a sub table (not subreport - tried that and it doesn't work) for detail records. For Example on an invoice items may have child items.
    I am using Crystal 11
    I have two tables iDetail and iSubDetail
    My detail section looks like this:
    D   iDetail.itemNum                              iDetail.price
               iSubDetail.itemNum
    I have a Left Outer link from iDetail.itemNum  --> iSubDetail.itemNum
    I should see something like this:
    itemOne                  $50.00
         subItemOne
         subItemTwo
         subItemThree
         subItemFour
    itemTwo                $25.00
    itemThree              $30.00
    etc...
    Instead, my Crystal report displays this:
    itemOne                  $50.00
         subItemOne
    itemOne                  $50.00
         subItemTwo
    itemOne                  $50.00
         subItemThree
    itemOne                  $50.00
         subItemFour
    itemTwo                $25.00
    itemThree              $30.00
    etc...
    and of course the total for the invoice is wrong.
    I have tried all the different links and a subreport, but I cannot get it to display correctly. Does anyone have any ideas??

    I tried subreport but I can't figure out how to turn it OFF for non-relative items; from the above example data I would get with a subreport:
    itemOne $50.00
      subItemOne
      subItemTwo
      subItemThree
      subItemFour
    itemTwo $25.00
      subItemOne
      subItemTwo
      subItemThree
      subItemFour
    itemThree $30.00
      subItemOne
      subItemTwo
      subItemThree
      subItemFour
    Looks great for itemOne, but I can't turn it off for itemTwo and itemThree. I have tried hiding the subreport if iDetail.itemNum =
    iSubDetail.itemNumi, but if SubDetail table is accessed it repeats the iDetail record like the original post.
    I tried hiding it in the subreport, but it does not know what the main report record is. I couldn't find anyway to PASS the itemNum from the main report to the subreport. If I could pass it as a variable, I could just hide the subreport when it is NE to iSubDetail.itemNum.
    I kind of got it working by grouping the iDetail record by itemNum. However, the problem with that is when there really is multiple iDetail records, the invoice only shows one!! So, I would still like to find a better solution,
    Thanks for your reply.

  • Not able to display line item 20 in contract

    I could not able to display line item 20 in the contract document.
    line item 10 and 30is there however there is no line item 30. What could be reason and how to enable the same.
    MRS

    It may also possible if user forgot to enter the line item 20 and jump to line item 30 after 10 as below.
    Then system will show as like this

  • I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    I get a dialogue box asking "What should Firefox do with this file" Options open with or save file. My wife selected save file and now it only opens note pad and displays the text of the file to be saved. OK in windows Internet Explorer.

    P.S. Site is http://www.coldwatercreek.com

  • Air Display 2 only worked on mirror mode not second monitor

    I'm using PC Win 7 enterprise and IPAD Air. IPAD Air installed with Air Display 2.
    The Air Display 2 only worked fine when on 'mirror mode', but not working as secondary monitor. IPAD display colour  in 'blue' and able to activate the keybaord.
    Need tips how to fix the problem to work as extended monitor.

    Hi Nagesh,
        Please check the following sample programs. It uses splitter container. I think this suits your requirement.
    RSDEMO_EASY_SPLITTER_CONTROL
    RSDEMO_SPLITTER_CONTROL
    Sample code:
           split_container_left type ref to cl_gui_container,
           split_container_right type ref to cl_gui_container,
           splitter_h type ref to cl_gui_splitter_container,
           splitter_v type ref to cl_gui_splitter_container,
    create object splitter_h
              exporting
              parent = cl_gui_container=>screen0
              rows = 5
              columns = 5 .
    split_container_left = splitter_h->get_container( row = 1 column = 1 ).
    split_container_right = splitter_h->get_container( row = 1 column = 2 ).
            create object splitter_v
               exporting
               parent = split_container_left
               rows = 5
               columns = 5.
    Please award points if this is useful.
    Thanks,
    Srinivas.

  • Display line items not possible!

    Hello
    I've a very strange situation on the productive system:
    I have a company code that registers and display account line items, while the second cannot display them, even if I've configurated the same aspects in account fields for the two company codes. That means they have the same
    - flag on display line items  AND
    - sort key  001 - POSTING DATE
    why??
    thanks a lot in advance,
    Chiara

    No, the answer was not that one, but thanks anyway.
    Finally I found the answer in
    Forum:  Message MSITEM033 in New GL - Cannot Display GL Line Items
    note OSS:
    -  1323960   Incorrect entry '/' in SKB1-XLGCLR and BSEG-XLGCLR
    -  1149500  Clearing open items by batch input selection
    -  1437341   Note 1437341 - Correction of BSEG/Index tables after note 1323960
    regards,
    Chiara

  • You are not allowed to have zero line only  massages no. m8278

    Hi all,
    At the time of MIRO Reversal we are facing error massage.
    You are not allowed to have zero line only  massages no. m8278
    Because of wrongly 0.00 amount posted in MIRO posting.
    What we do please help me it is production system error.
    Thanks & Regards,
    Juhi
    Edited by: juhis022 on Nov 8, 2011 1:43 PM

    this is because for the document which you posting MRIS is not covered with invoicing plan settlement.
    Please create a invoicing plan and settle through MRIS.

Maybe you are looking for