Purpose
The purpose of this document is to show a possibility on how ECTR can be configured to create materials on a document with an internal or external number.
Overview
A material number can be created with an internal number or with an umber given by the user in an external number range.
The use case is e.g. that material type "FERT" requires an internal number assignment and the material type "HALB" requires an external number.
Solution
Use the material_master_template - Feature in the dtype.xml to define a section for an internal and external number assignment:
dtype.xml
<DType ...> ... <material_create material_creation_method="deferred"> <material_master_template material_template="151" material_number_assignment="internal" material_default_class=""/> <material_master_template material_template="88" material_number_assignment="external" material_default_class=""/> </material_create> </DType>
Related Content
Related Documents
See Operations Guide chapter "Structure of Element <material_master_template> ".
Related SAP Notes/KBAs
-
2 Comments
Ralf Katzer
According to the Operations Guide, the attribute
material_template
is optional in the elementmaterial_master_template.
Great, I don't want to define a template either, but only allow external and internal number assignment.
I have tried:
<material_create
material_creation_method="deferred"
material_type="HAFE"
material_template=""
material_plant_assignment=""
material_default_class="">
<material_master_template
material_number_assignment="internal"/>
<material_master_template
material_number_assignment="external"/>
</material_create>
How can I switch between external and internal numbering in the material creation Dialog if there is not defined any material_template?
Sebastian Kiesel
The guide will be corrected as soon as possible. (PLM-24078)