Conditional Formula based on Print Number

Post Author: DigYerOwnHole
CA Forum: Formula
Hi,Does CR have a way to base formulae on the print copies?Here's my situation:Using Crystal to print off sales invoices. The invoices have to be printed three times. On the first copy the invoice has to state "Original", on the second copy the invoice has to state "Duplicate", and on the third copy the invoice has to state "Triplicate". In all other ways the rest of the report is identical.So, I'd really like a formula to handle this change in text based on the print copy, problem being I don't know if CR has a notion of 'Print Copy #' Aside from using pre-printed and collated stationery, the only method I've found is to create the three invoice reports and insert them as sub-reports to a main report. However, this method has given rise to some horrible pagination problems that I have been unable to resolve.I'm using CR11 ThanksDigs

Post Author: DigYerOwnHole
CA Forum: Formula
Thanks. Guess I'll need to take a further look in to the pagination issues I currently have.Would be awesome if Crystal carried this type of functionality though.

Similar Messages

  • Conditional formatting based on page number that resets on repeating frame

    Hello everyone,
    I have searched through multiple forums on multiple sites and haven't come across anyone who has accomplished this.
    I have a report with pages numbers that reset on a repeating frame.
    I have a text boiler plate that I want to only show up on page 1. On every occurrence of page 1.
    SRW.GET_PAGE_NUM does not work because it returns physical page number.
    I'm trying to access the value of the field for my page number. The value comes from "source" drop down with value of "Page Number".
    I've tried accessing the <&page number> in the PL/SQL of my conditional formatting trigger but no luck.
    This report is 14K plus pages so I'd rather not be inserting and selecting the value back out of the database.
    Does anyone have any ideas??
    Thanks,
    Alan

    To avoid inserting/selecting from the database
    Maybe you could create a small package on the database to store page numbering information.
    Then use get/set routines per your requirements.
    CREATE OR REPLACE PACKAGE rep_page_no IS
       gPageNo NUMBER;
       PROCEDURE set_it(pPage NUMBER);
       FUNCTION get_it RETURN NUMBER;
    END rep_page_no;
    CREATE OR REPLACE PACKAGE BODY rep_page_no IS
       PROCEDURE set_it(pPage NUMBER) IS
       BEGIN
          gPageNo := pPage;
       END set_it;
       FUNCTION get_it RETURN NUMBER
       IS
       BEGIN
          RETURN(gPageNo);
       END get_it;
    END rep_page_no;Then in your repeating frame you could access this package rather than insert/select from any database table.
    Let me know if this works, I might like to try it.
    Thanks

  • Conditional formula based on exporting

    Is there any way to have certain fields or sections show when the report is on screen, but hide them if the report is being exported?  I know how to do conditional suppression and hiding in general, but I don't know of any way to trigger off an export command.

    SDK only

  • TAX PROCEDURE CONDITION/FORMULA BASED.

    HI EXPERTS,
    i WANTS TO KNOW MORE ABOUT TAX PROCEDURES USED IN AVERAGE SCENARIO. I HAD STD PROCEDURE I.E TAXINN AND TAXINJ .BUT THERE NOT MAINTAINED CESS.H.CESS CONDITIONS AND DEDUCTIBLE, NON-DEDUCTIBLE RM AND VAT CONDITIONS. SO PLEASE HELP ME AS I WANTS TO CREATE NEW TAX PROCEDURE.
    THANX IN ADVANCE.
    REGARDS WITH,
    RITESH.

    Ritesh,
    Please go through this link for taxinn. Better currently to use TAXINN.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/9e/0b941b0fd64873bc54e8745fb044e7/content.htm
    Thanks & regards
    Hameed Parvez

  • BAPI function module to get condition type and its values based on delivery number?

    Hi All,
    I would like to have the BAPI function module to get condition type value based on delivery number before invoice is created.please provide detail program for as a reference .please reply as soon as possible its urgent.
    Regards,
    saaikumar.

    If you haven't already, you may first need to search via the SAP transaction "BAPI" in the area this is applicable to.  Failing that I do hope you get an answer.

  • Tax procedure condition based / formula based

    Hi,
    I have a query.
    1.Based on tax procedure how we can identify that the tax procedure is formula based or condition based.
    2.what are advantages over one another.
    3.Is their any other way we can find out tax procedure attached to po is formula based / condition based.
    4.What is sequence  to create procedure and maintain record for these two procedure.
    Thanks & Regards
    Atharva G.

    Hi Atharva,
    I will list out the differences and advamtages between the two
    TAX INJ procedure is formula based
    TAX INN procedure is condition based    
    In TAX INJ to define the tax rates we are using excise tax rate in J1ID AND tax code ( FTXP)
    In TAXINN nothing we are entering in tax code also , we are entering every duties in FV11( condition records)
    Amending the duty rates is very easy in case of TAXINN than TAXINJ since we are mentioning the tax duties in FV11 through validity periods, if the tax rate is changed from that date we can maintain the record for the new period in FV11
    IN TAXINN assign taxcode to company code is manadatory but its not manadatory in case of TAXINJ     
    Kindly get back to me, if you have any more clarifications.
    Balakrishna R.V
    Sonata Software Pvt Ltd.

  • Adding logic based on page number

    Hi,
    in my invoice report, i need to add some logic based on page number. My objective is to print a group of 4 lines (OMR Marks) on right hand side of the page. For example, on first page, print 1st line only, on second page, print 2nd line only, on third page, print 1st and 2nd lines only, on 15th page, print all four lines, on 16th page, print lines similar to 1st page i.e. print 1st line only, on 17th pages, print lines similar to 2nd page i.e. print 2nd line only.
    Is there any way to use page number or some other variable that can represent page number in an IF condition? Your help is highly appreciated.
    Regards,
    sanjai misra

    Thanks for your reply.
    I need to print OMR marks in our invoice report and i am not sure how to do it. I will highly appreciate your inputs.
    I have to print OMR mark a per the logic given below
    1. Divide the page number by 15
    2. Based on remainder value, print 4 horizontal lines. For example,
    if remainder is 1 then print only line 1,
    if remainder is 2 then print only line 2.
    if remainder is 3 then print line 1 and line 2.
    If remainder is 4 then print only line 3,
    if remainder is 5 then print line 1 and line 3
    if remainder is 6 then print line 2 and line 3
    if remainder is 7 then print line 1, 2, 3
    if remainder is 8 then print only line 4 and so on
    if remainder is 0 then print all lines i.e. line 1,2,3 and 4.
    Could you please tell me how I could achieve this? If you have some code that you could share, it would be great.
    OR is there some other way to achieve this?
    Thanks,
    sanjai misra

  • Conditional formula in report painter.

    Hello.
    I create new CO-PA report in KE31 transaction which is based on a form.
    In transaction KE35 I define the new form and in this form I want to create formula.
    This formula should be conditional. How to define conditional formula in that kind of form.
    I can also define key figure scheme in transaction KER1 but in this transaction I also don't see possibility to define
    conditional formula.
    Conditional formula means that some value fields should be summ and some value fields should be substract
    depending on the value of characteristics.
    How to solve this problem in R/3 4.6C?
    I am waiting for help.
    Best regards
    Bogdan

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • How to increment a value in a textfield based on page number

    Hi,
    I am doing PDF based print forms which is non interactive, i got a requirment where i have to increment the binded value of a text field based on page number.
    presently i am using this code in initialize event of that textfield.
    var curpage = $layout.page ( ref ( $ ) )
    var totpages = $layout.pageCount()
    $.rawValue = $.rawValue - totpages
    $.rawValue = $.rawValue + curpage
    but this is not helping me, can anyone help me regarding this

    Thanks for yor reply.please you can tellme clearly how to set use 'NQ_SESSION.USER' to set the value to logged in User.i.e i have circle table in that users and circle names will be there.it is teradata database.so how can i set that in to the dashboard prompt and one thing along with that prompt the follwing prompts will be there
    mobile no<>
    date<>
    circle name<"user">
    this is my requirement so please help me step by step what to do for achiving this.
    thanking oyu

  • Freight revenue is allocated by profit center, based on the number of units

    Hi SAP Gurus,
    I am facing one issue in sales order processing.
    The Sales order is getting created through an inbound IDOC.
    The data (Condtion type and Condition value) for Freight will get populated at at the header level at will get allocated to the line Items wrt quantity.
    The requirement is - "Freight revenue is allocated by profit center, based on the number of units shipped".
    Please let me know how to achieve this requirement.
    Regards,
    Bhaskar

    In VOFM- Reqirements- Pricing- You need to create a new requirement- Routine.
    That Routine should calculate
    To check Frieght condition(i.e. ZFRT) at the header in the sales order, if tcode - "VA01" 
    If Freight conditon ZFRT found then transfer that reqirement to item level  by data transfer,
    IF Freight conditon is found at the item level then allocate revenue by = profit center XXXX to XXXXX , (based on MARC- PRCTR ) in MM03  number of units shipped .
    You might also need to configure Account determination for this freight conditon to post to correct G/L A/C.
    This is an Enhancement.
    Good luck

  • Condition formula for alternative calculation type

    Hi gurus,
    we need to create some condition formulas to be applied in our pricing procedure.
    Do you know where to program them in the system and what additional settings are required?
    Thanks and best regards,
    VL

    Hi Victor,
    For your query, you can create new alternative calculation or alternative condition base values in T-COde VOFM with the help of an ABAP.
    Go to VOFM T-CODE
    Then Click on Formulas then condition value or condition base value.
    You need to take Acces key from basis team to create a new calculation type for that number should start from 900 to 999.
    Tell you Abaper to take the values from internal table XKOMV, XKOMK, KONDI, XKONP there are many internal tables are there, from that you will get respective conditon type values.
    In internal table KBETR field contains condition record value & KWERT contains the calculated value.
    Read wrt condition tyep and calculate according that and pass the value.
    Try this, which will help you in resolving your query.
    If satisfied close the thread.
    Regards,
    Nagesh

  • Create value condition formula on VFOM

    Hi people,
    I am with a little problem...
    I have to create value condition formula on VFOM, so I go on VFOM, then formulas, then value condition ...
    I go on botton of the list, set on edit mode, enter number 936 for the formula(witch doesnt exist)...
    But when I double click on number, the program ask me for the acces key...
    What should I do?
    tks

    Hi,
    You have to get the access key from Service Market Place, without access key you cant create routines.
    Thanks
    Arbind

  • Country India Specific - CRM with TAXINJ Formula Based Procedure

    Hi
    My client have TAXINJ (formula based) procedure for excise calculations. We are implementing CRM Internet Sales.
    I have found through OSS # 513896 that says that - TAXINJ can be used if it is changed to Condition Based Calculation.
    But the excise procedure at my client's installation in very complex and there are many reports and dependent developments that are done based on the Formula Approach of TAXINJ. So, changing TAXINJ from Formula Based to Condition Based would be a huge effort.
    Is there a way that the CRM system can run on the Formula Based Approach by making changes in CRM and not R/3?
    Else, pls, suggest the easiest way (in CRM or R/3) to achieve the same.
    Regards
    SC

    Hi,
    Thanks for your valuable inputs.
    I am still confused what standard SAP says regarding Incoming Excise Invoice cancellation, the comments are contradictory even I searched in other threads also but there also no standard answer.
    does it allow the cancellation if Part2 is posted?
    I followed the steps suggested by SAP Learner. But it does not allow me to do the step 3 it gives me messageu201D No Part I exists for availing credit in excise invoice XXXX 2009".I checked table J_1IPART1 and table J_1IPART2, the entries are there for excise invoice XXXX.
    Please advice As per Indian Tax law is it OK if I post the difference amount using J1IH other adjustment. But if we have to post the -ve difference then how can book that amount. I extracted the registers it is showing the JV values but does not show any reference document.
    With Regards
    Sarvesh Kumar Vashist

  • VOFM Condition Formulas

    Hi,
    I need to create some condition formulas for some pricing procedure. In these formulas we need to check some conditions and based on that we need to set some flags in VBAK and VBAP tables thru' condition formulas.
    Is it possible to set flags in VBAK/VBAP?
    If you have any document based on Condition formulas, please send it to me.
    Thanks in advance.
    Regards,
    Umesh

    Hi Umesh,
    Please check the following links, which will give some good picture about VOFM.
    <a href="http://www.saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf">PDF</a>
    <a href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/38996#">LINK1</a>
    <a href="http://www.sap-img.com/sap-sd/quantity-based-discounts-in-bulk-quantities.htm">LINK2</a>
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/a1/78268609e811d2956400a0c9306667/frameset.htm">LINK3</a>
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Conditional formula to supress a section in the first page of the report

    hi all,
    how to programatically add a conditional formula to supress a section only on the first page of the report.
    i am using CR XI R2 RAS server.
    thanks in advance
    Padmanaban V

    Hi Padmanaban,
    You can download samples from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples]
    Regards,
    Shweta

