on 10-29-2019 6:01 AM
Hi,
I call a couple of BAPIs from .net. In some places I need to add leading zeros to values in order to get the correct results. For example I must add leading zeros to material numbers in BAPI_GET_LIST's MATERIAL_RANGE (LOW and HIGH values).
When looking at the bapi definition is there a way to determine when I have to add leading zeros and when I don't have to add leading zeros? So far I hardcoded the padding with leading zeros, but I would rather determine that programatically.
Thanks
Sascha
Hello,
Looking to the BAPI is a little bit difficult to confirm this. Usually the domain used in data type of the field's structure is the same of the standard table. If it was the case, you can check if some specific field use a "Conversion Exit" in domain... A conversion exit determines if you have to deal with leading zeros.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.