SAP T430_READ Function Module for Read out and check control key from T430
T430_READ is a standard t430 read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read out and check control key from T430 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 t430 read FM, simply by entering the name T430_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: C0T1
Program Name: SAPLC0T1
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function T430_READ 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 'T430_READ'"Read out and check control key from T430.
EXPORTING
* SPRAS = ' ' "Language indicator for the text
STEUS = "Control key
* MSGTY = 'S' "
IMPORTING
STRUCT = "Header of the table to be examined
TEXT = "Text description
EXCEPTIONS
NO_ENTRY = 1
IMPORTING Parameters details for T430_READ
SPRAS - Language indicator for the text
Data type: T430T-SPRASDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
STEUS - Control key
Data type: T430-STEUSOptional: No
Call by Reference: No ( called with pass by value option)
MSGTY -
Data type: CMIMSG-MSGTYDefault: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for T430_READ
STRUCT - Header of the table to be examined
Data type: T430Optional: No
Call by Reference: No ( called with pass by value option)
TEXT - Text description
Data type: T430T-TXTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY - No entry found in the table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for T430_READ 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_spras | TYPE T430T-SPRAS, " SPACE | |||
| lv_struct | TYPE T430, " | |||
| lv_no_entry | TYPE T430, " | |||
| lv_text | TYPE T430T-TXT, " | |||
| lv_steus | TYPE T430-STEUS, " | |||
| lv_msgty | TYPE CMIMSG-MSGTY. " 'S' |
|   CALL FUNCTION 'T430_READ' "Read out and check control key from T430 |
| EXPORTING | ||
| SPRAS | = lv_spras | |
| STEUS | = lv_steus | |
| MSGTY | = lv_msgty | |
| IMPORTING | ||
| STRUCT | = lv_struct | |
| TEXT | = lv_text | |
| EXCEPTIONS | ||
| NO_ENTRY = 1 | ||
| . " T430_READ | ||
ABAP code using 7.40 inline data declarations to call FM T430_READ
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 SPRAS FROM T430T INTO @DATA(ld_spras). | ||||
| DATA(ld_spras) | = ' '. | |||
| "SELECT single TXT FROM T430T INTO @DATA(ld_text). | ||||
| "SELECT single STEUS FROM T430 INTO @DATA(ld_steus). | ||||
| "SELECT single MSGTY FROM CMIMSG INTO @DATA(ld_msgty). | ||||
| DATA(ld_msgty) | = 'S'. | |||
Search for further information about these or an SAP related objects