Skip to Content

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

splitting First names to tow different fields

Hi Sap All.

I have got a requirement in an Idoc to File Interface where I need to take employee First names field from Source and pass it to two different fields .

First names (sagar ravi kumar) - > First_nam(sagar)

First names (sagar ravi kumar) - > Secnond_names ( ravi kumar).

the only hint we got here is Space -> the second name should start with first space and end to until the string is finished).

can any one help me in this.

must I go for UDF to achieve this in mapping.

Regards.

Jagdish.

Former Member
replied

Jagdish,

have you write the udf like below..i have just tested Raghu's code, its working perfectly fine to me..please check what you mentioned argument names and result name

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question