Ansicht
Dokumentation
EXIT_SAPLEEWM_SV_ORD_001 - IS-U: User Exit - Display Service Orders in Customer Overview
PERFORM Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module can be used for displaying the service orders for a customer in the customer overview in the front office. The input parameter YT_COLUMN includes the table titles, and YT_ROW the table content.
With the standard settings the parameters are filled so that all the orders found are displayed with the date, short text and status. The orders are sorted in reverse chronological order (for example, an order dated 10/01/98 comes before an order dated 09/01/98).
With the standard settings, the order status is displayed as follows:
- Red light: order status technically completed.
- Yellow light: order status put in process.
- Green light: order status created.
If you use the customer overview in HTML, you must use table parameter T_VIAUFKS_DISP instead of table parameters T_COLUMNS and T_ROWS. Using this function module you can supply the customer include fields CI_EEWM_VIAUFKS_DISP for each line of this table, or change the sort order of the table.
Example
Notes
If you want to sort according date order, note that the table YT_ROW only contains text fields. The sort order is easier to generate if you firstly convert the value to date format and secondly reset the result in table YT_ROW.
Further information
You can find further information about enhancement:
- Of this module EWMORDDI (display order in customer overview)
- With this function module EWMDATDI (display notification/order in customer overview) EXIT_SAPLEEWM_SV_ORD_003
Parameters
T_COLUMNST_ROWS
T_VIAUFKS
T_VIAUFKS_DISP
Exceptions
Function Group
XEWMSVORDBAL Application Log Documentation Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2478 Date: 20240523 Time: 043650 sap01-206 ( 43 ms )