Making Total field blank

I have a PDF that has an order form on page 3.  Recently we added a fixed shipping/handling charge of $3.00 and that has created some problems.  The big issue is that some customers like to print out the order form and enter their order items at our Picture Day events instead of filling out that section before printing, and now they get a $3.00 in the Total field, making it hard to write in their total by hand.
The Total field calculates Sum(Cost1,Cost2,Cost3,Cost4,Cost5,Fees,MAW,3) where the 3 is the fixed S/H charge.  I'd like it to display nothing at all if that sum equals 3 and display the total if the sum is greater than 3.  I'm very much a novice to this but have some programming sense.  I've tried an if/then combo as part of the calculate step.  I've tried a different if/then as part of the validate step.
Can someone help me structure the coding for my Total field?
If you want to see the PDF click here and go to page 3.  If you have any other suggestions, I'm "all ears."
THANKS!
P.S. I forgot to mention that this is being designed/edited using Acrobat Pro 8 and the LiveCycle Designer 8 that is part of this.  I couldn't find a home for this in the Acrobat forum and I don't *think* that 8.0 is the same as LiveCycle ES.  Hopefully the question is still answerable where I've put it.  Thanks!

That's a good suggestion but I don't want to give the customer a chance to essentially make the charge "optional" by allowing them to uncheck it.
I actually kept tinkering with it and found the answer myself....
if (Sum(Cost1,Cost2,Cost3,Cost4,Cost5,Fees,MAW,3)==3) then
else
Sum(Cost1,Cost2,Cost3,Cost4,Cost5,Fees,MAW,3)
endif

