Fonction SAP API_S2K_IP_PART_UPDATE - Update a Part into Initial Provisioning Database

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IS_SPCIPHDR API_SPCIPHDR u 36 IP Transmission Header Data
IS_SPCIPPDR API_CSPCIPPDR u 138 Spare Parts/End Items
IS_SPCIPPDRX API_SPCIPPDRX u 23 Spare Parts/End Items Technical Data
IS_UPDATE_OPTIONS API_SPCIP_OPTIONS u 6 Update Options

Paramètre Reférence Type Long. Description
ES_SPCIPPDR SPCIPPDR u 166 Spare parts / End items
ES_UPLOAD_STATUS API_SPCIP_UPLOAD_STATUS u 6 Upload Status

Paramètre Reférence Long. Facultatif Description
CT_MSG_COMM ADS2KIPUPL_MSG_COMM 736
CT_MSG_COMM_DOC_PARAMS ADS2KIPUPL_MSG_COMM_DOC_PARAMS 92
ET_SPCIPCSN SPCIPCSN 100 SPEC2000 Initial Provisioning: Table of SPCIPCSN
ET_SPCIPCSN_TEXT API_SPCIPCSN_TEXT 155 Long Text for Locations
ET_SPCIPEFF SPCIPEFF 65 SPEC2000 Initial Provisioning: Table of SPCIPEFF
ET_SPCIPEXTN API_SPCIPEXTN 245 Extension Structure - for additional user inclusions
ET_SPCIPOCH SPCIPOCH 68 SPEC2000 Initial Provisioning: Table of SPCIPOCH
ET_SPCIPOSDS SPCIPOSDS 65 SPEC2000 Initial Provisioning: Table of SPCIPOSDS
ET_SPCIPPARTS SPCIPPARTS 112 SPEC2000 Initial Provisioning: Table of SPCIPPARTS
ET_SPCIPPDR_TEXT API_SPCIPPDR_TEXT 142 SPEC2000 Initial Provisioning: MSC (PDR)
ET_SPCIPPQA SPCIPPQA 71 SPEC2000 Initial Provisioning: Table of SPCIPPQA
ET_SPCIPRPDE SPCIPRPDE 161 SPEC2000 Initial Provisioning: Table of SPCIPRPDE
ET_SPCIPSPL SPCIPPDS 267 SPEC2000 Initial Provisioning: Table of SPCIPPDS
ET_SPCIPSPL_TEXT API_SPCIPSPL_TEXT 147 Long Text for Suppliers
ET_SPCIPUOA SPCIPUOA 99 SPEC2000 Initial Provisioning: Table of SPCIPUOA
IT_SPCIPCSN API_CSPCIPCSN 27 Locations
IT_SPCIPCSNX API_SPCIPCSNX 26
IT_SPCIPCSN_TEXT API_SPCIPCSN_TEXT 155
IT_SPCIPEFF API_SPCIPEFF 20 Effectivities
IT_SPCIPEXTN API_SPCIPEXTN 245 Extension Structure - for additional user inclusions
IT_SPCIPOCH API_CSPCIPOCH 22 Other Charges - Code and amount
IT_SPCIPOSDS API_SPCIPOSDS 12 Optional Suppliers and Distributers
IT_SPCIPPARTS API_SPCIPPARTS 39 Alternate/Optional/Modified Commercial Part Numbers
IT_SPCIPPDR_TEXT API_SPCIPPDR_TEXT 142
IT_SPCIPPQA API_CSPCIPPQA 30 Price Breaks
IT_SPCIPRPDE API_CSPCIPRPDE 96 Replacing Parts / Replaced Parts
IT_SPCIPSPL API_CSPCIPSPL 219 Suppliers, Procurement & Procurement Technical Data
IT_SPCIPSPLX API_SPCIPSPLX 37
IT_SPCIPSPL_TEXT API_SPCIPSPL_TEXT 147
IT_SPCIPUOA API_SPCIPUOA 34 Used on Assemblies

Functionality
You can create or update information about a part in the InitialProvisioning database. This data, which can be modified, includes longtext for Parts & Suppliers, Price Breaks, Locations, Suppliers,Procurement & Procurement Technical Data, Effectivities,Interchangeability - Replacing & Replaced Parts,.
This API does a technical check on key fields. If any key fieldtechnical check fails the part/supplier/location is rejected.
The API also does some database related checks as to:

  • Whether a new record which comes in does not exist in a database

  • A revision/deletion record that comes in already exists in the
  • database.
    After the key field checks are over, the technical checks are carriedout for the non key fields, followed by the business checks for therecord. All check failures are recorded as errors in the message table.
    Once all the checks are successfully completed, the API calls thefunction ADS2KIPUPL_UPDATE, which writes the records into the IPDatabase.
    You can make additions to the user inclusions using the ExtensionStructure.
    Import Parameters:
    • IS_UPDATE_OPTIONS: Update Options (It is possible to bypass IPDB,
    • carry out technical checks for the key and non key fields)
      • IS_SPCIPHDR: IP Transmission Header Data (The Header information to be
      • used in the Part. The header data is not updated into the SPCIPHDRtable. Use API_S2K_IP_HDR_CREATE function for this)
        • IS_SPCIPPDR: Spare Parts/End Items (Part information that needs to be
        • updated to the SPCIPPDR table)
          • IS_SPCIPPDRX: Spare Parts/End Items Technical Data (Information
          • pertaining to the update status of each field of the IS_SPCIPPDRparameter). While a part is being revised, selective update or deleteof individual TEIs is possible as the updation may contain delta data.The update flag (for each TEI) will be set to 'R' or 'D' depending uponwhether it is being inserted/modified or deleted. For example, if theSPC field has to be modified in the database, mark IS_SPCIPPDRX-SPCwith value #R# and provide the required value in the SPC field in theIS_SPCIPDR parameter.
            Export Parameters:
            • ES_UPLOAD_STATUS: Upload Status

            • ES_SPCIPPDR: Spare Parts / End Items

            • Tables:
              • IT_SPCIPPDR_TEXT

              • IT_SPCIPPARTS

              • IT_SPCIPSPL

              • IT_SPCIPSPLX

              • IT_SPCIPSPL_TEXT

              • IT_SPCIPOSDS

              • IT_SPCIPPQA

              • IT_SPCIPOCH

              • IT_SPCIPCSN

              • IT_SPCIPCSNX

              • IT_SPCIPCSN_TEXT

              • IT_SPCIPEFF

              • IT_SPCIPUOA

              • IT_SPCIPRPDE

              • IT_SPCIPEXTN - Customer specific extenstion data. Data is updated using
              • the BADI #ADS2KIPUPL_PART_API'
                Example

                Notes

                • All the errors during the technical and business checks get populated
                • into the message table.
                  • Status check: The API checks whether the current status of the
                  • Part, Supplier or Location allows the current business transaction to beexecuted.
                    • The miscellaneous text, local fabrication material text, and the
                    • additional descriptive text appearing in the file are stored in thedatabase.

                      Further information
                      Other APIs:

                      • API_S2K_IP_GET_PARTS_LIST

                      • API_S2K_IP_PART_READ

                      • API_S2K_IP_PART_UPDATE