SAP INDUSTRY_SOURCE_TEXT_SCAN Function Module for Analyze source text for terms to be exchanged
INDUSTRY_SOURCE_TEXT_SCAN is a standard industry source text scan SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Analyze source text for terms to be exchanged processing and below is the pattern details for this FM, 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 industry source text scan FM, simply by entering the name INDUSTRY_SOURCE_TEXT_SCAN into the relevant SAP transaction such as SE37 or SE38.
Function Group: SBRA
Program Name: SAPLSBRA
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function INDUSTRY_SOURCE_TEXT_SCAN 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 'INDUSTRY_SOURCE_TEXT_SCAN'"Analyze source text for terms to be exchanged.
EXPORTING
* LANGUAGE = "Language Key
* INDUSTRY = "Industry
DEVCLASS_OBJECT = "Package
TEXT = "
* EXIT_ON_FIRST_FOUND_FLAG = ' ' "
IMPORTING
RETURNCODE = "
DEVCLASS_LOWEST = "Package
TABLES
EXCHANGES_TAB = "
EXCHANGES_LIST_TAB = "
IMPORTING Parameters details for INDUSTRY_SOURCE_TEXT_SCAN
LANGUAGE - Language Key
Data type: INDTEXT-SPRSLOptional: Yes
Call by Reference: No ( called with pass by value option)
INDUSTRY - Industry
Data type: INDTEXT-BRANCHEOptional: Yes
Call by Reference: No ( called with pass by value option)
DEVCLASS_OBJECT - Package
Data type: INDTEXT-DEVCLASSOptional: No
Call by Reference: No ( called with pass by value option)
TEXT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXIT_ON_FIRST_FOUND_FLAG -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for INDUSTRY_SOURCE_TEXT_SCAN
RETURNCODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DEVCLASS_LOWEST - Package
Data type: INDTEXT-DEVCLASSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for INDUSTRY_SOURCE_TEXT_SCAN
EXCHANGES_TAB -
Data type: SBRN1_EXCHANGES_TABOptional: No
Call by Reference: No ( called with pass by value option)
EXCHANGES_LIST_TAB -
Data type: SBRN1_EXCHANGES_LIST_TABOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for INDUSTRY_SOURCE_TEXT_SCAN 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: | ||||
| lv_language | TYPE INDTEXT-SPRSL, " | |||
| lv_returncode | TYPE INDTEXT, " | |||
| lt_exchanges_tab | TYPE STANDARD TABLE OF SBRN1_EXCHANGES_TAB, " | |||
| lv_industry | TYPE INDTEXT-BRANCHE, " | |||
| lv_devclass_lowest | TYPE INDTEXT-DEVCLASS, " | |||
| lt_exchanges_list_tab | TYPE STANDARD TABLE OF SBRN1_EXCHANGES_LIST_TAB, " | |||
| lv_devclass_object | TYPE INDTEXT-DEVCLASS, " | |||
| lv_text | TYPE INDTEXT, " | |||
| lv_exit_on_first_found_flag | TYPE INDTEXT. " SPACE |
|   CALL FUNCTION 'INDUSTRY_SOURCE_TEXT_SCAN' "Analyze source text for terms to be exchanged |
| EXPORTING | ||
| LANGUAGE | = lv_language | |
| INDUSTRY | = lv_industry | |
| DEVCLASS_OBJECT | = lv_devclass_object | |
| TEXT | = lv_text | |
| EXIT_ON_FIRST_FOUND_FLAG | = lv_exit_on_first_found_flag | |
| IMPORTING | ||
| RETURNCODE | = lv_returncode | |
| DEVCLASS_LOWEST | = lv_devclass_lowest | |
| TABLES | ||
| EXCHANGES_TAB | = lt_exchanges_tab | |
| EXCHANGES_LIST_TAB | = lt_exchanges_list_tab | |
| . " INDUSTRY_SOURCE_TEXT_SCAN | ||
ABAP code using 7.40 inline data declarations to call FM INDUSTRY_SOURCE_TEXT_SCAN
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.| "SELECT single SPRSL FROM INDTEXT INTO @DATA(ld_language). | ||||
| "SELECT single BRANCHE FROM INDTEXT INTO @DATA(ld_industry). | ||||
| "SELECT single DEVCLASS FROM INDTEXT INTO @DATA(ld_devclass_lowest). | ||||
| "SELECT single DEVCLASS FROM INDTEXT INTO @DATA(ld_devclass_object). | ||||
| DATA(ld_exit_on_first_found_flag) | = ' '. | |||
Search for further information about these or an SAP related objects