PLD - hide/show fields

Hi experts.
I have a PLD based on sales quotation in SAP B1 2007A PL38. On this pld I currently have 2 amount fields. One is for sub totals and the other one for regular line totals. The reason for two fields is based on the fact that sub totals should appear with a bold font.
OK, now to the issue in question; I need to put yet another field with amount on to the document rows of the PLD. This field is a UDF that contains a third amount. In addition I have some rules that sets the conditions for when the different fields should appear and not.
If there is no data in UDF field - then regular amount should appear
If there is data in UDF field - then UDF amount should appear
If the line is a subtotal - then font should be bold and subtotal amount should appear
Can someone please guide me on how to set conditions in PLD to make this logic?
Thanks and regards,
Runar

For this 
If there is no data in UDF field - then regular amount should appear
If there is data in UDF field - then UDF amount should appear
You could add a Formula field which checks the value of the UDF.  Also the UDF field should be added twice, one to be checked in the formula and another that prints.   If the UDF field on the PLD is F_230 then the formula can be
F_230 > 0 or something like that
Link this formula field to the second UDF.  Add another Formula F_230 == 0
Link this formula to the Regular Amount field on the row.

Similar Messages

  • Hide / Show fields in screen

    Hi!.
    How can I desactive the right-click option in screen:
         *'user's options':
    hide/show fields of screen in a web dynpro?.
    I don't want that users change the design of the web dynpro, and they hide the fields.
    Thanks in advance.
    Ana

    hi ana........
                each and every ui element in webdynpro has a property called visibility.
                bind this  property to an attribute of type wdui_visibility.
              at runtime pass value to this attribute as abap_true or abap_false for hidin or showing the fields.
    ---regards,
       alex b justin

  • Hide/Show Fields

    I have been scouring the internet looking for a solution, but have not found one that fits my exact scenario so any help is much appreciated. I am creating a form with Acrobat Pro and want to enable/disable or hide/show (either will work) three fields. Two of the fields are text fields called "dollars1.0.1.0.0" and "units1.0.0.1.0". The third is a check box called "Check Box5.0.0". What I am trying to acheive is fairly straigt forward. If one is entered, then the others either need to be hid or disabled. If the data in one of the fields is removed, then the others need to be once again made available. Here are the scenarios:
    If "dollars" are entered =  hide/disable check box and "units" text field.
    If "check box" is checked = hide/disable "dollars" and "units" text fields.
    If Units are entered = hide/disable check box and "dollars" text field.
    If "sell all" is checked = hide/disable "dollars" and "units" text fields.
    Code is housed in checkbox: Mouse Up/Run a Java Script
    var nHide = event.target.isBoxChecked(0)?display.hidden:display.visible;
    this.getField("Units1.0.0.1.0").display = nHide;
    this.getField("Dollars1.0.1.0.0").display = nHide;
    *****This works until I check the "Sell All" in the next row down then the dollars and unit fields in the row above become enabled again, which I don't want.
    If "dollars" are entered =  hide/disable check box and "units" text field.
    Code is housed in a separate text box in Custom Calc Script
    var bReady = true;
    if(this.getField("Dollars1.0.1.0.0").value.length == 0)
      bReady = false;
    if(bReady)
      this.getField("Units1.0.0.1.0").display = display.hidden;
    else
      this.getField("Units1.0.0.1.0").display = display.visible;
    if(bReady)
      this.getField("Check Box5.0.0").display = display.hidden;
    else
      this.getField("Check Box5.0.0").display = display.visible;
    *****This works except it doesn't hide the checkbox.
    If Units are entered = hide/disable check box and "dollars" text field.
    Code is housed in a separate text box in Custom Calc Script
    var bReady = true;
    if(this.getField("Units1.0.0.1.0").value.length == 0)
      bReady = false;
    if(bReady)
      this.getField("Dollars1.0.1.0.0").display = display.hidden;
    else
      this.getField("Dollars1.0.1.0.0").display = display.visible;
    if(bReady)
      this.getField("Check Box5.0.0").display = display.hidden;
    else
      this.getField("Check Box5.0.0").display = display.visible;
    *****This one seems to work how I want it to.

    I have been scouring the internet looking for a solution, but have not found one that fits my exact scenario so any help is much appreciated. I am creating a form with Acrobat Pro and want to enable/disable or hide/show (either will work) three fields. Two of the fields are text fields called "dollars1.0.1.0.0" and "units1.0.0.1.0". The third is a check box called "Check Box5.0.0". What I am trying to acheive is fairly straigt forward. If one is entered, then the others either need to be hid or disabled. If the data in one of the fields is removed, then the others need to be once again made available. Here are the scenarios:
    If "dollars" are entered =  hide/disable check box and "units" text field.
    If "check box" is checked = hide/disable "dollars" and "units" text fields.
    If Units are entered = hide/disable check box and "dollars" text field.
    If "sell all" is checked = hide/disable "dollars" and "units" text fields.
    Code is housed in checkbox: Mouse Up/Run a Java Script
    var nHide = event.target.isBoxChecked(0)?display.hidden:display.visible;
    this.getField("Units1.0.0.1.0").display = nHide;
    this.getField("Dollars1.0.1.0.0").display = nHide;
    *****This works until I check the "Sell All" in the next row down then the dollars and unit fields in the row above become enabled again, which I don't want.
    If "dollars" are entered =  hide/disable check box and "units" text field.
    Code is housed in a separate text box in Custom Calc Script
    var bReady = true;
    if(this.getField("Dollars1.0.1.0.0").value.length == 0)
      bReady = false;
    if(bReady)
      this.getField("Units1.0.0.1.0").display = display.hidden;
    else
      this.getField("Units1.0.0.1.0").display = display.visible;
    if(bReady)
      this.getField("Check Box5.0.0").display = display.hidden;
    else
      this.getField("Check Box5.0.0").display = display.visible;
    *****This works except it doesn't hide the checkbox.
    If Units are entered = hide/disable check box and "dollars" text field.
    Code is housed in a separate text box in Custom Calc Script
    var bReady = true;
    if(this.getField("Units1.0.0.1.0").value.length == 0)
      bReady = false;
    if(bReady)
      this.getField("Dollars1.0.1.0.0").display = display.hidden;
    else
      this.getField("Dollars1.0.1.0.0").display = display.visible;
    if(bReady)
      this.getField("Check Box5.0.0").display = display.hidden;
    else
      this.getField("Check Box5.0.0").display = display.visible;
    *****This one seems to work how I want it to.

  • Hide/ Show Field Labels

    On my form I have field labels that are part of base layer and set like below
    Last Name____________________________________________________
    Is there any way have them show and hide when their associated fields hide/show? or hide when printing them adobe or adobe reader?

    Acrobat has an option to print only form fields.
    Reader does not have this feature.
    It is also possible to cover the field labels with form fields that have a fill color and only appear on the printed output.
    You might want to learn more about the PDF format and forms. There are many free references about the PDF format and forms.

  • Using jquery to hide/show field based on query results

    I have a form that includes fields for country and state/province.  Initially, the state field is hidden.  When the user selects a country, I use a bind expression in the state field to get the states in the selected country.  I want to display the state field only if the country has states (since some countries don't).  Can someone tell me how to do this?  Here's the relevant stuff:
    <script>
        $(document).ready(function() {
            $('#stateID').hide();
            $('#stateIDLable').hide();
    </script>
    Country:
    <cfselect name="countryID" query="qryCountries" value="countryID" display="country" />
    <div id="stateIDLable">State or Province:</div>
    <cfselect id="stateID" name="stateID" bind="cfc:geography.getStates({countryID})" />
    Thanks.
       Pete

    I presume you have a JavaScript function that handles the results of the cfc binding?
    If you don't you will need to incorperate one.  Then, as well as populating the second select, this function can use logic to show the second set of controls.

  • Can we hide the field in Shopping Cart of SRM

    Hi..
    Can we hide the field in Shopping Cart of SRM??
    I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
    Please suggest me
    Thanks.
    Regards,
    Manoj Tiwari

    Hy,
    For screen variants, just go to transaction SHD0.
    The only screen variants available in SRM 4.0 are:
    Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
    Item data overview in the invoice with purchase order reference: BBP_IV
    Item data overview in the confirmation: BBP_CF
    Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
    Item data overview in the purchase order: BBP_PO;
    Item data overview for contracts: BBP_CTR_ITEMLIST
    Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
    Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
    Search results for entering a purchase order: BBP_SEARCH_SC
    Search results for displaying/processing an invoice: BBP_CHANGE_IV
    Search results for displaying/processing a confirmation: BBP_CHANGE_CF
    Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
    Worklist for Sourcing: BBP_SOCO_WL
    Work area in Sourcing: BBP_SOCO_GA
    This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
    Regards.
    Vadim

  • SharePoint 2013: Hide/Show Column fields while uploading document in Document Library

    Dear all,
    I have created a document Library LIB001 and I have created One Column of type Choice, drop down list, (CCHOICE) and I have created 3 other columns, (Column1, Column2, Column3).
    What I want is while uploading a file in the document library, when I choose a certain value from CCHOICE, i want to show/hide and/or make the column mandatory.
    Can anyone help/guide me how to achieve this?
    Many Thanks
    Vinay

    Dear all, I am trying the following code, but it's not entering the onchange of drop down list event. <script> $(document).ready(function () { var countryField = SPUtility.GetSPField('Document Type'); var countryFieldValue = countryField.GetValue(); alert
    (countryFieldValue); // ----- Hide/Show the field based on new selected value. var id = SPUtility.GetSPField('Document Type').Dropdown.id; alert ('field ID: '+id); $('#' + id).on('change', function () { alert ('Inside on Change:'+countryFieldValue); if (countryFieldValue
    == 'Type1') { SPUtility.GetSPField('Column1').Hide(); } else if (countryFieldValue == 'Type2') { SPUtility.GetSPField('Column2').Hide(); } }); }); </script> Can anyone help me please. Many Thanks & Regards Vinay

  • Show/Hide JSF field based on SelectOnceChoice using Model Driven List

    Hello All,
    I have a use case where I want to show or hide fields based on values populated in SelectOneChoice. I have View master and View Lookup, master has a field named product which displayed selectiononechoice of product name built using lookup view as accessor. I am storing id of lookup type inside product column. Based on a product name say "abc" I want to hide subsequent fields. Can anyone please tell me how to implement this?
    I am using ADF 11g version 11.1.2.
    Thanks,
    Dipal

    If I understand you correctly, you are trying to show/hide subsequent fields based on the value selected from a selectonechoice?
    Did you try using partial triggers and EL for setting the rendered attribute on subsequent fields and setting autosubmit to true on selectonechoice?
    Kristjan

  • How to make a button show AND hide a field?

    In an interactive form (with Adobe Acrobat X Pro), how can I purpose one button to:
    1.) Show a field when clicked the first time
    2.) Hide a field when clicked a second time
    I seem to only be able to make a button do one or the other, but not both with the same button. Maybe an easier way to say this is I want to be able to have one button turn a field "on" and "off".
    Any help would be GREATLY appreciated. Thanks! 

    Use this code:
    var f = this.getField("OtherFieldName");
    if (f.display==display.visible) f.display = display.hidden;
    else f.display=display.visible;

  • Problem in Hide/Show in a Table Row

    Hi,
    i have to create 4 pages and each page has a table region with displaying records and a column "LINK" to go to the next page with the parameters from that record. Every link has a batchId and one another Id as parameter to next page. The next page reads the parameters and queries the corresponding table for details of that results table region contained in that page.
    Thus i have 4 pages with 4 table regions and each table region is associated with a view object which is based on an EO connected with a database table. (4 VO's).
    Now in every table i have a detail region (hide/show) which shows error records for a row ....
    thus there are 4 ViewLinks for all 4 VO to a single ERROR VO.
    I have 4 instances of ERRORVO in AM like ERRORVO1, ERRORVO2, ERRORVO3, ERRORVO4.
    Now, the hide/show region is working properly on the first 3 pages with proper navigation to pages.
    Then, i created the 4th page and created the table region in the 4th page.
    From the 3rd page i have passed 2 parameters through the link and also retainAM=Y.
    i have captured both parametres and call a method to populate data in table of 4th page.
    Successfully done..running properly....
    Now i added the detail region which is a table as previous pages in the 4th page with ERRORVO4...
    Then when i run the page i get the 1st page and thrugh link i move to 2nd and to 3rd page. But when i click on the link on 3rd page to move to 4th page i m getting "NullPointerException" with "check Inner table properties"
    Now i removed the detail region (Hide/show) only from the 4th page and again run the page . its working properly for all 4 pages with proper navigation but i am not able to see errors with hide/show on 4th page and it is required.
    i m not getting what could be the reason...
    do i need to remove retainAM=Y from the page navigation links.?????
    and is there anything like we cant create more no. of instances (4) of a single VO in an AM.....????
    Any alternative for showing the errors on 4th page with Hide/Show or without Hide/Show????

    Thiago,
    Thanks for the quick reply.
    I am now getting the following error below:
    Am I suppose to add another field to my VO select?
    oracle.apps.fnd.framework.OAException: Detail View Attribute Name is not set for the table even though a detail named child has been specified. Please specify a Boolean or String ("Y" or "N") view attribute for this table property.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1146)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • How to hide/show and move screenelements at runtime

    Hi Guys
        Currently, i have a requirment that, in the same screen, when user choose different different option in the dropdown list, there should be different screenelements and table control with different columns showing below it.
    Now, i have two plans below:
    1), hide/show and move position of screen elements and table control at runtime
    2), call different subscreen
    I hope i can take the first way since the second way will modify structure of program ( As it is infotype screen ), any one knows how to implement the first solution?

    Hi,
    I would suggest you to call different subscreens and load them dynamically based on your parameters.Since different subscreen are called your coding and functionality could also be seperated by writing in the PAI and PBO of the correspondiong Screens.
    if you have decided to go by your first method then try the below code.
    a) if it is normal UI elements like text box etc
    LOOP AT SCREEN.
        IF <var> = ' value '.
            screen-invisible = '0'.
            MODIFY SCREEN.
      endif
    ENDLOOP.
    Here <var> refers to the screen field name and value refers to its value.
    b) To hide columns in a Table control.
    DATA cols LIKE LINE OF tc-cols.
      LOOP AT tc-cols INTO cols.
        IF cols-screen-group1 = 'G1'.
          cols-invisible = 'X'. "HIDE THIS COLUMN
          MODIFY tc-cols
          FROM cols
          TRANSPORTING invisible.
        ENDIF.
        CLEAR cols.
      ENDLOOP.
    PS: here TC refers to the name of the table control.
    Lemme know if you face any problems.
    Cheers,
    RK

  • Drill down hide/show report on same page

    Hi,
    Is it possible to create a drill down report where instead of linking to new pages, the details can be displayed using hide/show buttons on the relevant columns? For example, if you have the following fields:
    Region
    Country
    Division
    Account
    Order
    Product ID
    Product Price
    Would it be possible to ,by default, have the report only show distinct regions. By clicking an expand button on a particular region, it's countries are displayed. By clicking an expand button on a country, its divisions are displayed,etc., eventually being able to drill down to order details.
    This seems similar to a tree to me, although I have not used trees before. However, from the way I understand the structure of hierarchy in trees, the way this data is structured it would not be possible through a tree.
    Any ideas? If not I can just settle on a standard drill down report with links to new pages, but if the above is possible it would work much better for my users.
    Thanks

    FJW,
    Yes, it's possible. We typically refer people to this demo from Carl to get an idea of how it can be accomplished:
    http://htmldb.oracle.com/pls/otn/f?p=11933:13
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • How to hide selection fields when using logical database PNP

    hi.
    i m using a logical database PNP and report catagory 1PY_DEF in my program.
    but when i execute it , it shows to selection box. one name is period and second is selections.
    but i just want to show only period box selection fields , not the selection box fields.
    how it iz possible.

    HI,
    In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name CS 'PNPKOKRS' OR
           screen-name CS 'PNPKOSTL' OR
           screen-name CS 'PNPORGEH'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
          CLEAR screen.
        ENDIF.
      ENDLOOP.
    Try modify hide the total block instead of individual fields in that block.

  • How to hide Incoterms field in CRM Internet Sales/E-Commerce 5.0

    Good morning !
            I´m customizing the Web/java part of the CRM E-Commerce 5.0(Internet Sales), and I need to hide the field Incoterms, that is visible in the Order screen, inside the Additional Order Data.
    Looking at the page order.jsp(that is the page of the Order screen), I saw that the Incoterms are visible when the method showIncoterms() from class BasketUI returns true, and, seeking for this method, I was found that it belong to class SalesDocumentUI and, at this class, this method returns true when both the methods isBackendR3() and isSoldToChangeable(), returns false.
            The E-Commerce, is connected to CRM, so, the method isBackendR3() will return false, so, I need to found what I need to do to the method isSoldToChangeable() returns false too. Looking in it´s definition, I found that it´s result is get from the method isSoldToSelectable() from the class Shop.
            I think that the method isSoldToSelectable(), will return true or false depending on some parametrization of the CRM, or the webshop, but I´m not finding what the parameter I need to set.
            Done somebody already this ?
            Thank you in advance !
            Wilson

    Good Morning !
            I solved this changing the code in the JSP responsible to show the incoterms fields.
            Best regards,
            Wilson

  • Hide selection fields in SAP PS Report (TCode:S_ALR_87013533)

    Dear Friends,
    We are implementing EP. In that i have to take one report of PS which tcode is S_ALR_87013533.
    In this report having various selection parameters field in 1st screen.But i want only Project defination field to be displayed and remaing fields i wanted to be hide.
    So EP user will put only Project Defination and will acess the ps releated report.
    What is the way to hide remaing field in that report.Is their any screen layout avail. for the reporting t codes in customizing.
    If any other way is avail. pls let me know.
    Thanks & Regards,
    Sandeep N.Theurkar

    Dear Hemant,
    Firstly thanks for your helpful answer.
    I have created new db profile using tcode optx & given selection criteria proj definition.also i have given plan version "0"
    But problem is system is showing following error " No costs, revenues or finances were selected".
    Pls tell me how to come out from this problem.
    Regards,
    Sandeep N.Theurkar

Maybe you are looking for

  • How to capture SOAP fault when using "Do not use SOAP envelope" parameter

    Hi, we have a synchronous  RFC -> XI -> Web Service scenario. The Web Service requires some custom SOAP header elements for user authorization which forced us create the entire SOAP message in a message mapping and to set the "Do not use SOAP envelop

  • JCo configuration

    Hi all. I have an app that uses rfc models and the JCo's are configurated as following: - The WD_XXXX_MODELDATA_DEST type are using tickets(SSO) under Application Data Type - The WD_XXXX_RFC_METADATA_DEST type are using user & password under Dictiona

  • TS4036 I have deleted all my apps from my library how do I get them all back?

    I have deleted all my apps from my library on itunes and now they are all in my trash can and I don't know how to get them back or even if I can. Will somebody please help????

  • Screen sharing across internet

    I had set up my Mac for screen sharing with Lion and was able to share the screen to another Mac on the local network, or VNC across the internet. Upgraded to Mountain Lion and screen sharing continued to work both locally and remote. Moved to Maveri

  • How can I put words on a photo?

    is there a program that enables me to add a word maybe from a copy and paste on top of an existing photo?