Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

convsersion in XSLT mapping...

Hi All,

I am having a requirement where i have to fill the attribute value of a element depending upon the values coming from source and do the date conversions using XSLT mapping. The source and target structures are like that:

Target Structure is:

<InvoiceHeader> (Record)

<VBELN> (element)

<FKDAT> (date element dd/mm/yyyy)

Target Structure:

<InvoiceDetailRequestHeader>(Element)

<invoiceID> (Atrribute) mapped to <VBELN>

<invoice date> (Attribute) mapped to <FKDAT>

The target XSD should come like this:

<InvoiceDetailRequestHeader invoiceID="2100204628" purpose="standard" operation="new" invoiceDate="2009-10-31T00:00:00+5:30">

Request you all to help.

Thanks

Amit

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question