Ansicht
Dokumentation
/INCMD/DB_LKUP_GET_BY_LOCPROD - Get Look up table records for the given criteria
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
This function module returns the lkup and lkuplnk records based on the input criteria. This function module returns list of LKUP records & LKUPLNK records that satisfy the given input criteria. The input criteria could be range of products(ir_product), range of locations for location chains (ir_locidchain) ,range of locations for location assignment(ir_locid_assign) range of INC group name(ir_pname), range of group types(ir_pntype), range of FFF classes for restrictricted interchangeability(ir_icnum), range of relevance flags(ir_relvn), range of status flags(ir_istat), multilevel flag(to retrieve all related groups).
This function module expects all the range table will be filled with various records with include sign & #EQ# option. Hence this function module can not handle wild char search on LKUP table.
The function module handles supersession chains, FFF Classes, restricted interchangeablity, Product Substitution procedures, Location chains, Product location chains, Location determination procedures and Product Location Determination procedures.
The function module retrieves the lkup records based on all entries in the input criteria. It handles procedures (PSP/LDP/LPDP) differently. For eg. if you enter the group number of a PSP in pname range table and a product in the product range table, the function module interprets this as a query for all groups ( supersession chains/FFF Classes) within the PSP having the product. Similarly the function module handles location determination procedures and product location determination procedures.
If the multilevel flag is set, then the function module returns all lkup records that are linked ( having same value in mulguid field). But if a procedure is entered in the search criteria then the groups returned will be restricted to the procedure.
Example
Notes
Further information
Parameters
ET_LKUPET_LKUPLNK
ET_LKUP_PROC
IR_ICNUM
IR_ISTAT
IR_PNAME
IR_PNTYPE
IR_RELVN
IT_PRODLOC_ASSIGN
IT_PRODLOC_CHAIN
IV_ALL_RECORDS
IV_MULTI_LEVEL
Exceptions
Function Group
MD/SAPLDBLYRVendor Master (General Section) Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2627 Date: 20240420 Time: 170148 sap01-206 ( 77 ms )