Print line number on print layout

Hi all,
Is there a way to print the line number on the print layout?
Thanks,
Jane

Hi,
Try this, you will get Line Number in Print.
1st Method,
->> Open your PLD. Create 1 System Variable Field in Repetetive Area.
->> Put Variable No. - 77
Else, 2nd Method,
->> Open your PLD. Create 1 Formula Field in Repetetive Area.
->> Put this Formula LineNum().
Regards,
Madhan.

Similar Messages

  • Print Layout not a line

    Hi to all,
    I'm trying to set my print layout in ABAP but when I print my report is cut, is not fix to the paper.
    LINE-SIZE  100
    LINE-COUNT 65(3)
    may form print x_65_100
    can any want advice or give me point of view how to fix the print layout.
    Best regards,
    Johns

    Hi,
    yes it is cut at the right side, and I need to fit it on one page.
    best regards,
    Johnson

  • SAP Script Check printing Layout, Line Items to display twice in First Page

    Hi All,
    This requirement is for US check printing Layout.
    My Requirement is to display Items twice on the first page.
    Eg : Main Window has 10 Items, I need to display all the Items at the bottom in another window at the bottom.
    I can't create 2 Main windows in the first page, as the data from the Main window 1 overflows to Main window 2 in the first page.
    I copied print program RFFOUS_C into a Z-version and try to implement the logic, however unable to print the line items in the bottom window.
    Kindly give your valuable Inputs.
    Thanks
    Vinayak

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • Print line number only on item lines (not text lines)

    Hi everyone,
    I need to print the line number on a document only for the item lines, not the text lines.
    I also want the line number serie to be in a straight ascending serie, not just to skip the numbering on the text lines.
    Like this
      Item    Description                         Price
    1   123    Item 123                              100 EUR
         This is a special offer for you!
    2   456    Item 456                               275 EUR
    3   678    Item 678                               300 EUR
         This item is not on stock.
    4   888    Item 888                               350 EUR
    Any hints?
    Thank you!
    //Susanna

    Hi Susanna,
    You probably need an UDF to achieve your goal.  There is no formula supporting your requirement.
    Thanks,
    Gordon

  • Sales Order Line Number printing as it appears in UI

    Hi,
    I am trying to get the Line number in sales orders as it appears in the UI,but when i fetch the data from the underlying table i am getting a different value.Can any one help me out how to get the value as is from UI at line level.
    For Eg:
    The Sales order Line number is 1.1 in the UI,then the corresponding value when i fetch from the table is being displayed as 1.
    Thanks,
    Praveen

    select line_number||(decode(shipment_number,null,'','.'||shipment_number))
    ||(decode(option_number,null,'','.'||option_number))||
    (decode(component_number,null,'','.'||component_number))||
    (decode(service_number,null,'','.'||service_number)) LineNumber from apps.oe_order_lines_all where header_id= &head;
    Edited by: user9095588 on Feb 11, 2010 12:35 PM

  • Please hep to generate same line number to print in file

    Hi
    I am generating file by taking data from few tables. I need to generate file data from below structure data :
    i.e In table A for order O having product p1,p2,p3,p4, lines will be wrriten to file in following manner
    Line Number
    O -p1 - 1
    O -p2 - 2
    O -p3 - 3
    O -p4 - 4
    Now another line is from table which will have only two product entries for the order O in below manner
    i.e In table B for order O having product p2,p4. so for this lines should be match with above line number of order like this :
    Line Number
    O - p2 -2
    O - p4 -4
    First all data from table A will be writeen. Then only from TABLE B data should be wrriten to file.
    Can anybody please help how to match line number for both the tables?
    Thanks in advance

    Perhaps a clearer output would be if we had different descriptions on each of the tables A an B to output with each of the rows..
    SQL> ed
    Wrote file afiedt.buf
      1  with A as (select 1 as order_id, 'p1' as product_id, 'A - order 1 product 1' as descr from dual union all
      2             select 1, 'p2', 'A - order 1 product 2' from dual union all
      3             select 1, 'p3', 'A - order 1 product 3' from dual union all
      4             select 1, 'p4', 'A - order 1 product 4' from dual union all
      5             select 2, 'p1', 'A - order 2 product 1' from dual union all
      6             select 2, 'p2', 'A - order 2 product 2' from dual union all
      7             select 2, 'p3', 'A - order 2 product 3' from dual)
      8      ,B as (select 1 as order_id, 'p2' as product_id, 'B - order 1 product 2' as descr from dual union all
      9             select 1, 'p4', 'B - order 1 product 4' from dual union all
    10             select 2, 'p3', 'B - order 2 product 3' from dual)
    11  -- end of test data
    12  select order_id
    13        ,product_id
    14        ,row_number() over (partition by order_id order by product_id) as line_number
    15        ,descr
    16  from A
    17  union all
    18  select order_id, product_id, line_number, descr
    19  from (
    20    select b.order_id
    21          ,b.product_id
    22          ,row_number() over (partition by a.order_id order by a.product_id) as line_number
    23          ,b.descr
    24    from A left outer join B on (a.order_id = b.order_id and a.product_id = b.product_id)
    25    )
    26* where order_id is not null
    SQL> /
      ORDER_ID PR LINE_NUMBER DESCR
             1 p1           1 A - order 1 product 1
             1 p2           2 A - order 1 product 2
             1 p3           3 A - order 1 product 3
             1 p4           4 A - order 1 product 4
             2 p1           1 A - order 2 product 1
             2 p2           2 A - order 2 product 2
             2 p3           3 A - order 2 product 3
             1 p2           2 B - order 1 product 2
             1 p4           4 B - order 1 product 4
             2 p3           3 B - order 2 product 3
    10 rows selected.
    SQL>

  • LR Print Layout Request -- A New Start

    After some discussion on another thread, here is a new start, trying to detail my request to improve the layout functions in the Lightroom Print Module. These requests are for common layout requirements for those of us who do other printing than single page Fine Arts prints. The current layout functions in LR are essentially limited to Fine Arts and Contact Print functions. The requests below are for the rest of us.
    Please note that these requests are only about LR Print Module LAYOUT functions. Requests about soft proofing, output sharpening, etc. should be handled in another thread.
    Request that print layout functions include the ability to:
    1. Precisely place multiple cells of different size and orientation on a page.
    2. Automatically place as many images as possible of a given size on a page, making the image orientation as necessary. For example, three 4 x 6 prints on a single 8.5" x 11" page. Wedding shots, for example.
    3. Allow creation and saving a job of multiple pages with the ability to have different page layouts on each page. For example, a twelve page monthly calendar where some pages may have a single landscape image with no caption. Some may have a single landscape image with caption. Some pages may have two portrait images with or without captions, and some pages may have all of the above.
    Consider that on a landscape page, there could be two portrait prints with a single landscape caption below and spanning both portrait images.
    Another example to show the need for this is when making a Photo Book. Most often, each page will have different layout requirements.
    It should be possible to save and recall both the entire job with images and just the layout alone. Maybe a Print Job Collection and a "Print Layout Collection."
    With the implementation of 1. above, a separate caption option isnt necessary since it can be created as desired as a separate cell with text created in Photoshop or some other application.
    4. Be able to create a template for a page(s) and place selected images in selected cells. For example create a template for a greeting or note card that will be folded after printing. The portrait page template could have two cells. The outside page could have an image in the bottom cell only, and the inside page could have images in both cells, or any combination of the above. The point being that an empty cell should be possible.
    5. Be able to replace or remove any image from any cell on any page when desired. That is, be able to add, remove, or replace an image in a particular cell without changing the remaining layout.
    6. Be able to insert or remove an image from a page and have the entire layout change accordingly. For example, I just found the perfect sunset to insert after the thunder storm. This is the inverse of 5.
    7. Provide trim marks for page cuts when a final page is smaller than physical page. This situation has just come up in Christmas cards that will be 7-7/8" x 10-1/2", printed on 8.5" x 11" paper. By the way, I dont know of any other application that can do this.
    These are all some detailed request to implement the general request to be able to place any image in any orientation anywhere on a page.
    Wil

    And I would add that the form of this regquest is just about perfect...about the only thing missing is the "why would you want to do that" part with potential examples of how you would use certain aspects of the request to do certain commonly needed tasks.
    For example on #2, are you asking for the ability to maizimize the number of images up on a sheet to make prints more efficiently? Would you also want margins and trim lines? (personally, I would as an option).
    #3 has a good example for the suggestion/request. But another example of use would be to be able to print off custom brochures either for the photographer (self promotion) or as a service to the client.
    You say you want the ability to swap images in an array (I do too). Would you want to do this by drag & drop (say yes please)?
    This is much better...
    :~)

  • Dunning Report Print Layout Issue

    Hi
    I have a problem with the Dunning Report Print layout (Dunning All (system)). In the wizard I select all the Invoices (Which are over due and current) for the BP and sent to printer.
    In the print out all the due dates are mixed with the acctual Due dates.
    Acctuall Invoices
    Doc No.                  DOC Due            Level
    ======================================
    10000                     05.11.07              2
    10001                     25.02.08              1
    10002                     03.03.08              1
    10003                     03.04.08              0
    Print out
    Doc No.                  DOC Due            Level
    ======================================
    10000                     05.11.07              2
    10001                     03.03.08              1
    10002                     03.04.08              0
    10003                     25.02.08              1
    How can I fix this. This is coming from the System template and we havent change anything.
    Could you please help me.
    Thanks
    Sanjaya

    Hi
    I solved the problem. But the issue was when i ran the dunning wizard the layouts messed up. For example if I had a dunning letter with 3 lines (overdue documents). The last line would copy itself 4-6 times (it would show the last document 4-6times so the total lines in the dunning letter would be 7-9 lines). But I solve the issue. Somehow the attention person (which I got from the contact persons (ocrp) and not from the document contact person (oinv) ) did the issue. When i switch it to the oinv the issue was gone.
    kind regards
    Søren
    Edited by: Bundgaard Søren Hollænder on Jan 26, 2009 9:56 AM

  • Default Query Print Layout problem

    Hello:
        I have a query below SELECT T0.[ItemCode], T0.[Dscription], sum(T0.[Quantity]) as 'Quantity' FROM INV1 T0 WHERE month(T0.[DocDate]) =month([%0]) AND  year(T0.[DocDate]) = year([%0]) and T0.[ItemCode] IS NOT NULL GROUP BY T0.[ItemCode], T0.[Dscription] ORDER By T0.[ItemCode].
        Which basically output monthly inventory invoiced qty. It works fine. However when I try ti link to the default system print layout and try to print. The column 'quantity' become very small and cut off most of the number. How do I make it bigger? I have been trying to modify it for quiet a while now. Nothing seems to work. I think it's length is preset base on the column lenth in the table! If that's the case how do I make it wider?
        Also the default layout for user query are pretty weired. I think it's dynamically allocating spaces depends on number of column. But what happens when you do functions such as sum, avg..etc. There is no present length. So they just disregard it?
      Any help will be appreciated.. Thank You
    Sincerely Yours
    Bo Peng

    Hi Bo,
    I am asuming that u are not yet familiar with how to work with PLD (Print Layout Designer). I would suggest that u see some tutorials from the following link and then try to change that default layout according to ur own requirements
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/51c19891-0901-0010-6eb1-e71abf09298a
    Reagrds
    Rizwan Hafeez
    Team Lead
    SAP Addon Development Section
    Abacus Consulting - Pakistan

  • Authorization on Query Print Layout Report

    Hi Experts,
    Is there a way to limit users from generating Query Print Layout which they are not suppose to generate? Currently, all query print layout is exposed to all users, but I want to limit which users who can access specific reports only and to prevent from accidentally generating other confidential reports.
    I tried grouping the queries per Query Manager and assigned the query number to designated users in Authorizations, but it seems that this does not apply in Query print layout generation.
    Any help?
    Don

    Hi Gordon,
    Yes, I gave the users authorization for the query print layout so that they can run one of the report, however, all the reports are exposed also, for confidentiality purposes, I don't want to allow the same users to generate other query print layouts.
    Is there a way for this?
    Thanks.

  • Query Print Layout - Generated PDF Document Name?

    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

    Hello,
    Yes, I have the same question. It could be great being able to choose the name of the document when creating a pdf. Even better if you could chose fields of the document for the name of the pdf, such as, name of customer, number of document, date, etc.
    Is there any way for doing this?
    Thanks in advance,
    Javier.
    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

  • Query Print Layout - Incoming Payment

    Hi All,
    I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
    Below is the query:
    SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
    T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
    T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
    T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
    FROM [dbo].[OINV]  T0 INNER JOIN ORCT T1
    ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
    ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
    ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
    ON T1.CardCode = T3.CardCode
    WHERE T1.DocNum = [%0]
    ORDER BY T1.DocNum
    the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
    Thank you! hope you can help.
    Pauline

    Pauline,
    I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
    Rgds,

  • Query Print Layout column sum in report footer

    Hi Experts,
    I am utilizing a query and created the layout via Query Print Layout. I am using sort and group functions which filters my column sums for a certain field conditions. My problem is that when I want to make a total column sum for all the repetitive footers' column sum, the system shows a message that only repetitive areas can be average/ sum.
    Is this the standard behaviour of the system? Or is this a limitation if we are using the print layout via Query print layout. Any workaround to get the final total for all pages column sum?
    Please advise.
    Thanks,
    Don

    hello
    Don
    what u want actually i dint understood as i now but u need colsum of ur repetitive fields or repetitive footer fields
    I).if u want repetitive footer all columns sum take the contact of those fields ex:(concat(F_a+F_B -
    )) so u can get ur total for repetitive footer fields
    II).if u want repetitive area lines colsum for every field u take as colsum with respect to the unique id of repetitive area fields
    regards
    Jenny

  • Print Layout Designer - inconsistent output

    Hi,
    We have received consistent compaint from our client that the output of Print Layout Designer are inconsistent.
    Eg: The same PLD template is used for An invoice print out from 2 different workstation.  However, workstation A display the format properly, workstation B will have missing lines between boxes or the alignment is not displayed properly.
    We have also recently encountered the problem that our client export the invoice to Acrobat and then print it.  However, it displays properly for workstation with  Acrobat version 8, 9, but missing lines for version 7.
    Another scenario could be the form is displayed properly on the screen, but the physical print out to a printer is not consistent. 
    We really appreciate some share of thoughts here.  Is switching to other report writer, eg: Crystal Report, the only option?
    Edited by: Shwu Hua Gan on Aug 10, 2008 2:57 AM

    Gordon,
    Thanks for replying.
    This is what happen to our client.
    The font size of the customised PLD SAP Invoice is size 5.  In order to preview the layout, they have to preview in PDF, once they are happy with the details and then print.
    In some workstations, there are Adobe Reader version 8 or 9.  In a couple of workstations, there are Adobe Acrobat version 9.
    Let's say, there are 2 fields with the following properties:
    Field A, Left = 0, Width = 10.
    Field B, Left = 10, Width = 10.
    Adobe Acrobat version 9 display the border of the field properly.  However, those with Adobe Reader 8 / 9 will see gaps between fields.
    If we change them as follows the field the gap;
    Field A, Left = 0, Width = 10.
    Field B, Left = 9, Width = 11,
    Then those with Adobe Acrobat version 9 is missing the border for because Field A overlaps with Field B.  But Adobe Reader 8/9 will print fine.  It also works fine if user click 'Print Preview' as normal and then click 'Print'
    Does anyone knows whether this inconsistencies is caused by
    - printer drivers; or
    - Adobe; or
    - SAP Business One.

  • Print Layout Designer - Different Variable No for Different Currencies

    Hi Experts,
    I will need your support once again.I just noticed that the Withholding tax field on the Invoice print layout displays only when the transaction is in Local currency,while trying to trouble shoot this issue, I discovered that the Variable Number for the withholding Tax field for transactions in Local currency differ from that of USD transactions.
    I need this field to display irrespective of the currency, how can I achieve this? Can I get a comon variable number for that field ?
    Any info will be highly appreciated.
    Kind Regards

    Hi Chike,
    The answer is no.  You can not change them because they hold different values. If you want to use one PLD to print both LC and FC, you have to use many formula fields to do so.
    Thanks,
    Gordon

Maybe you are looking for

  • How do i migrate data from ipad to macbook pro?

    After a hard drive failure on my macbook I have a lot of infomation on an ipad that i want to transfer to the rebuilt mac.  Unfortunately syncing does not transfer, nor does drag and drop nor copy paste. If I try to sync the macbook wants to replace

  • A/V out on Creative Zen 32

    I had a Creative Vision:M 30GB for 2 years which I loved but the hard dri've gave out. I am considering the Vision 32GB but I have a question before I buy it. Does it have the ability to do A/V out? I loved doing that with my Vision:M. The videos loo

  • Songs being replaced

    Hi everyone, I have been using Itunes since 2005 and never had this kind of problem. It seems that Itunes is exchanging artists and songs, and also deleting some songs. For example when I select Layla by Eric Clapton, a song by Joss Stone starts play

  • Case Condition not working

    I am trying to create a calculation based on the following case condition. For some reason its working fine on a existing report but now when I am creating a new report based on this, its giving error "Invalid Combinations of Condition and Calculatio

  • Why won't the music player quick link work on ios7

    I have installed ios7 and now the quick link music player will not work! Any ideas as I cannot play music in the car without going into the full music player! Also my in car controls have stopped working the player? Very annoying worked fine on ios6