SAP ABAP IMG Activity /SRMERP/BADI_DSS (BAdI: Map Document Items to Document Subsets)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/WF_CFG (Package) Workflow Process Configuration
IMG Activity
ID /SRMERP/BADI_DSS BAdI: Map Document Items to Document Subsets  
Transaction Code /SRMERP/44000245   (empty) 
Created on 20101116    
Customizing Attributes /SRMERP/BADI_DSS   BAdI: Map Document Items to Document Subsets 
Customizing Activity /SRMERP/BADI_DSS   BAdI: Map Document Items to Document Subsets 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SRMERP/BD_WF_DOC_SUBSET_MAPPR    

Use

This Business Add-In (BAdI) is used in the Self-Service Procurement (MM-PUR-SSP) component.

You can use this BAdI to group items of a purchasing document into document subsets. All items in a document subset enter the same approval process. The approval processes of different document subsets run independently of each other.

Requirements

Standard settings

BAdI Implementations:

  • /SRMERP/BD_DEF_WF_DSS_MPPR_SC

    If no other BAdI implementation is active, the default implementation /SRMERP/BD_DEF_WF_DSS_MPPR_SC groups all items of a shopping cart into one document subset.

Note: You can also create several document subsets with this default implementation by adding a ruleset to the BRFplus function Determine DSS (/SRMERP/F_WF_DETERMINE_DSS) in Customizing for Materials Management under Purchasing --> Shopping Cart --> Business Workflow --> Business Process Configuration --> Define Rulesets for Document Subset Determination. For more information, see the example below.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

You define that items valued below 100 USD are approved automatically while items valued at 100 USD or more enter an n-step approval process. To assign items to different document subsets depending on the item value, you need to assign a ruleset to function Determine DSS (/SRMERP/F_WF_DETERMINE_DSS) in Customizing for Materials Management under Purchasing --> Shopping Cart --> Business Workflow --> Business Process Configuration --> Define Rulesets for Document Subset Determination.

The ruleset determines a document subset name for each item and changes the return parameter RV_DOC_SUBSET_NAME of the function.

For example, you can define the following document subset names:

  • NO_APPROVAL for items valued below 100 USD
  • APPROVAL_REQUIRED for items valued at 100 USD or more

To evaluate the process schemas for the document subsets, the system uses the BRFplus function Get Workflow Process Schema (/SRMERP/F_WF_GET_PROC_SCHEME). You define a ruleset that determines the process schema depending on the value of the items in the document subset. The ruleset changes the return parameter RV_PROCESS_SCHEME.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20101116 
SAP Release Created in 606