How do we delete/read the contents of a POPUP window?

Hi,
I have a POP UP window designed on the ACTION push button . This POP up window contains another 3 buttons.
I want to delete/disable the last entry in this pop up , i.e, 'Request Deal Approval'.
The method that i had redefined is EH_ONPPFACTION. This is as follows:
DATA lr_cn TYPE REF TO cl_bsp_wd_context_node.
    DATA lr_entity TYPE REF TO cl_crm_bol_entity.
    DATA lr_msg_srv TYPE REF TO cl_bsp_wd_message_service.
    DATA lr_popup TYPE REF TO if_bsp_wd_popup.
    DATA lv_msg_dummy TYPE c LENGTH 1.                      "#EC NEEDED
    lr_cn = me->get_context_node( gc_cn_btadminh ).
    CHECK lr_cn IS BOUND.
    lr_entity ?= lr_cn->collection_wrapper->get_current( ).
    CHECK lr_entity IS BOUND.
    DATA lt_button_ext_t TYPE crmt_thtmlb_button_ext_t.
    FIELD-SYMBOLS <ls_button_ext_t> TYPE crmt_thtmlb_button_ext.
    cl_crm_uiu_bt_action_tools=>get_action_buttons_by_adminh(
      EXPORTING
        ir_adminh         =  lr_entity
*    iv_page_id        =
      CHANGING
        ct_thtmlb_buttons = lt_button_ext_t ).
***********************this is the code i added to delete the entry ****************************************
    READ TABLE lt_button_ext_t ASSIGNING <ls_button_ext_t> WITH KEY id = '#ZK_DEAL_APPROVAL'.
    IF sy-subrc = 0.
      delete table lt_button_ext_t from  <ls_button_ext_t>.
    ENDIF.
    lr_popup = cl_crm_uiu_bt_action_tools=>get_actions_popup_by_adminh( ir_adminh = lr_entity ir_wd_manager = me->comp_controller->window_manager ).
    IF lr_popup IS BOUND.
      lr_popup->set_on_close_event( iv_event_name = gc_ev_ppfaction_sel_closed iv_view = me ).
      lr_popup->open( ).
    ELSE.
      MESSAGE i008(crm_action) INTO lv_msg_dummy.           "#EC *
      lr_msg_srv = me->view_manager->get_message_service( ).
      lr_msg_srv->add_message( iv_msg_type   = sy-msgty
                               iv_msg_id     = sy-msgid
                               iv_msg_number = sy-msgno ).
    ENDIF.
These three entries get captured  in variable 'lt_button_ext_t' . I am also able to delete the entry .
Though it is deleting the entry but it is not setting on the UI Screen. It still shows me the 3 entries. Please advice as how to delete this entry and set it to the  Presentation UI Layer

Hi Anjua kumari,
i think that popup calling standard means there is some sort of function setting will be there.
if you observe  cl_crm_uiu_bt_action_tools=>get_actions_popup_by_adminh( ir_adminh = lr_entity ir_wd_manager = me->comp_controller->window_manager ).
this class is calling method in that method there is another method is calling
rr_action_popup = get_instance( )->get_action_popup( ir_adminh = ir_adminh ir_wd_manager = ir_wd_manager ).
in that atlast there are passing one table type that is
mt_ppf_actions table type this action are predefined i think that might be coming through functional settings in spro.
i may not sure about this but i think this is the one way we can remove  that popup items.
and ask to your function person how this action popup is displaying is there any setting have you done.
go to this path
spro->crm->basic function->actions.
Thanks & Regards,
Srinivask

