Skip to Content
avatar image
Former Member

How to retrieve software component or SWCV in message mapping using UDF

Hi team,

My requirement is to retrieve "software component" name or "SWCV" name in message mapping using UDF.
Can anyone please suggest on this.

Thanks,

Bhushan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 02, 2017 at 05:35 PM

    Hello,

    Thank you for your quick reply.

    I like to elaborate more on my question.

    In our PI system, we have two software component version (eg. SWCV_DT_* and SWCV_PT_*) for development and production track resp. for some internal requirement.
    Both these SWCVs contain the same objects.

    Now in message mapping, I need the software component version name to be distinguished within mapping themselves dynamically.

    @Manoj : Yes, I agree. temporarily we have hardcoded it. But need a dynamic approach to get the SWCV name in message mapping.

    I am currently going through below links but need your suggestion.

    https://archive.sap.com/discussions/thread/1182081

    https://help.sap.com/doc/javadocs_nw75_sps06/7.5.6/en-US/PI/index.html

    Thanks,

    Bhushan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2017 at 01:52 PM

    Hi Manoj,

    Thank you for your reply.
    I like to elaborate more on my question.

    In our PI system, we have two software component versions (ex. SWCV_DT_* and SWCV_PT_*) for development and production track resp. due to some project internal requirement. However, the objects used within these two SWCVs are exactly the same.

    In message mapping, we need SWCV name to be distinguished dynamically within message mapping itself.

    Yes, I agree with the option of hardcoding and we have temporarily incorporated it. But we need a dynamic approach to get SWCV name in message mapping.

    We are also trying to figure out this dynamic approach referring to below thread and PI Mapping & Lookup APIs available.

    https://archive.sap.com/discussions/thread/1182081

    Please suggest your comments.

    Thanks,
    Bhushan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2017 at 05:34 PM

    Hi Manoj,

    Thank you for your reply.

    I like to elaborate more on my question. In our PI system, we have two software component versions(ex. SWCV_DT_* and SWCV_PT_*) for development and production track resp. for some project internal requirement. Both these SWCVs contain the same objects.

    Now in message mapping, we need the SWCV name to be distinguished dynamically within the message mapping itself.

    I agree with the option of hardcoding and have already incorporated this temporarily. But we need a dynamic approach to get the SWCV name in the message mapping.

    We are analyzing more based on below thread and referring to PI Mapping and lookup APIs

    https://archive.sap.com/discussions/thread/1182081

    Please suggest your comments for proceeding with this dynamic approach.

    Thanks,

    Bhushan

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2017 at 02:05 PM

    Hi Bhushan!

    Maybe I don't understand you right but why not to use bussiness components/systems from ID instead. They should be different for development/production systems.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded