SAPTechnical Tutorial POWL in WDABAP

January 27, 2018 | Author: Gurmukh Singh Ailsinghani | Category: Computing, Technology, Computer Programming, Software, Areas Of Computer Science
Share Embed Donate


Short Description

SAP ABAP POWL learn step by step in webdynpro ABAP created by me....

Description

Title: Creating a Web Dynpro ABAP Application with the POWL (Personal object work list) Summary:This document helps to create POWL object using Feeder class and how to integrate POWL with WD ABAP.

Procedure:1) SE24: Create your own Feeder Class – ZGURU_POWL 2) Feeder class must use the interface IF_POWL_FEEDER.

3) Class has various methods as shown below: There are mandatory methods and optional ones. GET_OBJECTS and GET_OBJECT_DEFINITION are two mandatory methods, rest are optional.

4) GET_OBJECTS: This method is used to retrieve data from the backend system. Data retrieval can be done via simple select query or by using a function module. Selected data is passed to E_RESULTS which is exporting parameter of this method. As shown below: Data is fetched from SPFLI table and passed to MT_RESULT attribute of the class with type SPFLI_TT and passed to exporting parameter E_RESULTS.

5) GET_OBJECT_DEFINITION: This method is used to define the container (e.g. Table type / structure type ) where the selected data gets stored.

6) GET_SEL_CRITERIA: In these method selection criteria is defined for this particular feeder Define selection criteria for the query as shown below : Note: Selection parameters can be viewed on application only if the user has the necessary personalization authorization roles. If the authorization is missing user cannot view the selection parameters.

7) Create an Application ID (APPLID which will be used in the role to specify the target (your feeder) which will then be shown as POWER List homepage in the SAP Net Weaver Business Client. Transaction: FPB_MAINTAIN_HIER. Click on new entry button and give a name to APPLID – provide the transport request to save the entry.

8) Create Powl type for the Feeder class which we have created earlier. Transaction: POWL_TYPE. ZGURU_FLIGHT is our Powl type created for feeder ZGURU_POWL.

9) Role assignment for the POWER List Type: Here we connect the APPLID with the Powl type and make it visible to the role. Transaction: POWL_TYPER. Role is Optional field and can be specified only if a role dependent mapping is required

10) Query for Power List: A query id is made which is connected to Powl type. Transaction: POWL_QUERY.

11) The APPLID and the QUERYID get mapped to each other via transaction POWL_QUERYR. Tick the checkbox Activate. If several queries are defined then sequence of tabs can be controlled via this transaction.

12) Create a WebDynpro component Z_GURU_POWL_COMP and define Component usage. POWL_UI_COMP.

Component usage as shown below under component: Define component usage under default window as well

13) Define outbound plug in window as shown below with parameters:-

14) Define view container under default view to embedding POWL view. Include POWL view under existing view MAIN.

15) Create navigation link from outbound plug to default plug of POWL.

16) In the methods Tab of Windows , write the code in Handle Default Event handler to fire the outbound plug by passing application id:

17) Activate the whole component and execute the Application to check the output:-

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF