Show TOC

Function documentationOwn POWL Types in the Detail Component

 

You can set up the detail component for your own non-SAP worklist types. To do so, you must adjust the feeder class that corresponds to the worklist type. You can find an example in the Planner’s Worklist feeder class /SAPAPO/CL_FEEDER_CRITICAL_PRD.

Worklist feeder classes always implement the IF_POWL_FEEDER. You must make the following changes in the interface methods of your own feeder classes:

  • Method IF_POWL_FEEDER~GET_DETAIL_COMP

    In this method, you must define the name of the detail component. The name of the standard detail component is /SAPAPO/PUIA_POWL_DETAIL.

  • Method IF_POWL_FEEDER~GET_FIELD_CATALOG

    In this method, you must define the result table field catalog. To enable the key field to act as a hyperlink that opens the detail area, you must set the field display type to LA.

  • Method IF_POWL_FEEDER~HANDLE_ACTION

The system processes this method when you perform any action in the worklist. The action ID depends on the type of action that was performed. If you click a hyperlink to show context information in the detail area, the IF_POWL_FEEDER~HANDLE_ACTION method is called with an action ID containing the key field fieldname. To be able to perform a selection in the detail area, the selection parameters have to be collected in this method. For an example implementation, see class /SAPAPO/CL_FEEDER_CRITICAL_PRD.

To use this function, you must activate the SCM-APO-SPP, Service Parts Planning 1 (SCM_APO_SPP_GEN_1) business function. For more information, see SCM-APO-SPP, Service Parts Planning 1.