SAP HM52_TEXT_RESOLVE_RID Function Module for NOTRANSL: EH&S: Auflösen des Textpatterns für Gefahrgutvorschrift RID









HM52_TEXT_RESOLVE_RID is a standard hm52 text resolve rid 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: EH&S: Auflösen des Textpatterns für Gefahrgutvorschrift RID 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 hm52 text resolve rid FM, simply by entering the name HM52_TEXT_RESOLVE_RID into the relevant SAP transaction such as SE37 or SE38.

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



Function HM52_TEXT_RESOLVE_RID 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 'HM52_TEXT_RESOLVE_RID'"NOTRANSL: EH&S: Auflösen des Textpatterns für Gefahrgutvorschrift RID
EXPORTING
I_ADDINF = "EHS: Additional Information for Function Module Calls
I_HEADER = "Header Information

TABLES
X_TEXT_TAB = "Text Information
X_LONGTEXT_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_JOIN_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_REF_TAB = "Reference information

EXCEPTIONS
NOTHING_DONE = 1 PHRASE_REFUSED = 2 INTERNAL_ERROR = 3
.



IMPORTING Parameters details for HM52_TEXT_RESOLVE_RID

I_ADDINF - EHS: Additional Information for Function Module Calls

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

I_HEADER - Header Information

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

TABLES Parameters details for HM52_TEXT_RESOLVE_RID

X_TEXT_TAB - Text Information

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

X_LONGTEXT_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_JOIN_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_REF_TAB - Reference information

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

EXCEPTIONS details

NOTHING_DONE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PHRASE_REFUSED - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

INTERNAL_ERROR - Internal error

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

Copy and paste ABAP code example for HM52_TEXT_RESOLVE_RID 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_addinf  TYPE RCGADDINF, "   
lt_x_text_tab  TYPE STANDARD TABLE OF ESPPH_APIPP_TAB_TYPE, "   
lv_nothing_done  TYPE ESPPH_APIPP_TAB_TYPE, "   
lv_i_header  TYPE ESPPH_APIPH_WA_TYPE, "   
lv_phrase_refused  TYPE ESPPH_APIPH_WA_TYPE, "   
lt_x_longtext_tab  TYPE STANDARD TABLE OF ESPPH_APIPL_TAB_TYPE, "   
lt_i_join_tab  TYPE STANDARD TABLE OF ESPPH_APIPJ_TAB_TYPE, "   
lv_internal_error  TYPE ESPPH_APIPJ_TAB_TYPE, "   
lt_i_ref_tab  TYPE STANDARD TABLE OF ESPPH_APIPO_TAB_TYPE. "   

  CALL FUNCTION 'HM52_TEXT_RESOLVE_RID'  "NOTRANSL: EH&S: Auflösen des Textpatterns für Gefahrgutvorschrift RID
    EXPORTING
         I_ADDINF = lv_i_addinf
         I_HEADER = lv_i_header
    TABLES
         X_TEXT_TAB = lt_x_text_tab
         X_LONGTEXT_TAB = lt_x_longtext_tab
         I_JOIN_TAB = lt_i_join_tab
         I_REF_TAB = lt_i_ref_tab
    EXCEPTIONS
        NOTHING_DONE = 1
        PHRASE_REFUSED = 2
        INTERNAL_ERROR = 3
. " HM52_TEXT_RESOLVE_RID




ABAP code using 7.40 inline data declarations to call FM HM52_TEXT_RESOLVE_RID

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!