SAP RSSEM_CHA_TEXT_TIME_GET Function Module for Read Values of Time-Dependent Attributes
RSSEM_CHA_TEXT_TIME_GET is a standard rssem cha text time get 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 Values of Time-Dependent Attributes 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 rssem cha text time get FM, simply by entering the name RSSEM_CHA_TEXT_TIME_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSSEM3
Program Name: SAPLRSSEM3
Main Program: SAPLRSSEM3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSSEM_CHA_TEXT_TIME_GET 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 'RSSEM_CHA_TEXT_TIME_GET'"Read Values of Time-Dependent Attributes.
EXPORTING
I_CHABASNM = "Basic Characteristic Name
* I_MOSTRECENT = ' ' "='X': Read Most Recent
* I_MAXROWS = 0 "
TABLES
* I_T_SELOPT = "Selection Options
* I_T_REQ_ATTR = "Required Attributes
* E_T_TIME = ".
EXCEPTIONS
NO_CHABAS = 1 INHERITED_ERROR = 2 CHA_NOT_FOUND = 3 NOT_A_CHARACTERISTIC = 4 NOT_A_BASIS_CHARACTERISTIC = 5 NO_TEXT_TABLE = 6 INTERNAL_ERROR = 7 ILLEGAL_SELOPT = 8 NOT_SUPPORTED = 9
IMPORTING Parameters details for RSSEM_CHA_TEXT_TIME_GET
I_CHABASNM - Basic Characteristic Name
Data type: RSCHANMOptional: No
Call by Reference: No ( called with pass by value option)
I_MOSTRECENT - ='X': Read Most Recent
Data type: RRMOSTRECENTDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MAXROWS -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSSEM_CHA_TEXT_TIME_GET
I_T_SELOPT - Selection Options
Data type: RSSEMDMR_S_SELOPTOptional: Yes
Call by Reference: Yes
I_T_REQ_ATTR - Required Attributes
Data type: RSSEM_S_ATTRINMOptional: Yes
Call by Reference: Yes
E_T_TIME - .
Data type: RSSEM_S_SHLP_T_RETURNOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_CHABAS - Characteristic Is Not a Basic Characteristic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INHERITED_ERROR - Inherited Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHA_NOT_FOUND - Characteristic not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_A_CHARACTERISTIC - i_chanmist Is Not a Characteristic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_A_BASIS_CHARACTERISTIC - i_chanm Is Not a Basic Characteristic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_TEXT_TABLE - Characteristic i_chanm Has No Time-Dependent Attributes
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal Data Inconsistency
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_SELOPT - Invalid Selection Option
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_SUPPORTED - Not yet supported
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSSEM_CHA_TEXT_TIME_GET 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_no_chabas | TYPE STRING, " | |||
| lv_i_chabasnm | TYPE RSCHANM, " | |||
| lt_i_t_selopt | TYPE STANDARD TABLE OF RSSEMDMR_S_SELOPT, " | |||
| lv_i_mostrecent | TYPE RRMOSTRECENT, " ' ' | |||
| lt_i_t_req_attr | TYPE STANDARD TABLE OF RSSEM_S_ATTRINM, " | |||
| lv_inherited_error | TYPE RSSEM_S_ATTRINM, " | |||
| lt_e_t_time | TYPE STANDARD TABLE OF RSSEM_S_SHLP_T_RETURN, " | |||
| lv_i_maxrows | TYPE I, " 0 | |||
| lv_cha_not_found | TYPE I, " | |||
| lv_not_a_characteristic | TYPE I, " | |||
| lv_not_a_basis_characteristic | TYPE I, " | |||
| lv_no_text_table | TYPE I, " | |||
| lv_internal_error | TYPE I, " | |||
| lv_illegal_selopt | TYPE I, " | |||
| lv_not_supported | TYPE I. " |
|   CALL FUNCTION 'RSSEM_CHA_TEXT_TIME_GET' "Read Values of Time-Dependent Attributes |
| EXPORTING | ||
| I_CHABASNM | = lv_i_chabasnm | |
| I_MOSTRECENT | = lv_i_mostrecent | |
| I_MAXROWS | = lv_i_maxrows | |
| TABLES | ||
| I_T_SELOPT | = lt_i_t_selopt | |
| I_T_REQ_ATTR | = lt_i_t_req_attr | |
| E_T_TIME | = lt_e_t_time | |
| EXCEPTIONS | ||
| NO_CHABAS = 1 | ||
| INHERITED_ERROR = 2 | ||
| CHA_NOT_FOUND = 3 | ||
| NOT_A_CHARACTERISTIC = 4 | ||
| NOT_A_BASIS_CHARACTERISTIC = 5 | ||
| NO_TEXT_TABLE = 6 | ||
| INTERNAL_ERROR = 7 | ||
| ILLEGAL_SELOPT = 8 | ||
| NOT_SUPPORTED = 9 | ||
| . " RSSEM_CHA_TEXT_TIME_GET | ||
ABAP code using 7.40 inline data declarations to call FM RSSEM_CHA_TEXT_TIME_GET
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.| DATA(ld_i_mostrecent) | = ' '. | |||
Search for further information about these or an SAP related objects