Find the Header of a Bill of Material (BOM) - Siemens PLM
文章推薦指數: 80 %
Example: Copy. tplet BomHeader $BomDocument findHeader "MEProductContext" if {$BomHeader == "null"} { error "Could not find the BOM Header" } ... FindtheHeaderofaBillofMaterial(BOM)Prerequisites:LoadaPLMXMLFileExample:tplet BomHeader $BomDocument findHeader "MEProductContext"if {$BomHeader == "null"} { error "Could not find the BOM Header"}Wealreadymentionedextensions.Someoftheseimplementmethodswecallshortcuts.TheyarejusttheretoprovideashorterandmoreconvenientwaytoachieveataskthanwouldbepossiblewiththeSDKalone.ThefindHeadermethodisashortcuttonavigatetotherootofastructuremadeupofoccurrenceelements.ThereareseveralflavorsofoccurrencesforBillOfMaterialstructures,Plantstructures,BillofProcessstructuresetc.ThecontextTypeargumentofthefindHeadermethodismatchedagainstthesubTypeattributeofaStructureContextelementinthecourseofsearchingtheoccurrencethatrepresentstheheaderofthestructure:contextTypetypeofstuctureMEProductContextBillofMaterialMEPlantContextPlantMEProcessContextBillofProcessesIfthefindHeadershortcutisnotabletofindtheheaderoftheBOMstructureitreturnsthespecialnullobjecthandle.Allmethodsthatreturnobjecthandleswillreturnthenullobjecthandletoindicatethefactthatthereisnosuchobject.
延伸文章資訊
- 1Byte order mark - Wikipedia
The byte order mark (BOM) is a particular usage of the special Unicode character, U+FEFF BYTE ORD...
- 2Dump the Contents of a BOM Header - Siemens PLM
The arguments -maxLevel 0 mean to dump just this object, the BOM header in this case. -traceIds. ...
- 3Changing a BOM Header | SAP Help Portal
You can goto the BOM header from various screens: Initial screen. Item overviews. Item detail. Cl...
- 4SAP Bom Header Tables - TCode Search
- 5The byte-order mark (BOM) in HTML - W3C
When sending custom HTTP headers the code to set the header must be called before output begins. ...