HR Business Event Menue PSV2 in Web Dynpro

Hi experts!
Is there an easy way to get the basic selection screen for the transactions PSV2 (business event menu) in a webdynpro?
regards thomas

see Tree View of WDR_TEST_EVENTS standard component
Abhi

Similar Messages

  • Events on ALV in Web Dynpro for ABAP

    Hi
    On an ALV GRID in ABAP one can use the event handle_data_changed that is activated immediately at the time data is changed.
    Is there a similar event in ALV in Web Dynpro for ABAP?
    How would I know if any data was changed in an ALV grid in WDA?
    Regards

    Hi,
    To trigger the DATA_CHECK event on pressing enter, you need to use the set_data_check method. Use the following code:
    l_alv_model->if_salv_wd_table_settings~set_data_check( IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    Now you can define the data check event handler and it will get triggered when you change something and press enter, or even if you click on another cell. The DATA_CHECK attribute will by default be set to be trigger only on clicking the 'check' button. This will change it.
    Regards
    Nithya

  • How can I capture mouse click events on BSP or Web Dynpro ABAP Screen

    hi Guys,
    Currently we have a user inactivity problem,
    the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
    Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
    while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    this file can be downloaded, means this file is there.
    Any one can help on this issue? find the js file or another way to capture the mouse click event.
    Thanks a lot with points!

    Hi  Feng Guo,
                        We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
    But for your problem I think you can get solution by setting iView Expiration to some more time period.
    Regards,
    Siva

  • EPCM event not workin in web dynpro java

    I have created a visual composer application that generates a event on a button click.
    When I click on this button, I would like my web dynpro application to catch this event.
    Here are some details of my development:
    I created a DC project with a view. On the view implementation, I have filled the wdDoInit() method liket this:
    WDPortalEventing.subscribe("urn:novacap.eu", "VOIR_DOCUMENTS", wdThis.wdGetTestActionAction() );
    wdThis.wdGetTestActionAction() simply update a input field with the information returned by the VC event.
    On VC side, here is what I have:
    Event name: VOIR_DOCUMENTS
    Output signal: EPCM Event: novacap.eu:VOIR_DOCUMENTS
    When I display the VC application and the Webdynpro application on the same paage, the Web dynbpro application never catch anything.
    Does it have to be a web dynpro page? If it doesnu2019t matter what is wrong with my configuration. Should I be writing my code in the component controller instead of the view controller?
    Any help would be really appreciated.
    Thanks
    Thibault

    Hi Amey,
    Hope you are doing good.
    Firstly, please increase the value of SecuritySessionIdGracePeriod as per SAP Note 1464914.
    We have seen cases where we've advised values as high as 10 or even 30 seconds, but the downside of a high value is that in some special cases a second request from the client in that window of time set by the SecuritySessionIdGracePeriod could cause a request to fail which requires a new authentication or has a different session identifier.  This is unlikely in the small window of say 8 seconds.
    Set the value to 8 seconds max as this should not cause any harm to the system and will be useful here.
    It is also recommended to set the domain attribute to NONE as per SAP Note No. 1395551.
    As the jsessionid cookie is used for session management when it is missing from the request headers the correct session could not be retrieved and as result new session will be created for that user.
    If the issue still persists, we will need to check the httpwatch traces and detailed server node/ICM traces.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

  • Is netweaver business client necessary to record web dynpro app script?

    thanks and best regards,
    Anders

    Hi Anders
    NWBC is not necessary to record the Webdynpro application.
    Just select the webdynpro command from pattern functions in eCATT editor and record the application.
    To do this you need to know the URL of the screen you need to automate and the configuration id.
    You can get the config id and the URL if you know the package name of the application. Once you have the package just go to SE80 and enter the package and traverse to the web dynpro application node and you can get the desired details there and also you can launch the application from there.
    you have to setup the RFC containing the http or https connection with the right port no.
    Once you have those select the command WEBDYNPRO from pattern and enter the URL and the config id there.
    There are few limitations in eCATT tool right now to record a WEBDYNPRO screens such as recording of the pop ups which comes in between which has URL (Object based navigation) and the pdf forms etc. Tool development is working continuously to solve those issues and will be fixed soon!
    Best Regards
    Rahul

  • Menu disappears when accessing menu items in Web Dynpro

    Hi friends,
    I have a peculiar problem. I created a webdynpro application in WD for ABAP which displays a menu of Employee self services(ESS). In the window on the leftside the menu is displayed. if you click on any of the service name, the corresponding service will be displayed on the right side of the window. If another service is clicked, the previous service session will be logged out and the new service will be started in a new session. This is working fine.
    But if the user clicks on two or more services alternately, for a random number of times, sometimes the menu disappears and the whole of the window is occupied by the service frame itself. Sometimes this happens for a second click itself and sometimes it doesn't happen at all. Some other times it happens after clicking the services for nearly 50 times.
    It is difficult to test even because we do not know after how many attempts the menu will disappear and whether it will disappear at all.
    Can anyone suggest a solution.
    Edited by: yogesh devaramapti on Jun 4, 2009 9:48 AM
    Edited by: yogesh devaramapti on Jun 4, 2009 9:51 AM

    Hi Sujesh,
        First create a menu. Add menu items and then bind the menu item events to view controller actions. Define an event parameter mapping if you need to determine the menu item that triggered the action, or use separate actions for the menu items.
    For api see the link below:
    https://media.sdn.sap.com/javadocs/NW04/SP9/webdynpro/index.html
    Hope this helps.
    Regards,
    Pooja.

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • Tracking ABAP web dynpro events in back end SAP

    Hi Experts ,
    I have
    Is there any way to capture the events on th ABAP web dynpro in the backend.
    The scenario is that i have some particular code which gets executed in the back end when User clicks on any button or tab in the appraisal document , which is ABAP web dynpro application.
    I want this code to be executed only when User clicks on particular TAB/BUTTON on the ABAP web dynpro.
    Are there any system tables that I can check.I am novice in ABAP Web dynpro.
    Thanks

    hi ,
    I wud like to demonstrate this with example
    suppose in ur WD  screenu  take the sales organization as input .
    and u want to do smthing like this in backend :
    u wud like to read VBELN from VBAK where VKORG is with in sales organization range entered in input field
    create a context attributeinside a context node  in Context Tab inside ur view
    first bind the VALUE property of ur Input field to a context attribute
    inside the method OnActionClick  thn u wud  use code wizard (control +f7) to read the context attribute which is binded to input field
    u press CONTROL + F7 and select the radio button read context node/attribute
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   get single attribute
        lo_el_cn_node->get_attribute(
          EXPORTING
            name =  `CA_ATTR`
          IMPORTING
            value = lv_attr ).
    // I have read attribute CA_ATTR inside the node CN_NODE
    thn u wud put select query to fetch from data base using the value lv_attr
    DATA : vbeln type string .
    SELECT SINGLE vbeln FROM vbak INTO lv_vbeln
        WHERE vkorg = lv_attr .
    I hope it is clear nw
    regards,
    amit

  • Business event

    Dear Friends
    While I was trying to create a Business Event  in PSV2, sys showing a msg like Planning period is not in business event interval while creating without resources
    But for the same for the same period if I try to create with resources its taking
    Whether any problem with the Planning period
    Regards
    Kiran

    Hai Dilek
    Thank you for the reply, its absolutely with in the range of planning menu only, I mean  what ever the Busines event I want to create, its in the planning period only but still getting such an error
    Its giving such problem only with Create without resource options only, if I create with resources absolutely no problem
    Regards
    Kiran
    Edited by: kiranessmss on Apr 7, 2011 6:38 AM

  • Business Event Group

    Dear all
    When i am going in S_AHR_61011889 to create a new business group i am able to create a business event group but it is not showing in PSV2 i.e. business event menu. Instead it is showing in S_AHR_61011887 - Master Data Catalog .
    When i am creating a new Business event type and assigning the same to the above created Business event group then it disappears from S_AHR_61011887 - Master Data Catalog .
    Ideally when a new business event group is created it should be shown in PSV2 i.e. business event menu but it is not showing.
    Please help me out to solve this issue. Its urgent.
    Regards
    HarshVardhan

    Dear mam
    Creating a business event group is not a problem. T Code which you have given, business event group can be created but is is still being shown in Master Data Catalog and not in business event menu.
    Creating a relationhip of event type & event group cvan be done but as soon as it is created it disappears from mastr data catalog.
    In the past when ever i have created event group & event type it was shown in PSV2 i.e. business event menu.
    Please guide me.
    Regards
    Harsh vardhan

  • Want docs for Web Dynpro ABAP

    Hi All ,
    Can anyone please send me the Docs or link for Web Dynpro ABAP .
    Thanks in advance
    Rahul

    Hi,
    Web Dynpro ABAP  
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
    Also, I have the official Web Dynpro for ABAP documentation. Please let me know if I should send it to you.
    Hope that the following also helps you.
    Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web
    applications in the ABAP environment. It consists of a runtime environment and a graphical
    development environment with special Web Dynpro tools that are integrated in the ABAP
    Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    ? The use of declarative and graphical tools significantly reduces the implementation
    effort
    ? Web Dynpro supports a structured design process
    ? Strict separation between layout and business data
    ? Reuse and better maintainability by using components
    ? The layout and navigation is easily changed using the Web Dynpro tools
    ? Stateful applications are supported – that is, if the page is changed and the required
    data remains intact so that you can access it at any time throughout the entire
    application context.
    Note that stateless applications are not possible.
    ? Automatic data transport using data binding
    ? Automatic input check
    ? Automatic operation of the Web Dynpro application using the keyboard
    ? User interface accessibility is supported
    ? Full integration in the reliable ABAP development environment
    Web Dynpro Architecture
    Definition
    Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
    The Web Dynpro model is based on the Model View Controller paradigm, and has the
    following features that build on the classic dynpro model:
    ? Clear separation of business logic and display logic
    ? Uniform metamodel for all types of user interfaces
    ? Execution on a number of client platforms.
    ? Extensive platform independence of interfaces
    Structure
    Metamodel Concept
    Web Dynpro provides support for developing Web representation of a business application.
    You use specific tools to describe the properties of a Web Dynpro application in the form of
    Web Dynpro metadata. The necessary source code is then generated automatically and
    executed at runtime. In addition to the events offered by the framework, you can also define
    your own events for a Web Dynpro application. However, the event handling must always be
    programmed in separate source code areas which are executed automatically when the event
    is triggered at runtime.
    In Web Dynpro, each user interface is always made up of the same basic elements. These
    elements of the metamodel can be statically declared using Web Dynpro tools.
    It is also possible to implement elements of the metamodel at runtime and to change them or
    reintegrate them at runtime. Using these implementations, you can make any changes or
    enhancements to a user interface that has been created by declarative methods by
    generating new interface structures at runtime.
    This means that you can combine declarative processes and the implementation of source
    code.
    Graphical Development Tools
    To support this declarative concept, both the SAP NetWeaver Developer Studio and the
    ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
    proportion of a Web Dynpro application using the tools provided, without having to create your
    own source code. This applies to the following parts of the application:
    ? Data flow between the front end and back end
    ? Layout of the user interface
    ? Properties of user interface elements
    The Web Dynpro tools enable you to create source text areas manually within generated
    source texts. These areas are not changed if the source code is regenerated.
    Separation of Business and Application Logic
    Using Web Dynpro enables a clear separation of business logic and display logic. A Web
    Dynpro application runs on the front end and has local or remote access to the back end
    system via a service. This means that the display logic is contained in the Web Dynpro
    application, while the business logic and the persistence of the business objects run in the
    back end system. The following options are currently available for connecting Web Dynpro
    applications and the back-end system:
    ? An interface generated using adaptive RFC, through which BAPIs of an SAP system
    can be called
    ? An interface for calling Web services
    ? A self-generated interface
    The source code required for connecting the Web Dynpro application can be generated
    from a UML definition of the Web Dynpro interface. A UML definition can be imported
    into the Web Dynpro tools as an XML file.
    Conversion of the Model-View-Controller
    Conversion of the Model-View-Controller Programming Model
    Every Web Dynpro application is structured according to the Model View Controller
    programming model:
    ? The model forms the interface to the back end system and thus enables the
    Web Dynpro application access to data.
    ? The view is responsible for the representation of the data in the browser.
    ? The controller lies between the view and the model. The controller formats
    the model data to be displayed in the view, processes the user entries made by the
    user, and returns them to the model.
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Reward points if useful
    Regards
    Anji

  • Web Dynpro concept

    Hi all,
    What is web dynpro concept in ABAP. What are the future scope for the same.
    Regards,
    John

    Hi,
    Web Dynpro ABAP  
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
    Hope that the following also helps you.
    Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web
    applications in the ABAP environment. It consists of a runtime environment and a graphical
    development environment with special Web Dynpro tools that are integrated in the ABAP
    Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    The use of declarative and graphical tools significantly reduces the implementation
    effort
    Web Dynpro supports a structured design process
    Strict separation between layout and business data
    Reuse and better maintainability by using components
    The layout and navigation is easily changed using the Web Dynpro tools
    Stateful applications are supported u2013 that is, if the page is changed and the required
    data remains intact so that you can access it at any time throughout the entire
    application context.
    Note that stateless applications are not possible.
    Automatic data transport using data binding
    Automatic input check
    Automatic operation of the Web Dynpro application using the keyboard
    User interface accessibility is supported
    Full integration in the reliable ABAP development environment
    Web Dynpro Architecture
    Definition
    Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
    The Web Dynpro model is based on the Model View Controller paradigm, and has the
    following features that build on the classic dynpro model:
    Clear separation of business logic and display logic
    Uniform metamodel for all types of user interfaces
    Execution on a number of client platforms.
    Extensive platform independence of interfaces
    Structure
    Metamodel Concept
    Web Dynpro provides support for developing Web representation of a business application.
    You use specific tools to describe the properties of a Web Dynpro application in the form of
    Web Dynpro metadata. The necessary source code is then generated automatically and
    executed at runtime. In addition to the events offered by the framework, you can also define
    your own events for a Web Dynpro application. However, the event handling must always be
    programmed in separate source code areas which are executed automatically when the event
    is triggered at runtime.
    In Web Dynpro, each user interface is always made up of the same basic elements. These
    elements of the metamodel can be statically declared using Web Dynpro tools.
    It is also possible to implement elements of the metamodel at runtime and to change them or
    reintegrate them at runtime. Using these implementations, you can make any changes or
    enhancements to a user interface that has been created by declarative methods by
    generating new interface structures at runtime.
    This means that you can combine declarative processes and the implementation of source
    code.
    Graphical Development Tools
    To support this declarative concept, both the SAP NetWeaver Developer Studio and the
    ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
    proportion of a Web Dynpro application using the tools provided, without having to create your
    own source code. This applies to the following parts of the application:
    Data flow between the front end and back end
    Layout of the user interface
    Properties of user interface elements
    The Web Dynpro tools enable you to create source text areas manually within generated
    source texts. These areas are not changed if the source code is regenerated.
    Separation of Business and Application Logic
    Using Web Dynpro enables a clear separation of business logic and display logic. A Web
    Dynpro application runs on the front end and has local or remote access to the back end
    system via a service. This means that the display logic is contained in the Web Dynpro
    application, while the business logic and the persistence of the business objects run in the
    back end system. The following options are currently available for connecting Web Dynpro
    applications and the back-end system:
    An interface generated using adaptive RFC, through which BAPIs of an SAP system
    can be called
    An interface for calling Web services
    A self-generated interface
    The source code required for connecting the Web Dynpro application can be generated
    from a UML definition of the Web Dynpro interface. A UML definition can be imported
    into the Web Dynpro tools as an XML file.
    Conversion of the Model-View-Controller
    Conversion of the Model-View-Controller Programming Model
    Every Web Dynpro application is structured according to the Model View Controller
    programming model:
    The model forms the interface to the back end system and thus enables the
    Web Dynpro application access to data.
    The view is responsible for the representation of the data in the browser.
    The controller lies between the view and the model. The controller formats
    the model data to be displayed in the view, processes the user entries made by the
    user, and returns them to the model.
    Web Dynpro ABAP Demonstration Videos
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Cheers,
    vasavi.v

  • TEM-Attendee & Business Event Appraisal

    Hi All,
    We are using SAP 5.0 and implementing TEM, when we try to create appraisal using T-code PV34(Attendee Appraisal), PV33(Business Appraisal) we are not routed to Generate “To-Do” List screen, instead it is going to a screen where we need to select the Appraiser and Appraiser mannually, which is quite un usual. It will remain same even if I go through Business Event Menu or Attendance Menu.
    Any help in this regard is hightly appreciated.
    Thanks
    Ramakrishna Ramadurgam

    Hi.
    I have now the some problem. When I run tcode PV33/PV34 the list of the appraisal templates contain not only the temlates for business events and attendees but also for employees.
    Did you solve the problem?
    If yes, please give me some hints.
    Thanks a lot.

  • Reg : adobe in web dynpro

    hi ,
    I am working on Adobe Online Interactive Form using webdynpro for ABAP.
    Steps followed for development:
    In WD I have created a service call and added the bapi   to create  sale order.
    Mapped the context from component controller to view controller.
    From the view layout, I have configured the UI element properties.(data source, pdf source, onsubmit,templatesource etc.)
    Inside the interactive form (ZCI type), I have binded all my UI element with the context elements that is displyed in data view.
    and then
    went to the layout of adobe form, in the menu Utilities->Insert web dynpro script.
    i have a button in my view.
    I put a break-point on the action handler method.
    when i enter the data on adobe form and click the button on vuew...it is not going into debigging mode.
    it is saying WAIT...and thats it,
    can any one help plz.
    regards
    Arjun

    Hi,
    Check out these links-
    https://www.sdn.sap.com/irj/sdn/adobe
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
    Regards
    Lekha

  • Web dynpro screen with multiple rows with columns that can be edited

    Web dynpro screen with multiple rows with columns that can be edited individually:
    Hi
    I am busy creating a screen in web dynpro for ABAP which we would like to make available via Portal ESS (Portal 7).
    I need to add 'n type of table (or almost something like Excel) or something in which someone can type a few paycode numbers (there should be lets say 10 blank rows in which info can be typed in and if I click on a button or so, more rows must be added if necessary.  Then in the other colums stuff like amounts must be entered which one should also be able to edit then and there.
    Can anyone assist in what I can use for this?  There does not seem to be some existing element that I can use.
    Help will be appreciated.
    Regards
    Debbie

    Hi Debbie,
    Whiel Creating table you need to be care full that use chose INPUT FIELD as the CELL EDITOR. Just guessing that if ur table is not editable u might have choosen TextView as default cell editor type.
    check link for details on TABLE UI
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm]
    easy way is to first add UI ELEMENT TABLE to your VIEW, then right click over it & select create binding from context. After you have a pop up where you can select what columns you want what should be its cell editor etc.
    Greetings
    Prashant

Maybe you are looking for