Skip to Content

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

Need Help in UDF?

Hi,

Iam doing File to Mail Senario, i have to send an Attachment in the mail.

Iam doing mapping for content

File structure

Row 0 ...Undounded

feild 0..Undounded

Iam mapping the field vaule to content in Mail package.

in sender side i have file in 10 rows

Row1

Row2

Row3

Row4

Row4

Row5

....

in mail attachement iam geting data as

Row1_cC_Row2_cC_Row3.................

Iamnot geting data in 10 Rows,i wrote an UDF for this its not working.

int length=data.length;

StringBuffer sb=new StringBuffer();

for(int i=0;i<length;i++)

{

sb.append(data<i>+"\n");

}

result.addValue(sb.toString());

Please Help in this Issue

Regards,

Phani

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