SAP Function Modules

RSCONTENT_GUID_DECODER SAP Function module - Technical name of the GUID







RSCONTENT_GUID_DECODER is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name RSCONTENT_GUID_DECODER into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSBCTTOOLS
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSCONTENT_GUID_DECODER - RSCONTENT GUID DECODER





CALL FUNCTION 'RSCONTENT_GUID_DECODER' "Technical name of the GUID
  EXPORTING
    i_guid =                    " sysuuid_25    UUID in compressed form
    i_objvers =                 " rsobjvers     Objektversion
    i_tlogo =                   " rstlogo       BW: Objekttyp (TLOGO)
*   i_langu =                   " sylangu       R/3 System, current language
  IMPORTING
    e_techname =                " sobj_name     Technical Name
    e_datatarget =              " sobj_name     Name of Data Target
    e_type =                    " rszdeftp      Type of an element
    e_shtext =                  " rstxtlg       Text of Object
    e_lntext =                  " rstxtlg       Object Name in Object Directory
    e_whereused =               " sobj_name     Object Name in Object Directory
    e_whereused_before =        " sobj_name     Object Name in Object Directory
    e_whereused_afterwards =    " sobj_name     Object Name in Object Directory
  EXCEPTIONS
    NOT_FOUND = 1               "
    .  "  RSCONTENT_GUID_DECODER

ABAP code example for Function Module RSCONTENT_GUID_DECODER





The ABAP code below is a full code listing to execute function module RSCONTENT_GUID_DECODER including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_techname  TYPE SOBJ_NAME ,
ld_e_datatarget  TYPE SOBJ_NAME ,
ld_e_type  TYPE RSZDEFTP ,
ld_e_shtext  TYPE RSTXTLG ,
ld_e_lntext  TYPE RSTXTLG ,
ld_e_whereused  TYPE SOBJ_NAME ,
ld_e_whereused_before  TYPE SOBJ_NAME ,
ld_e_whereused_afterwards  TYPE SOBJ_NAME .

DATA(ld_i_guid) = 'some text here'.
DATA(ld_i_objvers) = 'some text here'.
DATA(ld_i_tlogo) = 'some text here'.
DATA(ld_i_langu) = 'Check type of data required'. . CALL FUNCTION 'RSCONTENT_GUID_DECODER' EXPORTING i_guid = ld_i_guid i_objvers = ld_i_objvers i_tlogo = ld_i_tlogo * i_langu = ld_i_langu IMPORTING e_techname = ld_e_techname e_datatarget = ld_e_datatarget e_type = ld_e_type e_shtext = ld_e_shtext e_lntext = ld_e_lntext e_whereused = ld_e_whereused e_whereused_before = ld_e_whereused_before e_whereused_afterwards = ld_e_whereused_afterwards EXCEPTIONS NOT_FOUND = 1 . " RSCONTENT_GUID_DECODER
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_techname  TYPE SOBJ_NAME ,
ld_i_guid  TYPE SYSUUID_25 ,
ld_e_datatarget  TYPE SOBJ_NAME ,
ld_i_objvers  TYPE RSOBJVERS ,
ld_e_type  TYPE RSZDEFTP ,
ld_i_tlogo  TYPE RSTLOGO ,
ld_e_shtext  TYPE RSTXTLG ,
ld_i_langu  TYPE SYLANGU ,
ld_e_lntext  TYPE RSTXTLG ,
ld_e_whereused  TYPE SOBJ_NAME ,
ld_e_whereused_before  TYPE SOBJ_NAME ,
ld_e_whereused_afterwards  TYPE SOBJ_NAME .

ld_i_guid = 'Check type of data required'.
ld_i_objvers = 'Check type of data required'.
ld_i_tlogo = 'Check type of data required'.
ld_i_langu = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSCONTENT_GUID_DECODER or its description.