SAP RMSA104_PP_TEXT_LONG_MAINTAIN Function Module for NOTRANSL: RMS-ATL: Behandlung des Events ON_USER_COMMAND (Langtext)









RMSA104_PP_TEXT_LONG_MAINTAIN is a standard rmsa104 pp text long maintain SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: RMS-ATL: Behandlung des Events ON_USER_COMMAND (Langtext) 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 rmsa104 pp text long maintain FM, simply by entering the name RMSA104_PP_TEXT_LONG_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function RMSA104_PP_TEXT_LONG_MAINTAIN 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 'RMSA104_PP_TEXT_LONG_MAINTAIN'"NOTRANSL: RMS-ATL: Behandlung des Events ON_USER_COMMAND (Langtext)
EXPORTING
I_SCENARIO = "
I_ACTYPE = "Activity Type in the Transaction
IS_ADDINF = "EHS: Additional Information for Function Module Calls
* I_LANGU = SY-LANGU "SAP System, Current Language
I_REF_LANGU = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IS_OUTTAB = "ALV Data Output
IT_API_PROP_FTEXT = "

IMPORTING
E_FLG_ERROR = "Truth Value
E_FLG_DATA_CHANGED = "
ET_API_PROP_FTEXT = "
ET_EXTERROR = "

CHANGING
XT_API_HEADER = "
XT_API_PROP_HEADER = "

EXCEPTIONS
SHORT_TEXT_NOT_FOUND = 1
.



IMPORTING Parameters details for RMSA104_PP_TEXT_LONG_MAINTAIN

I_SCENARIO -

Data type: ESPAP_SCENARIO_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_ACTYPE - Activity Type in the Transaction

Data type: RCGDIALCTR-ACTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

IS_ADDINF - EHS: Additional Information for Function Module Calls

Data type: RCGADDINF
Optional: No
Call by Reference: No ( called with pass by value option)

I_LANGU - SAP System, Current Language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REF_LANGU - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: SY-LANGU
Optional: No
Call by Reference: No ( called with pass by value option)

IS_OUTTAB - ALV Data Output

Data type: EHSBS_API_VAI_ALVOUT
Optional: No
Call by Reference: No ( called with pass by value option)

IT_API_PROP_FTEXT -

Data type: ESPRH_APIDF_TAB_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RMSA104_PP_TEXT_LONG_MAINTAIN

E_FLG_ERROR - Truth Value

Data type: ESP1_BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

E_FLG_DATA_CHANGED -

Data type: ESP1_BOOLEAN
Optional: No
Call by Reference: No ( called with pass by value option)

ET_API_PROP_FTEXT -

Data type: ESPRH_APIDF_TAB_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

ET_EXTERROR -

Data type: ESPAP_EXTERROR_TAB_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for RMSA104_PP_TEXT_LONG_MAINTAIN

XT_API_HEADER -

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

XT_API_PROP_HEADER -

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

EXCEPTIONS details

SHORT_TEXT_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RMSA104_PP_TEXT_LONG_MAINTAIN 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_i_scenario  TYPE ESPAP_SCENARIO_TYPE, "   
lv_e_flg_error  TYPE ESP1_BOOLEAN, "   
lv_xt_api_header  TYPE ESPRH_APIRH_TAB_TYPE, "   
lv_short_text_not_found  TYPE ESPRH_APIRH_TAB_TYPE, "   
lv_i_actype  TYPE RCGDIALCTR-ACTYPE, "   
lv_e_flg_data_changed  TYPE ESP1_BOOLEAN, "   
lv_xt_api_prop_header  TYPE ESPRH_APIVH_TAB_TYPE, "   
lv_is_addinf  TYPE RCGADDINF, "   
lv_et_api_prop_ftext  TYPE ESPRH_APIDF_TAB_TYPE, "   
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_et_exterror  TYPE ESPAP_EXTERROR_TAB_TYPE, "   
lv_i_ref_langu  TYPE SY-LANGU, "   
lv_is_outtab  TYPE EHSBS_API_VAI_ALVOUT, "   
lv_it_api_prop_ftext  TYPE ESPRH_APIDF_TAB_TYPE. "   

  CALL FUNCTION 'RMSA104_PP_TEXT_LONG_MAINTAIN'  "NOTRANSL: RMS-ATL: Behandlung des Events ON_USER_COMMAND (Langtext)
    EXPORTING
         I_SCENARIO = lv_i_scenario
         I_ACTYPE = lv_i_actype
         IS_ADDINF = lv_is_addinf
         I_LANGU = lv_i_langu
         I_REF_LANGU = lv_i_ref_langu
         IS_OUTTAB = lv_is_outtab
         IT_API_PROP_FTEXT = lv_it_api_prop_ftext
    IMPORTING
         E_FLG_ERROR = lv_e_flg_error
         E_FLG_DATA_CHANGED = lv_e_flg_data_changed
         ET_API_PROP_FTEXT = lv_et_api_prop_ftext
         ET_EXTERROR = lv_et_exterror
    CHANGING
         XT_API_HEADER = lv_xt_api_header
         XT_API_PROP_HEADER = lv_xt_api_prop_header
    EXCEPTIONS
        SHORT_TEXT_NOT_FOUND = 1
. " RMSA104_PP_TEXT_LONG_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM RMSA104_PP_TEXT_LONG_MAINTAIN

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 ACTYPE FROM RCGDIALCTR INTO @DATA(ld_i_actype).
 
 
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_ref_langu).
 
 
 


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!