After EHP6 Upgarde Picking list print out is resulting format & overlapping issues

Hi All,
We have recently upgraded our system from ECC 6.0 to EHP6 .Now when user trying to print a Picking list document then Print out is overlapping with content .
But when we check the spool the Print Priview looks good but when trying to print the content is overlapping & observed the font size is chaned i.e. the content is displayed in Bold format .
But for those spools which were created before upgarde & when we give a print then Print out is fine. So some thing happend after upgrade that causing us the Print out problem .
we are using device type HPLJ4  & try to print Picking list output and it is causing problem.
Kindly provide your suggestions.
Thanks and regards,
Dilip

Hello Peng Wen,
Thanks for your reply and yes the issue got resolved . Actually we are using a custom device type ZHPLJ4 which is a copy of HPLJ4 . But as part of Upgrade ZHPLJ4  HELVE with scalablity is no longer supported. So we have removed the entry from SE73 as it even doesnt exist in HPLJ4 . Now it is working as expected.
Thanks a lot for your replay.
Thanks and regards,
Dilip

Similar Messages

  • Pick list printing

    Hi Experts,
                     How can i stop pick list printing, i have assigned a print program which is used by all plants but I want to stop pick list printing for one of the plants.
    Thanks
    Satya

    Hi,
    Go to T code OMLV and tick the printer where you don't want printing to happen.Hope this will solve your issue.

  • How do I print out the results of a "search" or "find"?

    I used ical's "find" or "search" field to look up all calendar entries for a project I was working on. How do I print out this result? This is basically the information in the lower right box after you do a search.

    Dear Bri81,
    Thank you for your reply.
    I tried the coding as you suggested
    while(i.hasNext())
    System.out.println( i.next() );
    but the error message reads:
    "CD.java": Error #: 354 : incompatible types; found: void, required: java.lang.String at line 35
    Your help is appreciated
    Norman
    import java.util.*;
    public class TryCD
       public static void main(String[] args)
         Vector cdVector = new Vector();
         CD cd_1 = new CD("Heavy Rapper", "Joe", true);
         CD cd_2 = new CD("Country Music", "Sam", true);
         CD cd_3 = new CD("Punk Music", "Mary", true);
         cdVector.add(cd_1);
         cdVector.add(cd_2);
         cdVector.add(cd_3);
         Iterator i = cdVector.iterator();
         while(i.hasNext())
           System.out.println( i.next() );
    public class CD
       private String item;
       private boolean borrowed = false;
       private String borrower = "";
       private int totalNumberOfItems;
       private int totalNumberOfItemsBorrowed;
       public CD(String item,String borrower, boolean borrowed)
         this.item = item;
         this.borrower = borrower;
         this.borrowed = borrowed;
       public String getItem()
         return item;
       public String getBorrower()
         return borrower;
       public boolean getBorrowed()
         return borrowed;
       public String toString()
          return System.out.println( getItem() + getBorrower());

  • Print outs in various formats..

    hi,
    Is it possible to take print out in various formats like .pdf, .jpg, in SAP B1 2005!. if yes how it can be done. if not possible to take then is there any add ons / enhancements possible.
    Please guide to me resolve this problem.
    Regards,
    Kumar

    It is possible to export a PLD layout to PDF and Image formats.
    Open a Marketing document, for example a AR Invoice.
    From the menu bar choose File -> Export To -> Layout To ->PDF to export to PDF Format
    From the menu bar choose File -> Export To -> Layout To ->Image to export to Image Format

  • If I print an email after it's sent, it prints out Subj, from,date,to and text info. I want to print all this info before I send, not just the text. How?

    If I address and compose an email and try to print it before I send it, it only prints the text, not the "Subject," "From, Date," and "To" lines in the email. After I send it, if I go into the sent register and print the same e-mail it prints out all these lines along with the text.
    I want to print the email before I send it and have the print-out contain all these lines along with the text. How do I set Thunderbird to do this all the time?

    You will get the details you want if you print from the draft folder.

  • Pick list print preview

    Hi all,
    How can I view the print preview of pick list output type EK00?
    When I get to the Picking output from VT02N, it only shows me the status of the output generated.
    But I can't see the print preview.
    Also can I generate Ek00 output for a delivery manually?
    Thanks,
    Raghu.

    I found that I can see the print preview of Picklist using transaction VL06P

  • Picking List Printing Problem

    Hi,
    I have copied SD_PICK_SINGLE Layout and using standard RVADDN01 Program.
    While Printing These Errors is coming :
    Element HEADER_DATA window MAIN is not defined for form YHPK-PICK_SINGLE       
    Element HEADER_TEXT window MAIN is not defined for form YHPK-PICK_SINGLE       
    Element ITEM_TEXT window MAIN is not defined for form YHPK-PICK_SINGLE         
    Element ITEM_PURCHASE_DATA window MAIN is not defined for form YHPK-PICK_SINGLE
    Element ITEM_LINE_BATCH window MAIN is not defined for form YHPK-PICK_SINGLE   
    Element ITEM_LINE_CONFIGURATION_BATCH_HEADER window MAIN is not defined for form
    Element ITEM_LINE_BATCH window MAIN is not defined for form YHPK-PICK_SINGLE    ....
    I dont know why these errors are coming as i have copied the standard layout form.
    I have made a new output type 'YHPK' in 'V2' Shipping...
    In this output type i have selected two processing routines:
    1     Print output RVADDN01     ENTRY     YHPK-PICK_SINGLE
    2     Fax          RVADDN01     ENTRY     YHPK-PICK_SINGLE
    While Debugging all the Elements are traveresed but the value is not populated.
    As a result blank picking list only with heading is printed.
    Please help me resolve this issue urgently....
    Regards,
    Abhishek
    [email protected]

    Yes i even activated it for both DE and En Versions...
    But the same problem
    Message was edited by: Abhishek Bachhawat

  • CO27 Picking List - Printer Setup

    Hello All SAP Gurus,
    I have a requirement to print the picking list using Transaction CO27 to a different SAP printer.
    Could one of you guru please tell me how to configure the different printer for CO27.
    Thanks for your help,
    Best Regards,
    Gary

    Hi,
    As per your query you have to consult with SD consultant, because they have to configure accofdingly.
    Anil

  • Can I print out the document formatting information for review

    Is there a way to print out, for example, all the paragraph format with their formatting details? I'd like the same for character formats, conditional text etc.?
    I'm a long time FrameMaker use and have built numerous templates over the years. The one thing I always found missing was the ability to printout a list of the various formats so that you can review them (much more easily one at a time on screen) to make sure they all have the correct settings. MS Word, back in the DOS days, had this capability and it was fast and efficient way of double checking all the formatting.
    Does this functionality exist in FrameMaker? Or are there any utilities out there that would do this?
    Thanks,
    Inge

    The Format List utility from Squidds does this really well. It creates
    tables that contain the various formats and their settings. It's really
    easy to look down a column and see which paragraph or character formats
    use, for example, a particular font or space above setting. Format List
    is one of the Finalyser utilities.
    The Squidds website is notoriously user unfriendly, but here is a link
    for the price lists page. If you can find the right list for your
    FrameMaker version, it will give you prices for the complete Finalyser
    or Toolbox utility set, and prices for the individual utilities. I
    believe Format List is $49 USD.
    http://www.squidds.de/en/products/price-lists-order-form.html#c321
    It seems like someone else makes a utility that creates a separate
    one-column table for each format. I can't seem to find that one. Perhaps
    someone else remembers what it is. Separate tables are not nearly as
    easy to use for comparison, though.

  • Printing out-poor results

    Hi there,
    i´m a new user of Aperture. I use a canon 400D, take pictures in RAW and L jpgs (store it on external HD). I use a Canon Pixma IP 5300 for printing out. I wasn´t ever happy with the results whenever I print out on my own. So I exported a picture to the (now empty) Iphoto library and..., way better results! Much more natural and easier to handle.
    My question:
    What am I´m doing wrong? Is it color settings in Aperture? What settings should I use to get the most natural out of my prints?
    thanks for your help in advance
    Bob
    Powerbook G4   Mac OS X (10.4.9)  

    Aperture really wants to manage colour during printing.
    One common problem seems to be having your printer (driver) set to colour management, and then Aperture doing it as well. (This is probably not the only problem...)
    One of the O'Reilly Inside Aperture Podcasts, with Joe Schorr, covers this very issue.

  • Re: the odd price list print-out

    I've used FOP from Jakarta and had pretty good success with it. It takes a little bit of time to learn how to write your documents, but it does a decent job with the formatting, etc. Check it out at
    http://xml.apache.org/fop/
    Also, there is a good reference site for fo at http://zvon.org/xxl/xslfoReference/Output/index.html

    Hi Pragya,
    Please go through this piece of document from SAP Library
    If you use a column with greater than 255 as the LINE-SIZE in the REPORT or NEW-PAGE statement, the following notes apply:
    Type definitions: The type group SLIST defines the valid maximum value for the list width (SLIST_MAX_LINESIZE), and contains a type for list lines with maximum type (SLIST_MAX_LISTLINE).
    Printing: You cannot print the list using standard printing functions. To print it, you must create a special print routine that arranges the data in shorter lines (for example, using the ... PRINT ON addition in the NEW-PAGE) statement.
    Accessing the entire contents of a line:: To read or modify the entire contents of a wide line, you can use the ... LINE VALUE addition in the READ LINE or MODIFY LINE statements. This is an alternative to using SY-LISEL that is independent of the attributes of the system field (since the length of SY-LISEL is 255 characters).
    Hroizontal lines: With extra-wide lists, the "ULINE." statement corresponds to "WRITE / SY-ULINE.". So, for example, "ULINE AT 5(300)." corresponds to "WRITE AT 5(300) SY-ULINE.".
    Output length:: You can use the length specification in WRITE (or ULINE) to extend the output length of an extra-wide list up to the value of LINE-SIZE. If you want to output a whole field that is longer than 255 characters, you must use this, even if the field itself is defined as longer than 255 characters.
    Example
    NEW-PAGE LINE-SIZE 1000.
    DATA: F1(500) VALUE 'F1'.
    WRITE: /      F1 COLOR COL_NORMAL.  " Output with length 255
    WRITE: /(500) F1 COLOR COL_NORMAL.  " Output with length 500

  • Invoice List print out multiple output devices

    Gurus
    I have a requirement where in I need the Invoice list to generate output to 2 different devices.....
    Here is my dillema, Invoice list program looks at the output device that is set up in the user defaults in the user area, SU3 transaction, Since only one output device can be used in that field I can generate Invoice list output to only one printer unless done manually that is not possible as the number of invoice list is huge.
    I am using ECC 5.0 , Does anybody have a solution for this???
    Thanks
    In advance

    The printer name can be defaulted from the output condition record, which I believe trumps the printer in the user's default.
    You could have two output condition types Z001 and Z002, both automatically proposed and each pointing to a different printer.

  • Pick list print issue?

    Hello Friends,
    I have a printing issue with my client,
    For specific customers  they ship very large kits(BOM's) and require ship labels to print for each component listed on the picklist , in addition to the regular ship label for the header material YX.
    These components are item category YF (purposely omitted for delivery note).
    They do not want this to print of every customer, Please advice how we can add a logic to  print shipping labels for components only for specific customers.
    thanks;
    Mike

    hi,
    Currently i am working on similar object
    We have developed Zprogram for the project. We are using  bar code printer which is used to print the lables.
    1. Developed a zprogram with selection screen child & parent material radio buttons. so whenver u click child material it will create label only for components apart from header material.
    2.Program generates a text file with component details and  downloads it to the Application server
    3. Once the text fiole get downloaded & bar code printer is ON , it will automatically prints the labels. If the barcode printer is OFF, then u will be able to see the text files
    Please find the Zprogram used, pls take help of ur ABAPER to cchnage the plants & details corresponding to ur setup
    REPORT  ZKITTAG  message-id z_apd.
    tables : mseg,
             makt,
             mkpf,
             zmmstoragebin,
             t001w,
             mast,
             stpo.
    **SELECTION SCREEN
    selection-screen  : begin of block blk1 with frame title text-001.
    parameters        : p_werks type ekpo-werks obligatory.
    parameters        : s_mblnr type mseg-mblnr obligatory.
    select-options   :  s_matnr for mseg-matnr obligatory no intervals
    no-extension.
    parameters:p_child  radiobutton group rad,
               p_parent radiobutton group rad.
    *parameters        : no      type i.
    selection-screen  : end of block blk1.
    data :begin of it_mseg_header occurs 0,
          MBLNR LIKE MSEG-MBLNR,
          MJAHR LIKE MSEG-MJAHR,"Kiran 28.06.2008
          EBELN LIKE MSEG-EBELN,
          MATNR LIKE MSEG-MATNR,
          MENGE like mseg-menge,
          BWTAR LIKE MSEG-BWTAR,
          meins like mseg-meins,
          MAKTX LIKE MAKT-MAKTX,
          menge1(19),
          STORAGE LIKE ZMMSTORAGEBIN-STORAGE,  "Sridhar on 22082005
          WERKS LIKE MSEG-WERKS,               "Sridhar on 22082005
    end of it_mseg_header.
    data: menge1 like mseg-menge.
    DATA : BEGIN OF IT_MSEG_CHILD OCCURS 0,
            MBLNR LIKE MSEG-MBLNR,
            MJAHR LIKE MSEG-MJAHR,
            EBELN LIKE MSEG-EBELN,
            WERKS LIKE MSEG-WERKS,
            MATNR1 LIKE MSEG-MATNR, " HEADER PARTNO
            MATNR LIKE MSEG-MATNR,
            MAKTX LIKE MAKT-MAKTX,
            BWTAR LIKE MSEG-BWTAR,
            MEINS LIKE MSEG-MEINS,
            STORAGE LIKE ZMMSTORAGEBIN-STORAGE,
            HQTY LIKE MSEG-MENGE, " HEADER QTY
            MENGE LIKE MSEG-MENGE, " CHILD QTY
            SUMQTY LIKE MSEG-MENGE, "SUM OF CHILD QTY FOR SAME PARTS
            QTPKIT LIKE MSEG-MENGE, " QTY PER KIT
            PQTY LIKE MSEG-MENGE, " PRINT QTY
            PQTY1 LIKE MSEG-MENGE, " PRINT QTY 1
            QUO TYPE I,
            REM LIKE MSEG-MENGE ,           
            MENGE2(19),
            MENGE3(16),
            MENGE4(19),
            MENGE5(16),
          END OF IT_MSEG_CHILD.
    DATA: TEMPQUO LIKE MSEG-MENGE,TEMPREM LIKE MSEG-MENGE,
            TEMPHQTY LIKE MSEG-MENGE,TEMPSUMQTY LIKE MSEG-MENGE,
            CMPVAL LIKE MSEG-MENGE.
    data: v_bktxt type mkpf-bktxt.
    data: sum like mseg-menge.
    data : prod(13).
    data : n1(2) type n.
    data : n2(2) type n.              
    data : n3(2) type n.              
    data : n4(2) type n.              
    data : c1(2) type n value 1.      
    data : dsn(150).
    data : dsn1(100).
    data : number(3).
    data : file(50) value 'E:\userdata\Barcode_kittags\kit00' .
    Data : file1(50) value 'E:\userdata\Barcode_kittags\kit00' .
    Data for server details
    data : host1 like syst-host.
    data : sysid like syst-sysid.
    RANGES : r_werks FOR mseg-werks.
    *AT SELECTION SCREEN.*
    at selection-screen.
    r_werks-sign = 'I'.
    r_werks-option = 'EQ'.
    r_werks-low = 'WK01'.
    APPEND r_werks.
    r_werks-low = 'CQ01'.
    APPEND r_werks.
    if p_werks not in r_werks.
    message 'Plant should be either plant1 or plant2' TYPE 'E'.
    endif.
      select single werks into t001w-werks  from t001w
             where werks eq p_werks.
      if sy-subrc <> 0.
        message e000(z_apd) with 'Invalid Plant...Please Check'.
      endif.
      select single mblnr into mseg-mblnr from mseg
             where mblnr eq s_mblnr.
      if sy-subrc <> 0.
        message e000(z_apd) with 'Invalid Material Doc...Please Check'.
      endif.
    start-of-selection.
      perform get_data.
      if p_child eq 'X'.
        if it_mseg_child is initial.
       No Details Available
          message i017(z_apd) with text-002.
          exit.
        else.
          host1 = syst-host.
          sysid = syst-sysid.
          n1 = 1.
    **Sorting according parent material and child parts
          sort it_mseg_child by matnr1 matnr.
    loop at it_mseg_child.            
          if p_werks = 'WK01'.
            concatenate file n1 '.PJ' into dsn.
          ENDIF.
          if p_werks = 'CQ01'.
            concatenate file1 n1 '.PJ' into dsn.
          ENDIF.
          perform write_data.
          clear dsn.
          n1 = n1 + 1.
    endloop.                          
          message i017(z_apd) with TExt-003."'File Has Been Created'.
          clear: it_mseg_child, it_mseg_child.
          refresh : it_mseg_child, it_mseg_child.
        endif.
      else.
        if it_mseg_header is initial.
       No Details Available
          message i017(z_apd) with text-002.
          exit.
        else.
          host1 = syst-host.
          sysid = syst-sysid.
          n1 = 1.
    **Sorting according parent material and child parts
          sort it_mseg_header by matnr.
    loop at it_mseg_header .         
          if p_werks = 'WK01'.
            concatenate file n1 '.PJ' into dsn.
          ENDIF.
          if p_werks = 'CQ01'.
            concatenate file1 n1 '.PJ' into dsn.
          ENDIF.
          n2 = it_mseg_header-menge.
          perform write_data1.
          clear dsn.
          n1 = n1 + 1.
    endloop.                       
          message i017(z_apd) with TExt-003."'File Has Been Created'.
          clear: it_mseg_header, it_mseg_header.
          refresh : it_mseg_header, it_mseg_header.
        endif.
      endif.
    end-of-selection.
    *&      Form  get_data
          text
    FORM get_data .
      AUTHORITY-CHECK OBJECT 'ZPLANT'
      ID 'WERKS' FIELD P_WERKS.
      IF SY-SUBRC NE 0.
        message E006(zmess) with text-009  p_werks.
      endif.
      select a~mblnr
             a~mjahr   
             a~ebeln
             a~matnr
             a~menge
             a~bwtar
             a~meins
             a~werks
       from mseg as a
       inner join mkpf as b
       on  amblnr = bmblnr and
           amjahr = bmjahr
      into corresponding fields of table it_mseg_header
      where
      a~WERKS = p_werks
      and b~mblnr = s_mblnr
      and a~matnr  in s_matnr
      and a~BWART = '101'.
      loop at it_mseg_header.
        select single maktx from makt  into
               (it_mseg_header-maktx)
               where matnr = it_mseg_header-matnr.
        select single storage into (it_mseg_header-storage)
        from ZMMSTORAGEBIN
        where WERKS = it_mseg_header-WERKS
        and MATNR = it_mseg_header-MATNR and
        BWTAR = it_mseg_header-BWTAR.
        move '1.000' to it_mseg_header-menge1.
        CONCATENATE it_mseg_header-MENGE1 it_mseg_header-meins INTO
        it_mseg_header-menge1 .
        modify it_mseg_header transporting maktx menge1.
    SELECT DISTINCT AMBLNR aMJAHR aWERKS aMEINS aEBELN aMATNR a~BWTAR
    a~MENGE
    INTO CORRESPONDING FIELDS OF TABLE IT_MSEG_CHILD
    FROM MSEG AS A INNER JOIN MKPF AS B
    ON AMBLNR = BMBLNR AND
       AMJAHR = BMJAHR
    WHERE A~MBLNR = IT_MSEG_HEADER-MBLNR
    AND  A~MJAHR = IT_MSEG_HEADER-MJAHR
    AND A~BWART = '543'
    AND A~WERKS = IT_MSEG_HEADER-WERKS
    AND A~EBELN = IT_MSEG_HEADER-EBELN.
    *AND A~BWART = '541'.
      endloop.
      loop at it_mseg_child.
        SELECT SINGLE SUM( MENGE )
        INTO (TEMPSUMQTY)
        FROM MSEG
        WHERE MBLNR = IT_MSEG_CHILD-MBLNR
        AND MJAHR = IT_MSEG_CHILD-MJAHR 
        AND WERKS = IT_MSEG_CHILD-WERKS 
        AND EBELN = IT_MSEG_CHILD-EBELN
        AND MATNR = IT_MSEG_CHILD-MATNR
        AND BWART = '543'.
        select single maktx
        into it_mseg_child-maktx
        from makt
        where matnr = it_mseg_child-matnr.
        select single matnr MENGE
        into (it_mseg_child-matnr1,TEMPHQTY)
        from mseg
        where mblnr = it_mseg_child-mblnr
        and mjahr   = it_mseg_child-mjahr
        and werks   = it_mseg_child-werks
        and ebeln   = it_mseg_child-ebeln
        and bwart = '101'.
        select single storage
        into (it_mseg_child-storage)
        from ZMMSTORAGEBIN
        where WERKS = it_mseg_child-WERKS
        and MATNR = it_mseg_child-MATNR and
        BWTAR = it_mseg_child-BWTAR.
        IT_MSEG_CHILD-QTPKIT = TEMPSUMQTY / TEMPHQTY.
        IT_MSEG_CHILD-SUMQTY = TEMPSUMQTY.
        IT_MSEG_CHILD-HQTY = TEMPHQTY.
        modify it_mseg_child.
      endloop.
      DELETE ADJACENT DUPLICATES FROM it_mseg_child.
      LOOP AT IT_MSEG_CHILD.
        IT_MSEG_CHILD-QUO = IT_MSEG_CHILD-MENGE DIV IT_MSEG_CHILD-QTPKIT.
        IT_MSEG_CHILD-REM = IT_MSEG_CHILD-MENGE MOD IT_MSEG_CHILD-QTPKIT.
        it_mseg_child-MENGE3 = it_mseg_child-QTPKIT.
        condense it_mseg_child-MENGE3.
        CONCATENATE it_mseg_child-MENGE3 it_mseg_child-MEins INTO
        it_mseg_child-MENGE2 .
        condense it_mseg_child-MENGE2 .
        it_mseg_child-MENGE4 = IT_MSEG_CHILD-REM.
        condense it_mseg_child-MENGE4.
        CONCATENATE it_mseg_child-MENGE4 it_mseg_child-MEins INTO
        it_mseg_child-MENGE5 .
        condense it_mseg_child-MENGE5 .
        MODIFY IT_MSEG_CHILD.
      ENDLOOP.
    ENDFORM.                    " get_data
    *&      Form  write_data
          text
    FORM write_data .
      open dataset dsn for output in text mode encoding default.
      if sy-subrc <> 0.
        exit.
      endif.
    transfer 'KTN.LBL' to dsn.                      
      SORT IT_MSEG_CHILD BY EBELN STORAGE.
      LOOP AT IT_MSEG_CHILD.
       IF IT_MSEG_CHILD-QUO > 0."uncommented           
    IF IT_MSEG_CHILD-REM = 0."commented              
    n3 = IT_MSEG_CHILD-QUO.                         
    do n3 times.                                    
      transfer 'KTN.LBL' to dsn.                     
       MOVE 1 TO NUMBER.                               
    MOVE IT_MSEG_CHILD-QUO TO NUMBER."commented     
      MOVE IT_MSEG_CHILD-QTPKIT TO NUMBER."commented 
            condense number.
            transfer number to dsn.
            transfer : it_mseg_child-EBELN to dsn,
                       it_mseg_child-matnr1 to dsn,
                       it_mseg_child-matnr to dsn,
                       it_mseg_child-maktx to dsn,
                       it_mseg_child-MENGE2 to dsn,
                       it_mseg_child-bwtar to dsn.
            transfer it_mseg_child-storage to dsn.
            transfer space to dsn.
            c1 = c1 + 1.
            if c1 = 8.
              clear c1.
              close dataset dsn.
              clear dsn.
              n1 = n1 + 1.
              if p_werks = 'WK01'.
                concatenate file n1 '.PJ' into dsn.
              ENDIF.
              if p_werks = 'CQ01'.
                concatenate file1 n1 '.PJ' into dsn.
              ENDIF.
              open dataset dsn for output in text mode encoding default.
              if sy-subrc <> 0.
                exit.
              endif.
            endif.
          enddo.                                
        ENDIF.
        IF IT_MSEG_CHILD-REM > 0.
      n4 = IT_MSEG_CHILD-REM.                        
         do 1 times.                                   
          transfer 'KTN.LBL' to dsn.                   
          MOVE 1 TO NUMBER."uncommented                
      MOVE IT_MSEG_CHILD-REM TO NUMBER."commented
            condense number.
            transfer number to dsn.
            transfer : it_mseg_child-EBELN to dsn,
                       it_mseg_child-matnr1 to dsn,
                       it_mseg_child-matnr to dsn,
                       it_mseg_child-maktx to dsn,
                       it_mseg_child-MENGE5 to dsn,
                       it_mseg_child-bwtar to dsn.
            transfer it_mseg_child-storage to dsn.
            transfer space to dsn.
            c1 = c1 + 1.
            if c1 = 8.
              clear c1.
              close dataset dsn.
              clear dsn.
              n1 = n1 + 1.
              if p_werks = 'WK01'.
                concatenate file n1 '.PJ' into dsn.
              ENDIF.
              if p_werks = 'CQ01'.
                concatenate file1 n1 '.PJ' into dsn.
              ENDIF.
              open dataset dsn for output in text mode encoding default.
              if sy-subrc <> 0.
                exit.
              endif.
            endif.
          enddo.                                 
        ENDIF.
      ENDLOOP.
      close dataset dsn.
    ENDFORM.                    " write_data
    *&      Form  write_data1
          text
    FORM write_data1 .
      open dataset dsn for output in text mode encoding default.
      if sy-subrc <> 0.
        exit.
      endif.
      SORT IT_MSEG_HEADER BY EBELN .
    LOOP AT IT_MSEG_HEADER.          
      do n2 times.                         
        transfer 'KTN.LBL' to dsn.       
        MOVE 1 TO NUMBER.
        condense number.
        transfer number to dsn.
        transfer : it_mseg_header-EBELN to dsn,
                   it_mseg_header-matnr to dsn,
                   it_mseg_header-matnr to dsn,
                   it_mseg_header-maktx to dsn,
                   it_mseg_header-MENGE1 to dsn,
                   it_mseg_header-bwtar to dsn,
                   it_mseg_header-storage to dsn. 
        transfer space to dsn.
        c1 = c1 + 1.                        
        if c1 = 8.                          
          clear c1.                         
          close dataset dsn.
          clear dsn.
          n1 = n1 + 1.
          if p_werks = 'WK01'.
            concatenate file n1 '.PJ' into dsn.
          ENDIF.
          if p_werks = 'CQ01'.
            concatenate file1 n1 '.PJ' into dsn.
          ENDIF.
          open dataset dsn for output in text mode encoding default.
          if sy-subrc <> 0.
            exit.
          endif.
        endif.
    *ENDLOOP.                     
      enddo.                        
      close dataset dsn.
    ENDFORM.                    " write_data1
    hope this shelps u
    regards,
    Arun prasad

  • How do I use multiple classes to print out different results

    I tried the below, but it only printed the print line from the class that contains the "main" method, but I want the second one (Demo2) to print to check some logic :
    class StaticDemo {
    int x;
    static int y;
    class Demo {
    public static void main(String args[]){
    StaticDemo.y = 30;
    System.out.println("StaticDemo.y = " + StaticDemo.y);
    class Demo2 {
    public static void main(String args[]){
    System.out.println("StaticDemo.y 2 = " + StaticDemo.y);
    }

    You can only have one main method. Try something like this:
    class StaticDemo
       int x;
       static int y;
    class Demo
       public static void main(String[] args) {
          StaticDemo.y = 30;
          System.out.println("StaticDemo.y = " + StaticDemo.y);
          Demo2 d2 = new Demo2();
          d2.display();
    class Demo2
       void display() {
          System.out.println("StaticDemo.y 2 = " + StaticDemo.y);

  • Using Applescript to open a link in an email and printing out the result

    This may have been answered before but I can't find it. Does anyone have a script that can read an email to find a link contained within it, open said link and then print it?

    Tried that. Unfortunately it did not work.

Maybe you are looking for

  • Eth0 with e1000e stopped working after upgrade to 3.6.2

    Hi! After the recent upgrade my eth0 network device does not come up properly anymore.  The Laptop is a Thinkpad x60s and I use the e1000e kernel module for the network card.  After a suspend/wakeup cycle the card/device works properly BTW.. Any help

  • HDMI through DVI-out?

    Hi! Just wondering if the msi 945gt is able to connect to my Panasonic AE900E through HDMI via the DVI contact on the mainboard? I've tried an Aopen board that wasn't successful with this, I suspect it had to with HDCP not being enabled on this board

  • RunReport problem

    Hello, I am new to web service and I'm trying to open BIP report in Apex by using web service (wsdl). Firstly, I followed the tutorial http://tylermuth.wordpress.com/2008/03/31/call-bi-publisher-web-services-from-apex/ , but I got the error message a

  • Hyphen problem

    Hi, I hav a XML with below tag - When I open the XML in notepad - <userinfo-label><FONT COLOR=Blue><b>Customer Focus ||| Employee Overall Rating</b></FONT></userinfo-label> When I open this XML in IE - <userinfo-label><FONT COLOR=Blue><b>Customer Foc

  • Odd SocketException

    So, every once in awhile while running our software, we get the following exception: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: No buffer space available (maximum connection