![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
call_TESISPLM_MM_GET_CONFIGURATION args | |
Calls SAP function '/TESISPLM/MM_GET_CONFIGURATION'. This call requires the function /TESISPLM/MM_GET_CONFIGURATION to be imported into the SAP system. More... | |
call_TESISPLM_T4S_READ_PROD_VERS args | |
Calls SAP function '/TESISPLM/T4S_READ_PROD_VERS'. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system. More... | |
changeProductionVersion ?intProdVersionTableIndex? args | |
Creates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU) More... | |
checkConfigProfilExists args | |
Checks if a configuration profile exists in SAP for a given material master. To achieve this functionality, the T4S call transaction mechanism is used. Therefor it is necessary to implement the T4S call transaction ABAP as well. All import parameters are transferred via the global ::SAPDat TCL array within the section ConfigProfil. More... | |
checkMaterialMasterAvailability MaterialNumber Plant Unit args | |
Checks if a material master is available in SAP within a given plant an unit. More... | |
checkMaterialMasterExistence MaterialNumber args | |
Checks if a material master exists in SAP. More... | |
checkProductionVersion ?intProdVersionTableIndex? args | |
Checks a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU) More... | |
createProductionVersion args | |
Creates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU) More... | |
deleteProductionVersion MaterialNumber Plant VersionId ?intProdVersionTableIndex? args | |
Deletes a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and TESISPLM_T4S_MM must be imported in the corresponding SAP system. More... | |
futureChangeMaterialMasterXPlantStatus MaterialNumber ChangeNumber XPlantMatStatus args | |
Performs a X-Plant status future change on the given Material Master using transaction MM12. To achieve this functionality, the T4S call transaction mechanism is used. Therefor it is necessary to implement the T4S call transaction ABAP as well. More... | |
getAllMaterialMasterInfos MaterialNumber ?Plant? ?CompCode? ?ValuationArea? ?ValuationType? ?StorageLoc? ?SalesOrg? ?DistrChannel? ?WhseNumber? ?StorageType? args | |
Retrieves SAP material master information using the BAPI BAPI_MATERIAL_GET_ALL. More... | |
getAllMaterialMasterInfosReadSingle args | |
Retrieves SAP material master information using the RFC function MATERIAL_READ_ALL_SINGLE. More... | |
getExternalMaterialNumber InternalNumber | |
Retrieves the SAP external material id for a given SAP internal material id. More... | |
getInternalMaterialNumber ExternalNumber | |
Retrieves the SAP internal material id for a given SAP external material id. More... | |
getMaterialList args | |
Matchcode search for material masters in SAP. More... | |
getMaterialMasterInfo MaterialNumber ?Plant? ?ValuationArea? ?ValuationType? args | |
Retrieves SAP material master information using the BAPI BAPI_MATERIAL_GET_DETAIL. More... | |
getMaterialMasterInfoRfc MaterialNumber args | |
Retrieves SAP material master information using the BAPI RFC_GET_MATERIAL_DATA. More... | |
getMaterialMasterLongText MaterialNumber args | |
Retrieves the SAP material master long text. More... | |
getPlantsOfMaterial MaterialNumber args | |
Retrieves all existing SAP plants including the maintained views for a given material master. The views are returned using the PSTAT attribute using one character per plant. The following mapping can be used to determine which view is maintained in which plant: A Work scheduling B Accounting C Classification D MRP E Purchasing F Production resources/tools G Costing K Basic data L Storage P Forecasting Q Quality management S Warehouse management V Sales X Plant stocks Z Storage location stocks . More... | |
getProductionVersionTableIndex MaterialNumber Plant VersionId args | |
Reads all production versions for a given MM and returns the table index for this version. This index can then be used as as input for the call transaction prod version update. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system. More... | |
getTaxIndicator4MaterialMaster MaterialNumber ?Plant? args | |
Returns the tax indicator (purchase view) for a given MM. More... | |
getTaxIndicator4MaterialMaster2 MaterialNumber ?Plant? | |
Returns the tax indicator (purchase view) for a given MM. More... | |
getViewList4Plant MaterialMaster Plant | |
Retrieves all existing views for a given SAP material master and plant. More... | |
linkMaterialMaster2DIR strMatNr strDocNr strDocType strDocPart strDocVers ?intLinkTabIndex? ?blnSelectAllVersions? args | |
Links a Material Master to an existing DIR. The link is created from the MM to the DIR (and not the other way around), so it will be created even if the DIR is already released. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well (T4S SAP Transport Package TESISPLM_T4S_CALL_TRANSACTION). Keep in mind: If the customer uses the ALV Grid in SAP, Call Transaction does not work anymore... More... | |
maintainProductionVersion args | |
Creates or updates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and TESISPLM_T4S_MM (for the read/update) must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU) More... | |
readMaterialConfiguration MaterialNumber ?Plant? args | |
Reads the configuration of a material variant This call requires the function /TESISPLM/MM_GET_CONFIGURATION to be imported into the SAP system. More... | |
readProductionVersion MaterialNumber Plant ?VersionId? args | |
Reads one or all production versions for a given MM. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system. More... | |
reserveMaterialNumber MaterialType Industry | |
Allocates the next free material master id in SAP. More... | |
reserveMaterialNumber2 MaterialType Industry | |
Allocates the next free material master id in SAP. More... | |
setClassificationData_by_Reference SourceObjectKey TargetObjectKey ?ExecuteStoreSAPDat2MultiTransferCache4Type? | |
Used to create an object classification based on an existing SAP object (reference object). IMPORTANT: In order to activate the multi classification functionality, T4S::storeSAPDat2MultiTransferCache Material (or any other T4S transfer object) must be called in advance. More... | |
setCrossPlantConfigurableMaterial MaterialNumber CrossPlantConfigurableMaterialNumber args | |
Sets the Cross Plant Configurable Material number for a given Material Master. More... | |
setKonfMatFlag MatNr Flag args | |
Set a flag if a material master is a configurable material in SAP. To achieve this functionality, the T4S call transaction mechanism is used. Therefor it is necessary to implement the T4S call transaction ABAP as well. More... | |
setMaterialMaster_by_Reference DTM_Name blnOverwriteFields MatNr_Reference ?Plant? ?Comp_Code? ?Val_Area? ?Val_Type? ?Storage_Loc? ?SalesOrg? ?Distr_Channel? ?Whse_Number? ?Storage_Type? args | |
Used to create a material master on the basis of a existing SAP material master. More... | |
setMaterialMasterLongText LineIndex LanguageIso TextId TextLine ?FormatColumn? args | |
Fills the internal buffer for the corresponding MaterialMaster long text transfer to SAP. More... | |
setMaterialMasterNoteLongText LineIndex LanguageIso Plant TextLine ?FormatColumn? args | |
Fills the internal buffer for the corresponding MaterialMaster Note long text transfer to SAP. More... | |
setMaterialMasterSalesLongText LineIndex LanguageIso SalesOrg DistrChan TextLine ?FormatColumn? args | |
Fills the internal buffer for the corresponding MaterialMaster Sales long text transfer to SAP. More... | |
setTaxIndicator4MaterialMaster MaterialNumber Plant TaxIndicator ?PurchaseViewIndex? args | |
Sets the tax indicator (purchase view) for a given MM. This call requires the function /TESISPLM/T4S_CALL_TRANSACTION to be imported into the SAP system. More... | |
updateMaterialMaster UpdateMode | |
This function creates/updates or extents a MaterialMaster via the BAPi_MATERIAL_SAVEDAT API. If no external material number is specified an new one is generated by the TPSAP::MM::reserveMaterialNumber function. More... | |
updateMaterialMaster2 UpdateMode | |
This function creates/updates or extents a MaterialMaster via the BAPi_MATERIAL_SAVEDAT API. If no external material number is specified an new one is generated by the TPSAP::MM::reserveMaterialNumber function. More... | |
TPSAP::MM::call_TESISPLM_MM_GET_CONFIGURATION | args | ||
Calls SAP function '/TESISPLM/MM_GET_CONFIGURATION'. This call requires the function /TESISPLM/MM_GET_CONFIGURATION to be imported into the SAP system.
TPSAP::MM::call_TESISPLM_T4S_READ_PROD_VERS | args | ||
Calls SAP function '/TESISPLM/T4S_READ_PROD_VERS'. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system.
TPSAP::MM::changeProductionVersion | ?intProdVersionTableIndex? args | ||
Creates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU)
intProdVersionTableIndex | - Optional (Default Empty) - The SAP table/row index of the given production version. If empty, T4S will calculate the right index internally. |
TPSAP::MM::checkConfigProfilExists | args | ||
Checks if a configuration profile exists in SAP for a given material master. To achieve this functionality, the T4S call transaction mechanism is used. Therefor it is necessary to implement the T4S call transaction ABAP as well. All import parameters are transferred via the global ::SAPDat TCL array within the section ConfigProfil.
TPSAP::MM::checkMaterialMasterAvailability | MaterialNumber Plant Unit args | ||
Checks if a material master is available in SAP within a given plant an unit.
MaterialNumber | |
Plant | |
Unit | |
args | none |
TPSAP::MM::checkMaterialMasterExistence | MaterialNumber args | ||
Checks if a material master exists in SAP.
MaterialNumber | |
args | none |
TPSAP::MM::checkProductionVersion | ?intProdVersionTableIndex? args | ||
Checks a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU)
intProdVersionTableIndex | - Optional (Default Empty) - The SAP table/row index of the given production version. If empty, T4S will calculate the right index internally. |
TPSAP::MM::createProductionVersion | args | ||
Creates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU)
TPSAP::MM::deleteProductionVersion | MaterialNumber Plant VersionId ?intProdVersionTableIndex? args | ||
Deletes a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and TESISPLM_T4S_MM must be imported in the corresponding SAP system.
MaterialNumber | |
Plant | |
VersionId | |
intProdVersionTableIndex | - optional (default = empty) - If provided, this table index will be used by call transaction for the prod version deletion instead of calculating the index automatically using TPSAP::MM::getProductionVersionTableIndex |
TPSAP::MM::futureChangeMaterialMasterXPlantStatus | MaterialNumber ChangeNumber XPlantMatStatus args | ||
Performs a X-Plant status future change on the given Material Master using transaction MM12. To achieve this functionality, the T4S call transaction mechanism is used. Therefor it is necessary to implement the T4S call transaction ABAP as well.
MaterialNumber | |
ChangeNumber | |
XPlantMatStatus |
TPSAP::MM::getAllMaterialMasterInfos | MaterialNumber ?Plant? ?CompCode? ?ValuationArea? ?ValuationType? ?StorageLoc? ?SalesOrg? ?DistrChannel? ?WhseNumber? ?StorageType? args | ||
Retrieves SAP material master information using the BAPI BAPI_MATERIAL_GET_ALL.
MaterialNumber | |
Plant | (optional - empty) |
CompCode | (optional - empty) |
ValuationArea | (optional - empty) |
ValuationType | (optional - empty) |
StorageLoc | (optional - empty) |
SalesOrg | (optional - empty) |
DistrChannel | (optional - empty) |
WhseNumber | (optional - empty) |
StorageType | (optional - empty) |
args | none |
TPSAP::MM::getAllMaterialMasterInfosReadSingle | args | ||
Retrieves SAP material master information using the RFC function MATERIAL_READ_ALL_SINGLE.
All import parameters are transferred via the global ::SAPDat TCL array within the section READSINGLE.
args | none |
Sample code sequence
TPSAP::MM::getExternalMaterialNumber | InternalNumber | ||
Retrieves the SAP external material id for a given SAP internal material id.
InternalNumber | SAP internal material id |
TPSAP::MM::getInternalMaterialNumber | ExternalNumber | ||
Retrieves the SAP internal material id for a given SAP external material id.
ExternalNumber | SAP external material id |
TPSAP::MM::getMaterialList | args | ||
Matchcode search for material masters in SAP.
All import parameters are transferred via the global ::SAPDat TCL array within the section MaterialSelection.
args | none |
TPSAP::MM::getMaterialMasterInfo | MaterialNumber ?Plant? ?ValuationArea? ?ValuationType? args | ||
Retrieves SAP material master information using the BAPI BAPI_MATERIAL_GET_DETAIL.
MaterialNumber | |
Plant | (optional - empty) |
ValuationArea | (optional - empty) |
ValuationType | (optional - empty) |
args | none |
TPSAP::MM::getMaterialMasterInfoRfc | MaterialNumber args | ||
Retrieves SAP material master information using the BAPI RFC_GET_MATERIAL_DATA.
MaterialNumber | |
args | none |
TPSAP::MM::getMaterialMasterLongText | MaterialNumber args | ||
Retrieves the SAP material master long text.
MaterialNumber | |
args | none |
TPSAP::MM::getPlantsOfMaterial | MaterialNumber args | ||
Retrieves all existing SAP plants including the maintained views for a given material master. The views are returned using the PSTAT attribute using one character per plant. The following mapping can be used to determine which view is maintained in which plant:
A Work scheduling
B Accounting
C Classification
D MRP
E Purchasing
F Production resources/tools
G Costing
K Basic data
L Storage
P Forecasting
Q Quality management
S Warehouse management
V Sales
X Plant stocks
Z Storage location stocks
.
MaterialNumber | |
args | none |
TPSAP::MM::getProductionVersionTableIndex | MaterialNumber Plant VersionId args | ||
Reads all production versions for a given MM and returns the table index for this version. This index can then be used as as input for the call transaction prod version update. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system.
MaterialNumber | |
Plant | |
VersionId |
TPSAP::MM::getTaxIndicator4MaterialMaster | MaterialNumber ?Plant? args | ||
Returns the tax indicator (purchase view) for a given MM.
MaterialNumber | |
Plant | - optional (default - Empty) - If empty, the tax indicator is returned for all countries the MM exists for (based on the plant) |
TPSAP::MM::getTaxIndicator4MaterialMaster2 | MaterialNumber ?Plant? | ||
Returns the tax indicator (purchase view) for a given MM.
MaterialNumber | |
Plant | - optional (default - Empty) - If empty, the tax indicator is returned for all countries the MM exists for (based on the plant) |
Sample code sequence
TPSAP::MM::getViewList4Plant | MaterialMaster Plant | ||
Retrieves all existing views for a given SAP material master and plant.
MaterialMaster | |
Plant |
TPSAP::MM::linkMaterialMaster2DIR | strMatNr strDocNr strDocType strDocPart strDocVers ?intLinkTabIndex? ?blnSelectAllVersions? args | ||
Links a Material Master to an existing DIR. The link is created from the MM to the DIR (and not the other way around), so it will be created even if the DIR is already released. To achieve this functionality, the T4S call transaction mechanism is used. Therefore it is necessary to implement the T4S call transaction ABAP as well (T4S SAP Transport Package TESISPLM_T4S_CALL_TRANSACTION). Keep in mind: If the customer uses the ALV Grid in SAP, Call Transaction does not work anymore...
strMatNr | - Material Master |
strDocNr | - DIR number |
strDocType | - DIR type |
strDocPart | - DIR part |
strDocVers | - DIR version |
intLinkTabIndex | - optional (default = 04) - Index of MM-DIR link Tab in SAP MM02 additional data section |
blnSelectAllVersions | - optional (default = true) - If true, the checkbox "all versions" will be checked so that a new row can be added to the DIR link table |
TPSAP::MM::maintainProductionVersion | args | ||
Creates or updates a production version in SAP using CALL TRANSACTION and SAP transaction C223. In order to use this function, the T4S SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and TESISPLM_T4S_MM (for the read/update) must be imported in the corresponding SAP system. All input parameters are transported using the global TCL array ::SAPDat and the array pattern ProdVersion. Mandatory attributes are: ::SAPDat(ProdVersion:MKAL:WERKS) ::SAPDat(ProdVersion:MKAL:MATNR) ::SAPDat(ProdVersion:MKAL_EXPAND:VERID) ::SAPDat(ProdVersion:MKAL_EXPAND:TEXT1) ::SAPDat(ProdVersion:MKAL_EXPAND:ADATU) ::SAPDat(ProdVersion:MKAL_EXPAND:BDATU)
TPSAP::MM::readMaterialConfiguration | MaterialNumber ?Plant? args | ||
Reads the configuration of a material variant This call requires the function /TESISPLM/MM_GET_CONFIGURATION to be imported into the SAP system.
MaterialNumber | |
Plant | - Optional - Default: Empty |
TPSAP::MM::readProductionVersion | MaterialNumber Plant ?VersionId? args | ||
Reads one or all production versions for a given MM. This call requires the function /TESISPLM/T4S_READ_PROD_VERS to be imported into the SAP system.
MaterialNumber | |
Plant | |
VersionId | - optional (default = empty); If provided, only this version is read from SAP. |
TPSAP::MM::reserveMaterialNumber | MaterialType Industry | ||
Allocates the next free material master id in SAP.
MaterialType | - SAP material type for which the number should be allocated |
Industry | - SAP industry sector for which the number should be allocated |
TPSAP::MM::reserveMaterialNumber2 | MaterialType Industry | ||
Allocates the next free material master id in SAP.
MaterialType | - SAP material type for which the number should be allocated |
Industry | - SAP industry sector for which the number should be allocated |
TPSAP::MM::setClassificationData_by_Reference | SourceObjectKey TargetObjectKey ?ExecuteStoreSAPDat2MultiTransferCache4Type? | ||
Used to create an object classification based on an existing SAP object (reference object). IMPORTANT: In order to activate the multi classification functionality, T4S::storeSAPDat2MultiTransferCache Material (or any other T4S transfer object) must be called in advance.
SourceObjectKey | - The SAP object, from which the classification data should be read. |
TargetObjectKey | - The SAP object, to which the classification data should be copied to. |
ExecuteStoreSAPDat2MultiTransferCache4Type | (optional - empty) - If set, the function T4S::storeSAPDat2MultiTransferCache will be called using this type |
TPSAP::MM::setCrossPlantConfigurableMaterial | MaterialNumber CrossPlantConfigurableMaterialNumber args | ||
Sets the Cross Plant Configurable Material number for a given Material Master.
MaterialNumber | |
CrossPlantConfigurableMaterialNumber |
TPSAP::MM::setKonfMatFlag | MatNr Flag args | ||
TPSAP::MM::setMaterialMaster_by_Reference | DTM_Name blnOverwriteFields MatNr_Reference ?Plant? ?Comp_Code? ?Val_Area? ?Val_Type? ?Storage_Loc? ?SalesOrg? ?Distr_Channel? ?Whse_Number? ?Storage_Type? args | ||
Used to create a material master on the basis of a existing SAP material master.
DTM_Name | |
blnOverwriteFields | - if "false", no value already set in the global TCL array ::SAPDat will be overwritten |
MatNr_Reference | - template material master id |
Plant | (optional - empty) |
Comp_Code | (optional - empty) |
Val_Area | (optional - empty) |
Val_Type | (optional - empty) |
Storage_Loc | (optional - empty) |
SalesOrg | (optional - empty) |
Distr_Channel | (optional - empty) |
Whse_Number | (optional - empty) |
Storage_Type | (optional - empty) |
TPSAP::MM::setMaterialMasterLongText | LineIndex LanguageIso TextId TextLine ?FormatColumn? args | ||
Fills the internal buffer for the corresponding MaterialMaster long text transfer to SAP.
LineIndex | Table line index in the buffer (not the textline index) |
LanguageIso | Langugae indicator according to ISO 639 |
TextId | Text ID |
TextLine | Text line String |
FormatColumn | The FormatColumn contains format keys which define the output formatting of the text or initiate control commands. possible values are (extracted from the SAP Help): / New line The subsequent text is written to a new line during output formatting. The formatting attributes of the last paragraph format are retained. /: SAPscript control command The characters contained in the actual text line are not output as text but are regarded as a control command. They are not interpreted or executed until output formatting of the text. Control commands must always fit into a line fully. Subsequent lines are not allowed. /* Comment line This line is not taken into account during output formatting of the text. = Extended line This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /= Like extended line But the subsequent text is placed in a new line during output formatting. ( Raw line The subsequent editor line is not interpreted by the SAPscript composer during output formatting. This means that character formats, symbols, tab characters, masking characters, or hypertext links which may be contained in this line are not evaluated and are therefore passed unchanged to the output device. The text contained in this line is also appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /( Like raw line But the subsequent text is placed in a new line during output formatting. >x Fixed line |
args | reserved for future usage |
TPSAP::MM::setMaterialMasterNoteLongText | LineIndex LanguageIso Plant TextLine ?FormatColumn? args | ||
Fills the internal buffer for the corresponding MaterialMaster Note long text transfer to SAP.
LineIndex | Table line index in the buffer (not the text-line index) |
LanguageIso | Language indicator according to ISO 639 |
Plant | Plant Id |
TextLine | Text line String |
FormatColumn | The FormatColumn contains format keys which define the output formatting of the text or initiate control commands. possible values are (extracted from the SAP Help): / New line The subsequent text is written to a new line during output formatting. The formatting attributes of the last paragraph format are retained. /: SAPscript control command The characters contained in the actual text line are not output as text but are regarded as a control command. They are not interpreted or executed until output formatting of the text. Control commands must always fit into a line fully. Subsequent lines are not allowed. /* Comment line This line is not taken into account during output formatting of the text. = Extended line This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /= Like extended line But the subsequent text is placed in a new line during output formatting. ( Raw line The subsequent editor line is not interpreted by the SAPscript composer during output formatting. This means that character formats, symbols, tab characters, masking characters, or hypertext links which may be contained in this line are not evaluated and are therefore passed unchanged to the output device. The text contained in this line is also appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /( Like raw line But the subsequent text is placed in a new line during output formatting. >x Fixed line |
args | reserved for future usage |
TPSAP::MM::setMaterialMasterSalesLongText | LineIndex LanguageIso SalesOrg DistrChan TextLine ?FormatColumn? args | ||
Fills the internal buffer for the corresponding MaterialMaster Sales long text transfer to SAP.
LineIndex | Table line index in the buffer (not the text-line index) |
LanguageIso | Language indicator according to ISO 639 |
SalesOrg | Sales Organization |
DistrChan | Distribution Channel |
TextLine | Text line String |
FormatColumn | The FormatColumn contains format keys which define the output formatting of the text or initiate control commands. possible values are (extracted from the SAP Help): / New line The subsequent text is written to a new line during output formatting. The formatting attributes of the last paragraph format are retained. /: SAPscript control command The characters contained in the actual text line are not output as text but are regarded as a control command. They are not interpreted or executed until output formatting of the text. Control commands must always fit into a line fully. Subsequent lines are not allowed. /* Comment line This line is not taken into account during output formatting of the text. = Extended line This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /= Like extended line But the subsequent text is placed in a new line during output formatting. ( Raw line The subsequent editor line is not interpreted by the SAPscript composer during output formatting. This means that character formats, symbols, tab characters, masking characters, or hypertext links which may be contained in this line are not evaluated and are therefore passed unchanged to the output device. The text contained in this line is also appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line. /( Like raw line But the subsequent text is placed in a new line during output formatting. >x Fixed line |
args | reserved for future usage |
TPSAP::MM::setTaxIndicator4MaterialMaster | MaterialNumber Plant TaxIndicator ?PurchaseViewIndex? args | ||
Sets the tax indicator (purchase view) for a given MM. This call requires the function /TESISPLM/T4S_CALL_TRANSACTION to be imported into the SAP system.
MaterialNumber | |
Plant | |
TaxIndicator | |
PurchaseViewIndex | - optional (default empty) - The index of the purchase view in MM02; If empty, this index will be calculated based on the existing views of the given MM. |
TPSAP::MM::updateMaterialMaster | UpdateMode | ||
This function creates/updates or extents a MaterialMaster via the BAPi_MATERIAL_SAVEDAT API. If no external material number is specified an new one is generated by the TPSAP::MM::reserveMaterialNumber function.
UpdateMode | Defines the update mode for that transfer
|
Sample code sequence
TPSAP::MM::updateMaterialMaster2 | UpdateMode | ||
This function creates/updates or extents a MaterialMaster via the BAPi_MATERIAL_SAVEDAT API. If no external material number is specified an new one is generated by the TPSAP::MM::reserveMaterialNumber function.
UpdateMode | Defines the update mode for that transfer
|
Sample code sequence