Ansicht
Dokumentation

WA_MN_MD_006 - Specify Functions

WA_MN_MD_006 - Specify Functions

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you specify the functions that you can execute for disposal documents in the Waste Management component.

You can specify a maximum of 15 functions. For each function, you can control further processing and the appearance of the pushbutton for the function by entering the following data:

  • You can specify texts that are displayed on the pushbutton and in the quick info.
  • You can specify an icon for the pushbutton.
Notes:
  • If you specify a text and an icon, both are displayed on the pushbutton.

  • Space is limited in the application toolbar. The more functions you specify, the less space the pushbuttons should need in order for all functions for disposal documents to be available. Therefore, choose short texts and dispense with either the text or the icon if necessary.

  • You can specify the position of the pushbutton and thus specify the sequence of the pushbuttons in the application toolbar.
  • You can specify a function module that is executed if the function is chosen.
  • You can specify the authorization that a user must have in order to be able to execute the function.
  • You can assign the functions to the disposal document types and thus specify which functions can be executed for which disposal document types.

The data is saved as follows in the functions delivered in the standard system:

  • If you choose a function and have made changes to disposal documents that you have not saved, the system queries whether the changes should be saved.
  • After you have executed a function, the system automatically saves the changes caused by the function. The system does not query whether the changes should be saved or not.

Example function modules are available in the function group EHSWA_209. One of the function modules supplied with the standard system is EHSWA_209_COMPL_WITH_RECAL. This sets the COMPL (data is complete) status for the disposal documents selected and calls the EHSWA_209_RECALCULATE function module. This function module recalculates the quantities of waste from the disposal documents back to the entry documents from which the disposal documents were generated.

Additionally, the function modules are delivered to call Enterprise Services for disposal documents. The function module EHSWA_209_DISPSLNOTE_PASS, for example, is delivered. This module delivers the data of a selected disposal document to Enterprise Service DisposalNoteERPRequestConfirmation_Out for further processing. As long as Enterprise Service was successfully called, the function module sets the status IPASS (transfer to service provider). The function module also opens a URI (Uniform Resource Identifier) that is returned by the service provider. The function module EHSWA_209_DISPSLNOTE_DISP requests the URI for a selected disposal document using an Enterprise Service DisposalNoteURIERPByIDQueryResponse_Out and opens it.






BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3802 Date: 20240523 Time: 201443     sap01-206 ( 71 ms )