cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reverse engineer from XSD file, and generating XSM model, how to populate Attribute comment in PDM?

forum_memberSum
Newcomer
0 Kudos
174

Hi, I have used the "Reverse engineer->XML Definition" and this way imported XSD files (defining ISO messages) into PowerDesigner 16.5 (DataArchitect license).

Then I used "Tools->Generate Physical Data Model".

The XSD Complex Type contains the attribute comments as below on Documentation:

<xs:element name="_baseType" minOccurs="0" type="xs:string">
   <xs:annotation>
      <xs:appinfo>Schema for processing submitted applications</xs:appinfo>
      <xs:documentation>When sub-classing, this defines the super-class</xs:documentation>
   </xs:annotation>
</xs:element>

MY issue is, while generating Physical Data Model, my expectation is that this Documentation info should be available on attribute comment in PDM.

forum_memberSum_0-1726662626367.png

Any hint on this on how to achieve it?

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

arnaud_laurent
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

After reversing the xsd file in an XML model, you can find the values of "appinfo" and "documentation" in the Annotation tab of the element properties window.
However, please note that there is no automatic mapping defined in the PDM for these properties during XML > PDM generation. To ensure that the annotation values are propagated to the generated table, you can use transformations to copy the contents and paste them into the comment field.

You can refer to this example for more information:
https://community.sap.com/t5/technology-blogs-by-sap/example-on-using-powerdesigner-transformation/b...

Kind regards