Problem while setting External Window Title

Hello,
This should actually be a straighforward task, but I don't understand why I am facing a problem.
I am opening an external window (browser) and trying to set the title of the window. Here is the code
     IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Title");     
     win.setTitle("Title");     
     win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
     win.removeWindowFeature(WDWindowFeature.MENU_BAR);
     win.removeWindowFeature(WDWindowFeature.STATUS_BAR);
     win.removeWindowFeature(WDWindowFeature.TOOL_BAR);     
     win.setWindowPosition(100, 150);
     win.show();  
The window opens well with the right URL. But the title does not seem to be changing at all. The URL is displayed instead of the title. Where could I be going wrong?
I have placed this code within an action event
We are using EP7 SP10.
Thanks and Regards,
Reena

Hi Reema
IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Title");
win.setTitle("Title");
in the above code createNonModalExternalWindow(url,"Title");  here it self you are setting the title , just comment this statement [win.setTitle("Title");]
and see the <b>source</b> of the external window whether you can see the title as you mentioned or not
Best Regards
Chaitanya.A

Similar Messages

  • New problem while setting ADS password

    Hi,
    Im trying to change password in ADS. Ultimately it has to be done via web interface but i was trying it out on my local machine, which has windows 2000. I got the following exception as a result. Any ideas?
    This is my code section ...
    Hashtable env = new Hashtable();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory" );
    env.put(Context.PROVIDER_URL, "ldap://10.2.0.22:636/");
    env.put(Context.SECURITY_AUTHENTICATION,"simple");
    env.put(Context.SECURITY_PROTOCOL, "ssl");
    env.put(Context.REFERRAL,"ignore");
    env.put(Context.SECURITY_PRINCIPAL,"[email protected]");
    env.put(Context.SECURITY_CREDENTIALS,"Password1");
    DirContext dctx = null;
    try
    dctx = new InitialDirContext( env );
    The following is the exception i got ...
    javax.naming.CommunicationException: simple bind failed: 10.2.0.22:636 [Root exception is javax.net.ssl.SSLProtocolExcep
    tion: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.]
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:198)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80 )
    at updtpass.main(updtpass.java:34)
    Caused by: javax.net.ssl.SSLProtocolException: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus s
    ize.
    at com.sun.net.ssl.internal.ssl.HandshakeMessage$CertificateMsg.<init>(Dasho A12275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:390)
    at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:193)
    ... 12 more
    Caused by: java.security.cert.CertificateParsingException: java.io.IOException: subject key, Unknown key spec: Invalid R
    SA modulus size.
    at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
    at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1679)
    at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:173)
    at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:90 )
    at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.ja va:389)
    ... 24 more
    Caused by: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.
    at sun.security.x509.X509Key.parse(X509Key.java:155)
    at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:58)
    at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:706)
    at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:153)
    ... 28 more
    Exception in thread "main" java.lang.NullPointerException
    at updtpass.main(updtpass.java:61)

    I am also facing a peculiar type of problem while setting the password
    the type of error I am while running the code below
    String adminName = "CN=xyz,CN=Users,DC=TESTING, DC=AMG, DC=COM";
    String adminPassword = "xxxxxxx";
    String ldapURL = "ldap://testing.amg.com:636";
    String keystore = "/Program Files/Java/jre1.5.0_03/lib/security/cacerts";
    System.setProperty("javax.net.ssl.trustStore",keystore);
         env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.SECURITY_AUTHENTICATION,"simple");
    env.put(Context.SECURITY_PRINCIPAL,adminName);
    env.put(Context.SECURITY_CREDENTIALS,adminPassword);
    ERROR :
    Problem searching directory: javax.naming.CommunicationException: simple bind failed: testing.amg.com:636 [Root exception is java.net.SocketException: connection is closed]
    Can any body please help me out how to overcome it.
    waiting
    Bye
    Irshad

  • How to set browser window title from FPM ?

    How do I set brwoser window title at runtime in FPM ?
    Using IDR area objetc I can set only apllication are(ident area) title, not the browser window title. Browser window title is set statically from iView name of in portal, and PFCG contect if in NWBC client.
    But in my case, I want to set it at runtime, for eg. in case of Purchase Order window, I want to set it as 'Purchase Order:<PO number>
    Is there any API to set this?
    Thanks again,
    Hari
    Edited by: Hari Krishnan P on Jun 9, 2010 10:22 AM

    When you call it as external window you may pass the title. other than that i am afraid you are left with no choice.

  • Set browser window title in template page

    Hi,
    How I can set the window title in template page ?
    I know how to do it in regular page:
    <af:document id="d1" title="Dashboard">
    But in template I don't have a document tag.
    so I added this before the <af:form> :
    <html>
    <head>
    <title> My title </title>
    </head>
    </html>
    But the problem is that I want to insert in the title something like that:
    title="#{generalPage.serverName}"
    Any ideas how can i do it ?
    Thanks

    You don't set the title in the template, you set the title in the page that is based on the template.
    There you will have the af:document tag.

  • HT201210 Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Hacked or jailbroken iPhone will have this problem.
    BTW, it's IOS 6.0.1 not MAC.

  • IPhone - Problems while setting Delegate to UISearchBar using IB

    Hi,
    I'm having a problem while setting the delegate to the UISearchBar.
    SearchViewController.h
    #import <UIKit/UIKit.h>
    @interface SearchViewController : UIViewController {
    IBOutlet UISearchBar *mSearchBar;
    @property (nonatomic, retain) UISearchBar *mSearchBar;
    @end
    FirstViewController.m
    #import "SearchViewController.h"
    @implementation SearchViewController
    @synthesize mSearchBar;
    // The designated initializer. Override to perform setup that is required before the view is loaded.
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    return self;
    @end
    I think I have setup the connection properly in IB, the view connected to the File's Owner, the File's Owner referencing the SearchViewController class. Now if I run it like this it all works great but when I set the UISearchBar delegate to File's Owner I get.
    Application Specific Information:
    iPhone Simulator 2.2 (77.4.9), iPhone OS 2.2 (5G77)
    * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x524790> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mSearchBar.

    Found the solution:
    Reference:
    http://discussions.apple.com/thread.jspa?messageID=8550459

  • How to set a window title...

    Let me start with the basics:
    If you create an extension, the Stage Manager will create the container for you and load the swf into the container. This container can be one of three types: Panel, Model Dialog, or Modeless Dialog. Any one of these containers have titles. The StageManager will create a title with the menu name you provide.
    So far so good.
    If you do not provide a menu name (so it shold not appear in the menu, the StageManager will create a title which appears to be either the exention id or the package id (depending on the app).
    Not so good, but let's continue:
    If you have an extension load a Window, you can set the title of the Window using the Window's title property.
    Good.
    This all basically amounts to: if you want to open a window and set its title, you are really better off using Windows rather than separate extensions.
    Not ideal, but mostly workable.
    Now for the problem:
    Fireworks opens new windows INSIDE THE MAIN PANEL!!! When you close this window, it closes the panel as well, and the panel is inaccessible until the next launch of the app. This is obviously a bug... Fireworks appears to only support panels and not model or modelless dialogs.
    I am trying to work around this issue by making my dialog its own extension. This solves the problem of Fireworks opening it within the main panel. However, I do not want my sub-extension to appear in the menus, so I do not want to give it a menu name. I do however, want to set the title of the window.
    What to do???
    Harbs

    I worked out a hack to (sort of) get around this issue:
                private function preinit():void{
                    Object(this.parent.parent.parent.parent).title = "I really should not need to make the title like this!!!";
    Is there a better workaround?
    Harbs

  • External Window Title

    Hello geeks,
    I created a component with a view having some links to different associated actions. I have one basic window and one application.
    I am using the following code to open an external window on click of a link.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      DATA lo_window_url     TYPE STRING.
      lo_window_url = '/sap/bc/webdynpro/orm/orm_report'.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      CALL METHOD lo_window_manager->create_external_window
        EXPORTING
         url            = lo_window_url
        title          = 'My Report 1'
    *    modal          = ABAP_FALSE
        has_menubar    = ABAP_FALSE
        is_resizable   = ABAP_TRUE
        has_scrollbars = ABAP_TRUE
        has_statusbar  = ABAP_TRUE
        has_toolbar    = ABAP_FALSE
        has_location   = ABAP_FALSE
        RECEIVING
          window         = lo_window
      lo_window->open( ).
    On executing the application, when i click on the link the external window is opening fine but the title is coming from the application description and not what i specified in the title  = 'My Report 1'
    How do i display a different title on the window ?

    Hello Amol,
    it doesn't work if the client was a browser. Btw: This is a limitation of the browser itself, not Web Dynpro.
    Best regards,
    Thomas

  • Problem while setting username password to router

    Hi,
    i am trying to connect to router using java program. i am connecting with out any problem.
    while giving the credentials like username and password i can't placing the original username
    password.instead some thing is setted.
    here is my code
       public class ConnectRouter
        public static void main(String[] args) throws Exception {
        try
        if (args.length != 2) {
        System.err.println("Usage: java router username and  password");
        System.exit(1);
        String password = URLEncoder.encode(args[0], "US-ASCII");
        String username=URLEncoder.encode(args[1],"US-ASCII");
        URL url = new URL("http://192.168.0.75:23");
        URLConnection connection = url.openConnection();
        connection.setDoOutput(true);
            System.out.println("connection obj got");
        PrintWriter out = new PrintWriter(connection.getOutputStream());
        out.println(username);----------------------------------------------------------------------------------------------->passing username
        out.println(password);------------------------------------------------------------------------------------------------>passing password
            Process p = Runtime.getRuntime().exec("cmd /c perl C:\\perlsrc\\uname.pl");
        // out.println(args[0]);
            System.out.println("-----------connected---------------");
        out.close();
        BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
        String inputLine;
        while ((inputLine = in.readLine()) != null)
        System.out.println(inputLine);
        in.close();
        }catch(Exception e){e.printStackTrace();}
        }output is as follows:
    connection obj got
    -----------connected---------------
    ÿûÿûÿýÿý
    User Access Verification
    Username: POST / HTTP/1.1--------------------------------------->here something is placed instead of my username
    Password:
    % Authentication failed.
    Username: Host: 192.168.0.75:23--------------------------------->here something is placed instead of my username
    Password:
    % Authentication failed.
    Username: Connection: keep-alive
    Password:
    % Authentication failed.
    Process exited with exit code 0.
    please explain me where i am missing???
    Regards,
    Nagaraju

    Hi ejp,
    i done as follows even i am getting same problem
    please help me
       public class ConnectRouter extends Authenticator
            static String username,password;
        public static void main(String[] args) throws Exception
            Authenticator.setDefault(new ConnectRouter());
        try
        if (args.length != 2) {
        System.err.println("Usage: java router username and  password");
        System.exit(1);
         password = URLEncoder.encode(args[0], "US-ASCII");
         username=URLEncoder.encode(args[1],"US-ASCII");
        URL url = new URL("http://192.168.0.75:23");
        URLConnection connection = url.openConnection();
        connection.setDoOutput(true);
            System.out.println("connection obj got");
        PrintWriter out = new PrintWriter(connection.getOutputStream());
        out.println(username);
        out.println(password);
            Process p = Runtime.getRuntime().exec("cmd /c perl C:\\perlsrc\\uname.pl");
        // out.println(args[0]);
            System.out.println("-----------connected---------------");
        out.close();
        BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
        String inputLine;
        while ((inputLine = in.readLine()) != null)
        System.out.println(inputLine);
        in.close();
        }catch(Exception e){e.printStackTrace();}
        //@ovverriding the getPasswordAuhtentication method
        protected PasswordAuthentication getPasswordAuthentication()
            System.out.println("int the password authentication method");
            return new PasswordAuthentication(username,password.toCharArray());
        }output::
    connection obj got
    -----------connected---------------
    ÿûÿûÿýÿý
    User Access Verification
    Username: POST / HTTP/1.1--------------------------------------->here something is placed instead of my username
    Password:
    % Authentication failed.
    Username: Host: 192.168.0.75:23--------------------------------->here something is placed instead of my username
    Password:
    % Authentication failed.
    Username: Connection: keep-alive
    Password:
    % Authentication failed.
    Process exited with exit code 0.
    please explain me where i am missing again???
    Thanks in advance,
    Nagaraju.

  • How to set browser window title?

    Hello..
    Is there a way to change browser window title at runtime? I am using WD ABAP with FPM
    Please suggest an API.
    Thanks in Advance

    Hi Hari,
    For changing the application title you need to configure, which i assume u know and have configured.
    now you can use the following code to change the title.
      DATA lo_idr TYPE REF TO if_fpm_idr.
    get idr instance*
      lo_idr ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_idr ).
      IF lo_idr IS NOT INITIAL.
        lo_idr->set_application_title(
          EXPORTING
            iv_title = lv_heading
            iv_title_tooltip = lv_heading ).
      ENDIF.
    where lv_heading is the new heading.
    for any other question on FPM post it in Floorplan Manager for WebDynpro Abap fourm
    Hope this will help you.
    Thanks & Regards,
    Arvind

  • Problem while "migrating" from Windows to Mac OS X

    Over the last few months my Macbook was damaged and in repair. At that time I used a Windows PC instead and it was no problem to keep on using my old iTunes library file after I added the file extension ".itl".
    Now my Macbook is back and I wanted to open my iTunes library using Mac OS X, not expecting any bigger problem.
    To my astonishment iTunes keeps on crashing, showing the following error message: "The program iTunes could not be opened. An unknown error occured (13001)" (translated liberately, as my system is set to German).
    On both operating systems iTunes is running in the newest version. What could help solving my problem is the information that my iTunes Media folder including my iTunes library files are stored on an external harddrive formatted in HFS+.
    Windows had writing access on this file system using the software "Macdrive" in version 9.
    I already tried moving the library files to my desktop and opening them from there, also I tried to create a new library just for testing purposes on the same harddrive. Both tests failed with the same error message.
    Windows is still able to open the library as it was before.
    I searched for similar problems on the internet but couldn't find any help, so I hope that someone on here has any helping tips!

    Finally figured out the problem on my own. My external hard drive was named <Mobile 2.5">. In this thread I read about others having a problem when their hdd was named in a comparable way (e.g. <storage for 21" iMac>).
    I renamed my drive to <Mobile 2.5> and the problems are gone!

  • Problem while setting the selected value of h:selectOneMenu to bean

    Hi all,
    I am new to JSF. I am working on application where i have combo boxe on the page. I am setting some values to the combobox from database using <f:selectItems> tag and one value using <f:selectItem> tag. The value combobox value selected by user is set to the bean property which is String. I am able to display all the values in the combobox but when clicked on button (present at the end of form) i am getting following error-
    ERROR HtmlRendererUtils:354 - Error finding Converter for
    component with id interviewStageOneForm:acceptanceChannelList
    I am setting the combobox selected value to the to the bean property which is String and the value selected in also String. Then which converter it is asking for. I am not able to find out what is the problem.
    Your suggestions will be really appreciated.
    Here is my code snippet:-
    JSF:-
    <h:selectOneMenu id="acceptanceChannelList"
         value="#{interviewStageOneBean.index}">
         <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
         <f:selectItems value="#{MasterDataBean.acceptanceChannelList}" />  <!-- The list coming from database-->
    </h:selectOneMenu>Bean:-
    public class InterviewStageOneBean {
         private String index;
         public String getIndex() {
              return index;
         public void setIndex(String index) {
              this.index = index;
    }

    Hi!
    First I would try next:
    Try to leave out
    <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
    line. And check if it works after that. If it didn't repeat step but you leave in message selectItem and dump out database selectItem line.
    Second:
    I would check acceptanceChannelList creation and what type of objects you put while doing setValue and setLabel on UISelectItem
    Probably selectItem value has been assigned an object of type the engine doesn't know how to convert from String to it.

  • How to set Terminal window title?

    No matter what I try the Terminal title stays the same.
    Here is the terminal settings window :
    Any suggestion?
    TIA

    Does anyone know how to set Terminal title from shell? It seems there is something that resets the title when the command (printf/echo) finishes and the next prompt appears.
    Thanks.

  • Problems formatting an external Windows based HD

    I have an older 80 GB hard drive that has Windows installed on it. I have it hooked up as an external now and when I try to format it I can't modify Documents & Settings. I have it set up as a slave and I'm trying to wipe it clean so I can use it for additional space.
    If anyone knows any way to make it Writable, suggestions would be greatly appreciated.
    Thanks

    I have an older 80 GB hard ... I have it set up as a slave
    Welcome to the Apple discussions.
    The drives I've put into enclosures have not been set up as slaves, rather, they've been master, usually without a jumper on Western Digital drives. Have you tried that configuration, instead of slave?

  • Problem while setting PF_status in ALV Grid Display

    Hi,
    i have a final internal table with first field as a check box. I have delete button on application tool-bar, with usercommand and pf status defined for it.
    Once the output is displayed  i should have the option of checking the line (check box) and delete then records from the list.
    problem here is once i check the box and click on delete button is not getting deleted. but instead if i check the box and double click on the line(ie f2 fuctionality) and then click on refresh, then the records are getting deleted.
    i have not provided and pf status for f2 functionality, by default its getting activated before the delete fuctionality is called. 
    i have attached my code below.
    DATA : fk_events   TYPE slis_t_event,
           f_user_command TYPE slis_formname VALUE 'USER_COMMAND',
           f_status TYPE slis_formname VALUE 'STANDARD_SP01',
           fieldnam(10) TYPE c.
    DATA:  gs_layout TYPE slis_layout_alv.
    DATA: ls_event TYPE slis_alv_event.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        i_list_type = 0
      IMPORTING
        et_events   = fk_events.
    READ TABLE fk_events INTO ls_event WITH KEY name = slis_ev_user_command
    IF sy-subrc = 0.
      MOVE f_user_command TO ls_event-form.
      MODIFY fk_events FROM ls_event TRANSPORTING form WHERE name =
    ls_event-name.
    ENDIF.
    READ TABLE fk_events INTO ls_event WITH KEY name =
                              slis_ev_pf_status_set
    IF sy-subrc = 0.
      MOVE f_status TO ls_event-form.
      MODIFY fk_events FROM ls_event TRANSPORTING form WHERE name =
    ls_event-name.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                 = 'ZWR_SECOND_TO_CREATION1'
    i_callback_pf_status_set          =  f_status
       i_callback_user_command           =  f_user_command
       it_fieldcat                        = gt_fieldcat[]
       it_events                         = fk_events[]
      TABLES
        t_outtab                          = gt_final[]
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
    FORM user_command USING r_comm TYPE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      fieldnam = rs_selfield-fieldname.
      CASE r_comm.
        WHEN  'DELETE''.
          LOOP AT gt_final INTO gk_final.
    IF gk_final-del_sat = 'X'.
              DELETE gt_final WHERE vbeln = gk_final-vbeln.
            ENDIF.
            rs_selfield-refresh = 'X'.
    ENDLOOP.
        WHEN OTHERS.
          EXIT.
      ENDCASE.
    FORM standard_sp01 USING  extab TYPE slis_t_extab.
      SET PF-STATUS 'RAM' EXCLUDING extab.  " For PF-Status
    ENDFORM.                    "STANDARD_SP01
    i wud be very thankful if someone cud help me
    thanx
    ram

    Hi,
    i have a final internal table with first field as a check box. I have delete button on application tool-bar, with usercommand and pf status defined for it.
    Once the output is displayed  i should have the option of checking the line (check box) and delete then records from the list.
    problem here is once i check the box and click on delete button is not getting deleted. but instead if i check the box and double click on the line(ie f2 fuctionality) and then click on refresh, then the records are getting deleted.
    i have not provided and pf status for f2 functionality, by default its getting activated before the delete fuctionality is called. 
    i have attached my code below.
    DATA : fk_events   TYPE slis_t_event,
           f_user_command TYPE slis_formname VALUE 'USER_COMMAND',
           f_status TYPE slis_formname VALUE 'STANDARD_SP01',
           fieldnam(10) TYPE c.
    DATA:  gs_layout TYPE slis_layout_alv.
    DATA: ls_event TYPE slis_alv_event.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        i_list_type = 0
      IMPORTING
        et_events   = fk_events.
    READ TABLE fk_events INTO ls_event WITH KEY name = slis_ev_user_command
    IF sy-subrc = 0.
      MOVE f_user_command TO ls_event-form.
      MODIFY fk_events FROM ls_event TRANSPORTING form WHERE name =
    ls_event-name.
    ENDIF.
    READ TABLE fk_events INTO ls_event WITH KEY name =
                              slis_ev_pf_status_set
    IF sy-subrc = 0.
      MOVE f_status TO ls_event-form.
      MODIFY fk_events FROM ls_event TRANSPORTING form WHERE name =
    ls_event-name.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                 = 'ZWR_SECOND_TO_CREATION1'
    i_callback_pf_status_set          =  f_status
       i_callback_user_command           =  f_user_command
       it_fieldcat                        = gt_fieldcat[]
       it_events                         = fk_events[]
      TABLES
        t_outtab                          = gt_final[]
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
    FORM user_command USING r_comm TYPE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      fieldnam = rs_selfield-fieldname.
      CASE r_comm.
        WHEN  'DELETE''.
          LOOP AT gt_final INTO gk_final.
    IF gk_final-del_sat = 'X'.
              DELETE gt_final WHERE vbeln = gk_final-vbeln.
            ENDIF.
            rs_selfield-refresh = 'X'.
    ENDLOOP.
        WHEN OTHERS.
          EXIT.
      ENDCASE.
    FORM standard_sp01 USING  extab TYPE slis_t_extab.
      SET PF-STATUS 'RAM' EXCLUDING extab.  " For PF-Status
    ENDFORM.                    "STANDARD_SP01
    i wud be very thankful if someone cud help me
    thanx
    ram

Maybe you are looking for

  • Ipod mini and new itunes please help

    i got my computer cleaned so it wiped out everything but i asked the people to save itunes they said the songs are still there i just have to download the softwhere but i dont have the disk... and i had the old version of itunes. what do i do to gown

  • How can I get Photoshop CS4 to open?

    I just got the Adobe Production Suite CS4 Student Edition, I installed it onto my computer (Windows XP Media Center Edition), All of my programs run great except for Photoshop. When I try to open Photoshop it gets to the building twain portioin of th

  • When I open iTunes, I get this message: "This copy of iTunes is corrupted or not installed correctly. Please reinstall iTunes."

    How do I "reinstall" iTunes? I have looked at other support communities and none of the solutions have worked. I have tried installing iTunes on the Apple website, but a message comes up that it can't install. I don't know if this information is impo

  • [AS] Fractions script

    A very long time ago I adapted a "Make Fractions" written by Sal Sogohian for Quark. There are a variety of things that can be improved upon. But as it is it works -peter *** User modifiable variables useFractionGlyphs has two possible values: none: 

  • Balanced Scorecard web presentation and editing problems

    Hi all, I am working with BSC on SEM-BW 6.0 - when I access the web presentation/editing transactions (UMB_LAUNCHPAD_WEB and UMB_CUST_WEB) I can not see any graphics like cause-and-effect chain and other graphic stuff. Since the cause-and-effect chai