Similar Messages

  • How can I delete all the contents on my icloud ?

    I tried to setup icloud for my iphone and mac today.. disaster.. it kinda messed up my ical and contact ( lucky i got back up file). so I unlinked my computer and phone to icloud and restored all the data.
    Next step, I would like to clear all the contents in my icloud.  Is there a way to do it rather than delete the item manually? 

    anyone  ? please?

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • How to read the contents of XML file from my java code

    All,
    I created an rtf report for one of my EBS reports. Now I want to email this report to several people. Using Tim's blog I implemented the email part. I am sending emails to myself based on the USERID logic.
    However I want to email to different people other then me. My email addresses are in the XML file.
    From the java program which sends the email, how can I read the fields from XML file. If any one has done this, Please point me to the right examples.
    Please let me know if there are any exmaples/BLOG's which explain how to do this(basically read the contents of XML file in the Java program).
    Thank You,
    Padma

    Ike,
    Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
    Please help me.
    Thank you for your posting.
    Padma.

  • How to read the contents of attached files

    Hi,
    I am designing a Form using LiveCycle Designer 8.0
    Scenario:
    User can attach the file through "Attachments" facility provided on Adobe  Reader.
    The requirement is to attach 3 documents and post it to SAP system using Web services.
    I am using the following code(which i got from this forum only) to find the number of files user has attached.
    d = event.target.dataObjects;
    n =  d.length;
    xfa.host.messageBox("Number  of Attachments: "+n);
    //Displaying  the names of the Attached files
    for( i =  0; i < n; i++ )
    xfa.host.messageBox("Name  of the file: "+d[i].name);
    My problem: is how to read the contents of the attached files so that I post it to SAP using Web services
    Thanks in advance!!
    Taha Ahmed

    In order to read the content of the Redo Log files, you should use Logminer Utility
    Please refer to the documentation for more information:
    [Using LogMiner to Analyze Redo Log Files|http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#SUTIL019]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Help me...How to read the content if "Transfer-Encoding:chunked" is used?

    I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
    public class HTTPResponseReader extends HTTPMessageReader
        String statusCode;
        public HTTPResponseReader(InputStream istream) throws IOException,                     NoSuchElementException
      BufferedInputStream distream = new BufferedInputStream(istream);
      retrieveHeader(distream);
      StringTokenizer st =  new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
      versionProtocol = st.nextToken();
      statusCode = st.nextToken();
      String s;
      while (st.hasMoreTokens())
            s = st.nextToken();
            if (s.equals("Transfer-Encoding:"))
           transferEncoding = new String(st.nextToken());
         if (s.equals("Content-Length:"))
           contentLength = Integer.parseInt(st.nextToken());
         if (s.equals("Connection:"))
          connection = new String(st.nextToken());
          if (connection.equals("keep-alive")) mustCloseConnection = false;
       retrieveBody(distream);     
    }After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
    Can anybody help me.
    Thanks in advance...
    Message was edited by:
    VeeraLakshmi

    Why don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
    If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :)

  • How to read the content of  "Transfer-Encoding: chunked" header

    Can anybody tell me how to get or read the value of transfer encoding.
    I got the HTTP Response header as "Transfer-Encoding: chunked".But i can't get the chunk size or the chunked data.
    Without getting those details i cant read the content of the site.If Content-Length is in the HTTP header,i can read upto that length.But in this Transfer-Encoding case,i cant know any other details except the value "chunked".So suggest me to read the content of the site using Transfer-Encoding.
    Message was edited by:
    VeeraLakshmi

    I used HTTPURLConnection also.If i use that am getting the values in request headers only and not in Response headers.So i cant read the content.
    Then i went through RFC 2616.There i can only understand about chunked transfer encoding.Still i cant get any idea to know the chunk-size and the chunked data of the transfer encoding.Because i am getting the HTTP Header Response as "Transfer-Encoding: chunked".Below that am not getting the size and data.If i know the size or data,i can proceed by converting the hex into bytes and i can read.

  • How to read the content of a blob col along with other cols as pipe delimit

    Hi,
    I would like to read the blob content along with the other columns . Assume table TAB1 has columns Response_log, Empcode and Ename. Here Response_log col is a blob data type, and the content of the blob is an xml file.Now i would like to read the content of the xml file of response_log column along with Empcode and Ename as pipe delimited . or else the best option would be to write to a text file with name extract.txt with the data being pipe delimited .
    create  table tab1(
    response_log blob,
    empcode  number,
    ename  varchar2(50 byte)
    )Sample code goes something like the one below .
    select xmltype( response_log, nls_charset_id( 'char_cs' ) ).getclobval() || '|' || empcode || '|' || ename
    from tab1 Can I have any other alternate way for this.
    Please advice

    Just Now one example is given in HOW TO WRITE ,SAVE A FILE IN BLOB COLUMN

  • How to read the content of a text file (by character)?

    Guys,
    Good day!
    I'm back just need again your help. Is there anyone knows how to read the content of a text file not by line but by character.
    Please help me. Thank you so much in advance.
    Jojo

    http://java.sun.com/javase/6/docs/api/index.html
    package java.io
    InputStream.read(): int
    Reads the next byte of data from the input stream.
    Implementation:
    InputStreamReader
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform's default charset may be accepted.

  • Help on how to read the content of an XML file from the payload

    I have a receiver channel / mail adapter, that sends e-mails with a XML attachment.
    I’m trying to write a Bean, that should make it possible to rename the attached XML file dynamically.
    In the Bean I want to read the content of the attached XML file, it could be the “order number”.
    The filename should then be “Order number”.XML.
    <u><i>Can anyone help me with how to read the content of the XML file from the payload.</i></u>
    <i><b>Frank</b></i>

    hi,
    check this: http://jakarta.apache.org/poi/

  • "iTunes cannot read the contents of the ipod", How can I fix this?

    Hello everyone, I am having trouble with my iPod touch 32GB and getting iTunes to detect it. I'm using Windows 7.
    When plugging it in tonight, I got the message "iTunes cannot read the contents of the iPod (Name). Go to the summary tab in the iPod preferences and click restore to restore this iPod to factory settings". I attemped to do this, but I then got an iTunes error "3184" and was unable to install the iPod software.
    I've tried...
    - Using a different computer
    - Using a different USB cable
    - Rebooting the iPod
    Nothing seems to work. I've read a solution as to delete one of the iTunes files on the iPod, but the iPod doesn't show up in my Windows Explorer, so I am unable to do this. The computer does however charge the battery when I have the iPod plugged in. I'm also able to still listen to music on the iPod as well.
    One other note, I had the same thing happen to my previous iPod touch. I got my original iPod touch back in December 2010. In October 2011, the iPod just died one day and I was not able to turn it on at all or charge it. When I'd plug it into the computer, I got the exact same errors and was unable to restore the iPod. I sent it in to Apple as it was still under warrenty and they sent me a replacement. Now 3 months later it's happened again. Of course the warrenty starts from the day you purchase the original, so this is no longer under warrenty despite having it for only 3 months. The only difference this time is that the battery still charges and I can still turn it on and listen to music.
    Any ideas?
    Thanks

    hi Angie!
    hmmm. is there an Apple Store convenient where you can take the ipod for a check-up?
    love, b

  • How to read the content of this excel file in LV

    Hi could you please let me know how can I read the content of this excel file using the Read From Speardsheet function. It contains text and numbers
    Thanks
    The excel file is attached
    Attachments:
    Datalogging.zip ‏307 KB

    Check attached VI.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    ReadFromExcel.vi ‏27 KB

  • How to read the content of ms-word file use pure java???

    how to read the content of ms-word file use pure java???

    hi,
    check this: http://jakarta.apache.org/poi/

  • How to read the contents of Input Field created via Screen Painter?

    Hi All,
    I have a module program / dialog program, on my second screen, I created an input/outbox field via screen painter of course,
    now in my PAI, how can I read the contents of the input/outbox field?
    Let's say the name of my input/outbox field is: P_WEKRS.  Note: Get Parameter and Set Parameter is ticked.
    PROCESS AFTER INPUT.
      LOOP WITH CONTROL TC_DATA.
        MODULE MODIFY_DATA.
      ENDLOOP.
    I want to get the value of the input/outbox field before my loop in table control?  I thought that it will work like normal parameter in non-dialog programs.
    Any helpful inputs will be appreciated/rewarded.
    Thanks.
    Jaime

    Hi, Jaime
    Do the following Change in you Follow Logic
    PROCESS AFTER INPUT.
    MODULE read_or_change_value. " Add this
    LOOP WITH CONTROL TC_DATA.
      MODULE MODIFY_DATA.
    ENDLOOP.
    Add the Bellow Module code in you Driver Program.
    MODULE read_or_change_value.
    DATA: P_WEKRS like " the Field on Screen. Must be the same name as on SCREEN. and Type must be same too.
    " Here you will find the Value in that Variable or if you will change the Value here you will find it change on Screen
    END MODULE.
    Please Reply if any Issue..
    Best Regards,
    Faisal

  • How to read the contents of the Uploaded file ?

    hi @,
    I have used the File upload and Download UI elements as per the tutorial available. Now my requirement is to read the contents of the file and transfer it to the Backend system.
    How can I achieve the desired fucntionality.
    Thanks in advance,
    Regards,
    Amit

    try this code to store image file in back end system.
    IWDResource res=wdContext.currentMyDataElement().getPictureres();
              InputStream in=res.read(false);
              ByteArrayOutputStream bout=new ByteArrayOutputStream();
              int length;
              byte[] part=new byte[10*1024];
              while((length=in.read(part))!=-1)
              bout.write(part,0,length);
              in.close();
    pstmt.setBytes(8,bout.toByteArray());
    If it is other than image file like word or text then try this in action
    IWDResource resource = wdContext.currentResElement().getResorce(); // your existing handle to the upload resource type
                try {
                   InputStream stream = resource.read(true);
                   byte b[]= new byte[1000];
                   stream.read(b);
                   String str = new String(b);
                   int i=str.length();
                   wdContext.currentContextElement().setOut(str);
                   wdContext.currentContextElement().setSize(i);
                   wdContext.currentResElement().setResourceurl(
                        wdContext.currentResElement().getResorce().getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal()));
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    The in back end field where u store the file should be byte array.
    Regards,
    H.V.Swathi

