cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove leading zeros in NRO B2B

0 Kudos

Hello,

We have a requirement to remove leading zeros in NRO B2B EDI mappings.

We have maintained maximum value length 6 digits. It causes to get the leading zeros in NRO.

I tried in many ways in the mapping, But, the output not come.

Can you please help me on this.

Thanks in advanced.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Eng and Ramesh,

Thanks for your quick response. I have already tried in that way.

But, the NRO number should be convert after passing through the module parameter which we have maintained in the receiver communication channel.

localejbs/TransmissionNumberModule

It seems that we should have to maintain the module parameter to remove leading zeros in NRO.

Is there any module parameter to remove leading zeros for particular filed.

former_member213558
Active Participant
0 Kudos

yes your are right. this NRO  calls after executed your message mapping. even i faced the same issue. then i mapped IDOC Number to GS06 (since IDOC# is unique). and i'm not sure you'll get a module parameters for the same, better  rise OSS to SAP.

engswee
Active Contributor
0 Kudos

Hi Mohedden

Refer to the following blog under category Zero. It can be achieved by adding a FormatNum block in your mapping logic.

Regards

Eng Swee