Skip to main content

xSuite Cube Installation Guide

"Extended Type Linkage" activity

/WMD/BC_SPRO → xSuite Business Solutions → Workflow → Standard Customizing

Direct access: SWEC

These settings are only required for the xSuite Procurement product. The settings react to changes made to the purchasing document. Which settings you should make depends on project requirements and the MM release strategy. This may require project-specific development.

Change Document Object

Object Type Category

Object Type

Event

On Create

On Change

On Delete

BANF

ABAP class

/WMD/CL_XF_PR

CHANGED_CHECK

X

BANF

ABAP class

/WMD/CL_XF_PR

CREATED

X

EINKBELEG

ABAP class

/WMD/CL_XF_PO

CREATED

X

EINKBELEG

ABAP class

/WMD/CL_XF_PO

CHANGED

X

EINKBELEG

ABAP class

/WMD/CL_XF_PO

DELETED

X

EINKBELEG

ABAP class

/WMD/CL_XF_PO

ITEM_DELETED

X

VERKBELEG

ABAP class

/WMD/CL_XF_OR

ITEM_DELETED

X

VERKBELEG

ABAP class

/WMD/CL_XF_OR

CHANGED

X

A field restriction must also be set up for the CHANGED and ITEM_DELETED events. To do this, select the relevant line in the list with the event CHANGED or ITEM_DELETED and double-click the menu option Field restriction in the dialog structure on the left. In the dialog that then opens, make the following settings for the respective events:

ITEM_DELETED

This event must be set up as follows, since purchase orders cannot be completely deleted in SAP, but are only considered deleted when all item lines have been deleted. If all item lines of a purchase order have been deleted, the purchase order will also be flagged as deleted and the workflow will also be deleted:

image7.png

CHANGED

This event starts a new workflow when a purchase order that has been released and completed by a workflow is changed. In this case, the release status of the invoice changes from green (released) to yellow (not released). The expression ensures that this event is triggered. The event CHANGED starts a new workflow:

image8.png

In this example, it is assumed that a purchase order that has not been released receives release status "S". The settings necessary for the release strategy are to be found in standard SAP customizing.

For an example of customizing, see Release procedure for purchase requisitions and purchase orders.