DL_ADS2KIPUPL_READ_SUPPLIER 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 DL_ADS2KIPUPL_READ_SUPPLIER 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
CALL FUNCTION 'DL_ADS2KIPUPL_READ_SUPPLIER' "SPEC2000 IP Upload: Read existing Suppliers from IPDB
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
CHANGING
cs_part_data = " ads2kipupl_h_spcippdr Hierarchy table structure: ADIP SPEC2000
EXCEPTIONS
CALL_PARAMETERS_INCORRECT = 1 " Parameters are incorrect
. " DL_ADS2KIPUPL_READ_SUPPLIER
The ABAP code below is a full code listing to execute function module DL_ADS2KIPUPL_READ_SUPPLIER 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_cs_part_data) = 'Check type of data required'.
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'. . CALL FUNCTION 'DL_ADS2KIPUPL_READ_SUPPLIER' 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 CHANGING cs_part_data = ld_cs_part_data EXCEPTIONS CALL_PARAMETERS_INCORRECT = 1 . " DL_ADS2KIPUPL_READ_SUPPLIER
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
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_cs_part_data | TYPE ADS2KIPUPL_H_SPCIPPDR , |
| ld_i_sqnbr | TYPE ADSPC_SQNBR , |
| ld_i_pnr | TYPE ADSPC_PNR , |
| ld_i_mfr | TYPE ADSPC_MFR , |
| ld_i_eip | TYPE ADSPC_EIP , |
| ld_i_eim | TYPE ADSPC_EIM . |
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 DL_ADS2KIPUPL_READ_SUPPLIER or its description.
DL_ADS2KIPUPL_READ_SUPPLIER - SPEC2000 IP Upload: Read existing Suppliers from IPDB DL_ADS2KIPUPL_READ_PART - SPEC2000 IP Upload: Read an existing part from IPDB DL_ADS2KIPUPL_READ_LOCATION - SPEC2000 IP Upload: Read existing Locations from IPDB DL_ADS2KIPUPL_READ_EIP - SPEC2000 IP Upload: Read an existing end item parts for a part from IP DL_ADS2KIPUPL_GET_PARTS_LIST - Get List of Parts for a given sequence number & location DLVUNIT_ACTIVE_CHECK -