Hide field based in process type - GS_CM Component

Hello.
Currently, we need to hide a field in GS_CM/AddDoc view of component GS_CM, because it have to be based on process_type.
In CMBO node context, we have the object_type of the transaction (TYPEID attribute), but we need the process type to evaluate to hide the field.
Please, help.
Regards,
Renzo.

Hello!!
Problem solved!
We apply the changes indicated in this link:
http://scn.sap.com/community/crm/webclient-ui-framework/blog/2013/05/13/accessing-component-controller-or-custom-controller-in-a-context-node-class
Then, we can obtain the guid of the operation and use the FM CRM_ORDER_READ_OW for read in memory the process type of the operation .
Thanks!
Regards,
Renzo.

Similar Messages

  • Use of the field T682Z-FSTST ( Processing type in access )

    Hi,
    I want to know the use of the field T682Z-FSTST. The allowed values for the field is
    (blank)     Field in fixed key part
    A     Field in free key part
    B     Key field to be determined in access
    C     Data field from condition table

    Hi Abhi,
    FSTST field helps as follows :
    in sales when assigning the pricing conditions we go for a process assigning . means to say there will be many order type(s)like in sales order if u take there will be many orders . based on a type of sales order in va01 the appropriate taxes are to be levied . when a pricing procedure is to be assigned to a sales order which has to be on a order type then access sequence is allotted i.e predefined in the pricing procedure . when the process is run for pricing procedure then on the predefined pricing procedure and access sequence the taxes are calculated . here is the access sequence that plays a key role . so fixed key doesn't allow u to give values not defined in the range .
    Hope your question is answered . Please assign some reward points if it is useful .
    Thanks.
    Ramesh Choragudi

  • APEX 4.1 show hide fields based on value of checkbox/radio

    I am trying to successfully hide and show fields based on the value of a clicked checkbox.  I am using a dynamic action, but it isn't working. 
    I followed the sample at Does Oracle Apex 4 enable the following AJAX features? (ie without the dev writing the Javascript) - Stack Overflow
    I even tried a radio button, but it didn't work.  I cannot uncheck the radio button.  What am I doing wrong?  Thank you for any help you can provide.

    Hi,
         create a dynamic action for page load to hide the item which you wanna hide
         now create another dynamic action
         event : Click
         Selection Type : Items
         Items : P1_Check_box(name of the check box item)
         condition : equal to
         value : return value of the check box item (if you click the check box and the return value is 1 then just add 1)
         in true actions
         Action : Show
        Selection Type : Items
         Items : P1_Text_field(name of the field)
         uncheck fire on page load
         create exact opposite false action, that's it.
    Regards,
    Mohan.

  • PM Notification - Hide fields based on other field's value

    Hello experts,
    I am looking for an user exit which allows me to hide some fields based on other field's value.
    For example, I have field 1 and field 2. When I open my notification, if the value of field 2 is 'aaa', field 1 has to be hidden.
    There should be an user exit but I can't find it...
    Thanks for your help!

    Hi everyone,
    Any thoughts? any help is appreciated...
    Thanks

  • Show or Hide fields based upon a variable value

    Hi,
    I am a rookie in the field of Acrobat. And my only question is :
    How to Circle a Form Field based upon a variable value .
    For example, If x=1, I want to circle Japan and if x=0, I want to leave it without any change.
    Please help me out. Thanks for your time and help.
    Thanks,
    Vijayvijay77.

    Hi George,
    I am pre-populating a Pdf file based upon the data submitted by the user. And I have to circle options selected in the form.
    I am writing coldfusion code to flatten, populate the form into a PDF form. The end result is the PDF generation with all the data in it.
    The data comes from the database, where I set variable values if any is selected or not.
    Thanks for your reply, I really appreciate your help.
    Vijayvijay77.

  • Show/Hide fields based on choices in drop down menu

    I need help with a script that I cobbled together from an example script; I'm not good enough at java to edit it for my needs.
    I have a form where I would like different drop down fields would be visible/hidden depending on the choices made from other drop down menus.
    If (for example) they select paper type "white" or "color" then "white" will result in a second menu of paper choices, the "color" selection result in them picking the paper wieght, then from there the color.
    My problem stems from the fact that my form is very linited in space, so I would like some of these fields to be essentially on top of each other; visibility dependant on previous choices. I can get to Menu 1 (select paper color) and then Menu 2 if they select white. But there's a problem with setting up a third menu in this series, if they select "color" from Menu 1, then I try to have a drop down for paper weight, all the fields except for Menu 1 are hidden. Playing with the script let me have them all visible, but again, I'm limited on space and can't really spread them out.
    I know I'm missing one small command... somewhere.
    Here is the script I'm working with:
    function control_section_fields() {
        if (event.willCommit) return;
        // Get the value selected in the combo box
        var section = event.changeEx;
       // Hide all of the entry fields
        getField("sec").display = display.hidden;
        // Reset all of the entry fields
        resetForm(["sec"]);
        // Display the fields for the selected section
        getField("sec." + section).display = display.visible;
    where the drop down fields are named "sec.a.dd" for example, and the Export value of different values are assigned as "a", "b", etc.
    Sorry for the rambling. Any help will be greatly appreciated.

    also, if "==" could be roughly translated to "is", "!=" would mean "is not".
    JavaScript is Case sensitive so make sure you did not name your field STATE#1 instead.  It's a pretty common error.  Try not to use special characters when naming fields.  Stick to standards.  I personnally always name fields with capital letters and numbers using identation like
    MYFORM.PLACE.NUMBER
    MYFORM.PLACE.ADDRESS
    MYFORM.SEX.MALE
    MYFORM.SEX.FEMALE
    This is really useful if you have lots of fields related to one another.  You can then apply methods to entire groups of fields in one simple line of code.
    For example this.getField("MYFORM").display = display.hidden would hide all four fields.  It works kind of the same way as folders unside your computer.
    Finally, "#" is generally used as widget identification.  I think this is what happened.  If you copy a field, it retains the same name and some of its charateristics but acrobat will assign them a number called widget.  The original field State will get the identification State#0 in the right pane as it is 0-based.  The copie will be identified State#1.  You must understand that the name of the field is still "State".  Some methods (actions you can code) let you determine the widget number for targetting a specific field from those you copied.  It is not the case here.  So for disambiguation, you should name your fields different name like STATE1 and STATE2, or STATE.1 and STATE.2 if you plan to use what I wrote about earlier.

  • Show / hide field based on text in another field

    Hi,
    I'm trying to make one of my fields reactive to what is the text generated in another field.
    At the moment I have this under calculate using custom javascript:
    var Mask = this.getField("Course").value;
    if(Mask == 'Swimming') this.getField("Code").display = display.visible;
    else this.getField("Code").display = display.hidden;
    Whereas Course is the field that is changing and Code is the one that will show/hide based on content of Course.
    Any help?

    Hi Everyone,
    After doing trials with simple calculations it still wasn't working and so I've figured out what the problem is - the document was being exported but with the data being pre-populated from an SQL database in which during the export it all happens at once, not a chain effect so when the export happens it was filling "Code" before "Course" had any info in it...
    The fix was basically having to create a different field in the SQL source itself for an independent field on the pdf form.

  • Show/Hide Fields Based on Dropdown

    Hi,
    I am attempting to show/hide subforms with a dropdown selection. I've found a lot of information on the subject, and have ended up with this as my script:
    form1.Page1.Division::exit - (JavaScript, client)
    switch (Page1.Division.rawValue)
       case "1":
       SubformZZI.presence = "visible";
       SubformZZR.presence = "hidden";  
          break;
       case "2":
       SubformZZI.presence = "hidden";
       SubformZZR.presence = "visible";      
          break;
    However, it is not doing anything when a selection is made in the dropdown box. I have the "SubformZZI" initially set as "Visible" and the "SubformZZR" initially set as "Hidden".
    Any suggestions?
    Regards,
    ZeroZone

    You have wrongly referenced the fields in your code.
    Copy and paste the below code in the click event of the Submit button. It should work as expected.
    The code thathas error is commented..
    // First check if there are null values, then construct email using script
    var vEmail = "";
    var vSubject = "";
    var vBody = "Attached to this email is a Field Service Issue - Parts Order Form for Job #" + Page1.JobNumber.rawValue + ".";
    var vName = "";
    var vCC =  "[email protected]" + "," + Page1.RSM.rawValue + "," + Page1.IssueLeaderEmail.rawValue; 
    var vFormat = "PDF";
    var errorMessage = "At least one required field was empty. Please fill in the required fields (highlighted) before continuing.";
    // Check required fields and build error message
    if (Page1.IssueLeaderEmail.rawValue == null)
    errorMessage = errorMessage;
    else
    vSubject = "Field Service Issue - Parts Order Form for Job #" + Page1.JobNumber.rawValue;
    // Check Division field
    if (Page1.Division.rawValue == "Case Division")
         //vEmail = Page1.SendFormToZZI.rawValue;
         vEmail = Page1.SubformZZI.SendFormToZZI.rawValue;
         //vCC = Page1.SendCopyToZZI.rawValue + "," + Page1.CSTZZI.rawValue;
         vCC = Page1.SubformZZI.SendCopyToZZI.rawValue + "," + Page1.SubformZZI.CSTZZI.rawValue;
    else
         //vEmail = Page1.SendFormToZZR.rawValue;
         vEmail = Page1.SubformZZR.SendFormToZZR.rawValue;
         //vCC = Page1.SendCopyToZZR.rawValue + "," + Page1.CSTZZR.rawValue;
         vCC = Page1.SubformZZR.SendCopyToZZR.rawValue + "," + Page1.SubformZZR.CSTZZR.rawValue;
    // If fields required for script are null, warn user and do not initiate email
    if (Page1.IssueLeaderEmail.rawValue == null)
    xfa.host.messageBox(errorMessage, "Sending an email", 0, 0); // Send out a custom error message if any of these fields are null
    else
    // Everything is OK, send email
    event.target.submitForm({cURL:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody + "&cc=" + vCC,cSubmitAs:"PDF",cCharset:"utf-8"});
    Thanks
    Srini

  • 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

  • Sales Text control based on Order type

    Hi,
    I am in process of maintaining both header level and item level texts in order to perform reports.
    I found the Text deter maintain in SD--> Basic functions --> Text control and already defined the required filed. But now i want to know how to control that particular field based on Order type or even based on Sales area etc to implement that to only one channel/ order type/ Sales area.
    Any one suggestion would highly appreciated.
    Regs.
    S.Ramesh

    Hi,
    Say for example :
    I am maintaining two sales order types respectively A and B. I want to newly add texts at header level and also at item level.
    I found that header level we can maintain Based on Sales order types ( Like A, B etc) and successfully completed the task.
    Now come to item level, text procedure assignment is based on "item category", and also i have maintained TAN item category for both order types, at the same time i want to make this new item level text only for Order type A and not B.
    Hope it makes clear.
    Regs,
    SR

  • MultiLookup items selected, show or hide fields dynamically

    Hi,
    In the New or Edit Form, I would like to show or hide fields based on the multiselect value selected.
    Is there a way to add javascript to achieve this and to get the selected values to show or hide the fields dynamically?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you want to show or hide fields based on the multiselect value selected.
    You can add the code below to the new form.
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
    function Test(){
    var object= $("select[title='Lookup selected values']");
    var object1=$("input[title='Test']");
    var text= object.find("option").text();
    alert(text);
    if(text.indexOf("A")>-1)
    object1.hide();
    </script>
    <button onclick="javascript:Test();" type="button">Test</button>
    Note: You need to change the title of the select and input tags.
    The result are as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • HCM interactive Forms - hide fields and backend connection

    Hello,
    we plan to implement a personnel transfer workflow based on interactive forms. Because in one step the user should not be able to see a couple of fields, it is possible in interactive forms zu hide fields based on the users role?
    I read a lot the last days but what I still havent found out and I hope you can push me in the right direction is, how the connection between backend and Form is working.
    Inside of an example form and in the documentation is descriped to use this below code to implement a bushbutton and the send message to create a server round trip. But if I create 2 pushbuttons with the same code, how do I know which button was pressed? Or do I have to create my own events somewhere? Or is there only this one event and I have to set a hidden field with some value via javascript or formcalc to find out whats going on in the form?
    $record.CONTROL_PARAM.ISR_EVENT = "USER_EVENT_CHECK"
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    best regards,
    Kai

    Hey Rajesh
    I'm not sure it will work - but its worth a try.
    Every time i wont to hide some subforms or UI elements - I determine them as "invisible" by default - and when the conditions are right - I turn them to "visible" (negatively way).
    Hopefully it will help you.
    Eyal

  • Processing types in an action condition

    Hi
    Can I have two processing types for an action condition.
    Like a Method Call and a Send email.
    Thanks
    Tarang

    Hello, Tarang.
    Yes, you can set a number of processing types for an action. For this go to an action defenition, then navigate to Processing Types and there choose 'New entry', in the field "Assignment" choose processing type using value help and enter details.
    Hope this will help.

  • Abs and attnds using processing type

    Hi Experts,
    How to Grouping absences and attendances using processing types? A little brief ans will help me to understant better. with an example pls explain.
    Thanks in Advance,
    Riya

    Hi
    For clarification we dont/do base Attendace/Absences groupings based on Processing Types. But we do group Attendances/Absences based on ProcessingType/TimeType Class.
    Thanks

  • Display fields by process type

    Hi All
    I have a number of complaint ticket business transactions, each have a different process type.
    I have added new fields through the eewb.
    Depending on the process type, I want to display or hide different fields.
    How do I use the view configuration tool to do this ?
    Do I set up a new object subtype, if so, how ?
    E.g. for a ZXX1 process type I want to show one set of additional data fields and for a ZXX2 a different set of additional fields.
    Any help would be great.
    Thanks
    Darren

    Darren,
    This is easy, create a new configuration using the object subtype as your transaction type.  The system automatically determines the screen based on the transaction type/process type by matching against the object subtype.
    For complaints the config key would look like:
    Role config key <ZVALUE>
    Component usage <DEFAULT>
    Object Type BT120_CPL
    Object SubType  <Transaction Type> (i.e ZCMPL, etc).
    This works for activities and should work for complaints.
    In fair disclosure I also did a search after posting this reponse and found this thread with a similar answer:
    https://forums.sdn.sap.com/click.jspa?searchID=25577399&messageID=6337830
    Now please keep in mind after you read this, is that you can definitely have one business role, but display the transaction types differently within that role.  The issue would be if you wanted to display the same transaction type differently for two different users.
    Take care,
    Stephen

Maybe you are looking for