Similar Messages

  • Making Numeric field blank

    Hi Experts ,
    i have a requirement to make the numeric field "blank" in some rows of internal table .
    its about vendor
    whenever any vendor will repeat , i need to display  3 numeric fields "blank" , in that particular row .
    please help me on this issue .
    thanks in advance .
    vijeta

    Hi,
    One very important thing we cannot make numeric field as blank is can be made initial i.e. 0.
    So we have to make the field as character then we can make it blank by initializing it.
    thanx.

  • Making q0167-iminc field blank of IT0167 infotype

    Hi,
    I got a requirement to make the field  (q0167-iminc) of infotype IT0167 blank on certain conditions (if the employee has domestic partner who is tax in-dependednt, which is in IT0021).
    Pls get back to me how we can do it.
    Some how i got BAdi PBEN0008. I need hw we can put this logic to make the filed blank.
    Thanks,
    Shreeni

    Hi Richard,
    Thanks for the reply.
    Yeah I agree those are screen fields, thats wt how should we make the screen field blank.
    While creating IT0167, it should check iin IT0021 if employee has domestic partner and tax status check box is checked then in IT067 -iminc field should become blank,
    I just want to this can be handle thru user exit/BADi or in other way to control this screen field.
    I do not Dynamic actions, can we do it thru that?? i am not sure..
    Please revers ASAP.
    Thanks,
    Shree

  • Making fields blank

    I want to make a NAME type field blank when a condition of my rule hides the field.

    Howdy all,
    We've found an undocumented behaviour change between 2008.1 and 9 that caused us major problems after our upgrade where when you try and set a Person field to blank, unless it has 'edit' writes at the moment, it'll throw an error and essentially lock the form up (that is, no actions can be taken - done/update/approve/reject).  We've got a case open for it.
    We skipped 2008.3 unfortunately so I'm not sure if it's the same case, but you may need to make it editable for the conditional rule to run...  Interestingly, you can still set other field types as blank, it's only Person that it affects (and we have a case open for it).
    Thanks,
    Ant

  • Make Category id field blank in Describe requirement

    Hi all,
    When ever we are going in Describe requirement tab its giving us the last used category id in the category id field. I know its getting filled in the global_data_filled.
    We want to make this field blank when we go in this tab. Also I can not do any standard code change neither in template.
    Is there any BADI by means of which I can achieve this?
    any help will be rewarded.
    Thanks
    Smita

    Hello,
    There is no badi for this and the product category is a very determining field for the SC. Making it blank with development will cause many bugs and unwanted side effect.
    A suggestion is to create a dummy category named "?", set it at default category in user attributes and implement the badi bbp_doc_check_badi to prevent a user ordering a SC with this dummy category.
    Rgds,
    Pierre

  • Making a Field Value Always Negative in Acrobat

    Hi,
    I am trying to create a field in Acrobat that will always be read by the calculation tool as a negative number. For example, I have a filled-in form with the following (where the blank lines are the form fields):
    Base Salary               $_____________
    Pre-tax deductions     <_____________>
    401(k) deferrals          <_____________>
    Incentive bonus            _____________
    Total                         $_____________
    I have set the total field as a calculation of the sum of the first four fields, but I need the two fields with the chevrons ( < > ) around them to be negative numbers, without the user having to enter the value with a negative symbol ( - ). Is there a way to assign the value entered into those 2 fields as negative so that Acrobat will subtract them from the other two values when it caculates?
    Thanks.

    I am unclear on what exactly you are saying. Can you give me a little more detail.
    What should I put in the "Custom calculation script" to make the calculation work correctly?
    And how will I know if my field names meet the requirements for the "Simplified field calculation" method? I don't know what those requirements are. If I use this method, what coding do I need to put in the "Simplied field calculation" box?
    I don't know any JavScripting so that's why I was using the "Value is the _______ of the following fields" option. How would creating a hidden field to compute the negative value of the fields help if I can't make a field negative? All I was wanting to do was see if there's a way to set any value entered into that field as a negative value. Is there not a way to make anything entered into that field negative? Do I just need to tell the user to enter a negative symbol ( - ) before the number so it will calculate correctly?
    Thanks.

  • Suppress embedded field blank lines in Crystal Reports XI is not working

    Hi,
    We have a text box in a Crytal Reports XI report which has address information in it as follows:
    These are individual fields from the database. We check the  "suppress embedded field blank lines" option for the text box and preview it in the designer and the suppression works as expected in that when the unit field is blank the whole address line isn't suppressed. However when we run this report using the Report Viewer control in a VB.NET 2005 application the whole address line is suppressed when the unit field is blank.
    This appears to be a bug in the suppression logic when the Report Viewer is used to view a report. While yes we can embed a formula into the address line this adds extra maintenance and confusion which is not necessary as it works as expected in the report designer.
    I have seen others which are having a similiar issue and the only suggestions are to create your own suppression using formulas, etc. which is only a bandaid and is not the best solution as the suppression works as stated in the designer but not in the viewer embedded in an application. Please indicate if this is a known bug and if this issue has been addressed and fixed in a new merge module.
    We are running Crystal XI 11.5.0.313 for the report designer and have deployed the needed dlls to run the reports with our application using the CrystalReports11_5_NET_2005.msm merge module.
    Thanks in advance for any assistance in resolving this issue!

    Hello,
    Moved to .NET SDK forum.
    Upgrade to XI R2 SP 6, you are using the original release:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    And the distribution files are for Visual Studio version of Cr, not R2 build.
    https://smpdl.sap-ag.de/~sapidp/012002523100013451312010E/crxir2_fp64_server_ins.zip
    Or
    https://smpdl.sap-ag.de/~sapidp/012002523100013451332010E/crxir2_fp64_net_mm.zip
    Don

  • How To Block a User From Changing Total Field In AR Invoice

    Hi all,
    I would like to find out how to block a user from being able to change the total field at the bottom right hand side of the AR Invoice.  Currently if a user creates an invoice and is still busy in that invoice they can adjust the total field which in turn will update the discount field as well.
    Is this simply an authorization issue or am I going to have to do it in the transaction notification?
    We are using SAP Business One PL 30 currently.

    Hi
    Please review by note again -This is by system design .
    I don't know why you are so worried abt this because by setting up discount max ,if user cannot post the document ,that means it is not in the system ,no matter they change multiple times in the fields .
    But I think your scenario is different ,
    You are copying with certain discount from Delivery to AR invoice and i think you don't want user to change the discount field , then you can solve your issue by using approval or sp_notification
    If you really want it to be greyed out ,I think you might have to go through by SDK or Boyum addon.
    Thank you
    Bishal

  • WBS element field blank in MB51 report.

    Dear Experts,
    I m using ECC 6.00 EHP4, My problem is we issue the project material with movement type 221 Q but in MB51 report if I want to get the output with WBS element with Movement type 221 q data is not showing if I give only movment type 221 Q and WBS field blank than in output screen WBS fileld shown blank please clear me where is the problem..
    Neeru

    Anyone please...
    Neeru Dimri

  • Hide grand total field on ALV report, But keep the sub total fields

    Dear Experts,
    1) How to hide grand total field on ALV report, But keep the sub total fields.
    2) How to populate rate per ton & calculate total price according to the qty in delivering document.

    Dear Experts,
    1) How to hide grand total field on ALV report, But keep the sub total fields.
    2) How to populate rate per ton & calculate total price according to the qty in delivering document.

  • Total Field in ALV Grid

    Can i change the values in total column in ALV Grid program. I had made one report with 3 hirerchy level and for first hirerchy i need different total values just for one column as total values are misleading the users. is it possible to change the value total field in ALV?

    hi
    make the fields for which u r displaying total as editable.
    so when ever u make changes in the column,
    see the sample code, i have done a similar program
    FORM DATA_CHANGED_MATRIX USING P_ER_DATA_CHANGED TYPE REF TO
    CL_ALV_CHANGED_DATA_PROTOCOL P_ONF4 type C E_UCOMM TYPE SY-UCOMM.
      DATA: VALUE LIKE YRECORDINGD_QDMS-SCORE.
      CLEAR VALUE.
      data: begin of wa_tot,
      TOTAL_SCORE like yrecordingd_qdms-score,
      end of wa_tot.
      DATA: BEGIN OF WA_DATA,
      SRNO type i,
      LOCATION LIKE YCONCERNS_QDMS-LOCATION,
      LOC_DESC LIKE YLOCATION_QDMST-LOC_DESC,
      TOTAL_SCORE LIKE YRECORDINGD_QDMS-SCORE,
      END OF WA_DATA.
      FIELD-SYMBOLS: <LS_VALUE1> TYPE ANY,
      <LS_VALUE2> TYPE ANY.
      DATA: L_VALUE TYPE LVC_VALUE,
      ls_mod_cell type lvc_s_modi.
      SORT P_ER_DATA_CHANGED->MT_MOD_CELLS BY ROW_ID.
      LOOP AT P_ER_DATA_CHANGED->MT_MOD_CELLS INTO LS_MOD_CELL.
        CALL METHOD P_ER_DATA_CHANGED->GET_CELL_VALUE
          EXPORTING
            I_ROW_ID    = LS_MOD_CELL-row_id
            I_FIELDNAME = LS_MOD_CELL-fieldname
          IMPORTING
            E_VALUE     = L_VALUE.
        VALUE = L_VALUE.
        IF VALUE < 100.
          READ TABLE <TEMP_TAB> INTO <TEMP_WA> INDEX LS_MOD_CELL-ROW_ID.
          MOVE-CORRESPONDING <TEMP_WA> TO WA_TOT.
          WA_TOT-TOTAL_SCORE = WA_TOT-TOTAL_SCORE + VALUE.
          MOVE-CORRESPONDING WA_TOT TO <TEMP_WA>.
          MODIFY <TEMP_TAB> FROM <TEMP_WA> INDEX LS_MOD_CELL-ROW_ID.
          CALL METHOD GO_GRID->REFRESH_TABLE_DISPLAY.
        ELSE.
              CLEAR WA_DATA.
        ENDIF.
        CLEAR:WA_TOT,VALUE.
      ENDLOOP.
    ENDFORM.

  • Short Dump while making a fields as required in BDT object screens

    Hi,
    I'm making a field as "required" by checking the required button on that field in the BDT screen.
    But am getting a short dump when I'm trying to use that screen.
    It seems like some data is getting converted to bad format due to this (am not fully sure about it.)
    Any idea on this.
    Thanks & Regards,
    Vipul.

    Hi Pinaki,
    The entire functionality is working absolutely perfect if I dont check that field as "Required" .
    I'm not sure if I'm missing some customising or is it a problem with BDT.
    Thanks & Regards,
    Vipul.

  • PDF Form javascript for making readonly field by using button

    Please let me know the PDF Form JavaScript for making selected fields(Text field,Drop down list,..) as read-only by using Button.

    Do you want your button to be made read only?
    One starts with Acrobat JS Reference.
    // make all fields in a form read only;
    var oField; // variable for field being processed;
    // loop through the form fields;
    for (var i = 0; i < this.numFields; i++) {
    // process each field name;
    oField = this.getField(this.getNthFieldName(i)).readonly = true;

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Require a formula to calc the diff between 2 running total fields in a crosstab

    Post Author: PJM
    CA Forum: General
    Hi,
    I have built a crosstab in Crystal XI with the following columns:
    PROFILED BUDGET (a)                            EXPENDITURE TO DATE (b)                        VARIANCE (a-b)
    The profiled budget and expenditure to date columns are both running total fields.  I want the variance column to show the difference between the budget and expenditure. 
    To set the variance field up as a running total, I assume that I would have to specify that I want this formula evaluated after the budget and expenditure fields , however, I can't work out how to do this on a crosstab. 
    Moving the crosstab to the report footer has had no impact.
    If I try to create a basic formula using the running totals, I get the error message "A summary has been specified on a  non-recurring field" - I can't find an explanation of this error message on the help menu.
    Can anyone help with this please?

    overtime hours are calculated after 40. If I work 12 on monday, thats 12 regulars hours. not sure about others states laws but here in wisconsin we consider overtime after 40 only, not after 8 daily. at least thats how my company calculates overtime. lets say I work 10 hours a day, monday thru thursday, thats 40 hours regular time. anything after that is overtime. our weekly work schedule starts on sunday and ends on saturday. so on my bi-weekly time log, if i work 10 hrs a day monday thru thursday, i want 10hrs each day in regular hours cell, then when i work friday and or saturday, i want those hours in overtime hours. the main problem im having is: if i reach 40 hours in the middle of a day, i want the regular of that day to end and the overtime to pick up on the same day.
    here is a basic example of how i want regular and overtime to look. of course the values will be duration not just numbers. hope this helps explain what i need a bit better.

Maybe you are looking for