SAP Function Modules

ADS2KIPUPL_BUILD_TEXT_KEY SAP Function module - SPEC2000 IP Upload: Build Key for Location level Miscellaneous Text







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

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


Pattern for FM ADS2KIPUPL_BUILD_TEXT_KEY - ADS2KIPUPL BUILD TEXT KEY





CALL FUNCTION 'ADS2KIPUPL_BUILD_TEXT_KEY' "SPEC2000 IP Upload: Build Key for Location level Miscellaneous Text
  EXPORTING
    i_sqnbr =                   " adspc_sqnbr   Sequence number
    i_pnr =                     " adspc_pnr     Part Number
    i_mfr =                     " adspc_mfr     Manufacturer Code
*   i_eip = SPACE               " adspc_eip     End Item Part Number
*   i_eim = SPACE               " adspc_eim     End Item Manufacturer Code
*   i_spl = SPACE               " adspc_spl     Supplier Code
*   i_csn = SPACE               " adspc_csn     Catalog Sequence Number
  IMPORTING
    e_tdname =                  " tdobname      Name
    e_language =                " sylangu       SAP System, current language
  EXCEPTIONS
    CALL_PARAMETERS_INCORRECT = 1  "            Call parameters are incorrect
    .  "  ADS2KIPUPL_BUILD_TEXT_KEY

ABAP code example for Function Module ADS2KIPUPL_BUILD_TEXT_KEY





The ABAP code below is a full code listing to execute function module ADS2KIPUPL_BUILD_TEXT_KEY 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_tdname  TYPE TDOBNAME ,
ld_e_language  TYPE SYLANGU .

DATA(ld_i_sqnbr) = 'Check type of data required'.
DATA(ld_i_pnr) = 'Check type of data required'.
DATA(ld_i_mfr) = 'Check type of data required'.
DATA(ld_i_eip) = 'Check type of data required'.
DATA(ld_i_eim) = 'Check type of data required'.
DATA(ld_i_spl) = 'Check type of data required'.
DATA(ld_i_csn) = 'Check type of data required'. . CALL FUNCTION 'ADS2KIPUPL_BUILD_TEXT_KEY' EXPORTING i_sqnbr = ld_i_sqnbr i_pnr = ld_i_pnr i_mfr = ld_i_mfr * i_eip = ld_i_eip * i_eim = ld_i_eim * i_spl = ld_i_spl * i_csn = ld_i_csn IMPORTING e_tdname = ld_e_tdname e_language = ld_e_language EXCEPTIONS CALL_PARAMETERS_INCORRECT = 1 . " ADS2KIPUPL_BUILD_TEXT_KEY
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_tdname  TYPE TDOBNAME ,
ld_i_sqnbr  TYPE ADSPC_SQNBR ,
ld_e_language  TYPE SYLANGU ,
ld_i_pnr  TYPE ADSPC_PNR ,
ld_i_mfr  TYPE ADSPC_MFR ,
ld_i_eip  TYPE ADSPC_EIP ,
ld_i_eim  TYPE ADSPC_EIM ,
ld_i_spl  TYPE ADSPC_SPL ,
ld_i_csn  TYPE ADSPC_CSN .

ld_i_sqnbr = 'Check type of data required'.
ld_i_pnr = 'Check type of data required'.
ld_i_mfr = 'Check type of data required'.
ld_i_eip = 'Check type of data required'.
ld_i_eim = 'Check type of data required'.
ld_i_spl = 'Check type of data required'.
ld_i_csn = '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 ADS2KIPUPL_BUILD_TEXT_KEY or its description.