Skip to Content
Technical Articles
Author's profile photo Deep Lal Sharma

How to enable Extended Attributes in SAP Commissions

Introduction

SAP Commissions provides a way to implement additional attributes called Extended Attributes in case one runs out of Generic Attributes available and cannot use Reporting attributes as they cannot be used during rule writing. This article details the steps in which they can be enabled.

Available Extended Attributes

In SAP Commissions, one can enable extended attributes for participants, positions, transactions, and orders. But the use of these attributes can affect calculation performance and pipeline may take more time to complete. SAP Commissions also warns the user of this impact when one tries to enable these attributes.

Warning%20from%20SAP%20Commissions

Warning from SAP Commissions

Below types of attributes are available while trying to enable Extended Attributes:

  • Extended attributes – generic string fields
  • Extended Numbers – fields that contain only numeric entries
  • Extended Dates – fields that contain only date entries
  • Extended Booleans – fields that contain only Boolean entries

Enabling Extended Attributes

Extended Attributes can be enabled through Customization workspace.

Customization%20workspace

Customization workspace

There is an icon called “Add or Remove Extended Attributes” Once clicked on it, Commissions pops up a warning message related to the impact in performance upon their usage. After accepting the same, we get a small window where we can select which attributes and how many to enable.

Adding%20Extended%20Attributes

Adding Extended Attributes

After re-login, we can see extended attributes in the workspace for which we enabled it.

In the Database, these Extended Attributes are stored in different tables in staging and in Commissions Repository. These tables can be used to query Extended Attributes in Database.

     Data Type Staging Table in Database Sales Table in Database
Participants cs_gastageparticipant cs_gaparticipant
Positions cs_gastageposition cs_gaposition
Transactions cs_gastagesalestransaction cs_gasalestransaction
Orders cs_gastagesalesorder cs_gasalesorder

Conclusion

Extended Attributes give users to store values and make use of the same in case there are no more Generic Attributes left to use. However, they have their own constraints w.r.t performance and should be used when there is no other option left.


References: SAP Help Portal  https://help.sap.com/viewer/product/SAP_Commissions/2105/en-US

Thank you for reading it till the end. I hope you find this article helpful. Please do let me know your feedbacks in the comments section. 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Yogananda Muthaiah
      Yogananda Muthaiah

      Hi Deep Lal Sharma

      Great Article again 🙂

      It would be good to include more information on populating the information in different ODI templates for extended attributes (TXSTAG, TXSTG), and also you can show Database screenshots of how the value seen on different pages (cs_gasalestransaction with page = 0 & 1 ).

      Author's profile photo Lara Golden
      Lara Golden

      That would make a great part II! Very nice article.