Business Example
As a sales manager, Lisa often needs to track and analyze changes across various sales documents, such as sales quotations, sales contracts, sales orders, and returns orders. Traditionally, Lisa has to switch between individual sales documents to access their change logs, which can be time-consuming and error-prone, especially when dealing with a large volume of documents.
With the Display Change Logs - Sales Documents app, Lisa can now monitor changes to various sales documents in one place. The app provides a user-friendly description for each change, making it easier for Lisa to understand and analyze the data. Equipped with sophisticated filtering options, Lisa can quickly refine her search based on criteria such as the partner function, condition type, field name, and sold-to party.
Before using the Display Change Logs - Sales Documents app, add either of the following to your user:
- Business role template Internal Sales Representative (SAP_BR_INTERNAL_SALES_REP)
- Business role template Sales Manager (SAP_BR_SALES_MANAGER)
- Business catalog Sales - Sales Document Change History (SAP_SD_BC_SLSDOC_CHGHIST_PC)
A change log contains changes that have been made to a sales document. Each log entry stores information about a change to the document header, a document item, or a schedule line, and the change is logged on field or table level:
- The system logs a change on table level when an entry is created in or deleted from a table. For example, when a sales order item is created, the system logs a change on table level because a new entry is generated in the item table.
- The system logs a change on field level when the value of a field is altered.
The changes to sales documents can be classified into three types:
- Insert: A table entry is created (for example, a sales order item created in the item table).
- Delete: A table entry is deleted (for example, a sales order item deleted from the item table).
- Change: A field value is altered (for example, the order reason field altered).
A change to a sales document may incur data changes on different levels and result in several log entries. The following lists how log entries may be generated for a sales order according to specific changes.
Basic Concepts - Generation of Log Entries
What's Changed | Change Log | What's Logged | ||
---|---|---|---|---|
Number of Log Entries | Log Level | Affected Data Level | ||
An order reason changed | One | Field | Header | The system logs the alteration of the order reason. |
A contact person added as header partner | One | Table | Header | The system logs the insertion of an entry in the header partner table. |
A sales order item created | Multiple | Table, field | Header, item, schedule line | The system logs the following:
|
Note
To avoid performance issues and to keep the results small, we strongly recommend that you restrict filters on log data.You can perform a fuzzy search on change logs by entering a document number or other attributes into the search field.
In addition, you can search for change logs as follows:
- Apply basic filters, such as the document number, field, change type, and change date.
- Apply additional filters by adapting the filter bar. For example, you can filter by sales document type, condition type, partner function, and many more criteria.
To display change logs for sales quotations related to a particular sold-to party, you can enable additional filters (sales document type and sold-to party) and specify the filters as shown in the following figure.
After you have configured all aspects of your screen (filter selection, filter values, displayed columns, column sort quotation, and so on) to your liking, you can save time by saving this exact screen configuration as a view variant and loading it back up any time you want.
If you want, you can set this view variant to load by default when you open the app. You can also share saved views with other users
You can export change log data to spreadsheet or PDF files.
For more information, refer to the following app description on SAP Help Portal:
- Display Change Logs - Sales Documents