Setting the visibility of columns in document rows

Hello,
I have an UDF in a row of a document, this UDF is a drop-down-list with two entries: A and B.
If i choose A, i want the column e.g. "discount" get automatically set to inactive.
Now, the visibility and active/inactive is set with the form settings, but where is it stored? Which table?
Best Regards,
Leonhard

Hi Leonhard,
The Form setting values are stored in the table CPRF. But as per your requirement its not possible to enable or disable the values without using SDK. Hence u may have to make use of SDK to validate the UDF values (A or B in your case) and then take appropriate actions (Active or Inactive).
Hope its clear to you..
Regards
Reno.

Similar Messages

  • Set  the visibility false on click PopUp

    Hi,
    I want to set the visibility false of my component on the click of popup
    but the problem is when i generate the Pop Up on Page then it lost the control of all the child's on that Page and when i set the visibility false of component then it is not set
    Please guide.
    Thanks,

    You could use PopupFetchListener - to set the visibility of the button to false.
    Here, is a sample based on your use-case.
    Sample.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    *<af:commandButton text="CommandButton" id="cb2"*
    *binding="#{SampleBean.button}"/>*
    *<af:commandButton text="Show Popup" id="cb1" partialSubmit="true">*
    *<af:showPopupBehavior triggerType="action" popupId="p1"/>*
    *</af:commandButton>*
    </af:panelFormLayout>
    *<af:popup id="p1" popupFetchListener="#{SampleBean.popupFetchListener}"*
    *contentDelivery="lazyUncached">*
    *<af:dialog id="d2" title="Sample Dialog">*
    *<af:outputText value="Popup Contents" id="ot1"/>*
    *</af:dialog>*
    *</af:popup>*
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *SampleBean.java:*
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.event.PopupFetchEvent;
    public class SampleBean {
    private RichCommandButton button;
    public SampleBean() {
    public void setButton(RichCommandButton button) {
    this.button = button;
    public RichCommandButton getButton() {
    return button;
    *public void popupFetchListener(PopupFetchEvent popupFetchEvent) {*
    *this.getButton().setVisible(false);*
    *AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();*
    *adfFacesContext.addPartialTarget(this.getButton());*
    Thanks,
    Navaneeth

  • Setting the resolution of a Pages document

    I'd be very grateful if some kind soul could tell me how to set the resolution of a new document in Pages.
    I want to use Pages to create an advert for inclusion in a magazine. They need artwork at 300dpi resolution and preferably in jpeg format. I've tried adding an image (300dpi) to a blank Pages document then saving it as a pdf (via File>Print) then opening the pdf in Preview and saving it as a jpeg. However, the resulting jpeg is only 150dpi for some reason.
    Any help (or easier method, or tip for what other application is more suitable for this job) would be much appreciated!
    Michael

    I'd be very grateful if some kind soul could tell me how to set the resolution of a new document in Pages.
    I want to use Pages to create an advert for inclusion in a magazine. They need artwork at 300dpi resolution and preferably in jpeg format. I've tried adding an image (300dpi) to a blank Pages document then saving it as a pdf (via File>Print) then opening the pdf in Preview and saving it as a jpeg. However, the resulting jpeg is only 150dpi for some reason.
    Any help (or easier method, or tip for what other application is more suitable for this job) would be much appreciated!
    Michael

  • How to Set the Visibility of a field in ESS Address view through portal

    Hi experts,
      I want to set the visibility of a field in ESS Address view through portal.How to edit a field through portal? Please help me with procedures to be followed..
    Thanks&Regards,
    Karthik.

    Hi,
    Login to portal with a user having content administration role.
    Navigate to your iview which must be under content provide by SAP(if its a standard iview).
    Open the iview and click on preview button.
    Then press ctr on keyboard and rightmouseclick on the field for which you want to change.
    A popup will open. Change the visibility in the popup and save the changes. This is a way of personalization and it'll be applicable for all the users.

  • Looking for a way to programmatically set the visible portion of the front panel when a subVI opens

    I am looking for a way to programmatically set the visible portion of the front panel when a subVI opens.  Haven't found any posts that relate, but I'm not sure how to ask the right question.  To be clear, I want to write a helper VI to go through a list of subVIs to make sure the background images are all in the same place when their respective subVIs open.  I hate manually playing with scroll bars before I save each of the VIs...  I'm figuring I need to find the top/left location of the background image (know how to do this already) and then set a VI FP property to  these values or some offset, but I can't find the relevant property. FP:run-timeposition:custom looked promissing, but only affects the location of the window, not the area of the front panel the window is displaying.
    Solved!
    Go to Solution.

    Cool.  Getting closer.  The way I implemented your suggestion affects the subVI only if it is open.  I can use this to do what I'm after, perhaps putting the code into each subVI.  Maybe open all subs, run the helper, and save.    Seems like I'm missing the elegant version...
    My proof of concept code:

  • How to programmatically set the Visibility of an Iview INVISIBLE ?

    Hi ..... I need to programmatically set the visibility of an IView for a user Invisible - In order to achieve that , I am trying the below code....But getting errors-
    Code -
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
                 env.put("com.sap.portal.jndi.requested_aspect","com.sap.portal.pcd.gl.PersistencyAspect");
    env.put("java.naming.factory.object", "__IPcdContext__");
    InitialContext iCtx = null;
    String iViewID = "pcd:portal_content/ABC/1Portal/mywork/iviews/XYA_iViews/adf.ivw_ess_jspdynpage";
                 iCtx = new InitialContext(env);
                 IiView result =(IiView)iCtx.lookup(iViewID);     
                 IiViews iViewSrv = (IiViews)PortalRuntime.getRuntimeResources().getService(IiViews.KEY);
    INewObjectDescriptor IVtoCreate =(INewObjectDescriptor) iViewSrv.instantiateDescriptor(CreateMethod.NEW,"par:/applications/com.sap.km.cm/components/navigation",request.getUser());
    IVtoCreate.putAttribute("com.sap.portal.navigation.invisible", true);
    the above method putAttribute is not apllicablt for (String,Boolean)\
    Please suggest as to how can I programmatically set an Iview Visible/Invisible .

    I think the property is com.sap.portal.navigation.Invisible with a capital I for invisible...
    This blog has an example: Hiding portal role content with a simple iView

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • Setting the visibility of a button after a click on a TabbedPane

    I have a page with a Tabbed Pane.
    I would like to set the visibility of a command button when I click on a Tab.
    To do that I put a disclosureListener like this:
    <af:panelTabbed position="above" testId="Tab1" >
    <af:showDetailItem id="Tab1" text="Tab1" disclosureListener="#{prova.apri}">
    <af:outputText value="Table1"/>
    </af:showDetailItem>
    <af:showDetailItem id="Tab2" text="Tab2">
    <af:outputText value="Table2"/>
    </af:showDetailItem>
    </af:panelTabbed>
    In the backing bean I have the attribute bound to the commandButton and the listener method like this:
    public void apri(DisclosureEvent disclosureEvent)
    // Add event code here...
    RichShowDetailItem o =
    (RichShowDetailItem) disclosureEvent.getSource();
    this.commandButton1.setVisible(true);
    this.commandButton1.setRendered(true);
    It doesn't work !! I guess I'm missing something....
    Could someone help me??
    Thanks a lot.
    Alfredo

    Based on the code you provided it does not look like you are using a partialPageTrigger, which would be required in this case.
    --Ric                                                                                                                                                                                                                                                                               

  • Setting the visibility of check box based on values of dropdown field

    Dear Experts,
    I have to set the checkbox visible/hidden based on the values of dropdown field.
    Request you to please provide code example.
    Regards,
    Upendra

    Hi,
    For capturing the selected value from the dropdown (ComboBox in SAPUI5) field use the change event of the combobox UI element. Within this you can get the selected value using the getLiveValue() method of the combobox.
    Then depending on the value you can set the visible boolean property of your checkbox.
    Refer to the link ComboBox for more details.
    Regards,
    Saurabh

  • How do I set the number of columns for JTextPane

    I only found a method setSize() of JTextPane class. How can I set the number of columns in a JTextPane? Each column can be written one letter.
    Thanks.

    You're not going to use FontMetrics to change the width of the characters; you're going to use it figure out how wide a single character is. Then multiply by the number of characters you want to have in a line, and presto! You know how wide to make your JTextPane.
    Unless I've misunderstood your problem, of course.

  • Problem while setting the property of column in ALV

    Hi ,
    I have created a alv dynamically and setting the properties of the column like column header text but its not getting updated .
    see the below code for ref.
    lr_column_settings ?= lr_config_table.
      data:
        lt_columns type salv_wd_t_column_ref.
      lt_columns = lr_column_settings->get_columns( ).
      data: lr_column      type ref to cl_salv_wd_column,
        lr_header      type ref to cl_salv_wd_column_header,
        ls_column type salv_wd_s_column_ref.
      loop at lt_columns into ls_column.
        case ls_column-id.
          when 'MOIST'.
            lr_column = ls_column-r_column.
        lr_header = lr_column->get_header( ).
        lr_header->set_text( 'Moisture %' ).
    I am able to set the alv properties like  visible row count etc ..
    can anybody help out in this issue
    Regards
    Yash

    I was just able to change my headers with the following:
    data:
        lt_columns     type salv_wd_t_column_ref,
        ls_column      type salv_wd_s_column_ref,
        lr_header      type ref to cl_salv_wd_column_header.
      lt_columns = lo_value->if_salv_wd_column_settings~get_columns( ).
      loop at lt_columns into ls_column.
        lr_column = ls_column-r_column.
        lr_header = lr_column->get_header( ).
        lr_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_title ).
        lr_header = lr_column->create_header( ).
        case ls_column-id.
          when 'CNT_LINEITEMS'.
            lr_column->r_header->set_text( 'Line Items' ).
          when 'VAL_OPEN'.
            lr_column->r_header->set_text( 'Open Amount' ).
          when others.
        endcase.
    endloop

  • How to set the root path of XML document when calling Inserting procedure

    Hi,
    I was create a procedure to insert XML Document in to DBMS Tables, but i am not able to set the Start root element in calling procedure.
    My calling procedure is
    exec insXmldoc('pmc_sample.xml', 'pmc')
    When i am calling this procedure i got this error
    11:23:54 Error: ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 8
    ORA-06512: at line 2
    I am checking my XML file using XML Validator. My XML file was parsed with out errors.
    Please give the solution,and tell me where i did wrong in my calling procedure.
    suppose i have this XML file in local E drive ,how to set the path for that XML file in my calling procedure.

    Hi, I am doing the code likthis,please give the solution.
    SQL> create or replace procedure insProc(xmlDoc IN CLOB, tableName IN VARCHAR2) is
    2 insCtx DBMS_XMLSave.ctxType;
    3 l_ctx dbms_xmlsave.ctxtype;
    4 rows number;
    5 begin
    6 insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
    7 rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
    8 DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
    9 end;
    10 /
    Procedure created.
    SQL> begin
    2 insProc('/usr/tmp/ROWSET.xml', 'emp');
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException:
    Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 7
    ORA-06512: at line 2
    Kishore B

  • How do I set the CoreTable sort column in the managed bean?

    I have a CoreTable with two columns, first name and company, from the managed bean in a session scope, how do I set the company column to be the default/selected sort order?
    Or is that done by binding the af:column to a CoreColumn object in the managed bean, which method would I use?
    <af:column sortProperty="company" sortable="true">
    <f:facet name="header">
    <af:outputText value="#{common.labelCompany}"/>
    </f:facet>
    <af:outputText value="#{row.company}"/>
    </af:column>
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, I know, "sortable", see, I even used it in my example. I don't want to disable default sorting.
    What I'm asking is how to have more than one sortProperty. When the user clicks the column heading, I want to sort by "myFirstProperty" AND "mySecondProperty". The sortProperty only seems to allow one sort property.
    One possibility seems to be to programatically add items to the List of SortCriterion objects as in your example, but where would I put this code so that it is executed when the user clicks the column heading, but before the table is sorted.

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • Setting the request of follow-on documents

    Hello everybody,
    my issue is the following: I'm using the SAP Supplier Self-Services. When I display the Purchase Order selected from a list, in the field "Requested Follow-On Documents" appears also the voice "Invoice".
    My target is to remove this voice.
    Reading rows and rows of code, I understood that this parameter is inside an internal table (BBP_PDS_SUSPO_UI_HEADER_D) and its name is IR_IND (Invoice Receipt Indicator). Debugging, this field is passed to the function with a value of 'X'.
    How could I pass a blank value to it without changing the standard code? Is this possible? I also tryed to uncheck in transaction ME23N the field "Inv. Receipt" from PO Item (Tabstrip Button: Invoice).
    I'm really without any idea.
    Suggestions?

    Hi,
    You can look up in tables :BBP_PDBEH and  BBP_PDBEI for all the follow on doc info for SC.
    See these threads:
    Re: shopping cart number from PO/PR number by rfc call
    Re: Tables for confirmation
    Re: Table to look for PO in EBP
    BR,
    Disha.

Maybe you are looking for

  • How to get files rollback by using File Adapter

    Hi All, I have a question.. How can we get the files rollback whenever the inbound file adapter is down after reading some files in source.?? Regards, VenkatCH

  • Adding *67 to all outbound calls NOT in my contacts?

    Sorry if this is a redundant question, I could not find an answer on a search...is there any way to either block caller ID, or automatically insert a *67 when calling numbers NOT in my contacts? Thanks.

  • How do I speak with someone live at Apple?

    Has anyone received this and if so, why?   Also, I own various other Apple products, so how can I tell which product they are referencing? Dear customer, Your Apple ID will expire in less than 48 hours.It is imperative now to conduct a review of your

  • Single Row

     I need to query where if there is more than one startdate for a person, I need to get the earliest startdate, however get the latest enddate and money associated with that enddate.  Can someone point me in the direction of the technique I need to us

  • DVD Studio Pro 4 shuts down my G5!!!!!

    Hi, new here. Well, yes... Every time that I try to burn a disk or build one, my G5 10.4.3, Dual 2 GHz, 4 GB DDR SDRAM, shuts down. I've reinstalled DVD SP 4 but it still shuts down my computer. And when I mean "shut down" it REALLY turns it off. Any