![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
checkBillOfMaterialExistence2 inputDict ?blnUseInternalMaterialNumber? | |
check if a BOM exists More... | |
createBillOfMaterial args | |
This function creates a BOM via the CSAP_MAT_BOM_CREATE function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. More... | |
createBillOfMaterial2 args | |
This function creates a BOM via the CSAP_MAT_BOM_CREATE function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. More... | |
deleteBillOfMaterial args | |
Deletes an existing SAP BOM object via CSAP_MAT_BOM_DELETE. More... | |
findBom4Material Material ?Plant? ?BomUsage? ?blnCheckMaterial? ?blnForeignKeyCheck? args | |
Finds all BOMs for a given Material. Transport package /TESISPLM/T4S_BOM must be available. More... | |
findBom4Material2 inputDict ?assignmentToMaterialBomList? | |
Finds all BOMs for a given Material. Transport package /TESISPLM/T4S_BOM must be available. More... | |
init_CT_EX_S_PATH_UPD4BOM_PARAMETER args | |
Init of paramters for the /TESISPLM/CT_EX_S_PATH_UPD4BOM function call. More... | |
initSAPBomHeaderStructure ?CleanMode? args | |
Resets the corresponding global TCL ::SAPDat array within the section BillOfMaterial. More... | |
maintainBillOfMaterial args | |
This function changes a BOM via the CSAP_MAT_BOM_MAINTAIN function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. If necessary, the function is also able creates BOMs. More... | |
maintainBillOfMaterial2 args | |
This function changes a BOM via the CSAP_MAT_BOM_MAINTAIN function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. If necessary, the function is also able creates BOMs. More... | |
readBillOfMaterial args | |
Retrieves information about an existing SAP BOM. All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial. More... | |
readBillOfMaterial2 args | |
Retrieves information about an existing SAP BOM. All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial. More... | |
readBillOfMaterialWithAssemblyFlag args | |
Retrieves information about an existing SAP BOM including the assembly flag per BOM line (like CS03 does). All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial. This procedure requires the ABAP function /TESISPLM/MAT_BOM_READ. More... | |
TPSAP::BOM::BAPI::checkBillOfMaterialExistence2 | inputDict ?blnUseInternalMaterialNumber? | ||
check if a BOM exists
inputDict | a dictionary with required keys what are: |
blnUseInternalMaterialNumber | use internal number TRUE, else FALSE |
Sample code sequence for checkBillOfMaterialExistence2
TPSAP::BOM::BAPI::createBillOfMaterial | args | ||
This function creates a BOM via the CSAP_MAT_BOM_CREATE function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping.
This function is only able to create the BOM alternative 1.
args | none |
TPSAP::BOM::BAPI::createBillOfMaterial2 | args | ||
This function creates a BOM via the CSAP_MAT_BOM_CREATE function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping.
This function is only able to create the BOM alternative 1.
args | none |
TPSAP::BOM::BAPI::deleteBillOfMaterial | args | ||
Deletes an existing SAP BOM object via CSAP_MAT_BOM_DELETE.
args | none |
Sample code sequence
TPSAP::BOM::BAPI::findBom4Material | Material ?Plant? ?BomUsage? ?blnCheckMaterial? ?blnForeignKeyCheck? args | ||
Finds all BOMs for a given Material. Transport package /TESISPLM/T4S_BOM must be available.
Material | material number |
Plant | optional - Default * - If *, all Plants are returned |
BomUsage | optional - Default Empty - If empty, all BUs are returned |
blnCheckMaterial | optional - Default X - Checks if the material exists |
blnForeignKeyCheck | optional - Default X - Checks if the plant and the bom usage exists |
args | none |
TPSAP::BOM::BAPI::findBom4Material2 | inputDict ?assignmentToMaterialBomList? | ||
Finds all BOMs for a given Material. Transport package /TESISPLM/T4S_BOM must be available.
inputDict | a dictionary with required keys what are:
|
plantTableList | a list with new plants |
Sample code sequence for findBom4Material2
TPSAP::BOM::BAPI::init_CT_EX_S_PATH_UPD4BOM_PARAMETER | args | ||
Init of paramters for the /TESISPLM/CT_EX_S_PATH_UPD4BOM function call.
args | none |
TPSAP::BOM::BAPI::initSAPBomHeaderStructure | ?CleanMode? args | ||
Resets the corresponding global TCL ::SAPDat array within the section BillOfMaterial.
CleanMode | (optional - ALL) -> If ALL is provided, the whole section BillOfMaterial:* will be cleared, otherwise only the section BillOfMaterial:Parameter:* and BillOfMaterial:I_STKO:* will be cleared. |
args | none |
TPSAP::BOM::BAPI::maintainBillOfMaterial | args | ||
This function changes a BOM via the CSAP_MAT_BOM_MAINTAIN function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. If necessary, the function is also able creates BOMs.
In case more than one alternative is needed then this function has to be used.
args | none |
TPSAP::BOM::BAPI::maintainBillOfMaterial2 | args | ||
This function changes a BOM via the CSAP_MAT_BOM_MAINTAIN function based on the content of the corresponding ::SAPDat(BillOfMaterial:*) array attributes provided after the mapping. If necessary, the function is also able creates BOMs.
In case more than one alternative is needed then this function has to be used.
args | none |
TPSAP::BOM::BAPI::readBillOfMaterial | args | ||
Retrieves information about an existing SAP BOM. All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial.
Sample code sequence
TPSAP::BOM::BAPI::readBillOfMaterial2 | args | ||
Retrieves information about an existing SAP BOM. All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial.
Sample code sequence
TPSAP::BOM::BAPI::readBillOfMaterialWithAssemblyFlag | args | ||
Retrieves information about an existing SAP BOM including the assembly flag per BOM line (like CS03 does). All import parameters are transferred via the global ::SAPDat TCL array within the section BillOfMaterial. This procedure requires the ABAP function /TESISPLM/MAT_BOM_READ.
Sample code sequence