Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

TEXT_CONVERT_XLS_TO_SAP FM suppressing leading zero

$
0
0

Hi Gurus,

 

I am having issue where the FM TEXT_CONVERT_XLS_TO_SAP is suppressing the leading zeroes of the values in my original text.

 

Using conversion exits after the FM is not really feasible as the amount of leading zeroes are not the same.

 

Example of the value of MARA-MFRPN in my text:  

                                                 00001234

                                                 000975673

                                                 0048567

 

The output of TEXT_CONVERT_XLS_TO_SAP would be:

                                        1234

                                        975673

                                        48567

 

I would like to retain the exact number of leading zeroes just like in the text else the result would not be able to be found from MARA based on MFRPN when MFRPN and MATNR contains different values.

 

EG: MATNR                           MFRPN

 

       SAP00000001                 00000001

       SAP000000012               000000012


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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