Skip to Content

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

mapping issues

Hi,

my source structure is like this:

<Category CategoryType="">

<ProductQuantity>

</ProductQuantity>

<DateTimeInformation>

<DateTime DateTimeQualifier=""/>

<DateTimeRange>

<FromDateTime/>

<ToDateTime/>

</DateTimeRange>

</DateTimeInformation>

</Category>

<DateTime><DateTimeRange> this two tags, everytime we can have only one of them.

my target structure is:

<Category CategoryType="">

<ProductQuantity>

</ProductQuantity>

<DateTimeInformation>

<Date/>

</DateTimeInformation>

</Category>

i have two mapping rules, one is if <DateTimeRange> occurs in the source, then split the range into different dates(every Monday), like if range is from 1th june to 19th june, then three dates, 1th june, 8th june, 15th june should be put into the target strucuture in three records.

the second mapping is if AvailabilityClassificationType and Date is exactly the same in source, we add the quantity measurement and put it into one record in target..

can i solve this in graphical mapping? or i need to use UDF?

Thanks a lot

Jessica

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