Skip to Content
avatar image
Former Member

Reading Attributes using ABAP DOm

Dear Collegues,

I have source message given below

PO --- element

Header --- element

ID --- element

SchemaID --- Attribute

SchemaAgencyID--- attribute

Can any one provide code snippets using ABAp DOm for reading the attributes

Regards

shekar chandra

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 24, 2007 at 05:49 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2007 at 06:59 AM

    Hi,

    Try to look at this code probably it can helpful for you. This link is convesion of IDOC to flat file structures using ABAP mapping. First few lines of codes gives good of what your expecting.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a

    Regards,

    M.Rao

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2007 at 07:37 AM

    Thanks for your info,

    We need to downcast node to element.

    Finally i got it.

    Add comment
    10|10000 characters needed characters exceeded