Setting Up the GDS Workflow

Use

The workflow informs the responsible employee on changing or creating of price catalogs and makes the assigned catalogs available for editing. For more information, see GDS Workflow .

SAP delivers task GDS_IN 9900006, rule 9900005 and table WRF_ CAT _GROUP.

On setting up the workflow, you create the required assignment between employee and vendor using the position, organizational unit, and catalog group.

You have to complete the following tasks:

  • Link event to the task

  • Create organizational unit

  • Create catalog group and assign organizational unit

  • Assign vendor to a catalog group

  • Synchronize long-term buffer

Prerequisites

In workflow Customizing, you have to have made certain settings:

Number ranges must be created client-dependent if workflows are developed in the relevant systems

  • RFC destination WORKFLOW_LOCAL_xxx (with xxx=client) must be created

  • WF Batch user must be created

  • the Customizing workflow (classify tasks as general) must have a green check mark

  • Passwords for the WF Batch user must match

  • WF Batch user must have the authorization SAP _ ALL

  • WF Batch user must be a non-dialog user

You access the function by way of Tools -> Business Workflow -> Development -> Tools -> Automatic Workflow Customizing .

For more information, see Automatic Workflow Customizing .

Procedure

Link event to the task

In this function you must link the event (method CL_INBOUND_WORKFLOW) to the task.

  1. Choose Tools -> Business Workflow -> Development -> Definition Tools -> Events -> Event Linkages -> Type Linkages .

  2. Choose New Entries.

  3. Make the following entries:

    Object category : ABAP class

    Object type : CL_

    Event : CL_INBOUND_WORKFLOW

    Receiver type : 9900006

    Receiver call : Function module

    Receiver function module : SWW _WI_CREATE_ VIA _EVENT_IBF

    Destination : NONE

    Event delivery : Via tRFC (Standard)

    Linkage activated : Select

    Behavior Upon Error Feedback : System default setting

    Receiver status : No errors

The RFC Destina tion must be defined with SM59.

Note Note

For each client, there should only be one task for the event CL_INBOUND_WORKFLOW that sends a work item to the relevant user.

Event BUS1171 is also triggered when changes are made to catalogs. With this event, task TS20000705 is normally started, and with it, the method DISPLAYCURRENT

End of the note.

For more information, see Evaluation and Maintenance of Type Linkages .

Create organizational unit

You must create the organizational units in the corresponding clients.

  1. Choose Tools -> Business Workflow -> Organizational Plan -> Organizational Plan -> Organization and Staffing -> Create .

  2. In the dialog box Create Root Organizational Object , enter the validity period and the rool organizational unit and confirm with . A root organizational unit is created with the provisional title "New Organizational Unit".

  3. In the detail area on the tab Basic Data , replace the preliminary entries for Object Short Name and Object Name with the preferred names.

  4. Choose Save .

You have created your root organizational unit.

  1. In the upper right area of the screen, select the name of the organizational unit you have just created.

  2. Choose with quick info Create .

  3. On the screen Choose Link , choose Includes Position .

  4. In the detail area on the tab Basic Data , replace the preliminary entries for Object Short Description and Object Description with the preferred names.

  5. Choose Save .

You have created a position.

  1. In the upper right area of the screen, select the name of the position you have just created.

  2. Choose with quick info Assign .

  3. On the screen Choose Link , choose Owner User .

  4. Select a user and answer the subsequent query with Yes .

  5. Choose Save .

The user is assigned to position and organizational unit.

For more information, see Creating Objects und Organizational Plan Mode .

Create catalog group and assign organizational unit

Next you create a catalog group and assign this to an organizational unit. You do this in the editing function for inbound price catalogs.

  1. Choose Logistics -> Retailing -> Master Data -> Material Data -> Price Catalog Inbound Processing -> Data Transfer -> Select and Edit Price Catalog .

  2. Choose Environment -> Maintain Processor Group .

  3. Choose New Entries.

  4. Enter Catalog Group , organizational unit ( Object ID ) and plan variant ( PV ).

  5. Choose with the quick info Save or Table View -> Save.

Catalog group is created, group and organizational unit are assigned.

Assign vendor to a catalog group

Now you can assign a vendor to the catalog group.

  1. Choose Logistics -> Retailing -> Master Data -> Material Data -> Price Catalog Inbound Processing -> Data Transfer -> Select and Edit Price Catalog .

  2. Choose Environment -> Maintain Vendor-Group Assignment.

  3. Choose New Entries.

  4. Select Vendor and Catalog Group .

  5. Choose with the quick info Save or Table View -> Save.

Vendor and catalog group have been assigned

Synchronize long-term buffer

If you make changes to the workflow settings while productive, it is advisable to update the runtime environment so that these changes become effective.

  1. Choose Tools -> Business Workflow -> Development -> Administration -> Workflow Runtime -> Synchronize Runtime Buffer .

  2. Choose the pushbutton Start Synchronization.

For more information, see Administration of the Workflow Runtime .

Note Note

Possible sources of error: On assignment of positions to organizational units, you must note that a position can only ever be assigned to one organizational unit. If you assign a position to another organizational unit, this happens without an error message. However, the position then disappears in the organizational unit assigned first.

End of the note.

Result

The assignment Vendor - Catalog Group - Organizational Unit - Position - Employee (User) is created.