Why  do we use SKIP TO LINE

Q]     Why  do we use
SKIP TO LINE Syntax  ?

hi,
hope this helps u
If the list cursor is positioned in the first list line using SKIP TO LINE, and the list has a standard page header, the output in the first line is overwritten by the standard header. If, however,the cursor is positioned using SKIP TO LINE in the lines of page headers and page footers that are defined for TOP-OF-PAGE and END-OF-PAGE, the page headers or footers are overwritten.
REPORT demo_skip NO STANDARD PAGE HEADING.
DATA sum TYPE i.
TOP-OF-PAGE.
  SKIP.
  ULINE.
START-OF-SELECTION.
  DO 10 TIMES.
    WRITE / sy-index.
    sum = sum + sy-index.
  ENDDO.
  SKIP TO LINE 1.
  WRITE: 'Numbers with sum' COLOR COL_HEADING,
          sum               COLOR COL_TOTAL.

Similar Messages

  • Why does the cursor skip a line every time I start a new contact?

    I just got my first iPhone, and I love many things about it, but I'm pretty frustrated about other things. One frustrating thing is that if I go to save a number as a contact, it brings up the new contact page, and EVERY time I click on the first name line, it goes there and immediately jumps to line 2. Same if I click on line 3, it skips to line 4. Or I'll type a letter or two and it skips one or several lines. Anybody else have this issue? Anybody know any fixes? Please help. This will make me lose my cool if I can't get this glitch fixed.

    Hi drewskiiiiiiiii,
    If you are having issues with your iPhone's Contacts application acting oddly, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    Force an app to close in iOS
    Next, I would try restarting and if needed resetting the iPhone -
    Restart or reset your iPhone, iPad, or iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • Why everytime i used my skype the audio on other line doesnt hear me well? it has some noise disturb

    Hi why everytime i used my skype or yahoo messenger and used my video call the receptions or the audio on other side coudnt hear me well there is some distortion or noise on the background and my voice is not clear? Can you help me pls regarding this problem. thank you ver much
    my laptop brand is  Hp Pavillion dv3 notebook Pc
    windows 7  professional 64 bit

    In general when syncing the device won't give the desired results the following steps should work.
    Backup the device.
    Restore as a new device.
    Restore the backup made earlier.
    tt2

  • Why do we use Feild Symbols

    Hi All
    Breifly explain me why do we use field symbols. and how to use them and where to use them.
    Thanks! in advance

    Hi,
    The new style of definition of internal tables usually doesn't include a header area for the internal table. Furthermore, ABAP Objects will not allow internal tables with header lines. For added performance, instead of declaring a work area--use a field symbol. The work area concept and header line format both require data to be moved from the internal table to the work area or header area. A field symbol is just a pointer that will point to the proper line of the itab. With field symbols, no data needs to be moved. The field symbol just stores the proper memory address to point at the right line. The field symbol can have structure and be made up of fields similar to a work area or header line. Because no data needs to be copied, processing is much faster.
    The keys to the usage are:
    1) Defining the table records and the field symbol in a similar type.
    just an ordinary standard table
    TYPES: BEGIN OF it_vbak_line,
    vbeln LIKE vbak-vbeln,
    vkorg LIKE vbak-vkorg,
    vtweg LIKE vbak-vtweg,
    spart LIKE vbak-spart,
    kunnr LIKE vbak-kunnr,
    END OF it_vbak_line.
    DATA: it_vbak TYPE TABLE OF it_vbak_line.
    FIELD-SYMBOLS: <it_vbak_line> TYPE it_vbak_line.
    or as a screaming fast hash table for keyed reads
    TYPES: BEGIN OF it_vbpa_line,
    vbeln LIKE vbak-vbeln,
    kunnr LIKE vbak-kunnr,
    END OF it_vbpa_line.
    DATA: it_vbpa TYPE HASHED TABLE OF it_vbpa_line
    WITH UNIQUE KEY vbeln.
    FIELD-SYMBOLS: <it_vbpa_line> TYPE it_vbpa_line.
    2) In ITAB processing, utilize the ASSIGNING command.
    loop example
    LOOP AT it_vbak ASSIGNING <it_vbak_line>.
    look at records--populate it_zpartner
    read example
    READ TABLE it_vbpa ASSIGNING <it_vbpa_line>
    WITH TABLE KEY vbeln = <it_vbak_line>-vbeln.
    3) Refer to the field symbol's fields in the loop or after the read.
    wa_zpartner-vkorg = <it_vbak_line>-vkorg.
    wa_zpartner-vtweg = <it_vbak_line>-vtweg.
    wa_zpartner-spart = <it_vbak_line>-spart.
    wa_zpartner-kunag = <it_vbak_line>-kunnr.
    wa_zpartner-kunwe = <it_vbpa_line>-kunnr.
    See the code example below for further detail. The code was written in R/3 4.6C and should work for all 4.x versions.
    Code
    REPORT z_cnv_zshipto_from_hist          NO STANDARD PAGE HEADING
                                            LINE-SIZE 132
                                            LINE-COUNT 65
                                            MESSAGE-ID z1.
    Program Name: ZSHIPTO from History             Creation: 07/23/2003  *
    SAP Name    : Z_CNV_ZSHIPTO_FROM_HIST           Application: SD      *
    Author      : James Vander Heyden               Type: 1              *
    Description :  This program reads tables VBAK & VBPA and populates   *
    ZPARTNER. ZPARTNER table is read in by ZINTSC06. ZINTSC06 updates    *
    the ZSHIPTO relationships.                                           *
    Inputs:  Selection Screen                                            *
    Outputs:                                                             *
    External Routines                                                    *
      Function Modules:                                                  *
      Transactions    :                                                  *
      Programs        :                                                  *
    Return Codes:                                                        *
    Ammendments:                                                         *
       Programmer        Date     Req. #            Action               *
    ================  ==========  ======  ===============================*
    J Vander Heyden   07/23/2003  PCR     Initial Build                  *
    DATA DICTIONARY TABLES                                               *
    TABLES:
      zpartner.
    SELECTION SCREEN LAYOUT                                              *
    PARAMETERS: p_load   RADIOBUTTON GROUP a1 DEFAULT 'X',
                p_deltab  RADIOBUTTON GROUP a1.
    SELECTION-SCREEN SKIP 2.
    SELECT-OPTIONS: s_vkorg  FOR zpartner-vkorg MEMORY ID vko OBLIGATORY
                                 NO INTERVALS NO-EXTENSION,
                    s_vtweg  FOR zpartner-vtweg MEMORY ID vtw OBLIGATORY
                                 NO INTERVALS NO-EXTENSION,
                    s_spart  FOR zpartner-spart MEMORY ID spa OBLIGATORY
                                 NO INTERVALS NO-EXTENSION.
    INTERNAL TABLES                                                      *
    TYPES: BEGIN OF it_vbak_line,
            vbeln LIKE vbak-vbeln,
            vkorg LIKE vbak-vkorg,
            vtweg LIKE vbak-vtweg,
            spart LIKE vbak-spart,
            kunnr LIKE vbak-kunnr,
          END OF it_vbak_line.
    DATA: it_vbak TYPE TABLE OF it_vbak_line.
    FIELD-SYMBOLS: <it_vbak_line>  TYPE it_vbak_line.
    TYPES: BEGIN OF it_vbpa_line,
            vbeln LIKE vbak-vbeln,
            kunnr LIKE vbak-kunnr,
          END OF it_vbpa_line.
    DATA: it_vbpa TYPE HASHED TABLE OF it_vbpa_line
                       WITH UNIQUE KEY vbeln.
    FIELD-SYMBOLS: <it_vbpa_line>  TYPE it_vbpa_line.
    DATA: it_zpartner TYPE TABLE OF zpartner.
    DATA: wa_zpartner TYPE zpartner.
    STRUCTURES                                                           *
    VARIABLES                                                            *
    DATA:  z_mode   VALUE 'N',
           z_commit TYPE i,
           z_good   TYPE i,
           z_bad    TYPE i.
    CONSTANTS                                                            *
    SELECTION-SCREEN HELP                                                *
    INITIALIZATION                                                       *
    INITIALIZATION.
    AT LINE SELECTION                                                    *
    AT LINE-SELECTION.
    AT SELECTION SCREEN                                                  *
    AT SELECTION-SCREEN.
    START-OF-SELECTION                                                   *
    START-OF-SELECTION.
      IF p_load = 'X'.
        PERFORM select_records.
        PERFORM process_itab.
      ELSE.
        PERFORM delete_table.
      ENDIF.
    END-OF-SELECTION                                                     *
    END-OF-SELECTION.
    *&      Form  DELETE_TABLE
          text
    FORM delete_table.
      DATA:  w_answer.
      CLEAR: w_answer.
      CALL FUNCTION 'POPUP_TO_CONFIRM'
           EXPORTING
                titlebar              = text-002
            DIAGNOSE_OBJECT       = ' '
                text_question         = text-003
                text_button_1         = text-004
                icon_button_1         = 'ICON_OKAY'
                text_button_2         = text-005
                icon_button_2         = 'ICON_CANCEL'
                default_button        = '2'
                display_cancel_button = ''
            USERDEFINED_F1_HELP   = ' '
            START_COLUMN          = 25
            START_ROW             = 6
            POPUP_TYPE            =
          IMPORTING
               answer                = w_answer.
       TABLES
            PARAMETER             =
       EXCEPTIONS
            TEXT_NOT_FOUND        = 1
            OTHERS                = 2
      IF w_answer = 1.
        DELETE FROM zpartner
       WHERE vkorg IN s_vkorg
         AND vtweg IN s_vtweg
         AND spart IN s_spart.
        MESSAGE i398(00) WITH 'Records deleted from table: '
                              sy-dbcnt
      ENDIF.
    ENDFORM.                    " DELETE_TABLE
    *&      Form  SELECT_RECORDS
          text
    FORM select_records.
    get vbaks
      CLEAR: it_vbak.
      SELECT vbeln vkorg vtweg spart kunnr
        FROM vbak
        INTO CORRESPONDING FIELDS OF TABLE it_vbak
       WHERE vkorg IN s_vkorg
         AND vtweg IN s_vtweg
         AND spart IN s_spart
         AND auart = 'TA'.
    get vbpa we's
      CLEAR: it_vbpa.
      SELECT *
        FROM vbpa
        INTO CORRESPONDING FIELDS OF TABLE it_vbpa
        FOR ALL ENTRIES IN it_vbak
       WHERE vbeln = it_vbak-vbeln
         AND posnr = '000000'
         AND parvw = 'WE'.
    ENDFORM.                    " SELECT_RECORDS
    *&      Form  PROCESS_ITAB
    attempt post goods issue for all entries.
    FORM process_itab.
      LOOP AT it_vbak ASSIGNING <it_vbak_line>.
    look at records--populate it_zpartner
        READ TABLE it_vbpa ASSIGNING <it_vbpa_line>
                    WITH TABLE KEY  vbeln   = <it_vbak_line>-vbeln.
        IF sy-subrc = 0.
          CLEAR: wa_zpartner.
          wa_zpartner-mandt = sy-mandt.
          wa_zpartner-vkorg = <it_vbak_line>-vkorg.
          wa_zpartner-vtweg = <it_vbak_line>-vtweg.
          wa_zpartner-spart = <it_vbak_line>-spart.
          wa_zpartner-kunag = <it_vbak_line>-kunnr.
          wa_zpartner-kunwe = <it_vbpa_line>-kunnr.
          APPEND wa_zpartner TO it_zpartner.
        ENDIF.
      ENDLOOP.
      SORT it_zpartner BY mandt vkorg vtweg spart kunag kunwe..
      DELETE ADJACENT DUPLICATES FROM it_zpartner.
    do a mass table update.
      INSERT zpartner FROM TABLE it_zpartner.
      IF sy-subrc = 0.
        MESSAGE s398(00) WITH 'Inserted records: ' sy-dbcnt.
      ENDIF.
    ENDFORM.                    " PROCESS_ITAB
    reward if helpful,
    kushagra

  • 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");
         }

  • Why should I use Java

    HI,
    Someone asked me why are you using Java when you can use Visual Basic.
    Well, I ask this question in this forum ?? why ...
    please leave out the portablity part
    --j                                                                                                                                                                                                                                                                                                                                                   

    Well, here is my 2 cents, as it were. I tried learning VB, and found that while it is powerful, when it comes to designing specifically for Windows systems, I found it extremely hard to understand. When I first learned Java, it didn't take me long to understand the concept and relation of classes and objects, and I was writing Swing apps in no time. With VB, it wasn't that easy. Yes, it was mostly drag and drop and add a few lines of code, but I don't like that. I like to be able to get down into the code and see why it works the way it did, and with VB, I just couldn't grasp it. But with Java, it took me no time at all to be able to understand why it worked the way it did, and because of that, I will always choose Java over any other language, except maybe Miva Script, which is a server side language used for e-commerce websites. It was another language that was easy to learn. Does this mean I'm a lazy programmer, always taking the easy way out? Probably, but if it's easy for me to learn, it's easy for me to implement.
    James

  • What is "Directory Service" and why does it "use up 194%" ?

    What is "Directory Service" and why does it "use up 194%" on my istat CPU app monitor?
    Ever since I installed Leopard I've noticed this happening more and more - especially when I install an external hard drive or unplug my ethernet line - this is plainly weird and never happened under Tiger - the temperature shoots up to 84° also - I always to a restart to get rid of it but it's kind of worrying....anybody have any ideas?
    Message was edited by: Host

    Had this happen myself.
    It does have something to do with Spotlight/searching. Should go away after a while, or so I have heard from other users, 'cause it hasn't stopped driving me and my fan mad yet.
    Am going to have my MacBook index and follow-up on indexing and whatever else it feels is necessary to finally allow me to search in peace over the weekend while locking it away where I can't hear it.
    Hopefully that does the trick.
    If it wasn't for things working better/faster and most things looking better I might actually consider taking Leopard off again ...

  • Hi, why do we use the break and continue structure?

    Hi, I was wondering why do we use the break and continue structure in some program such as:
    for ( int i = 1; i <= 10; i++ ) {
    if ( i == 5 )
    break;
    So, now why do we use those codes, instead of achiving the same results by not using the if structure.
    I am new in java so I can be totaly wrong that is why my question come to you guys.
    I will appriciate if you let me understand more.

    I may not completely understand your question, but - imagine the following scenario:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
    if (target != null){
        System.out.println("Found it at " + index);
    }You will always run through the entire long list, even if the thing you are looking for is the first thing in the list. By inserting a break statement as:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
            break;
    if (target != null){
        System.out.println("Found it at " + index);
    }You can skip whatever's left in the list.
    As for continue, yes, I suppose you could use a big if, but that can get burdensome - you end up with code like:
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (someCondition) {
            // do some stuff -
            // And you end up with lots of code
            // all in this if statement thing
            // which is ok, I suppose
            // but harder to read, in my opinion, than the
            // alternative
    }instead of
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (!someCondition) {
            continue;
        // do some stuff -
        // And you end up with lots of code
        // all outside of any if statement thing
        // which is easier to read, in my opinion, than the
        // alternative
    }Hope that helped
    Lee

  • Why do we use include in sap script text element

    Hi SDNers,
    Why do we use include statement or what does that stands for in an text element of a sap script.
    Details with examples and explanation please
    Thanks & Regards,
    Ranjith N

    Hi Ranjith,
    Please go through this.
    &VBDPL-ARKTX&
    /: INCLUDE &VBDPL-TDNAME& OBJECT VBBP ID 0001
    If your include contains
    = arflebarflegloop
    and vbdpl-arktx contains 'myarticletext'.
    Then the output document will contain a line:
    myarticletext arflebarflegloop
    If the include contains
    arfelbarflegloop
    then the output document will contain the lines:
    myarticletext
    arflebarflegloop
    (Subject to whatever the prevailing paragraph format is - * means use current format).
    Think about what would happen if instead of having an include, you hardcoded the text of the include in your sapscript.
    I found this at http://www.sapfans.com/sapfans/forum/devel/messages/31158.html
    Regards,
    Sharat.

  • How to skip a line like !-- PJG STAG 4700 -- ?

    I am doing a project that requires me to parse a documents.
    The documents have different tags, and main text area between <TEXT> and </TEXT>, here is an example:
    <DOC>
    <DOCNO> FT911-3 </DOCNO>
    <HEADLINE>
    FT 14 MAY 91 / International Company News: Contigas plans DM900m east
    German project
    </HEADLINE>
    <!-- PJG 0012 frnewline -->
    <TEXT>
    CONTIGAS, the German gas group 81 per cent owned by the utility Bayernwerk, said yesterday that it intends to invest DM900m in the next four years.
    </TEXT>
    </DOC>
    Since the main porpuse is to read text body, so I will skip those text between tags except <TEXT></TEXT>.
    I can use switch statement to skip the text between tags, but I can't find a way to skip a line like:
    <!-- PJG 0012 frnewline -->
    any suggestions?

    Let me correct my former statement for jesper1, this is SGML( Standard Generalized Markup Language)
    document, early version for XML, so jesper1 are kind of right.
    For freekee:
    First step:
    /** returns a hashmap of initialized tags
        *  This way we can have more than one tagstring map to the same
        *  tag type.  For example, we might have DOCID and DOCUMENTID both
        *  map to the BEGIN_DOCID tag.
       private HashMap initTags() {
            int NUM_TAGS = 20;
            Integer tagVals[] = new Integer[NUM_TAGS];
            HashMap tags = new HashMap();
            for (int i = 0; i < NUM_TAGS; i++) {
                tagVals[i] = new Integer(i);
            tags.put("<DOC>",             tagVals[0]);
            tags.put("</DOC>",            tagVals[1]);
            tags.put("<PARENT>",          tagVals[2]);
            tags.put("<TITLE>",           tagVals[2]);
            tags.put("<TL>",              tagVals[2]);
            tags.put("<HEADLINE>",        tagVals[2]);
            tags.put("</PARENT>",         tagVals[3]);
            tags.put("</TITLE>",          tagVals[3]);
            tags.put("</TL>",             tagVals[3]);
            tags.put("</HEADLINE>",       tagVals[3]);
            tags.put("<TEXT>",            tagVals[4]);
            tags.put("</TEXT>",           tagVals[5]);
            tags.put("<DOCID>",           tagVals[6]);
            tags.put("<DOCNO>",           tagVals[6]);
            tags.put("</DOCID>",          tagVals[7]);
            tags.put("</DOCNO>",          tagVals[7]);
            tags.put("<DATELINE>",        tagVals[8]);
            tags.put("</DATELINE>",       tagVals[9]);
            return tags;
    second step:
    /* this will read the file of documents, parse them and return a list of document */
      /* objects.  Could be called the document factory since it generates useful       */
      /* document objects that can then be indexed.                                     */
      /* Documents are created when an end of document tag is encountered.              */
      public ArrayList readDocuments() {
          String      dateline     = null;
          String      docName      = null;
          ArrayList   documentList = new ArrayList();
          boolean     done         = false;
          int         documentID   = 0;
          int         length       = 0;
          int         offset       = 0;
          String      title        = null;
          boolean endOfFile = false;
          while (! done) {
              System.out.println("Token --> " + in.sval);
              /* check to see if we hit the end of the file */
              try {
                  if (in.nextToken() == in.TT_EOF) {
                      done = true;
                      endOfFile = true;
                      continue;
                  /* now test for a tag */
                  switch (in.ttype) {
                    // where does "END_DOC" come from?
                    // Since: tags.put("</DOC>", tagVals[1]), so </DOC> is mapped to value 1.
                    // and since in the initialization: private final static int END_DOC = 1;
                    // in.ttype returns a int, like TT_WORD
                 case END_DOC:
                            /* when we hit the end of a document, lets create a new object */
                            /* to store info needed for indexing                           */
                            length = in.currentPosition - offset;
                            Document d = new Document (documentID, docName, title, dateline,
                                             inputFileName, offset, length, distinctTerms);
                            ++documentID;
                            documentList.add(d);
                            break;
                    /* initialize document attributes when we start a new doc */
                    case BEGIN_DOC:
                            System.out.println("Started new document");
                            offset = in.currentPosition;
                            docName = null;
                            dateline = null;
                            title = null;
                            distinctTerms = new HashMap();
                            break;
                 case BEGIN_DOC_NAME:
                         docName = readNoIndex(in, END_DOC_NAME);
                            break;
                 case BEGIN_TITLE:
                            title = readNoIndex(in, END_TITLE);
                            break;
                    case BEGIN_DATELINE:
                            dateline = readNoIndex(in, END_DATELINE);
                            break;
                    case BEGIN_TEXT:
                            readText(in, stopWords);
                            break;
                    /* only time we get a word here is if its outside of any tags */
                    case WORD:
                            break;
                 default: {
                        System.out.println("Unrecognized tag: "+in.sval);
                        System.exit(-1);
              } catch (IOException e) {
                      System.out.println("Exception while reading doc ");
                      e.printStackTrace();
          return documentList;
       }Did I answer your question correctly?

  • Skip 1 Line in ALV report.....

    Hi Experts,
    I have made ALV report in which user wants one blank line after each row.
    How to skip one line after each row in ALV ?
    Yusuf

    Hi Yusuf,
    It is really a typical requirement.
    There is a solution to that.
    In the internal table that you are passing to the function module, append a blank line to that itself.
    Like:
    LOOP AT itab INTO wa.
      APPEND wa TO itab3.
      CLEAR wa.
      APPEND wa TO itab3.
    ENDLOOP.
    REFRESH itab.
    itab[] = itab3[].
    But remember not to do sorting after that or not to pass the sorting table parameters.
    If you have an extra line at the bottom you can delete that by reading the number of lines through the describe statement and delete  the last row of the table.
    Try this hiope this will work.
    Reward points if found useful.
    Thanks & regards
    Abhijit

  • Why does BW use surrogate keys ?

    Hi,
    can anyone answer me in 1 sentence:
    Why dos BW uses surrogate / artifical keys ?
    Its not faster while querying - line items are faster & y need query more tables.
    Its not faster while loading - surrogate keys need to be looked up and build up.
    ThanXs
    Martin

    A database don't care if it's numeric or not. Index access is index access and that is what matters. But talking about indexes. There is less index'es to maintain when you use surrogates, otherwise you should have an index on each characteristic in the fact table, and it could be a lot. Also there may be a historical technical reason, like the number of key fields available on a table. Remember that SAP is trying to be DB vendor independent so if a supported DB only accepts say 16 key fields, then you need to design you application for that.
    -Kristian

  • Using PXI Star line for Sample CLK with 6551.

    Using PXI Star line for Sample CLK with 6551.
    Im trying to clock 5 6551s in a PXI-1006 chassis and a5404 in slot 2.   I have configured the 6551s to use the start line as the sample clock but I still get the error
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA49B5) DAQmx Error -200586 occurred:
    Hardware clocking error occurred.
    If you are using an external sample clock, make sure it is connected and within specifications.  If you are generating your sample clock internally, please contact National Instruments Technical Support.
    Device:  PXI2Slot17
    Status Code: -200586
    Any ideas why?
    Thanks,
    Brian

    Nevermind...problem solved.  I was exporting the wrong signal to the star line.
    Brian
    Message Edited by BrianPack on 11-28-2005 12:07 PM

  • Airport express used as a line-in source to Sonos

    I play my i-Tunes library (play lists) wirelessly by using an Airport Express unit plugged in as a line-in source to my Sonos system. This has never been a problem, up to the point where recently I had to re-install everything on my laptop after it crashed.
    Now when I play i-tunes in the same way, there's a break/interruption (a fraction of a second) in the music every 60 seconds ... I can't work out why this is happening.
    The Sonos system on its own works fine.
    Any one have the same problem? What's causing it?

    I just joined the Sonos world (less than three weeks ago) and love the system. I'm wondering why you are using the line-out from the AE to the line-in of the Sonos? When you use the line-in, you limit what you can control from the Sonos controller or iPhone/iPod touch app.
    As you know, one of the Sonos units must be connected to your network with an Ethernet cable, and the Sonos system creates its own "mesh" network for communicating among Sonos units. Do you have your Sonos unit connected to your AE by Ethernet cable? If so, does your system look like this:
    modem--> router (by Ethernet cable) --> Airport Express (wirelessly) --> Sonos (by Ethernet cable), or do you have the Sonos directly attached to the router by Enternet cable?
    I initially set up my Sonos system by using an AE to connected directly to the Sonos unit. When I called Sonos Tech Support about a separate issue (and they were amazing), the guy said that some people using the AE have no problems, and others do, it depends on how well the network runs. I've changed to a direct Ethernet connection from the router to the Sonos for other reasons.
    If you can connect your Sonos by an Ethernet cable directly to your Router, it may solve your problem. Also, you really should have your Sonos system connect to your computer hosting iTunes rather than through the line-in on your Sonos -- you will get direct access to your playlists, etc. Just remember that once you make a change to iTunes, whether it's adding songs or changing playlists -- you must (1) close iTunes so it updates the XML file (the data file re your songs and playlists); and (2) from Sonos, update the music index -- once you do that, Sonos will see all of the songs/playlists. Also, if you keep your iTunes library in a place other than the default folder, you need to tell Sonos where it is, and also allow it to point to the default folder for the XML file (if you don't Sonos will not see all the music or playlists).
    If all else fails, call Sonos -- once in the queue for service, you have an option of having them call you back. The tech will give you a web page and password to give them access to your screen, and they should be able to solve your problem.
    Good luck!

  • Automated script for deploying, removing, install again the WSP using stsadm command line

    Hi,
    Am having a requirement in my  staging and  prod  env. to add, install,retract and remove wsp.
    In my dev env i used to perform with  Visual Studio ,so i didnt  face any issues regarding retracting and removing the wsp from solution store.
    But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
    store  and installed onto a particular web application [  NOT "All WebApplications"].
    and if  the wsp already exists , i need to retract it & remove from solution store and add it and install again.
    can someone pls help me with the  automated script .also if  the folder contains multiple WSPs how can i doa  for each loop [ iterate through  wach ".wsp"  file and perform install/...task].
    i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion.  manually entering all these commands is a  cumbersome activity.
    note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
    soln store.
    so i thought i will depend upon on stsadm again like old version of SP since its supported.
    Das

    I would recommend you to use Power Shell so that you can do the automation easily. You can use
    power shell for earlier version of SharePoint as well. 
    Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
    http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
    http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
    Cheers,

Maybe you are looking for