Disabling Htmlb button

Hi,
    I have to restrict the users from doubleclicking (Save)htmlb button more than one time in my applcation. So how can i disable the Htmlb button after first action.....?? thru javascript or in dynpage..?
Can anyone help me out
Regards
Ganesan S

Hi ganesan,
  U can have some integer set by default for the button(say i=0). on Client Click of the button, this integer can be increased and the button can be disabled in Javascript.
Try something like this onClientClick of the button in the script,
var funcName = htmlb_formid+"_getHtmlbElementId";
func = window[funcName];
var button1 = eval(func("button1"));
if(i==0){
i++;
button1.setDisabled(false);
if(i>0){
  button1.setDisabled(true);
Don't forget to set jsObjectNeeded=true for button.
Hope this helps.
Regards,
Harini S
Reward points for helpful answers.

Similar Messages

  • Can I launch a new JSP on a popup window, when cliking a HTMLB button ?

    Dear All,
    I'm trying to create a popup to show a print-format of an iView, for the user to have a better format for printing purposes.
    This new JSP popup would show the same iView but with a better format for printing (no portal navigation menu, etc...)
    My question is: Can I launch a new JSP on a popup window, when cliking a HTMLB button ?
    Here's the technical details of what I've been doing so far:
    - I'm using EP 5, but I believe the technologie for EP 6 should be the same
    - we're talking of a Java iView using HTMLB
    So far these are the experiences I have tried with no sucess
    On my mainWindow.jsp I have this piece of code, but it doesn't work:
    (etc...)
    <%
    ResourceBundle res = componentRequest.getResourceBundle();
    IResource rs = componentRequest.getResource(IResource.JSP, "printFormat.jsp");
    String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
    %>
    (etc...)
    <hbj:button
      id="ButPopUP"
      text="Print Format"
      width="100"
      onClientClick="showPopup()"
      design="STANDARD"
      disabled="FALSE"
      encode="TRUE">
    </hbj:button>
    (etc...)
    <script language="Javascript">
    function showPopup(){
    mywindow = window.open ("<%=JSP_URL %>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1,
    resizable=1, width=600,height=400");
    htmlbevent.cancelSubmit=true;
    </script>
    (etc...)
    Thank you very kindly for your help.

    Hi Kiran,
    sorry for the late reply.
    Thank you so much for your JAR file.
    Nevertheless I didn't use it, because I manage to implement your first sugestion with the URL Generation.
    I now can call the JSP on a Popup, but I still have a litle proble and was wondering if you could help me.
    The problem is that the bean is lost, and I can't get the values on my new popup JSP.
    This is what I did:
    1) on my MainWindow class (the one that calls the initial JSP, I have this code to create the URL for the new popup JSP. This is the code:
    IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
    IPortalUrlGenerator portalGen = null;
    ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
    if (specUrlGen instanceof IPortalUrlGenerator) {
         portalGen = (IPortalUrlGenerator) specUrlGen;
         try {
              String url = null;
              url = portalGen.generatePortalComponentUrl(request, "Forum_IS.popvalues");
              myBeanDados.setPopupURL(url);
         } catch (NullPointerException e) {
              log.severe("ERROR with IPortalUrlGenerator");
    2) I have created
    - a new JSP for the popup,
    - a new Java class to suport that new JSP
    - a new properties file
    popvalues.properties with the following code:
    ClassName=MyPop
    ServicesReference=htmlb, usermanagement, knowledgemanagement, landscape, urlgenerator
    tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
    MyPop is the new class that is associated with the new JSP popup.
    The problem now is that the bean was lost.
    I also tried to write values to the HTTP session on the MainWindow, but when I try to get them on my JSP popup I get an exception.
    How can I pass the values (or beans) to my new popup JSP ?
    Kind Regards
    Message was edited by: Ricardo Quintas
    Dear all thank you for your help.
    I have managed to solve the problem I had.
    Here's the problem + solution sumary.
    I have to remind you that we are talking of EP 5, PDK 5 (Eclipse version 2.1.0), with JAVA JDK 1.3.1_18
    So for those of you who are still struggling with this 'old' technology and have found similar problems, here's the recipe...
    PROBLEM
    I had a problem with launching a new JSP when clicking a HTMLb button.
    I wanted to create a JSP to present a 'print-format' of an iView.
    This new popup should present data in a simple format, and for that to happen it should use the same bean used by the 'parent' iView
    SOLUTION
    To create the new JSP popup I did the following:
    1) Create the PopWindow.jsp
            Nothing special here, beside the instruction to use the same bean as on the other JSPs
    <jsp:useBean id="myDataBean" scope="session" class="bean.DataBean" />
       2) Create the associated JAVA class
    MyPop.java.      This class will be used to call the PopWindow.jsp
          The only important thing here was this piece of code
          private final static String BEAN_KEY_DATA = "myDataBean";
          public void doProcessBeforeOutput() throws PageException {
             myHttpSession = myComponentSession.getHttpSession();
             myDataBean = (DataBean) myHttpSession.getAttribute(BEAN_KEY_DATA);
             myComponentSession.putValue(BEAN_KEY_DATA, myDataBean);
             this.setJspName("PopWindow.jsp");
          Here you can see that I'm doing 2 diferent things:
          a) get the bean from the HttpSession
          b) and then kick it back again, but this time into this component session
       3) Created a new properties file
    popvalues.properties.      This file contains the follwing code:
          ClassName=MyPop
          tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
          Contrary to some opinions on this discussion,
    you can't call a component in EP 5 by using ComponentName.JSPname.
    Or at least that didn't work for me.
    You nee to use an aproach like this one ComponentName.NewProperiesFileName
    4) On my main class MainClass.java (for the parent iView) I haded the following code on the event doInitialization: 
            IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
            IPortalUrlGenerator portalGen = null;
            ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
            if (specUrlGen instanceof IPortalUrlGenerator) {
                 portalGen = (IPortalUrlGenerator) specUrlGen;
                   try {
                       String url = null;
                       url = portalGen.generatePortalComponentUrl(request, "MyMainApplication.popvalues");
                       myDataBean.setPopupURL(url);
                       } catch (NullPointerException e) {
                          etc...
          The idea here was to build dinamicaly a URL to call the popup.
          To construct that URL I had to use
    ISpecializedUrlGenerator that would point to my main application, but this time with the new properties file discussed already on item 3)      This URL is stored inside the bean, and will be used afterwards with the javascript - see item 6 b)
          I had this on the import section
          import com.sapportals.portal.prt.service.urlgenerator.IUrlGeneratorService;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator;
       5) Then I had to solve the problem of how to pass the bean from the parent iView to the popup.
          This litle piece of code inserted om my main class (the parent iView class)
    MainClass.java solved the problem: 
          import javax.servlet.http.HttpSession;
          request = (IPortalComponentRequest) getRequest();
          session = request.getComponentSession();
          session.putValue(BEAN_KEY_DATA, myDataBean);
          myHttpSession = session.getHttpSession();
          myHttpSession.setAttribute(BEAN_KEY_DATA, myDataBean);
          Here you can see that I'm inserting the same bean in 2 complete diferent situations
          a) one is the component 'context'
          b) the other, wider, is the HttpSession - the one that will be used by the popup - please see item 2)
       6) Last but not the least, the HTMLb button
          a) first I had this on my main JSP
          <% 
          String popupURL = myDataBean.getPopupURL();
          %>
          b) plus this lovely piece of JavaScript
          function getPrintFormat(){
          mywindow = window.open ("<%=popupURL%>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1, resizable=1, width=600,height=400");
          htmlbevent.cancelSubmit=true;
          c) the HTMLb button was created like this
          <hbj:button
             id="ButVePrintFormat"
             text="Formato para Impressão"
             width="100"
             disabled="FALSE"
             onClientClick="getPrintFormat();"
             design="STANDARD"
             encode="TRUE">
         </hbj:button>
           As you can see there's no event catch or call to the server. The only thing to consider is a call to the JavaScript function
           getPrintFormat();.
           Está todo lá dentro.
           That's all there is to it.

  • No property to make htmlb:button invisible or visible??

    I am working on a jspdynpage proj where I need to make htmlb:button visible/invisible at runtime.. is there any property?

    Hi Kiran,
         You can use Java Script to make this happen. To make invisble or to disable use the following
    <input style="visibility:hidden;" type="button" value="Hello world!" disabled> . You can get the attributes of the button in varible, then start modifying the attribute at run time.
    Thanks
    Sathish

  • Color of HTMLB Button

    Hello,
    i want to change the color of a disabeld HTMLB Button.
    Changing the color of a active buttton is no problem with setting the CSS in an include file:
    .urBtnSml  { color: #FFFAF0;
                    background-color: #FFFAF0;
                    border-color: #FFFAF0 #FFFAF0 #FFFAF0 #FFFAF0; }
    But using the same way for a disabled button
    .urBtnSmlDsbl { color: #FFFAF0;
         border-color: #FFFAF0 #FFFAF0 #FFFAF0 #FFFAF0;
         background-color: #FFFAF0;
    it doesn't work. What's the problem??
    Thanks a lot,
    Andi

    that means that you are changing the color of a wrong button. i did change the color for both the disabled and active buttons. may be you are changing the wrong values in that element or the eleemnt itself is not the one you are looking for.

  • How to Disable default button

    Hi all
    I am running on EP 6 SP 9
    I have a JSPDynPage with a HTMLB form which has a default button set using the defaultButton attribute of the form
    <hbj:button
         id="OKButton"
         text="<%= localString %>"
         width="70"
         design="EMPHASIZED"
         onClick="Search"
         onClientClick="dounload();disableControl(this)"
         >
         <%
          searchForm.setDefaultButton(OKButton);
         %>
    </hbj:button>
    now in the disableControl method I need to disable the button OKButton.
    the following js fuction does exactly that, the button is grayed out and cannot be clicked with the mouse
    function disableControl(control){
      control.setDisabled();
    however if I press Enter key the form apparently attempts to invoke the eventhandler for this button, this throws a js error: Object doesn't support this property or method
    the funny thing is that the line(18) this error occurs on does not contain any js code.
    Has anyone had this same problem or is there another way to change the forms default button using js?

    >>Uma
    I already tried this.
    serchForm is undefined in js
    adding the line as server side code in the js doesnt work either
    <%
      searchForm.setDefaultButton(null);
    %>
    I also tried to get the form from the control this way in disableControl js function
    function disableControl(control){
      control.setDisabled();
      var jsForm = control.form;
      jsForm.setDefaultButton(null);
    jsForm is undefined in the last line
    does anyone know how to get a reference to the HTMLB form of the page using javascript?

  • Disable HTMLB dropdown with JavaScript

    Hi All,
    I ran into the following issue:
    I have a BSP page that used HTMLB dropdowns and some custom javascript that disabled those dropdowns interactively when a user clicked on a checkbox.
    Example: tempDropdown.disabled = true;
    Unfortunately, as soon as I changed the control rendering attribute to "SAP", the look&feel of dropdowns changed and they no longer appear to be based on "select-one" HTML object. Therefore, my custom JavaScript no longer works.
    Do you know how I could visually (interactively) disable the "SAP" rendered HTMLB dropdown with a custom javascript?
    Thanks!
    Roman

    here is the complete code of my sample.
    <b><u>page attribute</u></b>
    tab1     TYPE     TIHTTPNVP
    tab1_wa     TYPE     IHTTPNVP
    tab2     TYPE     TIHTTPNVP
    tab2_wa     TYPE     IHTTPNVP
    <b><u>layout</u></b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003"  controlRendering="SAP" >
      <htmlb:page title=" " >
        <htmlb:form>
          <%
      clear tab1_wa .
      refresh tab1 .
      move: 'PRI' to tab1_wa-name ,
      'Printer' to tab1_wa-value .
      append tab1_wa to tab1 .
      move: 'FAX' to tab1_wa-name ,
      'Fax' to tab1_wa-value .
      append tab1_wa to tab1 .
      move: 'EMA' to tab1_wa-name ,
      'Email' to tab1_wa-value .
      append tab1_wa to tab1 .
          %>
          <%
      clear tab2_wa .
      refresh tab2 .
      move: '[email protected]' to tab2_wa-name ,
      'Some One' to tab2_wa-value .
      append tab2_wa to tab2 .
      move: '[email protected]' to tab2_wa-name ,
      'Mr X' to tab2_wa-value .
      append tab2_wa to tab2 .
      move: '[email protected]' to tab2_wa-name ,
      'Mr Y' to tab2_wa-value .
      append tab2_wa to tab2 .
          %>
    <script language="javascript">
      function SetDisabled(elem,disable)
      var ip = document.getElementById(elem);
      ip.disabled = disable ;
    </script>
          <htmlb:label for  = "DDLB1"
                       text = "Carrier" />
          <htmlb:dropdownListBox id                = "DDLB1"
                                 nameOfKeyColumn   = "NAME"
                                 nameOfValueColumn = "VALUE"
                                 table             = "<%= tab1 %>"
                                 onClientSelect    = "javascript:dd = document.forms[0].DDLB1; alert(dd.options[dd.selectedIndex].value);"
                                 width             = "150" />
          <htmlb:dropdownListBox id                = "DDLB2"
                                 nameOfKeyColumn   = "NAME"
                                 nameOfValueColumn = "VALUE"
                                 table             = "<%= tab2 %>"
                                 width             = "150" />
          <htmlb:button text          = "Press Me"
                        onClientClick = "javascript:SetDisabled('DDLB2', 'true');" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    try this in your system and let me know whether it works or not
    Regards
    Raja

  • Htmlb Button background

    Hi
    I am developing an Iview that shows buttons corresponding to files in a km directory.
    when button pressed it will open the file.
    the button text is as the resource name .
    I would like to change the button background .
    I would also like to change the gridLayout background color.
    Can any of u write me how do I do this.
    Thanks
    Nitsan

    Look at the below code..
          <htmlb:button id       = "b_excel"
                        text     = "<span style='background-color: #FF6600;font:normal 10pt Arial;'> Download to Excel </span>"
                        encode   = "false"
                        disabled = "false"
                        onClick  = "onInputProcessing(b_excel)" />
    Raja T

  • HTMLB Button

    Hello,
    Iam trying to understand the htmlb Button.
    can anybody explain what is wrong with the following code:
    <b>button.java</b>
    package com.sap;
    import com.sapportals.htmlb.Button;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.*;
    import com.sapportals.portal.htmlb.page.*;
    import com.sapportals.portal.prt.component.*;
    public class button extends PageProcessorComponent {
      public DynPage getPage(){
        return new buttonDynPage();
      public static class buttonDynPage extends JSPDynPage{
      IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
      private button_bean myBean = null;
        public void doInitialization(){
          IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
          Object o = componentSession.getValue("myBean");
          if(o==null || !(o instanceof button_bean)){
            myBean = new button_bean();
            componentSession.putValue("myBean",myBean);
          } else {
              myBean = (button_bean) o;
        public void doProcessAfterInput() throws PageException {
              IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
              myBean = (button_bean) componentSession.getValue("myBean");         
        public void doProcessBeforeOutput() throws PageException {
             this.setJspName("button_display.jsp");
           public void ProcessConfirm(Event event) throws PageException{
                Button b = (Button) this.getComponentByName("OrderConfirm");
                myBean.setMessage("Clicked");
                b.setText(myBean.getMessage());
    <b>button_display.jsp</b>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.sap.button_bean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
    <hbj:button
            id="OrderConfirm"
            text="Confirm"
            width="125px"
            tooltip="Click here to confirm order"
            onClick="ProcessConfirm"
            disabled="false"
            design="STANDARD"
    />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b>button_bean.java</b>
    package com.sap;
    import java.io.Serializable;
    public class button_bean implements Serializable {
    private String message;
    public String getMessage(){
         return message;
    public void setMessage(String string){
         this.message = string;
    <b>
    Iam getting the button displayed perfectly but clicking on it won't do any good.
    Appreciate your time</b>
    Message was edited by: Robert Drater

    Hi Robert,
    Change your button_display.jsp as follows:
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.cop.button_bean" />
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <hbj:form id="myFormId" >
    <b><hbj:button
    id="OrderConfirm"
    width="125px"
    tooltip="Click here to confirm order"
    onClick="ProcessConfirm"
    disabled="false"
    design="STANDARD"
    >
    <% OrderConfirm.setText(myBean.getMessage()); %>
    </hbj:button></b>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    This should solve your problem.
    Ranjith
    Also change your button.java as follows:
    <b>public void ProcessConfirm(Event event) throws PageException{
    Button b = (Button) this.getComponentByName("OrderConfirm");
    myBean.setMessage("Clicked");
    IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
    componentSession.putValue("myBean",myBean);
    //b.setText(myBean.getMessage());
    }</b>
    Message was edited by: Ranjith Vijayan
    Message was edited by: Ranjith Vijayan

  • How do I disable "Exceptions" button for "Block pop-up windows" in Content tab?. I am able to Disable other Exception buttons in this tab using about:config preference.

    Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
    That only leaves the choice to remove that button with code in userChrome.css
    <pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Oracle Apps Sys Admin -- Disabling a button on a form

    Hi Guys,
    I want to disable a button on a form in oracle applications. Normally, i disable a button by goin to that MENU, SUBMENU(if there are any) and take the button's sub-function and add it in FUNCTION and MENU Exclusions in the reponsibility define form.
    But in some forms in Oracle Inventory, i have a NEW button and am not able to find a sub-function for that. NEW and OPEN , two buttons are there . How can i disable or make that button vanish from that form. I know that it can be done thru CUSTOM.pll but without custom.pll , is there a way using this sub-functions or watever.
    help appreciated.
    Thanks

    Yes I know about form personalization, however I still couldn't hide 2 buttons. Open vision database, under purchasing superuser > requisition summary, if you click the Find button it will open Requisition Header Summary window. In that window there are New and Open button. Now, I couldn't hide those 2 buttons cause I couldn't found the name in Item. What's the name of those 2 buttons? Thanks.

  • To Disable 'CREATE' button

    Hi i have a requirement like to disable one CREATE Button(Creating of Business Partner IS-FS-CM) which is in standard ALV report.I can eliminate that button from PF status of that screen but we are not supposed to change the existing code.But that screen is BDT implemented.
    Can you please help out me how to disable that button w/o changing the standard SAP code

    Hi Krishna,
    For example say your PF sataus name is 'STATUS-100' and function code for create is 'CREATE'.
    then in your part of code use the following syntax,
    SET PF-STATUS 'STATUS-100'  EXCLUDING 'CREATE'.
    I hope this will help you.
    Regards,
    Manoj Kumar P

  • Disable return button

    I have created an action link on main report that opens second report in a new window and second report has a return button on it by default and when i click on it its is taking me to main report in new tab, Is there any way we can disable return button on second report ?
    thanks

    Check this Re: Unable to hide Refresh link in "No Result" view in BISE1 10.1.3.2.1 version

  • How to disable Print button on WebDynpro ABAP ALV

    In WebDynpro ABAP, a standard menu appears around the ALV,  that has a PRINT button and an EXPORT button.
    Is there anyway to disable those buttons????
    Thanks
    John

    Hi John,
    Check the interface if_salv_wd_std_functions. It contains methods which are used to hide the standard ALV toolbar buttons.
    Also refer : Removing "print version" button in alv
    How to hide Print and Filter option from dynamic ALV

  • How Can i Disable this Button (Screenshots)

    Hi,
    I need to disable 2 buttons (Approve - Reject) for a specific responsibility (+see screenshot link below+)
    http://img825.imageshack.us/i/44310429.jpg/
    Path : Intercompany User --> Transactions: Inbound --> Search for transaction --> Update Transaction
    Through Personalize Page, i personalized the button and set it's Render to FALSE but they still appear (+see screenshot link below+)
    http://img801.imageshack.us/i/87584812.jpg/
    Am i missing something? Please Help,
    Your advice is highly appreciated,
    Best Regards,

    Dear Kali Thanks for your response,
    I tried to set the Render FALSE at the site Level , but the buttons are still appearing.
    you mean the "Disable Self-Service Personal" Profile option? it is set to NO
    the outputs as per your :
    exec jdr_utils.listcustomizations(p_document => '/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG');
    /oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" rendered="false" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" rendered="false" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG">
    <modifications/>
    </customization>
    Best Regards,

  • Disable Delete Button

    Hi All,
    In the menu Shopping cart Status, I could able to see all the shopping cart.
    Now the requierment is , DELETE button should be disable if there is any corresponding PO for that SC.
    Please let me know how to do this. I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.
    Please let me know any other way to do this?
    I am working on SRM 5
    Regards,
    Nikhil V.Kumar
    Edited by: Nikhil V Kumar on Aug 30, 2010 1:58 PM

    Hi
    It will be too complex(if at all possible) to implement a solution for enabling/disabling delete button depending on the follow on document of the cart.
    I will recommend you to put some code in Check BADI which could check the follow on documents for a Shopping cart on Action DELETE and throw an error if someone tries to delete such shopping carts.
    Regards
    Virender Singh

Maybe you are looking for

  • Case Insensitive File Names in Sender File Adapter

    Hi, I've tried my best to search SDN on this issue with no help... My sender file name can have any case (upper or lower) e.g. ABC_123.txt or ABc_345.txt or aBC_456.txt However configuring the file name in the sender file channel as 'ABC*' did not wo

  • Export InfoCube Contents by Request to a flat file

    Hi SDN, Is it possible, other than going into the manage contents of an infoCube, to export to a CSV file, by a request id. I had a look at the function module RSDRI_INFOPROV_READ and it nearly does what i require, although i wasn't able to get it to

  • Problem in AIAB - Distribute (Capitalize Asset u. Const.)

    In table ANEP, I can see the all register of my asset Capitalize Asset but in transaction AIAB I can´t see the class movement 891 and 892 (revaluation) Please help....

  • Adobe Audition 6.0 is Crashing Auto Heal

    Has anyone experienced this with MAC version of Adobe Audition 6.0?  When using the Auto Heal tool, the software constantly crashes after applying an edit with tool.  Is there a patch or fix?  This happens often, in fact everytime I use the software.

  • JSF Portlet - custom persisted user attributes

    I will be developing a JSF Portlet (JSR 168) for Sun Portal Server 7.0, is there any way to persist a custom attribute value in the portal? The user can set up some values on the EDIT page and I'd like to persist them without using a database. Is it