SAP LSOF_TRAININGTYPES_SEARCH Function Module for









LSOF_TRAININGTYPES_SEARCH is a standard lsof trainingtypes search SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for lsof trainingtypes search FM, simply by entering the name LSOF_TRAININGTYPES_SEARCH into the relevant SAP transaction such as SE37 or SE38.

Function Group: LSO_FRONTEND
Program Name: SAPLLSO_FRONTEND
Main Program: SAPLLSO_FRONTEND
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function LSOF_TRAININGTYPES_SEARCH pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'LSOF_TRAININGTYPES_SEARCH'"
EXPORTING
APPLICATION = "SAP Learning Solution BSP Application
* TARGET1_OBJECT = "
* TARGET1_STRING = "Search String
SEARCH_NAME = "
* SEARCH_TEXT = "
* PREREQUISIT = "Prerequisite Qualification
* QUALIFICATION = "Aspired Qualification
* DELIVERY_METHOD = "Delivery Method
* CATEGORY = "Subject area
* TARGET2_OBJECT = "
* TARGET2_STRING = "Search String

IMPORTING
SEARCHPARAMETER_MISSING = "

TABLES
* HITLIST = "Course Type
* TRAININGFORMS = "Learning Solution - Delivery Methods (Texts) / Front End
* HITLIST_EXT = "Additional Information for Search

EXCEPTIONS
SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2 FAILED = 3
.



IMPORTING Parameters details for LSOF_TRAININGTYPES_SEARCH

APPLICATION - SAP Learning Solution BSP Application

Data type: CL_BSP_APPLICATION
Optional: No
Call by Reference: Yes

TARGET1_OBJECT -

Data type: OTYPE
Optional: Yes
Call by Reference: Yes

TARGET1_STRING - Search String

Data type: STRING
Optional: Yes
Call by Reference: Yes

SEARCH_NAME -

Data type: STRING
Optional: No
Call by Reference: Yes

SEARCH_TEXT -

Data type: STRING
Optional: Yes
Call by Reference: Yes

PREREQUISIT - Prerequisite Qualification

Data type: STRING
Optional: Yes
Call by Reference: Yes

QUALIFICATION - Aspired Qualification

Data type: STRING
Optional: Yes
Call by Reference: Yes

DELIVERY_METHOD - Delivery Method

Data type: STRING
Optional: Yes
Call by Reference: Yes

CATEGORY - Subject area

Data type: STRING
Optional: Yes
Call by Reference: Yes

TARGET2_OBJECT -

Data type: OTYPE
Optional: Yes
Call by Reference: Yes

TARGET2_STRING - Search String

Data type: STRING
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for LSOF_TRAININGTYPES_SEARCH

SEARCHPARAMETER_MISSING -

Data type: FLAG
Optional: No
Call by Reference: Yes

TABLES Parameters details for LSOF_TRAININGTYPES_SEARCH

HITLIST - Course Type

Data type: LSTRAININGTYPE
Optional: Yes
Call by Reference: Yes

TRAININGFORMS - Learning Solution - Delivery Methods (Texts) / Front End

Data type: LSDELIVERYMETHOD
Optional: Yes
Call by Reference: Yes

HITLIST_EXT - Additional Information for Search

Data type: LSTRAININGTYPE_SEARCH_EXT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

SYSTEM_FAILURE - Error in RFC

Data type:
Optional: No
Call by Reference: Yes

COMMUNICATION_FAILURE - Error in RFC

Data type:
Optional: No
Call by Reference: Yes

FAILED - General Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LSOF_TRAININGTYPES_SEARCH Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_hitlist  TYPE STANDARD TABLE OF LSTRAININGTYPE, "   
lv_application  TYPE CL_BSP_APPLICATION, "   
lv_system_failure  TYPE CL_BSP_APPLICATION, "   
lv_searchparameter_missing  TYPE FLAG, "   
lv_target1_object  TYPE OTYPE, "   
lv_target1_string  TYPE STRING, "   
lv_search_name  TYPE STRING, "   
lt_trainingforms  TYPE STANDARD TABLE OF LSDELIVERYMETHOD, "   
lv_communication_failure  TYPE LSDELIVERYMETHOD, "   
lv_failed  TYPE LSDELIVERYMETHOD, "   
lt_hitlist_ext  TYPE STANDARD TABLE OF LSTRAININGTYPE_SEARCH_EXT, "   
lv_search_text  TYPE STRING, "   
lv_prerequisit  TYPE STRING, "   
lv_qualification  TYPE STRING, "   
lv_delivery_method  TYPE STRING, "   
lv_category  TYPE STRING, "   
lv_target2_object  TYPE OTYPE, "   
lv_target2_string  TYPE STRING. "   

  CALL FUNCTION 'LSOF_TRAININGTYPES_SEARCH'  "
    EXPORTING
         APPLICATION = lv_application
         TARGET1_OBJECT = lv_target1_object
         TARGET1_STRING = lv_target1_string
         SEARCH_NAME = lv_search_name
         SEARCH_TEXT = lv_search_text
         PREREQUISIT = lv_prerequisit
         QUALIFICATION = lv_qualification
         DELIVERY_METHOD = lv_delivery_method
         CATEGORY = lv_category
         TARGET2_OBJECT = lv_target2_object
         TARGET2_STRING = lv_target2_string
    IMPORTING
         SEARCHPARAMETER_MISSING = lv_searchparameter_missing
    TABLES
         HITLIST = lt_hitlist
         TRAININGFORMS = lt_trainingforms
         HITLIST_EXT = lt_hitlist_ext
    EXCEPTIONS
        SYSTEM_FAILURE = 1
        COMMUNICATION_FAILURE = 2
        FAILED = 3
. " LSOF_TRAININGTYPES_SEARCH




ABAP code using 7.40 inline data declarations to call FM LSOF_TRAININGTYPES_SEARCH

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!