New formula field in PLD

Hi All,
         I created a new field in PLD, that is when customer exceeds balance Rs.1000 it should be printed in the PLD like "Please pay your debit-Rs1000, and when customer balance is below Rs1000 it should not be printed.
         First I created a text field that is "Please pay your debit"
         Second I created a database Field, Table "Business Partner"
     and Column "Account Balance".(Unique ID is F_138).I linked this database to formula field.
         Third I created a formula "Field_138>=1000".(Unique ID is F_141).
        But it displays in the PLD, even if the business partner balance is less than Rs.1000. Please explain what is the problem.
Thanks
Pratheeviraj

Hi Sridharan,
               Yes, I gone through the E-Learning for PLD, from that only I created a formula for scenario which I mentioned above and the formula is "Acc_Balance>=1000" and the system message is "errors were found in the formula field: Acc_Balance. Do you still want to save".
       Because of this problem only I post a new thread for formula creation, which you have answered.
       And in the E-Learning demo I am not understanding properly, in that the unique ID is mentioned as cond1 I don't know how to create cond1 in unique ID, and they links this unique ID to database, formula and text fields, this is not understanding for me.  
       That's why I post new thread.
Thanks
Pratheeviraj.

Similar Messages

  • Adding () to field in PLD

    Hi Experts,
    How do a Add () to a field in PLD. I wat to add this to the old Item number so hat it displays (ITEMCODE).
    Is there a way to do this in PLD?
    Thanks,
    Marli

    You may try a new formula field by formula
    Concat ('(',Field_For_ItemCode,')')
    Thanks,
    Gordon

  • Crystal Reports XI - How  to create a new field using a formula field

    I'm quite new to CR, but have been learning quickly!
    I would like to know how to automatically create a new record/field based on another field in that row...
    I have a report showing the following data:
    Run Code     Start KM    Stop KM    Status 
    H2                 100            150           Partial
    H2                 150             155          Partial
    H2                 155             160          Partial
    S3                 120             150       Completed
    The status is generated by comparing the 'Start KM' and 'Stop KM' against fields in another table called 'Start Odo' and 'Stop Odo'
    In this example...
    H2 has 'Start Odo' and 'Stop Odo' values of 90 to 160, therefore there is still 90-100 to check.  The 'Start KM' and 'Stop KM'  is equal to the 'start Odo' and 'stop Odo' for S3, therefore it shows completed.
    My question is how do you create a formula field, which will add an entire row...displaying the values 90-100.
    I've been trying to use a conditional check in the 'Start KM' column, that sees if status is equal to partial than if start km is greater than start odo (Which is the reference km) then display the value of start odo in the new row. I'm stuck at how to create a new row.
    I want the final result to look like this...
    Run Code     Start KM    Stop KM    Status 
    H2                  90              100         Partial
    H2                 100             150          Partial
    H2                 150             155          Partial
    H2                 155             160          Partial
    S3                 120             150       Completed
    Any suggestions would be more than appreciated

    Hi Adi
    Looking at your examples it seems that you want to add a row to the existing recordset (rows fetched from the database).
    If it is the case (even if based on a formula) then you can not do it within crystal. Crystal is designed to display data and ideally it should not generate the new data.
    However, as per your requirement you can try to add this logic at database end. May be a command object within Crystal Reports can help you.
    Let me know if you do not understand anything.
    Regards
    Nikhil

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • How to Use conditions in PLD Formula Field

    Dear, Experts
    for eg I have two fields in pld  Field_A and Field_B
    Field A Contains values and fieldB also have values and 0.00 values as well.
    I need to fetch the value to Field C from Field A where Field B >0
    Field_a                                             and field_B                  In third field (Field_C) i need the values of Field_A where Field B>0. 
    1000                                                         567
    2000                                                             0
    500                                                            89
    888                                                           79
    777                                                             0
    700                                                             0
    9000                                                         78
    So here what conditions i should give in the formula filed (Field_C)
    Please help me to solve this issue.
    thanks

    Hi Sudatta,
    Your solution seems to be correct, but I am not getting the point of keeping some of the fields visible.. You can make field Z in your example invisible.
    To make the right formula in PLD you need an extra field, the formula fields in SAP allways give back an 0 or an 1.
    So if you have Field_A and Field_B and Field_C, you also have to create another field (eg Field_D)
    Field D should be typed as a formula field and contain Field_B > 0 or Field_B != 0 or Field_B > 0.00 (just the exact value when you don't want field_C to be filled.
    Field_C should be marked as a formula aswell and contain Round(Field_A,2) in this 2 is the ammount of decimals.
    Then you have to make a connection between field C and D on the general tab (as mentioned before). So Field_C should be connected to field D.
    You can make field_D invisible so it won't be displayed on your lay-out.
    After that it should work.
    Good luck,
    Kind regards,
    Hendri Wessels

  • Error While Linking Formula field for Repetetive Area Header In PLD

    Hi All,
    I am having a problem in pld..Let me explain...!!!!
    I have a drop down field called Billing Type....My requirement is if the billing type in Time based then it should become number of Hours,if my billing type is Trip based then my Quantity column should become no of trips .I got the logic but when i am linking the formula field with the header in the repetetive area it is not working,but when i paste it some where else it is working,Please tell me any solution for this...!!!my version is 8.81 PL20
    Regards
    Cherry

    Hi Cherry,
    Any formula fields you use in your logic must be on the same area as the linked fields. In your case - as I understand you are trying to link row level fields to a formula based on a header level UDF. What you need to do is to move all your hidden fields used in the formula to the Repetitive Area - don't worry if the field used is actually header level, it still should be fine.
    I would advise not to hide any fields used in a formula until you are 100% sure it's working - as you can then check if all of them show the results you expect. For instance in this case you could see that the header UDF displayed in the Repetitive Area is repeated in every line and so any formulas based on this field will work well.
    I hope this helps.
    Regards,
    Nat

  • IPC in CRM 7.0: New customer field in item communication structure

    Hi Experts,
    I tried to enhance the IPC according to the known manual.
    I created a new item related z-field in the item communication structure which I fill in the BadI IF_EX_CRM_COND_COM_BADI with a Char(1) value:
        IF cs_acs_i_com-zfield IS INITIAL.
          LOOP AT ls_prc_agrmnts_wrk-price_agreements_crm ASSIGNING <price>.
            CASE <price>-kschl.
              WHEN 'ZFRE'.
                cs_acs_i_com-zfield = 'B'.
    I also did the customizing for that new formula which is a requirement. There I added two attributes to the implementation:
    -ITEM_GUID     Item GUID
    -ZFIELD     Z-Field
    and also two attributes to the formula:
    -ITEM_GUID     CRM_ITEM_GUID
    -ZFIELD     ZFIELD
    I use this requirement in my pricing procedure and uploaded the jar file. My java code looks as follows:
    import com.sap.spe.condmgnt.finding.userexit.RequirementAdapter;
    import com.sap.spe.condmgnt.customizing.IAccess;
    import com.sap.spe.condmgnt.customizing.IStep;
    import com.sap.spe.condmgnt.finding.userexit.IConditionFindingManagerUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    public class ZFreiStBLP extends RequirementAdapter {
         private static UserexitLogger userexitlogger =
              new UserexitLogger(ZFreiStBLP.class);
         public boolean checkRequirement(IConditionFindingManagerUserExit item,
                   IStep step, IAccess access) {
              String item_guid = item.getAttributeValue("ITEM_GUID");
              userexitlogger.writeLogDebug("Item: "
                        + item_guid);          
                   String zfield = item.getAttributeValue("ZFIELD");
                   userexitlogger.writeLogDebug("ZFIELD: "
                             + zfield );
                   if (pauschale != "B"){
                        return pauschale.equals("");
                        }else
                        {     return pauschale.equals("X");     
    In SM53 i can see the logs, but the problem is that obviously only the standard field ITEM_GUID is available in the Java. Means, that for my z-field I never get a value although the BadI is called an the value is written to the communication structure.
    Does anybody has an idea, why I do not get the value of that zfield in my java code?
    Thanks a lot!
    Regards,
    Mireille

    Hello Vinod,
    I have customised complete pricing procedure but in the Quotation order we are not getting NET VALUE.
    When i come accrossed with BBP_CHECK_CND_CUST In my findings i found parameter IPC_ON is missing.
    I am waiting for the reply from BASIS.
    Is there any functional customisation required for IPC let me know.
    Best Regards,
    Sathyadev

  • Working with 3 Reports -- How to Display Summary/Formula field in Each Repo

    I have 3 Report that represent three Company.
    Each Company/Report has their report Details and field totals at the bottom.
    Now what I am trying to accomplish is that I need to add all three companies grand total and sum it up and display at the bottom of each reports.
    FYI, I have created matrix report and i pass user parameter where user can choose which company's report him/her would like to run so for example: if user run Company_1 then at the bottom i want to display all the companies Grand Total.Each reports have 6 columns and all the columns are same in each report except the data change by company. and with the same thing with Company_2, and Company_3
    Now, I tried to use create a separate query and tried to use DATA LINK but it didn't work due to very awkward report design.
    Is there a way where i can create a formula field and write PL/SQL and display at the bottom of my report.
    Please let me know if its possible I will very appreciated.
    Thank You

    Thanks for your reply,
    Actually, I would done that before taking Company's parameter off but i have to send out this report to all three companies thats resoan why I put companies paramters.
    Also, I have solved that problem by creating new query that will give me total off each company so in my Data Model. I have Q_1 (main query), Q_2 (Company 1 query which give me total for each field), Q_3 (Company 2 query....), Q_4
    and call those all fields and RESET AT REPORT level.
    so, no mather which company i choose in my parameter field it will give me final total at the bottom of my report for all the departments.
    Thank You,

  • How to apply formula field for a chart object in crystal report XI

    Hi
    how to add formula field for a chartobject, i tried the following code but returns invalid condition field.
    i want to show  different chart in same crystal report viewer with different coursestatus values.
    please suggest where ia m wrong.
                   FormulaField oFormulaField;
                   oFormulaField = new FormulaField();
                   oFormulaField.Name = "Status1";
                   oFormulaField.Text = "{CSP_PROCESS_REPORT.Coursestatus} = 'Mastered'";
                   oFormulaField.Syntax = CrFormulaSyntaxEnum.crFormulaSyntaxCrystal;
                   oFormulaField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
                    boChartObject.ChartDefinition.ConditionFields.Add(oFormulaField);
    regards,
    Padmanaban V

    i missed the following line in my code.
    rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
    now it works......
    my next issue is that,
    chart returns True & False captions. but i want to show actual value. how its to be done
    regards,
    Padmanaban V

  • Link a Form Field to new Text Field

    PDF - form field
    Looking for a code to link a form field(text_1, on page #5) to
    another, new form field(text_2, on pages 2-4).
    Maybe a "Page Properties" action (i.e., Page Open: field text_2 = field text_1)
    ~~
    Why....
    busy but here's why
    In the PDF, there are Form fields on page 5 which interface (externalinterface) with an RMA ( a SWF) on page 2.
    This all works well.
    As the form fields must be carried forward (from page 5 to page 2... to interface the RMA),
    the orignal page 5, From fields are copied to pages 2-4 and then "Hidden".
    Again, this works just fine.
    A reset "action" (button) was added to, well, clear the Form Field for easy reuse.
    The reset ''action' does it's job and clears ALL form fields with the same "Name".... on every /all pages.
    This causes the dynamic interface, with the RMA, to display blank fields (within the SWF).
    This will effect the User's experience.
    ~~
    Work aound.....
    Find a way to label the Form Fields (page 5) so that "only they" are reset, and no others.
    Create a link of Form Field inputs on page 5 (with names... x,y,z),
    to new Form Fields pages 2-4 (with a differnet names... a,b,c).
    Thanks in advance for your help....
    DS

    Hi jm,
    This may be what you are after. No text wrap, but notes are there.
    Type an account number into the Enquire table to get Client and Contact
    Formula in B2 (and Fill Right)
    =INDEX(Database::B,MATCH($A2,Database::$A,0))
    Large notes display table with Wrap Text
    Formula is
    =INDEX(Database::D,MATCH(Enquire::$A2,Database::A,0))
    All together:
    Change it around if you want to look up by Client instead of Account
    Regards,
    Ian.

  • Creation of 4 new formula variable in bex.

    Hi All,
    i have one requirement from my customer.Can you please suggest me to achieve on this.
    All,
    Please can 4 new Formula Variables be created in SAP BW for all relevant structures
    Can the Pipe Test Date, Gas On Date, Completed Date and Abandoned Date be all based on Working days rather than calendar days
    My queries to the above requirements is:
    1.Do we need to write a code in customer exit(EXIT_SAPLRRS0_001) to achieve this.
    Please advice.
    Regards,
    Sakthivel S

    Hi,
    Do you have Working days field or data in your system? I think you are talking about Factory calendar.
    You can create 4 Formula variables by taking reference chars as Pipe Test Date, Gas On Date, Completed Date and Abandoned Date
    Yes, you need to write CMOD code to consider Working days.
    Can you explain requirement much more clearly?
    Regards,
    Suman

  • Use of Aggregation tab in New formula in BEx quert designer

    Hi,
    I used the aggreagtion tab in setting up new formula for key figures. i selected the maximum and given particular charasterstic field and saved.
    when i looked in the output i cant see any difference.
    we are setting formula for key figures and its asking for charasterisic field i coulnt get clear idea about this.
    can any one tell me what is the use of this aggregation tab?
    In formula screen for the general tab  what ever the calculation i am doing there its working properly, only in the aggreation tab whatever i am setting only that is not working.
    Regards,
    Thanesh

    Hi Thanesh,
    Refernce characteristic field should be selected in relation to which the key figure is to be aggregated with the exception aggregation. Often this is a time characteristic. However, you can use any characteristic.
    Best Example
    If you want to count sales orders
    By giving COUNT of all values with refence charactersitc as Sales document, you will get the desired result.
    There are three aggregation options:
    ●      Minimum (MIN): The minimum value of all values displayed in this column is displayed in the results row.
    ●      Maximum (MAX): The maximum value of all values displayed in this column is displayed in the results row.
    ●      Summation (SUM): The sum of all values displayed in this column is displayed in the results row.
    Another Example :The key figure Number of Employees would, for example, be totaled using the characteristic Cost Center, and not a time characteristic. Here you would determine a time characteristic as an exception characteristic with, for example, the aggregation Last Value.
    Hope this helps
    Regards,
    Aparna

  • Group Sort on formula field

    I am using CR Professional 11.5 on Windows XP/Progress platform.
    I have a formula field that calculates the GM% on the Employee Group Footer level and want to sort the employees in descending order by GM%.  I have gone in circles trying to calculate this field differently in order to be able to perform a Group Sort but this GM% cannot be summarized, which would allow me to use the Group Sort Expert.
    The fact that GM% is used in businesses world-wide each and every day makes this unbelievable that it should prove to be this difficult.  Is there something that I am missing as a newbie to CR design? 
    Any help provided is greatly appreciated!
    Marlene Human

    That's so awesome!  If only I knew how to use sql commands!  Everytime I try to create one it has errors that I dont' understand.  Do you know of a site for sql syntax that might help me to do this?  I have looked and can't find what I need to make this happen.
    So what I need to do is to use 'Formula Workshop' and create a new SQL Expression Field?  Using the formula above, how would this look in SQL?
    Thank you so much for your help...I am so grateful!!!  I have been working on this for months and keep hitting this snag.  I first started out using a cross-table and got confused because you can't summarize the GM% so I then changed the summary to 'weighted average of GM% with Tech/Rev' so that helped, but the Total per Employee has been keeping me stumped. 
    Thanks again.

  • Save Formula Fields

    Is there a way to save a formula field for future use? For example, I create a formula field that I will need to use on various reports. Do I have to recreate this formula field for each new report? Or can I save it for future access on the new reports?
    Thanks!

    Hello
    As far as i can see the only way to re-use formulas is if you are connected to a BO repository (Crystal Reports server or BO Enterprise)
    Then you can add a formula to the repository and pull it into another report from the repository
    When you are just using Cr designer then i think you need to copy your formulas across, from report to report
    If you copy from the desing canvas of one report to the desing canvas of another report then the formual will be created in the new report for you (you would then need to change field names etc)
    I hope i am wrong, and that there is another way
    Best regards
    Patrick

  • Accessing formula field in subreport..

    Post Author: kior
    CA Forum: Data Connectivity and SQL
    Hi,
    I'm new in Crystal report and need help on my problem "how to access the formula field i have created in subreport to my main report". Thanx in advance..

    Post Author: DubbleOh7
    CA Forum: Data Connectivity and SQL
    I haven't tested this but is should look something like this(VB.NET code)
    Dim mainreport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    Dim subreport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    Dim formulaField as FormulaFieldDefinition
    subreport = mainreport.Subreports(SUBREPORTNAME) ' Or index
    formulaField = subreport.DataDefinition.FormulaFields(INDEX OR Formula Field name)
    hope this helps.

Maybe you are looking for

  • Need help in installation of SQL Developer in Win7

    Dear Frens, I got a task to validate the SQL developer(64 bit version) in Win7 environment. I followed the advice in this form and installed the 64 bit JDK first. It can be verified: C:\>java -version java version "1.6.0_26" Java(TM) SE Runtime Envir

  • How to pass data from dynamic internal table to standard internal table

    hi experts, below is the piece of code which i have used in my requirement but the data is not moved. LOOP AT <tab> ASSIGNING <tab1>.   MOVE-CORRESPONDING <tab1> TO wa.   append wa TO  gt_outtab. ENDLOOP. here <tab> - dynamic internal table. <tab1>-d

  • How to connect lg dnv phone to macbook pro

    how would I connect my Lg env cell phone to my macbook pro to use as a modem?

  • Buying a tv w/ 10% off coupon

    Just a quick question I received a 10% off coupon from best buy for my birthday. I've had my eye on a TV thats always on sale for $1499.00 do you think I could use the coupon for 10% off this purchase.coupon says 10% off regular priced item.

  • LV FPGA XYmultiplo​t error

    Hi guys, First of all, this is a bug report, and not a question. But I wasn't sure where to put this on the website or forum so I put it here. If this does not belong on the forum, please feel free to remove this post and send me a message where I ca