Skip to Content

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

UDF code


I need a UDF code to achieve the below requirement

I have a text file with multiple line items and each line item consisting of 4 fields

I have to sort that file on the date ie club all the line items of a particular date together and process them first


ABC 123 2009-05-12 erty

DEF 546 2009-06-23 ghyt

GHT 456 2009-05-12 lyuy

JYT 765 2009-05-23 kjuy i

s the source file and i have to sort it in the below fashion

ABC 123 2009-05-12 erty

GHT 456 2009-05-12 lyuy

DEF 546 2009-06-23 ghyt

JYT 765 2009-05-23 kjuy

i.e clubbing all the records with the same date first and then processing them first and the rest later

Can this be achieved in message mapping .. ?

Code please



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