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
Tagged on:

5 thoughts on “UDF Basic Building Block

  • October 5, 2015 at 2:00 pm
    Permalink

    It’s remarkable for me to have a website, which is helpful in favor of my know-how.
    thanks admin

    Reply
  • July 18, 2018 at 10:53 pm
    Permalink

    Great SAP Blog Article for this topic. Very intuitive. THANK YOU!

    Reply
  • February 11, 2022 at 1:10 am
    Permalink

    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

    Reply
    • February 14, 2022 at 7:40 pm
      Permalink

      Hi Krishna,

      Since is check if is context change or not using ResultList.CC.equals(value), so is for whole queue, not particular context.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *