Skip to Content
0

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

Mar 01, 2017 at 09:23 AM

60

avatar image

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

10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bhushan Walgotwar Mar 02, 2017 at 05:35 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Bhushan Walgotwar Mar 02, 2017 at 01:52 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Bhushan Walgotwar Mar 02, 2017 at 05:34 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Mar 02, 2017 at 02:05 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded