UDF can be written for many different purpose, and with many different way of coding. Still, there should be some reusable coding/statement/patterns that keep on occurs again and again. In this document, is my attempt to list down some common coding/statement and patterns that known. Below meant to be building blocks, mean not use it standalone, and should mix and match with other building blocks to come out something useful. It just like LEGO. 🙂
I had made a post in SCN, not going to repeat it here. Click this link to check it out. Like if you like 🙂
http://scn.sap.com/docs/DOC-63651
UDF Basic Building Block
It’s remarkable for me to have a website, which is helpful in favor of my know-how.
thanks admin
Great SAP Blog Article for this topic. Very intuitive. THANK YOU!
Hi Yee,
I have a doubt on the below UDF.
https://blogs.sap.com/2015/04/20/udf-basic-building-block/
for (int i = 0; i < contextValues.length; i++){
String value = contextValues[i];
if (!ResultList.CC.equals(value)){
result.addValue(value);
}
}
The about udf is for context or Queue.
Please check and confirm.
Thank you
Krishna
Hi Krishna,
Since is check if is context change or not using ResultList.CC.equals(value), so is for whole queue, not particular context.
Thank you so much for reply.
But you mentioned in the blog that execution type is Context but it’s technically a queue.
I am referring for this blog https://blogs.sap.com/2015/04/20/udf-basic-building-block/ with remove context UDF. Please clarify my doubt.
I am a big fan of you for this website.