Skip to Content
avatar image
Former Member

Importing DTD as External Def.

Hi all,

My Customer gave one DTD file, when i import that under external Def. by seleting the Category a DTD and Messages from the first ELEMENT,I can able to see Structure name under messages TAB and i can able to see ../global/Global.dtd under External References TAB

When i see the imported DTD with mapping editor, it does not have all the structure according to the sample xml file.It has from the middle of the file

They gave another DTD "Global.dtd", i imported this also and this contains the rest of the structure missed above.

What to do in this case, why is this behavior here

REgards

Edited by: Vamsi Krishna on Sep 13, 2010 10:53 PM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 14, 2010 at 04:31 AM

    Vamsi

    I agree with Supriya.. You have to import both DTD Files as one is referencing the other one..And you have to provide the path of the other DTD ( which is shown in the external definition) in the 'Source' place of the referenced DTD.

    Then you will all the elements in the message mapping

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      I was misplacing the Global.dtd path , i was placing the path at status.dtd source it is wrong

      i have to copy and paste the path referenced in global.dtd source

      Thanks to all.Issue solved

      Regards

  • avatar image
    Former Member
    Sep 13, 2010 at 09:08 PM

    Hi,

    Try using some standard 3rd party tool, like XMLSpy to import that DTD and see for yourself if the data definition looks okay.

    - Shibaji

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 14, 2010 at 04:06 AM

    Hi VamSI,

    when ever you open DTD in mapping, it will not be in order, you have to select root node in tha list ,if you select root node the structure will show corectly.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2010 at 04:21 AM

    Hi Vamsi,

    These two are dependent DTDs and hence you have to import both in the system.

    First DTD which you imported have reference to the second one, that is why in External Reference Tab, you saw the Global.dtd element.

    Internally, first DTD calls the second one and hence when both the DTDs are available in system you can see the complete structure.

    Refer the 'References' section from the below link:

    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/frameset.htm

    -Supriya.

    Add comment
    10|10000 characters needed characters exceeded