Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

SAP BPC 10 NW: Multiple conversions for same field

$
0
0

HI experts

I am facing a small issue which I thought would be straight forward. I have a property field being updated from an attribute of BW info object. Here I want to apply two conversions simultaneously, one for removing the spaces and other for replacing “-“ with “_”.

I have written following conversion file for this:

EXTERNAL

INTERNAL

*

js:%external%.toString().replace(/\s+/g,"")

*

js:%external%.replace("-","_")

And the transformation has Convert_Internal = NO

But it seems only the first condition is working and the second one is ignored.

Is there any way to use both the conversions work on same field. I tried to create two tabs in conversion file and direct the conversion from transformation file twice for both the conditions but only first one worked here too.

 

Thanks

-SM


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>