on 01-11-2010 12:36 PM
Dear All
I have a situation where I have to format the amount number during message mapping. Requirement is as follows.
Transaction Amount: Must be of 13 digits Right aligned, padded with 0s. e.g. "500.00" will sent as u201C0000000050000"
Is there any possibility to use FormatNumber function available in Message Formating for this pupose or how can I write a code to create my own function.
Hi Adnan,
Format number can satisfy your requirement.
Check below link.
http://wiki.sdn.sap.com/wiki/display/HOME/MessageMappingFormat+Number
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
put as target format of formatNum function 13 zeros.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.