![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
changePurchaseInfoRecord args | |
Updates an existing purchase info record in SAP. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
changeVendor args | |
Updates an existing SAP vendor object. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
createPurchaseInfoRecord args | |
Creates a purchase info record in SAP. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
createVendor args | |
Creates a new SAP vendor object. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
getDetail VendorNo CompanyCode args | |
Retrieves SAP vendor information. More... | |
getDetail2 inputDict | |
Retrieves SAP vendor information. More... | |
getExternalNumber InternalNumber | |
Retrieves the SAP external vendor id for a given SAP internal vendor id. More... | |
getInfoRecordInfo args | |
Checks if a purchase info record object exists in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section PurchaseInfoRecord. More... | |
getInfoRecordInfo2 args | |
Checks if a purchase info record object exists in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section PurchaseInfoRecordGetList. More... | |
getInternalNumber ExternalNumber | |
Retrieves the SAP internal vendor id for a given SAP external vendor id. More... | |
getList args | |
Matchcode search for vendor objects in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S JCO technology is used. Therefore it is necessary to download and install the proper SAP JCO libraries. More... | |
getList2 inputDict inputDictList | |
Matchcode search for vendor objects in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. More... | |
getVendorContacts VendorNo args | |
Retrieve SAP contact information for a given vendor. More... | |
getVendorInfo args | |
Retrieves SAP vendor information. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. More... | |
InfoRecordGetList Vendor Material PurInfoRec | |
Matchcode search for purchase info record objects in SAP. This method enables you to list purchasing info records. Pass on the desired selection criteria (e.g. vendor, material, plant) as import parameters. More... | |
InfoRecordGetList2 Vendor Material PurInfoRec | |
Matchcode search for purchase info record objects in SAP. This method enables you to list purchasing info records. Pass on the desired selection criteria (e.g. vendor, material, plant) as import parameters. More... | |
readAMPL args | |
Retrieves SAP approved manufacturer part list information. More... | |
updateAMPL args | |
Updates SAP approved manufacturer part list information. More... | |
updatePurchaseInforRecord args | |
Create or update a SAP vendor object based on a check wheter the vendor exists already. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
updateVendor args | |
Create or update a SAP vendor object based on a check wheter the vendor exists already. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well. More... | |
TPSAP::VENDOR::changePurchaseInfoRecord | args | ||
TPSAP::VENDOR::changeVendor | args | ||
Updates an existing SAP vendor object. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well.
TPSAP::VENDOR::createPurchaseInfoRecord | args | ||
TPSAP::VENDOR::createVendor | args | ||
Creates a new SAP vendor object. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well.
TPSAP::VENDOR::getDetail | VendorNo CompanyCode args | ||
Retrieves SAP vendor information.
VendorNo | |
CompanyCode |
TPSAP::VENDOR::getDetail2 | inputDict | ||
Retrieves SAP vendor information.
inputDict | a dictionary with required keys what are:
|
Sample code sequence for getDetail2
TPSAP::VENDOR::getExternalNumber | InternalNumber | ||
Retrieves the SAP external vendor id for a given SAP internal vendor id.
InternalNumber | SAP internal vendor id |
TPSAP::VENDOR::getInfoRecordInfo | args | ||
Checks if a purchase info record object exists in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section PurchaseInfoRecord.
TPSAP::VENDOR::getInfoRecordInfo2 | args | ||
Checks if a purchase info record object exists in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section PurchaseInfoRecordGetList.
TPSAP::VENDOR::getInternalNumber | ExternalNumber | ||
Retrieves the SAP internal vendor id for a given SAP external vendor id.
ExternalNumber | SAP external vendor id |
TPSAP::VENDOR::getList | args | ||
Matchcode search for vendor objects in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S JCO technology is used. Therefore it is necessary to download and install the proper SAP JCO libraries.
TPSAP::VENDOR::getList2 | inputDict inputDictList | ||
Matchcode search for vendor objects in SAP. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor.
inputDict | a dictionary with required keys what are:
|
Sample code sequence
TPSAP::VENDOR::getVendorContacts | VendorNo args | ||
Retrieve SAP contact information for a given vendor.
VendorNo |
TPSAP::VENDOR::getVendorInfo | args | ||
Retrieves SAP vendor information. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor.
TPSAP::VENDOR::InfoRecordGetList | Vendor Material PurInfoRec | ||
Matchcode search for purchase info record objects in SAP. This method enables you to list purchasing info records. Pass on the desired selection criteria (e.g. vendor, material, plant) as import parameters.
Vendor | |
Material | |
PurInfoRec | - Info Record Number |
TPSAP::VENDOR::InfoRecordGetList2 | Vendor Material PurInfoRec | ||
Matchcode search for purchase info record objects in SAP. This method enables you to list purchasing info records. Pass on the desired selection criteria (e.g. vendor, material, plant) as import parameters.
Vendor | |
Material | |
PurInfoRec | Info Record Number |
TPSAP::VENDOR::readAMPL | args | ||
Retrieves SAP approved manufacturer part list information.
To achieve this functionality, the T4S readAMPL ABAP is used. Therefore it is necessary to implement this ABAP as well. The corresponding input parameters are defined through the global TCL array ::SAPDat before the call is executed: set ::SAPDat(AMPL:PARAMETER:I_BMATN) $SapMatNo I_BMATN = Number of firm's own (internal) inventory-managed material
args | none |
TPSAP::VENDOR::updateAMPL | args | ||
Updates SAP approved manufacturer part list information.
To achieve this functionality, the T4S updateAMPL ABAP is used. Therefore it is necessary to implement this ABAP as well. The corresponding input parameters are defined through the global TCL array ::SAPDat before the call is executed. Possible values: set ::SAPDat(AMPL:YYAMPL:BMATN:$Index) "" -> Number of firm's own (internal) inventory-managed material set ::SAPDat(AMPL:YYAMPL:AMPNR:$Index) "" -> Number of AMPL record set ::SAPDat(AMPL:YYAMPL:EMATN:$Index) "" -> Material Number Corresponding to Manufacturer Part Number set ::SAPDat(AMPL:YYAMPL:MFRNR:$Index) "" -> Number of a Manufacturer set ::SAPDat(AMPL:YYAMPL:WERKS:$Index) "" -> Plant set ::SAPDat(AMPL:YYAMPL:DATUV:$Index) "" -> Date as of which the MPN materail may be procured set ::SAPDat(AMPL:YYAMPL:DATUB:$Index) "" -> Date until which the MPN material may be procured set ::SAPDat(AMPL:YYAMPL:REVLV:$Index) "" -> Revision Level set ::SAPDat(AMPL:YYAMPL:AMPSP:$Index) "" -> Blocked manufacturer/part combinations set ::SAPDat(AMPL:YYAMPL:REOAM:$Index) "" -> Deletion indicator: AMPL record set ::SAPDat(AMPL:YYAMPL:ERDAT:$Index) "" -> Date on Which Record Was Created set ::SAPDat(AMPL:YYAMPL:ERNAM:$Index) "" -> Name of Person who Created the Object Example: set ::SAPDat(AMPL:YYAMPL:BMATN:$iAMPL_CreateIndex) "$SapMatNo" set ::SAPDat(AMPL:YYAMPL:AMPNR:$iAMPL_CreateIndex) "$sAMPL_CreateIndex" set ::SAPDat(AMPL:YYAMPL:EMATN:$iAMPL_CreateIndex) "$sMfgPartSAPMatNo" set ::SAPDat(AMPL:YYAMPL:WERKS:$iAMPL_CreateIndex) "$::T4S_Defaults(PlantId)" set ::SAPDat(AMPL:YYAMPL:MFRNR:$iAMPL_CreateIndex) "$sMFR_NO" set ::SAPDat(AMPL:YYAMPL:DATUV:$iAMPL_CreateIndex) "[clock format [clock seconds] -format "Ymd"]" set ::SAPDat(AMPL:YYAMPL:DATUB:$iAMPL_CreateIndex) "99991231"
args | none |
TPSAP::VENDOR::updatePurchaseInforRecord | args | ||
Create or update a SAP vendor object based on a check wheter the vendor exists already. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well.
TPSAP::VENDOR::updateVendor | args | ||
Create or update a SAP vendor object based on a check wheter the vendor exists already. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well.