Field display conditionally

I am having some problem regarding adobe forms , Scenario is:
there is one total field and one nettotal field , nettotal field is addition of total + discounts.
now if the discount is initial the field wil not come in the form and if the discount is not initial the field have to be displayed.....
in smart forms with the help of flag we can apply condition to any field whether we want to display that field conditionally,
how can we achieve this in adobe .????
whether we can do this by alternative ...

i hve tried that code but it is not working
i hve certain question related to it ??
1. when we made any text field and do binding there are two things which are made , one is text field and second is value field , which one i have to take in the code
2. there are two type of form one is formcalc and second is javascript , which one i wil take .
rite now i am coding like this
if LV_PA_TEXT.rawValue == null
LV_PA_FORM.presence = 'hidden'.
LV_PA_TEXT Is my field name and LV_PA Is my form name
i have taken both the fields in this form and i am making this form invisible when the value is null... and i am putting this code into forcalc .......  it is not working

Similar Messages

  • Oracle Apex conditional field display

    Hi,
    I have created two page wizard in Oracle Apex.
    I have item and item_detail table. For item1, I have one detail record and for item2, I have two detail record.
    On Step 1: Choose item which will be drop down from item table.
    On Step 2: Based on item detail record count, I want to display text fields on step 2. If item1 is selected in step 1 thenl display, textdisplay1 and textfield1 in step2. If item2 is selected step ` will display textdisplay1, textfield1, textdisplay2, textfield2 in step2.
    sql/pl/sql condition will be: select count(*) from item_detail where item_id in (select item_id from item where item_name='one provided in step 1'
    I want this dynamic ability to display fields or atleast to hide textdisplay2,textfield2 based on sql/plsql condition.
    Thanks,

    984019,
    How are you coming with this?
    Since I'm a newbie, here's how I'd try to approach this.
    1) So we have the Selection List, say, :P1_SList
    2) Then I'd create a Dynamic Action (DA) triggered on a change to :P1_SList.
    3) The DA would have a PL/SQL procedure in the DA that computed (:P1_Disaplay_Number) 1 for text1, 2 for text2, ...
    4) Then I'd have a display Condition -- a PL/SQL Function Body Returning a Boolean -- on each item (text1, text2, ...), something like, say for text3, ...
    BEGIN
              IF :P1_Display_Number <= 3 THEN
                   RETURN TRUE;
               ELSE
                   RETURN FALSE;
                END IF;
    END;And so forth -- I hope my syntax is correct! So the item Condition determines whether the item displays.
    5) You could set :P1_Display_Number to 0 initially, so no items display until the selection is made and the DA triggered.
    (I hope you don't have more than 10-15 of these text1 ... text15.)
    Is what I have described what you are trying to achieve?
    Best regards,
    Howard

  • Issue with length of delivery field displayed in LM06 on RF device

    Hello everyone,
    I have a challenging issue which I have posted on another forum as well, and was hoping that somebody on SDN may be familiar with this.  This issue is being reported by one of our warehouses.  SAP RF transaction LM06 is used extensively in this warehouse, and we use a 10 digit delivery number. The delivery field itself in SAP is 20 characters, and we have always displayed 10 on RF. The warehouse is telling me that about a week ago, the number of characters displayed on the RF device for the delivery field in LM06 changed from 10 to 9, and that a leading zero was being inserted when the barcoded delivery number was scanned. There have been no changes to the barcode on the picklist, and I am told there have been no changes to the printer that prints the pick list. A change was deployed a week ago that contained some unrelated configuration and a small code change in a user exit for transfer order creation. Neither of these is in any way related to LM06. Our basis team tells me that there have been no changes to the SAP console server, but I have no way to verify that myself as I am a WM functional consultant. Can anybody tell me if they have seen a problem like this before, or if the field display for a transaction like this is configurable in the SAP console server? The RF hardware being used is the Symbol PDT-8146. Unfortunately, I am 10,000 miles from the warehouse, which puts me at a bit of a disadvantage in trying to diagnose this.

    Thank you both for the good feedback.  I have also gotten some useful feedback from my posting on ittoolbox, and have forwarded all of the responses to a colleague who is located at the site where the warehouse is located.  I will provide feedback once my colleague has had a chance to investigate further based upon the suggestions that I have received.

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • Regarding Selection-Screen Field Display

    Hi All,
    I have issues with Selection-Screen field display.
    The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.
    <b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.
    But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.
    But <b>display</b> restricted to <b>18</b> Characters only.
    Can anybody give me the solution for the same!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi,
    You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :
    select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.
    ... VISIBLE LENGTH vlen
    Effect
    This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.
    Variant 2
    SELECT-OPTIONS sel FOR (f).
    Additions as in variant 1.
    Effect
    In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>
    Regards
    Appana

  • Is it possible to add text field in condition type in PO?

    Dear Guru,
    Please kindly advice. Is it possible to add text field in condition type?
    I mean I have seen condition type "FRB1" Freight value in the condition detail we can input vendor code.
    So I would like to know is it possible to add text field in condition detail and how to set it up.
    Thank you very much.

    We would like to maintain some text in condition because of we would like to get that text to PO print out and we don't want to do enhancement.
    Ex: Condition Type: ZZZZ  Insurance  
    PO Print out show
    Item No.          Desc                                                  Qty  Unit Price  Amount
    10                 Item description                                  10000   10         100000
    20                 Item description                                  10000   10         100000
    30                 Item description                                  10000   10         100000
                         Insurance <<Description about insurance>>                  9,999
    Edited by: Saiyaman on Oct 1, 2009 1:35 PM
    Edited by: Saiyaman on Oct 1, 2009 1:36 PM

  • Display-condition="first" doesn't work

    Hi,
    I'm trying to use the 'display-condition' attribute of the xdofo:inline-total element to get some boiler plate to appear on the first page only, and some other boiler-plate to appear on all subsequent pages (display-condition="first" and display-condition="exceptfirst") as detailed on page 2-78 of the 5.6.3 user guide.
    (This is not something that can appear in the header/footer, so we can't use 'different first page').
    If I don't specify a display condition then my boiler plate is displayed (although only if I add this as a string within the element, and the variable is not displayed correctly). But if I add the display-condition="first" then the element is not displayed at all.
    I've tried this with the 5.6.2 desktop previewer and with 5.6.3 within Oracle Applications. The results are pretty much the same.
    I guess I have two questions:
    1.) Is this the right way to do what I'm trying to do? (We need 'Assessment Information to be shown at the head of a table on page 1, and 'Assessment Information Continued' to be shown at the top of the table on all subsequent pages, and as this is a batch print job, we need the pageing to restart for each new main group)
    2.) If this is the right way to do it, can anyone help me get it working?
    I can post a small example xml and rtf if it helps.
    Thanks for any suggestions,
    Ben

    To test this further I created a new rtf template and xml file which make the problem quite clear I think.
    I've created 5 new items in the template.
    Each one of them uses a different printing condition as specified in the user guide, from which I quote:
    • first - the contents appear only on the first page
    • last - the contents appear only on the last page
    • exceptfirst - contents appear on all pages except first
    • exceptlast - contents appear on all pages except last
    • everytime- (default) contents appear on every page
    When you preview the report, what happens is that:
    • first prints on every page except the last
    • last is never printed
    • exceptfirst prints on every page except the last
    • except last is never printed
    • everytime prints on every page except the last
    None of these behaves as descibed in the manual, and nothing is ever printed on the last page.
    Anyone got any ideas? Someone must be using this functionality succesfully...
    Thanks,
    Ben

  • Single field display on external crt monitor

    I can't find the setting to display a paused frame as deinterlaced on my external monitor. (My client is put off by the 'shimmering' of the two field display when paused). Is there a setting that will change this?
    Many thanks

    You must apply the Deinterlace filter to the freeze frames: Filters > Video > Deinterlace.
    Hope it helps!
      Alberto

  • Payment terms field display at MIRO screen

    Hi,
    How can I make Payment terms field "Display" at MIRO screen??
    Regards,
    Sattuj

    Hi,
    The fields on MIRO are not configurable as with other transactions.
    You have no config control of these fields.
    You should not really block the field, because what happens if you ever need to change it (believe me this WILL happen).
    Steve B

  • Field displays AFRange_validate in PDF template

    I have created a pdf template, and added a few fields for calculation. I have set validation rules for the field, but when I run the report, the form field displays AFRange_validate as the default value, I have tried giving default value as 0, but no success. Anyone out there to help?

    Mike
    PDF templates do not support barcode fonts in the same way as RTF templates. I have to admit, not having tried it Im just thinkning out of the box. But you ought to be able to hightligh a field in the Adobe form and set the font to a barcode one on your client. The key will be to ensure that the PDF engine can access the font on the server. And thereby hangs a tale - does the PDF engine 'look' for fonts when processing a PDF template. I'll drop the dev team a mail to ask.
    Bounce the thread if Im not back to you by Mon
    Tim

  • Display Conditions for Configurator OptionFeature Options - R12.1

    Here is a test scenario that I am using. This is for R12.1
    1. I have a list of options under a Option feature
    2. These options are to be displayed as drop down list in the configurator user interface as the min and max selections allowed is 1. i.e. options are mutually exclusive.
    3. In configurator user interface, I have to display only the options that are available for user selection. i.e. Options that are either excluded by a rule of by an configurator extension, should not be displayed in the UI.
    Now, here is the problem.
    I am using the display condition for the drop down feature as below.
    List Item Display Condition List Item Model Node.SelectionState IsNot Excluded
    The above display condition removes the options that are excluded by a configurator rule (like logic rule or a CDL). But is does not remove the options from the list that are excluded by a configurator extension.
    I tried with all different display condition approaches. But I was unsuccessful in not displaying both type of options that are exculded by configurator rule and configurator extension.
    If anyone could help me achieve this, it would be of great help.
    NOTE: The logical state of option excluded by configurator extension is either FALSE or UFALSE.
    The logical state of option excluded by configurator rule is LFALSE.
    Hope the above explaination is readable. Let me know if you have any questions.
    Thanks,
    user9356335

    Hi Jason,
    Thanks for your reply.
    yes I have tried using LFALSE (as you have mentioned in your message - (IOption)opt.setState(IState.LFALSE); ).
    But we cannot set the logical state of an option to LFALSE, LTRUE, UFALSE, UTRUE.
    we can only set it to FALSE, TRUE or TOGGLE.
    When I tried to set the state of the option to LFALSE, it throws an error saying - logical state of an option can only be set to FALSE, TRUE or TOGGLE.
    - user9356335

  • Need to Increase OTL Field Display Size

    In OTL, I modified the user-customizable views PA_ONLINE_PROJECTS_V to display the Project Number in this concatenated format...
    (ProjNum) ProjDescription
    using...
    CREATE OR REPLACE FORCE VIEW apps.pa_online_projects_v (
         project_number,
         project_name,
         project_id,
         project_type,
         start_date,
         completion_date,
         carrying_out_organization_id,
         carrying_out_organization_name
    AS
    SELECT DISTINCT
         DECODE(project_number,SUBSTR(project_name,1,LENGTH(project_number)),project_name,SUBSTR('('||(project_number||') '||project_name),1,25)),
         project_name,
         project_id,
         project_type,
         start_date,
         completion_date,
         carrying_out_organization_id,
         (SELECT
              name
         FROM
              apps.hr_all_organization_units
         WHERE
              organization_id = carrying_out_organization_id)          carrying_out_organization_name
    FROM
         apps.pa_projects_expend_v;
    However, only the first 25 characters show up on the LOV and timecard. Other than that, it works perfectly across the system.
    Does anyone know how to increase this from 25 to, say, 48 char? Oracle provided a white paper on this, but it only shows how to make the field display wider--not increase the number of characters.

    Do you mean to say that LOV field is having width more than 25 chars but it still shows only 25 chars?
    Are you using a seeded projects layout or a modified one? If it is a modified one, what is the value of QUALIFIER ATTRIBUTE5 for that LOV component?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to adjust fields display width?

    work in jdev 11.1.2.3.
    in the form VISUAL DESIGNER, all fields looks same length, and there is no width attributes to adjust. When it runs, some fields display too long.
    How to adjust fields display width during design?
    Thanks.

    Hi,
    You dont need to redo it again , unless you have changed properties after initial drag and drop.
    If you have changed , use the value #{bindings.yourAttribute.hints.displayWidth} for columns property.
    <af:inputText value="#{bindings.name.inputValue}"
    label="#{bindings.name.hints.label}"
    required="#{bindings.name.hints.mandatory}"
    *columns="#{bindings.name.hints.displayWidth}"*
    maximumLength="#{bindings.name.hints.precision}"
    shortDesc="#{bindings.name.hints.tooltip}" id="it38">
    <f:validator binding="#{bindings.name.validator}"/>
    </af:inputText>
    Thanks,
    Naresh

  • Custom infotype - issues with conversion class - making fields display only

    Hi,
    I created the custom infotype 9008 using t-code PM01, created conversion class ZCL_HRPA_UI_CONVERT_9008_XX and assigned it to screen structure ZHCMT_BSP_PA_XX_R9008 in the view V_T588UICONVCLAS. Coded the methods IF_HRPA_UI_CONVERT_STANDARDOUTPUT_CONVERSION and IF_HRPA_UI_CONVERT_STANDARDINPUT_CONVERSION. I'm trying to make some fields display only within the method OUTPUT_CONVERSION dynamically. Coded the check class ZCL_HRPA_INFOTYPE_9008 with business logic.
    Everything seems to be working fine when I test using the test tool through t-code PUIT_UI.
    When I try to create/modify 9008 record through PA30, the code in the methods OUTPUT_CONVERSION  and INPUT_CONVERSION is never getting executed. The control is not coming there at all. The fields are allowing input. Any idea why this is happening.
    We are on ECC 6.0 and at service pack level SAPKE60035. Couldn't find any relevant SAP notes as well.  Appreciate your help in this regard.
    Thanks,
    Kumar.

    Hi Venkata,
    Check this document.
    This explains about custom infotype creation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1?overridelayout=true
    regards,
    Brinda L

  • PO - GL Account Field - display only

    Hi,
    Please could you advise on the options for making G/L Account field display only in ME21n?
    I think there are probably a few ways of doing it which I am investigating, but would like your opinion and advice if possible.
    Thanks in advance.
    As always - points up for grabs!

    Hi,
    Hope you are doing cost center accouting with account assignment K while creating PO
    Then go to MM --> Purchasing --> Account assignment --> Maintain account assignment category _-> Select cost center K --> Change view account assignment details you can
    make G L account as mand or optional or display or hidden.
    Check this out please if it helps you.
    Best regards,
    Sridhar

Maybe you are looking for

  • K7N2 Delta-L Compatibility Issues HELP

    I am currently building a system to use as a development server. Here are all the parts I have used. [list=a] K7N2 Delta L Motherboard AMD Athlon 2800+ 333 FSB PowMax Case 400W Power Supply Western Digital HD 80GB UDMA 100 7200 RPM Western Digital HD

  • AddOn installer with InstallAware

    Hi all! I want to know if it´s possible to generate the ard file with the InstallAware Studio 7 program. Thanks.

  • Best tool for painting in photoshop

    Hello All, I am trying to paint in photoshop using a mouse and I realized that I can not make the mouse do what I wanted it to do. For example the mouse makes my brush strokes too jerky and I don't get smooth lines and the textures don't come out rig

  • Field for Picking Request number

    Hi, Are there any fields which captures the Picking request number and the user who is picking???, we are doing a delivery with no WMS... Appreciate the help here. Deepak

  • Trouble with TLD library registration with JDeveloper 10.1.3

    Hello y'all I am using JDeveloper 10.1.3 and I want to use a library to paginate my results in a JSP page. I followed the steps in this page: http://213.35.38.54/otn_hosted_doc/jdeveloper/905/working_with_jsp_pages/jsp_ptagsregistering.html but when