Ansicht
Dokumentation

MYEHS_005_APPROVALS_BY_COND - Read Waste Approval Data Based on Predefined Selection Criteria

MYEHS_005_APPROVALS_BY_COND - Read Waste Approval Data Based on Predefined Selection Criteria

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module determines all released waste approvals with their quantities and call-off rates in the same manner as the function module MYEHS_005_APPROVAL.

In contrast to the function module MYEHS_005_APPROVAL, you can filter the resulting quantity in this function module with the following parameters:

  • Waste approval type (I_APCAT)
  • Authority-assigned waste approval number (I_APPNO)
  • Waste code in waste approval (I_APWAKEY)

Using the following parameters, you can influence the sort sequence of the result table (E_APPQAUNT_TAB):

  • I_SORTFLD
  • I_FLG_SORT_DESC

For example, with the following parameter values you can sort the result table in descending order of authority-assigned waste approval number:

  • I_FLG_SORT_DESC = X
  • I_SORTFLD = APPNO

With the parameter I_MAX_HITS you can control how many data records should be returned via the output table (E_APPQUANT_TAB) as a maximum.

The function module is RFC-enabled.

Example

If you specify the sort sequence and maximum number of data records accordingly, you can, for example, set up the module to determine and display the five waste approvals with the highest call-off rates.

Notes

Further information





Parameters

E_APPQUANT_TAB
E_HITS
I_APCAT
I_APPNO
I_APWAKEY
I_FLG_SORT_DESC
I_MAX_HITS
I_SORTFLD

Exceptions

Function Group

MYEHS_005

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.

Length: 1883 Date: 20240523 Time: 071028     sap01-206 ( 32 ms )