Maybe you are looking for

  • Application no longer assignable to a desktop in Spaces. Useable only in full screen, can't access it when not in full screen.

    This is a repost to correctly ID this as a Spaces issue. I am using a MacBook Pro with a second monitor in extended desktop. I put iMovie in full screen and when I put it back, it disappeared off of both desktops. I can see it in Spaces and I can use

  • How can i point to a specific field in DEEP structure and populate it?

    Hello, I have declared a internal table as below, DATA: BEGIN OF wa_data,               vkorg TYPE vkorg               vtweg TYPE vtweg               spartTYPE spart               field_name TYPE CHAR30                value TYPE CHAR50             EN

  • How can one view the pictures backed on iTunes from iPhone?

    I lost my iPhone sometime back and need to access the contacts and pictures that I had backed up.  I don't intend to buy another iPhone but I would like to get to access this information.  Is there a program or something that can do this?

  • EREC: Help Posting job in a web (using webservice)

    Hello, I'm new in HR and I need help to posting job in a web (like moster.com), SAP HR - > Posting job - > web (like monster.com)                       (web service) I know this standard eRecruting interface: IF_HRRCF_PUBLISHER But I not how it is us

  • New to RAC

    Hi, I have been using Oracle 9i and 10g for several years and have worked extensively in all DBA tasks for single instance databases. But I have never worked with Oracle RAC. I have read a lot of RAC details on internet, but it seems it is not possib