Create attachments (URLs) for a given MM Prerequisite: SAP ABAP /TESISPLM/MM_ATTACH_URL (package /TESISPLM/T4S_MISC)
- Parameters
-
inputDict | a 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)"