Smartform, blank line inbetween TWO include texts

Dear Gurus,
IN SMARTFORMS ,
I have to include a blank line inbetween two consecutive include texts.
Please help me.
Regards,
Roshan Lilaram.

Dear Matt this will not help my issue, i need a blank include text ONLY.
See for Eg, i have four include texts, inbetween each of these i put a text element as you said, then even if i am not printing anything in my second include text,this text element will be printed with a blank line,
Now as per this condition, there are two blank lines inbetween my first and third include text.
This is not right logically, In any case i need one and only one Blank line,
I hope i have made my issue  more clear.
Please help me in getting a Blank Include Text.
Regards,
Roshan Lilaram.

Similar Messages

  • Smartform  : blank line created with out any reson  , why  ?

    I have regular letter.
    Line a
    Line b
    Line c......
    but from some reason  ,  some blank line created and cause spaces between the lines , why  ?
    For example:
    Line a
    Line b
    Line c
                Blank/space line
    Line d
               Blank/space line
    Line e

    Hi Dakota Piper,
    I don't think theres any problem in ur table.
    I think u have gone wrong in ur formatting.
    u can try the following...
    1)  try to remove all the blank spaces, manually.
    2) try to create right paragraph formats. paragraph formats will give a proper look, font, spaces & tabs to ur paragraph or to the text to which u assign that paragraph format.
    assign the same paragraph format to all the lines.
    3) if already the lines have some paragraph formats then check their line spacings.
    line spacing is an attribute in paragraph format, where u can mention the amount of space between 2 lines called.
    it is possible that the 1st 3 lines have been assigned the paragraph format with 0.5 LN line spacing
    and next with 1.00 line spacing...so the rest of the lines appear as if theres a blank line between them
    like this :
    line 1
    line 2
    line 3
    line 4
    line 5
    please try doing this...hopefully it should help u. it definitely seems to be some minor problem, which maybe is getting ingored by us. check every line properly.
    Note: since i'm not infront of SAP window now, so not very sure...but in sap scripts we have this option in menu
    GOTO -> LIST DISPLAY   in this, the form is seen in list format...it clearly shows whether u have a blank line inbetween or no. thats the best format to check in.
    not much sure abt smartforms, but please check.
    regards,
    Radhika

  • Smartforms: Blank line is displaying in item list from page2 onwords

    Hi Guys,
    In Output messages(ME9K), using smartform to display list. First page layout and 2nd, 3rd .......pages layout is different.
    so i defind two pages. output list displaying is correct which is more then 2 pages, but from 2nd page onwords one blank line is coming in mainwindow at items list.
    2nd page i selected is mode:Page and overall page unchanged.
    can you suggest me please.
    Srinu.

    Mike,
    I'd guess that you're getting an "extra value". The tenth parameter to select_list_from_lov can be set to 'NO' to suppress this but you'll want to determine why there is an extra value if you aren't expecting one.
    Scott

  • How can I remove the preceding blank lines in the downloaded text file?

    I have created a jsp that writes to a file and then prompts a dialog box to have an option to view or save the file. However when i view the file, there are blank lines before the actual content of the file. How can i remove these lines?
    Below is part of my code:
         response.setContentType("application/x-download");
         response.setHeader("Content-Disposition","attachment; filename=\""+ fileName + "\"");

    Hi,
    Those blank lines are normally because of the scriptlet code at the start of your jsp page.
    Remove any new lines between page directives or any include directives that you have at the top of your page.
    Look at the generated servlet code to see what exactly is causing the newline to be inserted (look for out.println("\n");)

  • How to remove the last blank line in the downloaded text file?

    Hi All,
    I am downloading the one internal table content using the GUI_DOWNLOAD to a text file(.txt). The cursor is in last position of the text file where there is no content. For example consider the below is downloaded txt file:
    This is test file.
    Downloaded from the internal table
    using GUI_DOWNLOAD
    | <----
    In above the internal table content first three lines..
    Once I press page down in the text file, the cursor goes below the third line..(i.e., next to the last line)
    How to avoid that ?
    Thanks in Advance,
    Regards,
    Raghu

    I solved this problem with BIN mode.
    See this code example
    DATA: FILESIZE TYPE I.
    CALL FUNCTION 'SCMS_TEXT_TO_BINARY'
    IMPORTING
       OUTPUT_LENGTH         = filesize
      TABLES
        TEXT_TAB              =   i_record
        BINARY_TAB            = i_Record
          filesize = filesize - 1. "TRUNCATED LAST LINE!!!
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE = filesize
          filename                = l_file
          filetype                = 'BIN'
         TRUNC_TRAILING_BLANKS = 'X'
         TRUNC_TRAILING_BLANKS_EOL = 'X'
         WRITE_LF_AFTER_LAST_LINE = ' '
       TABLES
          data_tab                = i_record
    Hope this can help you.

  • How to control formatting of include text in smartform

    Hello Everyone - I have converted sales order acknowledgements from sapscript to smartform. I need to print material sales text at line level. Include text method is being used, it works in most cases. However, in some cases the Std Paragraph format coded in the include text, is being ignored and the text prints as per default standard paragraph format defined in the smart style.
    The only difference I could find in the text set up, using read_text function, is that the format character for the first line. The desired formatting is achieved when the formatting character is '*', otherwise the format defaults to the standard default paragraph defined in the smart style.
    Could anyone suggest if there is a way to keep the paragraph formatting consistent and always use the formatting defined in the include text.
    Thanks in advance,
    Anil

    I have resolved this issue. The include text node was defined twice for the form and I had only assigned standard and first paragraph to one of them. The alignment error occured when the second include text was executed. Modified the second node to be same as the first and all worked as expected.

  • Acrobat Pro 9, blank lines in text boxes vanish upon save

    Folks,
    Since I upgraded from Acrobat Pro 8 to 9, whenever I put blank lines in a text box, the blank lines disappear as soon as the PDF is saved.
    Here's an example:
    - Open a PDF file
    - Click on text box tool in the toolbar (or from menu Comments->Comments and markup Tool->Text box tool
    - Draw a box on the PDF page somewhere
    - Enter "First line", then hit Return twice to add a blank line below, enter "Second line"
    - Right now my text box contains two lines of text separated by a blank line
    - Hit save
    - Blank line vanishes in the text box. Now the two text lines are on adjacent rows.
    This did not happen in either Acrobat Pro 7 or 8. I've been using textboxes consistently for years without this silly behavior.
    Any suggestions? I've looked through forums and knowledge bases and such to no avail.
    I have acrobat pro version 9.0.0 running on XPSP3.
    Thanks!
    Petros

    Hello Petros,
    I figured out how to make this work, at least on my computer.  Hold CTRL key and hit ENTER.  This leaves the space.  Hope this works for you.
    Phillip

  • Blank line in Application server file

    Hi,
    I am uploading datas from 2 internal tables to Application server file(same file).
    I want a blank like after i finish uploading the first internal table.
    Need a blank line between two internal table datas.
    Kindly help me in solving this issue.
    Regards
    Sowmmya VB

    hi Sowmya...
    Do this way.. Sample code....
    Data : Blank(100).
    OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT ITAB1.
      TRANSFER ITAB1 TO P_FILE.
    ENDLOOP.
      TRANSFER BLANK TO P_FILE.  "this will transfer a Blank record.
    LOOP AT ITAB2.
      TRANSFER ITAB2 TO P_FILE.
    ENDLOOP.
    CLOSE DATASET P_FILE.

  • Suppress embedded field blank lines in Crystal Reports XI is not working

    Hi,
    We have a text box in a Crytal Reports XI report which has address information in it as follows:
    These are individual fields from the database. We check the  "suppress embedded field blank lines" option for the text box and preview it in the designer and the suppression works as expected in that when the unit field is blank the whole address line isn't suppressed. However when we run this report using the Report Viewer control in a VB.NET 2005 application the whole address line is suppressed when the unit field is blank.
    This appears to be a bug in the suppression logic when the Report Viewer is used to view a report. While yes we can embed a formula into the address line this adds extra maintenance and confusion which is not necessary as it works as expected in the report designer.
    I have seen others which are having a similiar issue and the only suggestions are to create your own suppression using formulas, etc. which is only a bandaid and is not the best solution as the suppression works as stated in the designer but not in the viewer embedded in an application. Please indicate if this is a known bug and if this issue has been addressed and fixed in a new merge module.
    We are running Crystal XI 11.5.0.313 for the report designer and have deployed the needed dlls to run the reports with our application using the CrystalReports11_5_NET_2005.msm merge module.
    Thanks in advance for any assistance in resolving this issue!

    Hello,
    Moved to .NET SDK forum.
    Upgrade to XI R2 SP 6, you are using the original release:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    And the distribution files are for Visual Studio version of Cr, not R2 build.
    https://smpdl.sap-ag.de/~sapidp/012002523100013451312010E/crxir2_fp64_server_ins.zip
    Or
    https://smpdl.sap-ag.de/~sapidp/012002523100013451332010E/crxir2_fp64_net_mm.zip
    Don

  • Blank lines using DBMS_OUTPUT package

    Hi Friends,
    how can i put blank lines between two PUT_LINE procedures. I was trying to write
    the NEW_LINE procedure but it is not working.......
    code is as follow
    DBMS_OUTPUT.PUT_LINE(' Hello');
    DBMS_OUTPUT.NEW_LINE();
    DBMS_OUTPUT.PUT_LINE(' How r u ? ');
    output is as follow:-
    Hello
    How r u? // there is no blank space between two lines
    But i want output as follow
    Hello
    // here i want a blank line
    How r u?
    Thanks

    U can put like this
    DBMS_OUTPUT.NEW_LINE(' ');
    Did you test it..?
    SQL> exec DBMS_OUTPUT.NEW_LINE(' ');
    BEGIN DBMS_OUTPUT.NEW_LINE(' '); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'NEW_LINE'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do you force source formatting to leave blank lines in CS6?

    I inherited some code with paragraph breaks between some lines so that there's a blank line between two lines of code.  When I Apply Source Formatting, the original blank lines remains, but when I insert a blank line & then Apply Source Formatting, the blank lines I inserted disappear.
    I showed the hidden characters and found that on the lines that remain blank, there are 4 spaces & a paragraph marker.  When insert the same thing, source formatting still removes my blank lines, but keeps the ones that someone else inserted (while not using DW) by adding 4 spaces & a paragraph marker.
    Is this behavior due to opening a file that was created outside of DW?  Is there anyway to get source formatting to leave my inserted blank lines alone?
    Thanks!

    That worked: I want to be able to preserve blank lines when I apply source formatting, not get rid of them.  I copied the lines that didn't disappear & they were also preserved wherever I copied them in my doc. 
    It would be nice to know what that hidden character is that prevents the blank line from being removed, but I guess I can't tell with DW. 

  • How to avoid blank lines in smartforms?

    Hi all,
    I am using an INCLUDE TEXT in a smartform. The problem is it is priniting with the blank lines entered in the standard text.
    I couldn't find any option for avoiding these blank lines using the respective smartstyles.
    Is there any option to avoid the blank lines ? Please help me.
    Thanks,
    Aravind

    Hi,
    well if the blank lines are present in the include text.
    then you have to modify the standard text.
    in the smartform the text is printed as it is.
    you need to make changes to the standard text.

  • Item txt using include text smartform

    Hello Friends ,
    How can we print Item text from purchase order in smartform using include text . I know click on the include text mode and then write the following details .
    text id = f01
    lanuage = en
    object = ekpo
    what should i write in text name . Any other details i need to mention
    Do i need to create one using SO10 . Plzzzzzzzzzzz help
    Joseph

    Hi,
    Right click on node(on which you need the text)
    Create-Flow logic-Program lines.
    system gives %CODE1
    there are two tabs General attributes and Conditions
    click on General Attributes
    Provide the Input parameters - which contains po no and item no
    Provide the output parameters- globally defined Variable  ex NAME type C
    write the code:
    CONCATENATE ekpo-ebeln ekpo-ebelp into name
    Now again right click on program line create Text.
    Give text type as Include text.
    provide the details
    Text Name      &NAME&
    Language        EN
    Text ID         F01
    Text Object     EKPO   
    Check the box : no error
    Rgd
    Narsim
    Edited by: Aeda N on Nov 17, 2009 11:59 AM

  • URGENT......INCLUDE TEXT IN SMARTFORM......

    hi all,
          i have a long text stored in a field in database . i want to specify that firld in the include text so that it can be fetched and displayed... biut my problrm is about the display of the long text . there r certain words in the long text that is to  be dipalyed in bold or may as next paragraph..... how will i customize it....
    also if i do any change in the field by inserting a code node will that refelct.....

    Hi
    Double click on that Long Text
    it takes you to TEXT ediotr
    From MENU GOTO-> HEADER
    you will find the 4 paramaters like OBJECT,ID,OBJECTNAME and LANGUAGE
    using these 4 parameters fetch the Long Text using the fun module READ_TEXT in the driver program or in the PROGRAM LINES of the Smartform and split that long text (it_lines lines) as per your wish and make them Bold and display
    see the read_text Doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Regards
    Anji

  • Blank line in text file after download

    Hi  all,
    i am using the below code to get the 254 blank spaces at the end of the text file & it's comming correctly.
    generally i am downloading 2 lines in the original program  & i am getting one blank line in between these two lines.
    The main thing is that i am getting this blank line when i run this program in my office computer. But i am not getting this blank line when i run this same program in my home laptop. Please suggest why this blank line is appearing & any solution ?
    DATA: BEGIN OF OUTTAB OCCURS 100,
            PROD_CODE(3),
            LINE_DETL(2043),
          END OF OUTTAB.
    DATA:V_OUTPUT(2043).
    DATA: space_character type c.
    space_character  = CL_ABAP_CHAR_UTILITIES=>MINCHAR.
            DO 254 times.
               CONCATENATE V_OUTPUT space_character INTO V_OUTPUT.
               ENDDO.
               OUTTAB-LINE_DETL = V_OUTPUT.APPEND OUTTAB.
    call function 'GUI_DOWNLOAD'
       EXPORTING
          filename = OUTFILE1
          filetype = 'ASC'
          TABLES
          data_tab = OUTTAB

    I don't think this is issue of ABAP. Any way just to check download the file on laptop and open same file and office computer
    if file looks ok then it is OS or text editor issue.
    Thanks,
    AK.

Maybe you are looking for