T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
TPSAP::TESISPLM::MM_ATTACHMENTS Namespace Reference

Functions

 maintainURLs MatNr Address Description args
 Create attachments (URLs) for a given MM Prerequisite: SAP ABAP /TESISPLM/MM_ATTACH_URL (package /TESISPLM/T4S_MISC) More...
 
 maintainURLs2 inputDict
 Create attachments (URLs) for a given MM Prerequisite: SAP ABAP /TESISPLM/MM_ATTACH_URL (package /TESISPLM/T4S_MISC) More...
 

Function Documentation

◆ maintainURLs()

TPSAP::TESISPLM::MM_ATTACHMENTS::maintainURLs   MatNr Address Description args  

Create attachments (URLs) for a given MM Prerequisite: SAP ABAP /TESISPLM/MM_ATTACH_URL (package /TESISPLM/T4S_MISC)

Deprecated:
Please use the new maintainURLs2 function
Parameters
MatNr
Address(URL)
Description
Returns

◆ maintainURLs2()

TPSAP::TESISPLM::MM_ATTACHMENTS::maintainURLs2   inputDict  

Create attachments (URLs) for a given MM Prerequisite: SAP ABAP /TESISPLM/MM_ATTACH_URL (package /TESISPLM/T4S_MISC)

Parameters
inputDicta dictionary with required keys what are (none): the possible keys are:
  • MATNR Material number
  • ADDRESS URL
  • DESCRIPTION Short description of content
Returns
dict structure with the following elements:
  • Status OK|ERROR
  • ErrorMessage last error message
  • NoOfMessages number of messages
  • LogMessageMessage(1 .. n)
  • LogMessageSeverity(1 .. n) and TCL array ::MMAttachUrlResultDat or ERROR

Sample code sequence for maintainURLs2

1 set resultDict [::TPSAP::TESISPLM::MM_ATTACHMENTS::maintainURLs2 [dict create MATNR 200-200 ADRESS http://algy.dev.tplocal:2004/test DESCRIPTION Test]
2 if { [dict get $resultDict Status] eq "OK" } {
3  foreach e [array names ::MMAttachUrlResultDat] {
4  puts "$e => $::MMAttachUrlResultDat($e)"
5  }
6 }