cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve message ID in HCI

Former Member
0 Kudos

Hi Experts,

we are retrieving PI message ID by writing an udf in message mapping and passing to target field.

and we are importing this message mappings on HCI tenant and this is not working.

can some on tell how message ID gets generated on HCI and how can we map this to a target field.

Thanks in Adv

BR,

Murali

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

We Imported PI mapping to HCI, the function for generating message ID dint worked.

we just wrote an groovy code and this was working.

BR,

Murali.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Adding few cents to Raghu's point.

UDFs are not supported in HCI. It supports only Groovy or Java script, its called 'Mapping Scripts'.

refer : SAP HANA Cloud Integration (External)

reg, avi

former_member186851
Active Contributor
0 Kudos

Hello Murali,

Guess UDFs are not supported by HCI.

Use scripts are per the below link

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Is this UDF working in SAP PI?

What is the error you are facing on HCI tenant?

Please verify the message mapping files in HCI are imported successfully or not?

Message ID will get generated during runtime,Every XI message must be uniquely identifiable in the system landscape by message ID.

Irrespective of its type (asynchronous/synchronous request, synchronous response).This is generated by the sender of the message.

XI messages are generated by the messaging service of the Adapter Framework.

Please refer the below thread

Get MessageID in udf | SCN

Special Access to Mapping Runtime Constants - SAP NetWeaver Exchange Infrastructure - SAP Library

How to get the message ID generated by the PI s... | SCN

Regards

Bhargava Krishna