Skip to Content

How to get parent message id in multimapping


Hi,

I am generating for each line item a good receipt in multimapping. I have the message id . How do I get the parent message id

Thanks for your help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 29, 2014 at 07:22 PM

    Hi Mahesh,

    Did you tried the below UDF?

    UDF to Read Message ID of a PI Message - Code Gallery - SCN Wiki

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 29, 2014 at 08:50 PM

    Hi Mahesh,

    Did you try to get the message ID before split, hope that work but never tried

    other option is rfc lookup:

    Regards

    GB

    Add comment
    10|10000 characters needed characters exceeded


    • Thanks. Do we need to pass any arguments to udf ? I need this parent message id value in one of the target filed. getting mapping exception. cannot create target I didnot pass any arguments to udf