Ansicht
Dokumentation

/SAPHT/RN_CLASSLIST_FROM_KWORD - Get a list of Classes given keywords

/SAPHT/RN_CLASSLIST_FROM_KWORD - Get a list of Classes given keywords

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module returns a class or a list of classes that contains any of a given list of Keywords or Description for the class.

Input to function:

1. Class Type (required entry): CLASSTYPE

2. A table with three columns one column for language, one for language_iso and the third for keywords or description(required entry) : CLASSDESCRIPTIONS

3. A range table for class name. This way you can restrict the search to a range of classes. Wild card character can be used. : CLASSSELECTION

4. A parameter to restrict the number of returned entries : MAXROWS

Output from function:

1. A table with two columns, one column for class type, the other for class name: CLASSLIST

2. A returned table that contains messages. If the function module runs successfully there will be no messages of type E : RETURN

Example

Notes

Further information

1.,,The following info messages (Type "i") are provided in the "RETURN" table:

,,,,a. When the number of classes containing any of the given Keywords is more than the number specified in maxRows then a message of type “I” is provided - 002(/SAPHT/RN) There are more than maxRows classes that satisfy the search criteria.

,,,,b. When no classes are found a message of type E is generated (see below). In addition, a message of type "I "stating - 003(/SAPHT/RN) The Keywords were assumed to be in language .

The following messages of type E are returned in the "RETURN" table:

,,,,a. When no class satisfying the search criteria is found - 624(CL) Class Type : no suitable classes found.

,,,,b. If the user does not have authorization to search for classes for the class type - 051(CL) You are not authorized for class type .

,,,,c. When the class type does not exist - 014(CL) Class type <class type> not defined.

,,,,d. When the language specified is not in the system - 080(TL) language is not in the system.

,,,,e. When the data in the table containing the range of class names are invalid - 004(/SAPHT/RN) The table

has invalid entry. Look into documentation on SELECT-OPTIONS.





Parameters

CLASSDESCRIPTIONS
CLASSLIST
CLASSSELECTION
CLASSTYPE
ET_ERROR
EV_ERROR
MAXROWS
RETURN

Exceptions

Function Group

HT/SAPLRN_TECHNICALDICT

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2769 Date: 20240420 Time: 141154     sap01-206 ( 44 ms )