cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

manoj_khavatkopp
Active Contributor
0 Kudos

Why don't you hardcode , your object always remains in that SWCV only right that's not dynamic.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member190293
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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