Reg: Printing multiple lines of line item in a smartform?

Hi Experts,
I have a query regarding printing multliple line items in a smartform. In this form i dont have control on the font size because the client is using some generic type format to print the data in EPSON LQ 590.
Here this generic type drivers, it has his own default font.
If i print using the normal EPSON LQ 590 drivers, alignment is perfectly fine. But in generic case its totally different.
My query is in my item row there are 7 columns. If one of the column exceeds the space which i have assigned for that particular cell, it should go to next line automatically. How should i do this?
Then there should be a line space between 2 rows of data.  How should i do this?
Please help me on this.
Another query is date is getting displayed as 19.07.2009, due to the space problem in that particular cell i need to display as 19.07.09. Please tell me how should i do this also?
Waiting for the reply.
Thanks and Regards,
Abdur Rafique

Use smartstyles for the same to mke sure it goes into next line. Also you can set space between 2 lrows to one line.
For the date issue..use the following piece of code...
DATA: w_date TYPE sy-datum,
            w_char TYPE char8.
CONCATENATE w_date+6(2) w_date+4(2) w_date+2(2) INTO w_char SEPERATE BY '.'.

Similar Messages

  • Unable to print multiple line items in Z-SAP SCRIPT

    Hi ALL,
    We have a scenario where in we are calling the Driver program (RFKORD50) for Document Extract(F.64), Where in we have attached the Z-Script to the program(RFKORD50),
    Unable to print multiple items.
    1) Checked with all the elements in STD program for printing multiple items in main window but unable to get all the items we are able to fetch only 1 item .
    (&BSEG-BUZEI&,,     &BSEG-SGTXT&,,,,&BSEG-DMBTR&)
    2) I have also tried with external subroutine but it also didnot work.it is fetching the latest value.
    Ex: if we have 3 items say 1,2,3 first 2 items are not getting fetched it is taking 3rd item and printing it straight away(Problem is it is not going to script for fetching the first item).
    see the perform which i have used
    /: PERFORM ITEMS IN PROGRAM ZTFI_ZNV20296
    /:USING &BSEG-BUKRS&
    /:USING &BKPF-BELNR&
    /:USING &BSEG-GJAHR&
    /:CHANGING &V_BUZEI&
    /:CHANGING &V_SGTXT&
    /:CHANGING &V_DMBTR&
    /: ENDPERFORM
    IL  &V_BUZEI&,,     &V_SGTXT&,,,,&V_DMBTR&
    Please suggest me whetther we can call write_form from external subroutine. or is there any loop commands in SAP SCRIPT Form.
    Regards,
    Jana

    Hi!
    The LOOP is always within the printer program. In this case also.
    Just check out the RFKORI35 include, the LOOP begins in the 215th line (in 4.6C).
    SORT HBSEG BY BUKRS SORTP1 SORTP2 SORTP3 SORTP4 SORTP5
                          BELNR GJAHR BUZEI.
            LOOP AT HBSEG.
    *         WHERE BUKRS = SAVE_BUKRS.
              SAVE_BUKRS  = HBSEG-BUKRS.
              IF  ( HBSEG-KUNNR = SAVE_KUNNR
              AND   NOT SAVE_KUNNR IS INITIAL )
              OR  ( HBSEG-LIFNR = SAVE_LIFNR
              AND   NOT SAVE_LIFNR IS INITIAL ).
                CLEAR RF140-ELEMENT.
                RF140-ELEMENT = '521'.
                CALL FUNCTION 'WRITE_FORM'
                         EXPORTING  WINDOW    = 'MAIN'
                                    ELEMENT   = '521'
                         EXCEPTIONS WINDOW    = 1
                                    ELEMENT   = 2.
    You might try out to write your code within the 521 elemnt in the sapscript.
    Regards
    Tamás
    Edited by: Tamás Nyisztor on Jun 12, 2008 3:34 PM

  • Problem in printing multiple line items

    Hi,
       i designed a SAPSCRIPT FORM.When i execute the t-code MB01 by giving PO which has multiple line items ,  output type is invisible.
    But when i iexecute the t-code MB01 by giving PO which has single item , output type is visible and form is printing.
    Do i need to copy the print program and make changes in there or if i change elements in the form will that helps in printing multiple line items.
    thanks.

    HI,
    wat i understand is u r trying to loop at a variable window .but tht is not suggestable.
    write a loop in program lines. read the values in to different variables and the try printing them as text elements that will solve the problem.
    or else in other way use a template and that can also solve the problem.

  • Printing multiple PR with different line items in smartform

    Hello all,
    I have an requirement to print multiple PR with different line items on different pages.
    So,suppose two PR are there,PR1 and PR2 with n no of line items,then i should get each PR on different page with its line items.
    Note: One loop processing is already there on line items.
    Best Regards,
    Anurodh

    Hi,
    Fetch all the PRs and its corresponding items into 2 different table. Then Loop at the internal whihc contains the PRs and  call the 2nd internal table for its items and call the FM for smartforms and pass them.
    LOOP AT it_PR.
      fetch all the items into it_PR_item
      Call Function Fnam
      Passign the it_PR_item
    ENDLOOP.
    Regards,
    Aditya

  • ME91F printing multiple line items in reminders

    Hi All,
    We are trying to print reminders for line items (in PO's) from ME91F. When I execute this report it displays only line items (which satifies selection criteria), but when generate message (print outputs) for selected line items It will print reminders with all the line items (including the one for which reminders have been generated earlier). What should I do to make only the selected line items are printed in the reminders (instead of old one's).
    Example
    I have PO 4500000030 with two line items 10 and 20. Reminder for line item 10 is already generated at earlier date and now I am generating reminder for item 20 from ME91F. When I run transaction ME91F it displays only line item 20, but after selecting item 20 and click on generate messages (in the spool I am seeing two line items 10 and 20). What should I do to print only line item 20.
    Any thoughts/inputs will be greatly appreciated. Thanks for your time.
    Paul

    Hi
    please check with developer to verify the print program.
    regards
    Srinivas

  • How can I print multiple lines in my All Day Events (month view)?

    Does anyone know if there is anyway to print multiple lines for all day events? When I print my iCal from a monthly view, my all day events (positioned as a header) only print the words that can fit into the daily box, instead of going into multiple lines and displaying the whole text.
    For example:
    Los Angeles County Fair, Don't forget to pick up John and Jen
    will print as:
    Los Angeles County Fa......Jen
    Anyone have any idea how to solve this?
    P.S. I have already tried meddling with fonts and page sizes to no avail.

    Welcome to Apple Discussions!
    So far as I know, an allday event only ever shows a single line of text regardless of view.
    Consequently, how much you can see is governed by the width of the day (or days) in that view.

  • Transaction MM60 printing multiple lines for the same information

    Transaction MM60 is printing the same information multiple times, meaning that the same materail is printing multiple times with the exact same information.  Any ideas why?

    It IS showing duplicate lines.   The columns that I'm showing are:
    Material
    Plant
    Val. Type
    Material Description
    Last Change
    MTyp
    Matl Group
    Unit of measure
    Purchasing group
    ABC indicator
    MRPType
    Valuation Class
    Price Control Indicator
    Price
    Currency
    Price Unit
    Created by
    Every single field is identical and each material contains exactly eight rows of identical information.  The interesting thing is that if I actually enter a material number, only one line shows (which is correct.)  However, if I leave the material number blank and enter the material type, that's when we get multiple lines.
    Any other ideas?

  • How to print vertical lines for line items?

    hi experts,
                    can any one tell me how to print vertical lines for line items in ascript?
    ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
    thanks &regards
    narendar

    hi narendar,
    Welcome to SDN.
       u can go for box command.
    Use the box command with zero width for vertical lines.
    Position the line by x position and y postion.
    syntax :
    BOX <xpos> <ypos>
           <width>
          <height>
          <thickness in twips> twips.
    Regards,
    Arun.
    Reward points if useful.

  • Found 0 results for My browser is missing important items, the whole tool bar...., drop down menu to print, copy, work off line, file, save, book mark, history. I just installed latest foxfire on windows xp. Found some instructions but they called for usi

    Found 0 results for My browser is missing important items, the whole tool bar...., drop down menu to print, copy, work off line, file, save, book mark, history. I just installed latest foxfire on windows xp. Found some instructions but they called for using keys my computer doesn't have ( key in OSX There is no file, edit , history, help, tools, navigation, all the things your directions say to use. Also I always get hung up and the message a scrip is running. I don't know what thises scrips are but I sure don't need them.
    == This happened ==
    Every time Firefox opened
    == I just noticed it. It probably happened when I upgraded foxfire.

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of page

    My HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of each printed page. It appears to happen in the same parts of each page printed.
    - I installed new ink cartridges
    - I verified that the paper I’m using is the standard inkjet paper that I always use
    - In the tools section of the printer setup menu, I ran the “Clean Printhead”, “Align Printer”, and “Calibrate Linefeed” options
    - In reading the printer’s manual, it seems to imply that the printheads could be the problem.
    - So, I manually cleaned the printhead contacts
    - When I print the self-test diagnostics page, it shows printhead health to be “Good” for both. One of them was installed in January of 2009, and the other was installed March of 2008.
    - With a Q-tip, I even cleaned the clear plastic band that runs parallel to the carriage rod. (It was pretty dirty.)
    Here's a scan of the printed output.
    Thanks for your help!

    After a 2hr phone call with tech support, here is the solution; the L7600 Series printer have a firmware update (file name: OfficejetProK7600_R2011PxN.exe) my printer was bought in 2008 thus my print head is a 2008 model, and new print heads are a 2011 modem, they don’t work right in a 2008 model this is PER the tech rep and his name was John unless you upgrade the firmware.
    So I upgraded the firmware from a 2004NxN to the 2011PxN and now my printer says damaged or missing print head, I place the original print head from 2008 back in the machine and it’s fine, so I bought a 3rd print head for 2011 and it says the print head is damaged.
    After another 30min or so I was told I have a bad printer and sorry the warranty is out, but the old print head works but any new print heads do not, this sounds like a HP Error firmware / hardware compatibility issue, not my issue, but HP will not repair.
    HP has no fix nor will they repair the printer.

  • Printing in only last line item printing in main window

    Hi All,
    My requiremnet is to print same data in two blocks for F110 payment cheque
    Iam using 2 main windows to print same data if block exceeds it will go to next page
    iam calling the windows as shown below
    CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window   = 'MAIN00'
            element  = hlp_ep_element
            function = 'APPEND'
          EXCEPTIONS
            window   = 1
            element  = 2.
        IF sy-subrc EQ 2.
          err_element-fname = t042e-zforn.
          err_element-fenst = 'MAIN00'.
          err_element-elemt = hlp_ep_element.
          err_element-text  = text_525.
          COLLECT err_element.
        ENDIF.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window   = 'MAIN01'
            element  = hlp_ep_element
            function = 'APPEND'
          EXCEPTIONS
            window   = 1
            element  = 2.
        IF sy-subrc EQ 2.
          err_element-fname = t042e-zforn.
          err_element-fenst = 'MAIN01'.
          err_element-elemt = hlp_ep_element.
          err_element-text  = text_525.
          COLLECT err_element.
        ENDIF.
    Iam getting only last line item printing in main window
    Please provide the inputs.
    Thanks,
    Kamalakar.
    Please use code tags.
    Edited by: Rob Burbank on Nov 25, 2011 11:51 AM

    Hi,
    My requirement was to print same block twice in cheque printing of F110.
    I have used the function module  'WRITE_FORM_LINES' to print more than one line item in secondary window in the script .
    fill the Lines internal table as shown below.
    Example :
        lines-tdformat = 'TM'.
        CONCATENATE regup-xblnr ',,' w_date ',,'  w_bsak-sgtxt ',,' w_gross ',,' w_dis ',,'
        w_net INTO lines-tdline.
    APPEND lines.
    CALL FUNCTION 'WRITE_FORM_LINES'
          EXPORTING
           function                       = 'APPEND'
           header                         =  header_t
           type                           = 'BODY'
           window                         = 'MAIN01'
        IMPORTING
          FROMPAGE                       =
          PENDING_LINES                  =
          TABLES
            lines                          = lines
         EXCEPTIONS
           function                       = 1
           type                           = 2
           unopened                       = 3
           unstarted                      = 4
           window                         = 5
           bad_pageformat_for_print       = 6
           spool_error                    = 7
           codepage                       = 8
           OTHERS                         = 9
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.

  • In COGI error text "Multiple assignment of line item"

    Hi Guru,
    In COGI error text "Multiple assignment of line item"
    Description:
    ultiple assignment of a line ID
       Message no. M7357
    iagnosis
       An item table, in which the line ID (LINE_ID)
       was transferred to the function module MB_CRE
    ystem Response
       Processing is terminated.
    rocedure
       Contact the system administration.
    rocedure for System Administration
       There is an error in the calling application.
    Please help me to resolved this issue.
    Thanks and regards
    PNU

    Hi,
    Thanks for reply,
    It is possible to remove material from COGI list. We need to stop creation of this error.
    Is there other solution to control creation of error  "Multiple assignment of line item"
    Thanx & regd.
    PNU

  • SAPF150D-Dunning Notice Print - With Update of Line Items and Master Record

    When I am running this program SAPF150D(Dunning Notice Print - With Update of Line Items and Master Records) with a variant containing run date, runc id, update mode, pimmed & pcount; the job is failing to execute. It is giving message like,
    "The field symbol is no longer assigned because there was an attempt makde previously in a Unicode program to set the field symbol using ASSIGN with offset and/or length specification. Here, the memory addressed by the offset/length specification was not within the allowed area."
    "GETWA_NOT_ASSIGNED_RANGE" "SAPF150D" or "F150DFS0" "SORTFELDER_ERMITTELN"

    Hi,
    Search for routine FORM SORTFELDER_ERMITTELN
    in SAPF150D.
    Put a breakpoint in statement
    ASSIGN (T047F-FELDN) TO <H1>.
    in above routine and debug to the point where error is occuring.
    Most likely there is a mismatch in the length assigned to some field FELDN in table T047F.
    In that case, simply change the T047F-LENGT field accordingly in change mode.
    Cheers,
    Vikram
    Edited by: Vikram Jalali on May 27, 2008 5:56 PM

  • Multiple tax lines for same item

    Hi,
    Is it possible to have multiple tax lines for same item in an invoice in AR.
    Business Need - A few items have multiple tax applicable ( e.g. VAT, Service tax, etc ). And for regulatory purpose customer wants to show each tax separately.
    please Advise.
    thanks,
    K

    Hi Hikumar,
    With tax groups you have what is called compound taxes.
    A tax group is consisted of more than one tax codes and these tax codes may be related or not to each other,you can also specify the precedence of the tax codes in a tax group.
    On the Invoice or order item line, the tax group code is entered and the tax engine calculates the tax for each tax code that belongs to the tax group.
    If the user wants to see the taxes of this line he will see detailed the tax amounts and rates of each tax code that belong to this group.
    In my case i have used a tax group with 3 tax codes with the structure:
    Item line amount 1000
    1)The first line is a specific sales tax(12%) with taxable basis the amount of the item line=1000*12%=120
    2)The second line is a VAT(23%) tax with taxable basis the amount calculated from the first tax of the group=120*23%=27,6
    3) The third line is a VAT(23%) tax with taxable basis the amount of the item line=1000*23%=230
    For each item line that has the above tax group, the system creates three seperate tax lines
    Your case does not seem so complicate as mine.
    You can find more information on the AR user guide and the Oracle receivables tax manual.
    On which Ebs version are you working on?
    If you sent me more detailed you requirement i can quide you on the way to implement it and test it.
    I hope this helps.
    Regards
    Olga

  • When printing a highlighted (selected) print range from an internet item pulled up through Firefox, the first line of the selected range is not printing or is partially cut off.

    When printing a highlighted (selected) print range from an internet item pulled up through Firefox, the first line of the selected range is not printing or is partially cut off. This is not an issue with my printer, as printer prints the whole selected print range when using Internet Explorer or Word Doc applications. The problem only happens when using Firefox. Please advise on how to fix this. Is this a settings issue or do I need to download and update? Thx

    * [[Printing a web page]]
    * [[Firefox prints incorrectly]]
    Check and tell if its working.

Maybe you are looking for

  • Oci post varray of blobs  to the database - any ideas?

    This seems wierd to me and i can't help thinking I'm missing something obvious. I can create a varray of blob on the db - called say "varrblob"; I can create an array of blob(string) in PHP; I can get multiple blobs from the db in one go via a cursor

  • Investment Mgt

    Hi All, Could you pls provide me the related documentation for the entire process flow as well as the Configuration Document for the Investment Management for my mail ID : [email protected] Request you to sent me atleast the Process Flow/User Documen

  • Bluetooth programming in J2SE

    Can any one please guide me which and how to use Java API's to make a bluetooth connection between two PCs which are Bluetooth enabled. I want to send a string message from a laptop to another!!! Thnx in anticipation...

  • WebLogic WLST Install question cgDataSource.

    I'm trying to script out a WebLogic 10.3g install on a Windows 2003 Server using JRockit and Oracle 10.3g as the cgDataSource and cgDataSource-nonXA. All of the samples for a silent install using a silent.xml parameter file don't allow you to change

  • Only General Tab showing on my Safari Preferences???

    The only tab I have is the general. Does anyone know how I get the rest of these tabs to show up again? General Appearence Bookmarks Tabs AutoFill Security Advanced Thanks to anyone that can help. Bobbi