Skip to Content

User Defined Function in SAP HCI

Hi,

We are using SAP HCI to for integrating on-premise SAP ECC and on-cloud SAP C4C systems. There is a requirement to map source field TDLINE to a target field CustomerText. TDLINE has 0...unbounded cardinality where as target field has 0...1 cardinality. Now, we need to concatenate all the values of TDLINE queue and map it to the target CustomerText field.

This requirement is straightforward in PI by creating a UDF. However, in HCI there is no provision to create a UDF in mapping. Is there a way we create some kind of custom function to achieve the mapping functionality we need?

Regards,

Netrey

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 21, 2015 at 07:37 AM

    Hi Netrey,

    You can use groovy scripts in HCI. Please refer to Sujit's blog on how to use it:

    Blog 9: Scripting in Integration Flows

    Thanks,

    Sanjeev.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 15, 2015 at 07:52 AM

    Thanks guys for your responses.

    We took a different approach. We downloaded the standard content for PI which we canmodify in the PI system, create UDF or whatever we used to do in PI comfortably and then import this mapping into HCI iFlow. It works perfectly.

    Regards,

    Netrey

    Add comment
    10|10000 characters needed characters exceeded

  • May 20, 2015 at 06:10 PM
    Add comment
    10|10000 characters needed characters exceeded

  • May 16, 2016 at 09:16 AM

    Hi Netrey,

    Could you please let me know how you solve your problem?

    I would be appreciate if you can help me.

    Regards

    Sin

    Add comment
    10|10000 characters needed characters exceeded