Blank line in dropdownlistbox with helpValues

Hello at all,
how can I get a blank line in a dropdownlistbox, which get's the values with helpValues.
In the helpValues there is no blank line.
Thanks in advanced.
Tina

I used the id of htmlb:dropdownlistbox for document. getElementById.
<htmlb:dropdownListBox id   = "ddezasp"
                                   selection         = "//kunde/bkto_change.ezasp"
                                   nameOfKeyColumn   = "ZAHLS"
                                   nameOfValueColumn = "TEXTL"
                                   helpValues        = "//kunde/bkto_change.ezasp" />
            < script>
            var myselect = document. getElementById("ddezasp");
            myselect. options[0] = new Option('', '');
            < /script>
The code in my view is without leading spaces.
Edited by: Tina Trenkler on Feb 12, 2008 1:15 PM

Similar Messages

  • Out put file with three extra blank line

    Hi Expert
    i am snding some article data from sap to ftp location.from proxy class the internal table has all correct record .but in the out put file three blank line is coming with all the record at the end.
    i have the following cc parameter
    File.fieldNames Trans_type,Transfer_no,SrcSt_no,DestST_no,LPN_No,Transfer_date
    File.fieldFixedLengths 1,30,10,10,10,8
    then i added
    File.endSeparator '0'.
    but still 3 blank line is coming in the output file.
    please suggest somthing.

    Hi !
    Why are you using File.endSeparator '0'. ?
    Are you sure your input data doesn't have those 3 blank records in the end? Check the message payload in the sxmb_moni transaction.
    Regards,
    Matias.

  • Skipping Blank Lines in text File

    I am working on an assignment in which i have to read from a text file and store the strings individually. The problem i have is that the text file has blank line between each set of strings. So i figured to use "fin.nextLine();" to skip that blank line and continue with storing the values. but i get
    "Exception in thread "main" java.util.NoSuchElementException: No line found
         at java.util.Scanner.nextLine(Unknown Source)
         at processmsg.ProcessMessages.choice1(ProcessMessages.java:68)
         at processmsg.ProcessMessages.main(ProcessMessages.java:25)"
    which is where the fin.nexLine() is at. How can i just skip that blank line?
    System.out.println("Please enter the file location");
              Scanner stdin = new Scanner(System.in);
              String fileName = stdin.nextLine();
              // read the information from the file
              try {
                   Scanner fin = new Scanner(new File(fileName));
                   String tSendName = fin.nextLine();
                   while(tSendName != null)
                        String tRecieveName = fin.nextLine();
                        String tPhoneNumber = fin.nextLine();
                        String tDate = fin.nextLine();
                        String tTime = fin.nextLine();
                        String tStatus = fin.nextLine();
                        String tMessage = fin.nextLine();
                        PhoneMessage phonemessage = new PhoneMessage(tSendName, tRecieveName,
                                  tPhoneNumber, tDate, tTime, tStatus, tMessage);
                        fin.nextLine();
                        tSendName = fin.nextLine();

    don't know if you want the whole code, the whole code is kind of large and spread out over 3 different classes. and yes the text file is standard
    sender
    reciever
    phone number
    date
    time
    status
    message
    sender
    reciever
    phone number
    date
    time
    status
    message
    sender
    reciever
    phone number
    date
    time
    status
    message
    private static void choice()
              // scan the file location from the user
              System.out.println("Please enter the file location");
              Scanner stdin = new Scanner(System.in);
              String fileName = stdin.nextLine();
              // read the information from the file
              try {
                   Scanner fin = new Scanner(new File(fileName));
                   String tSendName = fin.nextLine();
                   while(tSendName != null)
                        String tRecieveName = fin.next();
                        String tPhoneNumber = fin.next();
                        String tDate = fin.nextLine();
                        String tTime = fin.nextLine();
                        String tStatus = fin.nextLine();
                        String tMessage = fin.nextLine();
                        PhoneMessage phonemessage = new PhoneMessage(tSendName, tRecieveName,
                                  tPhoneNumber, tDate, tTime, tStatus, tMessage);
                        // skip blank line between entries
                        fin.nextLine();
                        // test date string for correct format
                        int month = Integer.parseInt(tDate.substring(0,2));
                        int day = Integer.parseInt(tDate.substring(3,5));
                        int year = Integer.parseInt(tDate.substring(6,10));
                        // test time string for correct format
                        int hour = Integer.parseInt(tTime.substring(0,2));
                        int minute = Integer.parseInt(tTime.substring(3,5));
                        int second = Integer.parseInt(tTime.substring(6,8));
                        tSendName = fin.nextLine();
                        msgList.add(phonemessage);
                   fin.close();
              } catch (FileNotFoundException e) {
                   System.out.println("The file " + fileName + " was not found!");
              } catch (java.lang.NumberFormatException e) {
                   System.out.println("The date and/or time is not of the correct format");
         }

  • How to suppress blank line in top and end of portlet

    I created one small report (portlet) however when i execute this one; i remarked there is one blank line in the top
    and another one at the end of the report. How can i eliminate these lines. I need this space to be able to see
    a lot of information in the same page.
    I use portal 3.0.9.2

    After developping a lot of portlet and read a lot of TAR on metalink and a lot of message on OTN i discovered the solution.
    Wnen you create one report with the wizard there is no way to erase the first line ( header ) in the result.
    Second for the last line of the results ( blank line ) ; the problem is with netsacpe 4.75 ( no problem with internet explorer )
    with Netscape you will see one blank line and not with internet explorer ( confirm with Oracle support )
    Anyway in the place of developping one report with the wizard ; you can copy and paste your sql statement of your report
    inside one dynamic page and control all you want.
    I will give you one example than i created; i hope it will help other persons like me
    ( we need to read a lot of thing to do something really simple with portal )
    <HTML>
    <HEAD>
    <style type="text/css">
    <!--
    .TabFontText {
    font-family: Arial, Helvetica;
    font-size: 9pt;
    -->
    </style>
    </HEAD>
    <BODY>
    <ORACLE>
    begin
    htp.p('<table cellspacing=0>');
    for c in ( select '<a TARGET="_blank" HREF="http://'||ssdw_portal.pkg_globl.
    fnc_get_server_port||'/pls/portal30/docs/FOLDER/SSDW_AIDE/'||replace(item.name,
    ' ','+')||'">'||item.display_name||'</a>' filename , to_char(item.updatedate,'dd/mm/yyyy hh24:mi') last_updated
    FROM portal30.wwsbr_all_items item ,
    portal30.wwsbr_all_folders folder
    WHERE folder.name = 'SSDW_AIDE'
    and folder.caid = item.caid
    and folder.id = item.folder_id
    and item.language = 'us'
    and item.name like 'GUIDE%ANG%'
    order by item.name ) loop
    htp.p('<tr>');
    htp.p('<td bgcolor=#CCCCCC width=325>');
    htp.p('<font class="TabFontText" >');
    htp.p(c.filename);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('<td bgcolor=#CCCCCC width=125>');
    htp.p('<font class="TabFontText">');
    htp.p(c.last_updated);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('</tr>');
    end loop;
    htp.p('</table>');
    end;
    </ORACLE>
    </BODY>
    </HTML>
    Marc Fortin
    [email protected]

  • How do I remove a blank line in a pdf with  adobe pro XI?

    How do I remove a blank line in a pdf with adobe pro XI?
    Can I combine text blocks into one paragraph that are now given line by line?
    Is there a way to add a paragraph to an existing pdf and have the remaining text flow to the next pages?

    You can't, no, and no. Acrobat is not a word processor, and trying to use it as if it is will lead to enormous frustration and disappointment. Maybe you need to convert this document to Word if you want to do this sort of editing, but don't expect fancy layout to be preserved.

  • Urgent - please help with blank lines

    Guys need you help, please.
    How do I put blank lines in a repeating frame even if there are records or no(about 20 lines with say 5 columns). I need those lines like our ruled notebooks, for the users to enter something.
    Thanks
    Joe.

    These are blank tabular columns(20 rows 5 col). These rows might have names and other details like a master/details relationship. if there are records in details then print all those details and the blank rows to fillup 20 rows. if there are no details then print those 20 blank rows/columns. i tried doing this with one repeating frame and increasing the number of rows value to 20, but then it stops at the point of the detail rows and does not put the blank rows (lines). so had to create 2 repeating frames.

  • PI731: FTP-FCC-Receiver with blank line at the beginning

    Hi,
    In my example I always get first a blank line but I do not want this blank line.
    I need the field FILENAME only as a variable name for the file name schema.
    Mapping:
    Communication Channel (Receiver / FTP / File Content Conversion)
    Result (with blank line)
    How can I solve my problem? Do I need to adjust the content conversion.
    Thanks
    Rene

    Hi René,
    Here is your solution..Variable substitution in case of non-XML target files in a multi-mapping scenario
    You just need to follow the adapter configuration.
    Cheers,
    Ambrish

  • Multi-line Address With Blank Line

    Using the multiline address and the input conforms to the guidelines.
    1.     [Name]  [Department]
    2.     Firm   [Department]
    3.     [Dual_Address]   [Secondary_Address]
    4.     Primary_Address   [Secondary_Address]
    5.     CITY    STATE  ZIP  [ZIP+4]  [COUNTRY]
    6.     [ZIP]   [ZIP+4]    [COUNTRY]
    However, when passing address lines 1-5 to ACE where address line 1 is the name, address line 2 is 'C/O' information, address line 3 is the primary address, suite # is address line 4, and city/state/zip is address line 5, ACE is concatenating the primary address and suite and placing it in the address line 4. Thus, whenever the address prints on the bill I'm getting a blank line printing between my C/O line and my address information. I thought that the multi-line kept the data together as a complete address? Is this not correct? If not how would I then get rid of the blank that is being generated?

    Greetings Angela,
    I would suggest that you check the settings in the Multiline Style block for Address Standardization style. There are settings available here for combining address data. Verfiy which ones you have enabled. Also in this same block is a setting for Swap Address Line, which controls where blank lines will be moved for output.
    If you require more detailed information regarding this, I would recommend that you log an incident via the SAP Service Marketplace (service.sap.com), so that support can provide assistance with researching this issue.
    You will need your S-User login information in order to log an incident.
    When creating the incident, make sure to enter the component BOJ-EIM-COR so that your question is directed to the correct support team for << product name>>.  
    Rob Siegele
    Forum Moderator
    Technical Support Engineer 
    AGS Primary Support, Business User
    SAP America

  • Blank line in file, but if you download it with Internet Explorer. (??)

    Hello guys.
    I have a new qestion for you.
    My problem is this:
    I have a report that creates a file in Unix.
    When I read that file from an Abap program, the file it's ok. When I download it from a web based system the file has a blank line at the end of the file.
    I tried the CR+FL solution, tried specifying the length of the record in the transfer.
    Nothing works.
    The most strange thing is that if I download the file accesing from Firefox browser, the file it's ok, but with Internet Explorer the bloddy blank line appears...
    Do you have any idea on how to solve this????

    A Z program creates the file (text) in Unix.
    Then, the users download the file using a web application. Just access to the server and download the file to your computer.
    I did a little z program to check if the file was being created correctly (without the blank line), and yes, the file it's ok.
    But I realized that the problem, maybe, is related to the web browser used to access that page.
    So, my question is: Did someone had a similar problem?

  • Output csv file with blank line

    Hi Fellow PI friend,
    I encountered 1 problem where my output csv file always come with 2 blank lines after data line record. Can someone give me some advise or tip how to solve it?
    Thanks in advance.

    Hi ,
       Check if this link throws some light on your issue:
    Junk character at end of file from sender adapter creating a blank record
    Regards,
    Ravi

  • 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

  • Issue with blank lines

    Hi,
    We are using SAPScript to print some of the documents for Brazil on line printer. While printing, if we are printing only one document, it is printing correctly. But when we print two documents, the second document is starting at some 4 lines below. I mean at the beginning of the second document there are 4 blank lines are coming. If we print 3 documents, then the there some more blank lines in the third document. Because of this, for the third document there are 8 blank lines are coming.
    Can anyone tell how can we fix this?

    Niamesh,
    I don't think that would solve the problem. Because we have copied the form and print program from legacy SAP system and there it is working fine. Everything is same in the new system.
    Thanks.
    Kishore

  • 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

  • Regexp_replace to remove blank lines from multi lines in a single field

    Gents. 10g R2.
       with test_tab as
       (select 'x'||chr(10)||'y'||chr(10)||chr(10)||'z' tester from dual)
       select tester from test_tabproduces
    x
    y
    zI require
    x
    y
    zThere's a lot of examples on how to end up with xzy, but I need to maintain the carriage returns, just strip out blank lines.
    I've been trying with posix [:cntrl:] but it doesn't seem to want to work. Question: how to get the desired output?
    If this has been answered on another post, please point me in the right direction and accept my apologies!

    Hi,
    The simplest thing might be to use LTRIM. (or TRIM, if you need to remove them from the end of the string, as well).
    If you want a regular expression:
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|' || CHR (10) || ')' || CHR (10) || '+'
                     , '\1'
    FROM     test_tab
    ;This might be easier to understand if you let x stand for CHR (10):
    SELECT     REGEXP_REPLACE ( tester
                     , '(^|x)x+'
                     , '\1'
    FROM     test_tab
    ;This is easier to understand: \1 is either the beginning of the string or x. When this is followed imeediately by 1 or more extra x's, then replace that whole pattern with \1 (that is, remove the extra x's).

  • Logic needed to print blank line in alv report

    hi experts,
    can anyone please tell me the logic for this
    i want to logic one is
    1) in alv report contains
    a set of data contains 100 (5 datas)
    and a set of data contain 200(5 datas)
    i want to have one coloum containing serial no
    ex for 100 i want to move no '5' to one coloumn ,but it should display only ones not for all 5 records.
    same for 200 also i want to move 7 to this ,it should b displayed ones
    i used for at new command alos its not working
    2)suppose for particular date, 200 related records is not there
    it should conatin blank line,displaying 'NIL'.
    SO THE OPT FROMAT MUST BE
    MATNR            DOCNO
    100                  1000
    100                  1000
    100                    "
    100                     "
    100                    "
    200                   2000
    200                      "
    200                     "
    200                    "
    200                    "
    SUPPOSE 200 RECORD IS NOT THERE THE OPT SHLD B
    100           1000
    100            1000
    200           NIL

    Arun,
    1)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then use the internal table it_sort with a row for the column where you want the suppression of repeated values.
    2)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then simply ensure that your internal table t_outtab has the rows that you need containing 'NIL'.
    John

Maybe you are looking for

  • Oracle instant connection problem

    In Redhat7.2 Linux, I used the connetion description as follows: orcl = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = 192.168.66.85) (Port = 1521) (CONNECT_DATA = (SID = orcl) (GLOBAL_NAME = orcl.hexiong.com) And TNS_ADMIN enviro

  • Is it just me, or is everyone required to continuously activate their "boxed versions" of Adobe software?

    Before this ASININE copyright-protocol activation bull@#$% was repeatedly inflicted upon me, I had an idea that Adobe was a good company. I now see just how far out of touch they REALLY are with their customers. I ask you, who in their right mind wou

  • Photoshop Elements 12 Installation Failure

    I purchased Photoshop Elements 12 and downloaded the installer. I have tried installing the software three times and keep getting "Installation Failed." I am running OS 10.7.5 on a MacBook Pro, Processor 2.5 GHz Intel C ore 2 Duo, Memory 4 GB 667 MHz

  • IPhone 8.3 music app shuts down when I try to open it

    Since updating to 8.3, both my iPhone 6+ and my iPad 3 will not play music from my playlists.  The music app shuts down and reverts to the home screen each time I try to play music.

  • Cloning the Towers

    I have 6 G4 towers with the same specs that need to be rebuilt (OS9, Final Cut Pro, etc.) Has anyone had any luck cloning machines using FireWire target disk mode, or is there a better solution than TDM? Note: these are OS9 only