Maybe you are looking for

  • Separate subpixel rendering for each monitor

    Hi, is it possible to configure separate subpixel rendering for each monitor? I use a multi monitor setup with 2 additional inverted screens (via xrandr). Each screen has a RGB subpixel mapping. The font rendering on the inverted screens looks odd, b

  • Variant Copy from CATSSHOW to RCATS_DISPLAY_ACTIVITIES

    Hi, We were using CATSSHOW in 4.6C. Now, we are upgrading to ECC 6 and want to use RCATS_DISPLAY_ACTIVITIES. However, there were 5000 program variants attached to CATSSHOW. We need the same 5000 variants to be created for RCATS_DISPLAY_ACTIVITIES als

  • Where to get E-Commerce extension examples and tutorials guide

    Hi All ,        i am new to CRM E-commerce application , can some one provide me the link to E-Commerce extension examples and tutorials guide , or any links to extending the standard ISA application.    If you have any documents please send to [emai

  • LIS Activated - How to retrieve PAST data

    Hi, We have successfully activated LIS into our system. I would like to know how I can retrieve the PAST data. Through forums I got to know after LIS activation with the help of running some standard reports we can retrieve the past data the time whe

  • Why do my anchor points and triggers jump to anchors they are not assigned to?

    Hello again, I am still tinkering away on my school project Adobe Muse page, but there are just some glitches I can't get under control. The biggest issue is by far the problem with the anchors. I followed a tutorial to the T creating them, but the t