Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Leading zeros mapping

$
0
0

Hi tem,

 

I have a question... in my mapping, from source side I may get "MATNR" field value as 700345 or 14AF3B ( could be numeric or alphanumeric)  where if MATNR is 700345, then 12 leading zeros should be added, if 14AF3B comes then it should be same 14AF3B on target side( no leading zeros for alphanumeric)... for this FORMAT NUMBER function is not possible..

 

can anyone suggest what needs to be done when MATNR is numeric, there should be leading 12 zeros, when MATNR is alphanumeric then it should be same alphanumeric without leading zeros?

 

Mapping or UDF should satisfy both conditions mentioned above

 

Thanks in advance


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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