/SAPAPO/GATP_GROUP_DETL_GET - Group Details for Global ATP

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Functionality

You use this service to retrieve all interchangeable products and locations that have been considered during the ATP check.

Based on the selection criteria for product and location the function module searches all groups thatcontain the specified criteria. The function module returns all the interchangeable products that areassigned to the given location. All the returned products are interchangeable with the product given in the selection criteria.

Example

The following interchangeability groups are assigned to location 0001:

  • Group 100
A --> B --> C
  • Group 200
C --> D

When entering product B and location 0001 as selection criteria, the function module provides the following result:

ProductValid-from DateValid-to Date
B01-01-200331-01-2003 
C01-02-2003

When entering product B and location 0001 as selection criteria and setting the multilevel flag to X, the function module provides the following result:

ProductValid-from DateValid-to Date
B01-01-200331-01-2003
C01-02-200328-02-2003
D01-03-2003

Notes

Further information


Parameters

ET_PROD_LOC_DATA
ET_RETURN
IS_SEARCH_CRITERIA
IT_COM_STRUCT
IT_GP_FILTER
IV_GUID_TYPE
IV_MULTI_LEVEL
IV_RULE_EVAL_FLG

Exceptions

GROUP_FILTER_ERROR
SEARCH_CRITERIA_ERROR

Function Group

APO/SAPLINC_SERVICE

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 2323 Date: 20120525 Time: 030316     triton ( 27 ms )