Conditional printing

Post Author: kirsty
CA Forum: Formula
HiTrying to write formula for conditional printing defining a section,I have created a new section, right click on grey area on the left ofthe report and say insert section below.Went to Section Expert to define a formula for the 'Suppress' tick boxbut cannot get the right formula. I need to display jobnumber ifneeded if not suppress.programming has never been my best subject please help

Post Author: synapsevampire
CA Forum: Formula
If you'd bothered to read my post it stated make up data if need be. Your permissions certainly don't disallow that.
Saying radio button inventory doesn't really help us, post the field and it's type if you want help with code.
v361 took a good stab at it, but you're intentionally wasting yours and other people's time because you don't want to take the time to give examples or post specifics.
If you right click the field you wish to suppress and select format field->X2 next to suppress, you can palce the appropriate code there.
Good luck.
-k

Similar Messages

  • Duplicate pricing conditions printed in the invoice

    The values returned in the table parameter "TKOMVD" of the function module "'RV_PRICE_PRINT_HEAD"used in the program RVADIN01, causing some duplicate pricing conditions in the script printing.
    Also this table parameter is not always returning the same set of values. Only at the first time print of the invoice (via the job schedule of the program RSNAST00) this parameter is filled with some values, so when i reprint the invoice via VF03, it prints fine.
    I searched some notes to resolve the problem. But in the below mentioned note it says that, it is the standard behaviour of the function module. But if it is the standard behavior, then the function module should return the same set of values always. (I am working on SAP 4.7)
    (Note Number : 68057
    Symptoms:
    If conditions are revealed in the totals block for order confirmations or billing documents, conditions are only accumulated if the condition rate or the condition percentage rate is identical.
    Example : Billing document with            Item      Condition    Condition rate
               10        PR00         100
               20        PR00          10
               30        PR00         100
    If condition PR00 is printed in the totals block, the following two lines appear :
               Price     100  per piece    200
               Price      10  per piece     10
    Additional key words
    Invoice printout, RVADOR01, RVADIN01
    Cause and prerequisites
    Standard behavior
    Solution
    To achieve a summarization of conditions with identical condition keys but with different condition rates or condition percentage rates, you can change the standard behavior by using a user exit as described below.)

    Hi..
    If you are talking about proforma invoice that needs to be printed and is required to be changed.Then i would suggest you to look at one of the output type for the std proforma invoice FUPI has aprogram linked to it RVADAUS1 that determines the output with print parameters fetching from NAST table.
    You can devlope the log or can incorporate the new requirements  you wanted to be changed
    Just check if this is the thing you are looking or let me  have more clarity from you about your issue.
    Thanks
    Saurabh.

  • HELP ! Conditional Print

    I need to produce a printed master/details report, which will contain boiler plate text in cases
    where the number of detailed records retrieved will be less than one page e.g. if a normal page should
    contain 5 detailed records and only 3 records were retrieved from the DB, a boiler plate text should be
    printed for these two records. If you can send sample from the scott/tiger schema it will be great !
    Regards
    Teresa
    PS
    Please send a copy of your response to :
    [email protected]
    null

    I need to produce a printed master/details report, which will contain boiler plate text in cases
    where the number of detailed records retrieved will be less than one page e.g. if a normal page should
    contain 5 detailed records and only 3 records were retrieved from the DB, a boiler plate text should be
    printed for these two records. If you can send sample from the scott/tiger schema it will be great !
    Regards
    Teresa
    PS
    Please send a copy of your response to :
    [email protected]
    null

  • cfdocument ... conditional printing

    <cfif entry.name EQ session.realUserName>
    <cfdocument format="pdf"
    margintop = ".5"
    marginbottom = "1"
    marginleft = ".5"
    marginright = ".5"> <!--- printing OK --->
    <cfelse>
    <cfdocument format="pdf"
    margintop = ".5"
    marginbottom = "1"
    marginleft = ".5"
    marginright = ".5"
    encryption = "128-bit"
    permissions = "AllowScreenReaders"> <!--- NO print
    --->
    </cfif>
    Each <cfdocument ... by itself works OK
    but in the abofe <cfif it simply disappear
    leaving the error:
    "</cfdocument> needs a starting tag"
    Any thought?
    Thanks for helping.

    Please use end tags (</cfdocument>) for each
    <cfdocument> tag.
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=ColdFusion_Documentation&file=part_cfm.htm
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Conditional Printing when NE to 0

    Post Author: LaVerne
    CA Forum: Formula
    Good Morning - I would like to suppress printing of records when (the Actual Volume = 0 and the Budgeted Volume = 0).  Amounts in either of these field can be less than 0 in which case, I would like the row to print. 
    Thank you.

    Post Author: V361
    CA Forum: Formula
    If you are suppressing a section, go to section expert, look for the X/1 formula next to the supress option.  Click on the X/1 in the formula add  ( Using the correct field names )
    if   = 0 and  = 0 then true else false
    If both actual_volume and Bugeted_Volume are 0, the formula will be true.  When true, it will suppress the section.    ( you can also suppress individual fields using this, if that is what you want)

  • Conditional Printing :SMARTFORM

    Hello All,
    I am new to Smartforms and I am working on reservation pick list. I need to propose available bins based on qty for each line item. So if there are 2 bins for line item 0001, I should display line no, material no, Qty in only on first line.
    Should be like this:
    Line Material Qty Bins
    0001 123456 2 ABC
    blank blank blank XYZ
    Can somebody tell me where do I put the condition?
    Thanks,
    Chandni

    Please find a very good code sample explaining such condition checks and program lines etc,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    Regards
    Kathirvel

  • Printing Terms and Conditions for each Purchase order in the RDF output

    Hi All,
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Thankyou in advance
    Regards,
    Polimera

    Hi, Polimera
    Welcome to OTN
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Take a fixed frame inside the purchase order master repeating frame and place your terms and condition inside the fixed frame.
    Hope this helps
    If someone response is helpful or correct, please mark is accordingly

  • Conditional Row Printing

    I have a table with 2 rows. I want to make the 2nd row conditional so it only shows it depending on a value I have in my XML.
    I added a condition in the row:
    <xsl:if test="NEXT_GRADE[normalize-space(.) != '']">
    This keeps the data in the cells from printing but it still leaves a 2nd blank row for all of my records. How can I make the row not show at all so it becomes a 1 row per record report?
    Thanks.

    Hi,
    I am also facing the same issue. Could you please explain me how are you conditionally printing duplex pages just for the last page.
    In my case, I need to print the check in the footer section of the last page of the invoice and right behind that page, I need to print the address change section.
    I have used <?last-page....?> functionality of XMLP to print the check in the footer section of the last page, and unable to print address section from there on in a new page.
    So could you please send me your sample rtf template to [email protected] or explain the steps you followed to accomplish the work around.
    Thanks and I appreciate your time on this.
    Shankar.

  • Conditional Duplex Printing

    What is the best way to do conditional duplex printing? While printing invoices, just the last page needs to be in duplex mode, so that address details could be printed on the back side of the very last page. We have a solution at the moment, to have page breaks/sections breaks after the invoice data, which gives us what exactly what we want but, it is just not optimal. The printing takes a little bit extra time. Wondering if anybody out there has an elegant and efficient solution.
    Thanks

    Hi,
    I am also facing the same issue. Could you please explain me how are you conditionally printing duplex pages just for the last page.
    In my case, I need to print the check in the footer section of the last page of the invoice and right behind that page, I need to print the address change section.
    I have used <?last-page....?> functionality of XMLP to print the check in the footer section of the last page, and unable to print address section from there on in a new page.
    So could you please send me your sample rtf template to [email protected] or explain the steps you followed to accomplish the work around.
    Thanks and I appreciate your time on this.
    Shankar.

  • How to print text in paper format iin smartforms

    Hi all,
      I want a question that  how to print text in paper format like  paper divides into 2 parts and if the firstpart is full of text i.e., it exceeds the first page the text will be displyed in the second part of the first page.
    Usefull answers will be awarded.
    Thanks all...

    Hi,
    U create two windows in the page and same as like second page.
    but in first page first window select the condition print only on first page.
    in second window select conditin print only on second page.
    first try without creating a secondpage. if that doesn't workout create secondpage and try.
    Assign points if useful.
    Regards
    (YUGANDHAR.P)

  • HP Officejet 6700: A problem with the printer or ink system.

    I'm not sure what the problem is anymore since I've bought new cartridges and applied them carefully and correctly.
    My printer uses 933 for CMY and 932 for Black. Interestingly, it gives me this error when I installed the black cartridge. I don't understand why. I bought and applied the XL. Maybe it doesn't like XL?

    I have tried that and so much more. Finally, I chose to contact HP directly and was told to do a number of troubleshooting tasks (that which I've done on my own a hundred times over). She put me on a conference call with an HP Engineer and we finally deduced that it most likely is the printer. I am receiving a conditioned printer by the end of next week and sending my defective one back to them. Thank you for your help!

  • Duplex printing of invoice list in smartform

    Hi,
    I am new to smartforms and I have to handle duplex printing.  I need information like how to give the page sequence for duplex printing.
    I have 2 pages, page 1 prints the header list of the invoice. Page 2 prints the invoice list and has the main window, hence if the data in the 2nd page overflows then the invoice list will be printed on the 3rd page. In this scenario I have to get terms & conditions printed behind all the 3 pages.
    I created page3 with terms & conditions. This is the way I gave:
    PAGE1 - Print mode: D; Next page: Page3
    PAGE3 - Print mode: ' '; Next page: Page1
    PAGE2 - Print mode: D; Next page: Page3
    I have a doubt like if the 3rd page is printed with invoice list then will the 3rd page contain the terms & conditions? Please correct me if I am doing wrong.
    Thanks & Regards,
    Kate.

    Hi
    It depends on where you've placed those data, if they are in the bottom of the main, yes you're right: they'll be printed only in the last page.
    If they're are in another window, they are printed in every page (where the window is defined).
    Max

  • White background of image created in Photoshop prints as grey through iPhoto postal ordering service.

    I have created an image in Photoshop with a white background (I stuck with the default white background that the new image gave me). Over the top of this, I placed some images, saved it as a JPG, imported it into iPhoto and ordered it as a postcard-sized picture.
    When I received it in the post, the whole image had printed with a grey overtone: the white background was in fact grey, and the pictures over the top were darker.
    How can I resolve this to print my image with a truly white background through iPhoto's ordering service?
    Many thanks,
    Adam

    If unchecking the scene-referred profiles box clears the display problem in Photoshop, you most likely have hit a known bug with defective monitor profiling packages building defective monitor profiles that affect Photoshop and After Effects — specifically, the defective profile is erroneously marked as "scene referred."
    Version 4 ICC Profiles: If your are using v4 printing profiles, try Googling for more information...some symptoms of this bug are Photoshop prints a light cyan or blue in the page white areas. The Fix is to use Version 2 printer profiles.
    there is another old known issue that has to do with trying to Hard Proof simulate press conditions (printing cyan in whites) but i am not sure what you are trying and i can't recall it right now
    if those aren't it upload these screenshots of your workflow:
    show full Photoshop window including zoom% and Docuent Profile in lower left corner

  • Not printing in grayscale

    My printer will only print in colour even though I have set it to print in grayscale. Any help? It was working perfectly fine before but it started acting this way ever since I came back from my holiday. I have tried reinstalling drivers but to no avail. If the file I wanted to print was already in black then it would print in black. But if the file is originally coloured then the printer will still print in colour regardless of the settings I made. I am using ip4850.

    Hi,
    Grayscale is a mixture of available colors on your printer and under normal conditions printer will print in black and white using ALL colors. If you wish to print B&W, select Black in only.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • PO Print SAP scripts:Grand total field -- High priority

    Hi experts
    In a PO print out, For example in one line item ,I have conditions printed as below
    Line iem 1.
    Gross price -- 1000
    VAT% 40
    Service Tax -
    123.36
    Net. Incl. Disc. 1163.36
    Line iem 2.
    Gross price -- 500
    VAT% 20
    Service Tax -
    61.8
    Net. Incl. Disc. 581.8
    Grand total----
    1500
    (desired tgrand total 1163.36+581.8)
    I have many line items like this and the total of all conditions at individual line item printed is correct.
    But at the bottom of the PO print, in the "Grand Total" the sum of only the Gross values is printed (Not the total of the Net. Incl. vlaues of line items).
    I got info from our developer that we are using SAP scripts (not smart forms).
    Please guide me if anyone has come accros a issue like this and got the answer. This is urgent.
    Thank you
    MRao

    To calculate grand totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window where ever that value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name>
    /:USING &KOMVD-KBERT&
    /:CHANGING &TOT_PRICE&
    /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly grant total will be in footer window)
    Then create subroutine pool program and you have to write the following code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                               outt_cond structure itcsy.
    data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough example,
    Note:Int_cond-value and outt_cond-value are characters.
    Close the thread once your question is answered.
    Regards,
    SaiRam

Maybe you are looking for