![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Namespaces | |
GEN | |
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... | |
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... | |
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 | ||
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.
References TPSAP::CALL_TRANSACTION::call_transaction(), TPSAP::getSessionLogChannel(), and tpwrite().
Referenced by updatePurchaseInforRecord().
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.
References TPSAP::CALL_TRANSACTION::call_transaction(), TPSAP::S4::checkIfTargetSystemIsS4HANA(), TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().
Referenced by updateVendor().
TPSAP::VENDOR::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.
References TPSAP::CALL_TRANSACTION::call_transaction(), TPSAP::getSessionLogChannel(), and tpwrite().
Referenced by updatePurchaseInforRecord().
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.
References TPSAP::CALL_TRANSACTION::call_transaction(), TPSAP::S4::checkIfTargetSystemIsS4HANA(), TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().
Referenced by updateVendor().
TPSAP::VENDOR::getDetail | VendorNo CompanyCode args | ||
Retrieves SAP vendor information.
VendorNo | |
CompanyCode |
References TPSAP::VENDOR::GEN::callBAPI_VENDOR_GETDETAIL(), getInternalNumber(), TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().
Referenced by T4S::PROP::CUSTOM::MAPPING::GetVENDORData(), getVendorInfo(), updateAMPL(), and updateVendor().
TPSAP::VENDOR::getExternalNumber | InternalNumber | ||
Retrieves the SAP external vendor id for a given SAP internal vendor id.
InternalNumber | SAP internal vendor id |
References TPSAP::getSessionLogChannel().
Referenced by T4S::VENDOR::CUSTOM::MAPPING::SAP_Vendor2TC_Object().
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.
References TPSAP::getSessionLogChannel(), InfoRecordGetList(), and tpwrite().
Referenced by updatePurchaseInforRecord().
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.
References TPSAP::getSessionLogChannel(), InfoRecordGetList2(), and tpwrite().
TPSAP::VENDOR::getInternalNumber | ExternalNumber | ||
Retrieves the SAP internal vendor id for a given SAP external vendor id.
ExternalNumber | SAP external vendor id |
References TPSAP::getSessionLogChannel().
Referenced by getDetail(), and getVendorContacts().
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.
References tpco_scanHEX16().
TPSAP::VENDOR::getVendorContacts | VendorNo args | ||
Retrieve SAP contact information for a given vendor.
VendorNo |
References getInternalNumber(), T4X::CORE::getSessionLogChannel(), and tpwrite().
TPSAP::VENDOR::getVendorInfo | args | ||
Retrieves SAP vendor information. All import parameters are transferred via the global ::SAPDat TCL array within the section Vendor.
References getDetail(), TPSAP::getSessionLogChannel(), and tpwrite().
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 |
References InfoRecordGetList2(), and tpco_scanHEX16().
Referenced by getInfoRecordInfo().
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 |
References TPSAP::VENDOR::GEN::callBAPI_INFORECORD_GETLIST().
Referenced by getInfoRecordInfo2(), and InfoRecordGetList().
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 |
References TPSAP::getSessionLogChannel(), and tpco_scanHEX16().
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 |
References TPSAP::MM::checkMaterialMasterExistence(), TPSAP::doCommitOrRollBackBasedOnStatus(), getDetail(), TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().
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.
References changePurchaseInfoRecord(), createPurchaseInfoRecord(), and getInfoRecordInfo().
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.
References changeVendor(), createVendor(), and getDetail().