Ansicht
Dokumentation

CTW_UI_SHOW_WORKITEM_LIST - Anzeige Inbox/Outbox/Arbeitsvorrat

CTW_UI_SHOW_WORKITEM_LIST - Anzeige Inbox/Outbox/Arbeitsvorrat

ROGBILLS - Synchronize billing plans   General Material Data  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

* -------> about import parameter:

* parameter: i_selection_mode:

* values: 0 -> normal inbox selection with sy-uname

* 1 -> tms-workqueue-selection

*

* parameter: i_start_selection (optional & not for mode = 1)

* values: 0 -> inbox

* 1 -> outbox

* 2 -> resubmission

*

* PLEASE do NOT forget to set a task filter before running

* the inbox in TMS work queue mode!

* (otherwise you'll get almost every workitem sneaking around in your

* system - you wouldn't survive that selection...)

*

* -------> about using the class:

* you have to create a container object in PBO of your screen, and

* after that, you create the inbox instance. (take care: do this only

* one time)

* -------> changes of 19980113:

* 1. you don't have to call method cl_gui_cfw=>flush

* at end of PBO anymore

* 2. you don't have to call method cl_gui_cfw=>dispatch

* at start of PAI anymore

* ----------------------- END OF INSTRUCTOR ----------------------------

*------- Demo code for setting filters for inbox selections ------------

- Setting task filters reduces the set of workitems which is delivered

- by the inbox control.

- A task filter is set by calling a function and stays active during

- the internal mode (therefore you have to set it only once).

- It's possible to set multiple task filters, to set and remove

- task filters dynamically, and you may invalidate task filters, too.

- Two examples:

- 1. we wanna run the inbox in normal selection mode, but we wanna

- reduce the set of workitems to those belonging to a special

- workflow.

- we'd set the following filter:

data: filter like RHOBJECTS-OBJECT.

filter = 'WS123456789'.

call function 'SWL_INBOX_CONTEXT_SET'

exporting

object = filter.

- 2. we wanna run the inbox in TMS-Admin selection mode. Then we MUST

- reduce the set of workitems via taskfilter (otherwise we would

- get all workitems in the system).

- it's a good idea to couple the tasks of those workitems, which

- should be executed by TMS-Admin, with a special taskgroup.

- so, the taskgroup can be used as a filter.

- we'd set the following filter:

* data: filter like RHOBJECTS-OBJECT.

* filter = 'TG123456789'.

* call function 'SWL_INBOX_CONTEXT_SET'

* exporting

* object = filter.

*-------------- End of Demo code for setting filters -------------------





Parameter

IV_SELECTION_MODE
IV_START_SELECTION

Ausnahmen

INVALID_INPUT

Funktionsgruppe

CTW_UI

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 3405 Date: 20240523 Time: 130852     sap01-206 ( 34 ms )