Description List of order groups>. Allthe order groups that fulfill the specified selection criteria aresearched for. The search for groups can be restricted by entering a mask for thegroup name (mask characters are +*) in the optional GroupNameMask > parameter. If the optional TopNodesOnly> parameter is set to 'X', only thosegroups that are the top nodes in a hierarchy (are not used in othergroups) are searched for. The list of the groups found is transferred to the GroupList>table. If an error occurs during the search, the error message is output inthe Return> parameter.Example All order groups beginning with 'A' are to be output. Method call: DATA: LT_GROUPLIST LIKE BAPI1112_LIST OCCURS 0, L_RETURN LIKE BAPIRET2. CALL FUNCTION 'BAPI_INTERNALORDRGRP_GETLIST' EXPORTING GROUPNAMEMASK = 'A*' IMPORTING RETURN = L_RETURN TABLES GROUPLIST = LT_GROUPLIST. Notes You need the read authorization for the object K_AUFK_SET> INCLUDE CO_BAPI_GROUP_GETLIST_RETURN OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_GETLIST_GRPMSK OBJECT DOKU ID TX LANGUAGE ENDefault '*',, Search for all groups INCLUDE CO_BAPI_GROUP_GETLIST_TOPNOD OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GETLIST_TOPNODE_VOR OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_GETLIST_GRPLTS OBJECT DOKU ID TX LANGUAGE EN GROUPNAME,,Group name> DESCRIPT,,Short description of a group> INCLUDE CO_BAPI_GROUP_PARAMETER_INFO OBJECT DOKU ID TX LANGUAGE EN |