SAP Function Modules

NLS_TCP0C_CONSISTENCY_CHECK SAP Function module - TCP0C entries consistency check







NLS_TCP0C_CONSISTENCY_CHECK 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 NLS_TCP0C_CONSISTENCY_CHECK into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM NLS_TCP0C_CONSISTENCY_CHECK - NLS TCP0C CONSISTENCY CHECK





CALL FUNCTION 'NLS_TCP0C_CONSISTENCY_CHECK' "TCP0C entries consistency check
* EXPORTING
*   platforms =                 " nls_stplat    Platform
*   languages =                 " nls_stlang    Language
*   countries =                 " nls_stcoun    Country
*   modifiers =                 " nls_stmodi    Modifier
  IMPORTING
    status =                    " i             status of return
    tcp0c_platform_missing =    " nls_st0cke    missing TCP0C entries
    tcp0c_charco_not_same =     " nls_stchco    inconsistent charco entries
    .  "  NLS_TCP0C_CONSISTENCY_CHECK

ABAP code example for Function Module NLS_TCP0C_CONSISTENCY_CHECK





The ABAP code below is a full code listing to execute function module NLS_TCP0C_CONSISTENCY_CHECK 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_status  TYPE I ,
ld_tcp0c_platform_missing  TYPE NLS_ST0CKE ,
ld_tcp0c_charco_not_same  TYPE NLS_STCHCO .

DATA(ld_platforms) = 'Check type of data required'.
DATA(ld_languages) = 'Check type of data required'.
DATA(ld_countries) = 'Check type of data required'.
DATA(ld_modifiers) = 'Check type of data required'. . CALL FUNCTION 'NLS_TCP0C_CONSISTENCY_CHECK' * EXPORTING * platforms = ld_platforms * languages = ld_languages * countries = ld_countries * modifiers = ld_modifiers IMPORTING status = ld_status tcp0c_platform_missing = ld_tcp0c_platform_missing tcp0c_charco_not_same = ld_tcp0c_charco_not_same . " NLS_TCP0C_CONSISTENCY_CHECK
IF SY-SUBRC EQ 0. "All OK 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_status  TYPE I ,
ld_platforms  TYPE NLS_STPLAT ,
ld_tcp0c_platform_missing  TYPE NLS_ST0CKE ,
ld_languages  TYPE NLS_STLANG ,
ld_tcp0c_charco_not_same  TYPE NLS_STCHCO ,
ld_countries  TYPE NLS_STCOUN ,
ld_modifiers  TYPE NLS_STMODI .

ld_platforms = 'Check type of data required'.
ld_languages = 'Check type of data required'.
ld_countries = 'Check type of data required'.
ld_modifiers = 'Check type of data required'.

SAP Documentation for FM NLS_TCP0C_CONSISTENCY_CHECK


NLS_TCP0C_CONSISTENCY_CHECK check the consistency of TCP0C entries, e.g. ...See here for full SAP fm documentation

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 NLS_TCP0C_CONSISTENCY_CHECK or its description.