on 09-09-2007 9:36 PM
Our previous consultant in our company use the following call function in the code to convert a flat file into another flat file for BW to read and the call function code is like:
CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP'
EXPORTING
ISO_CODE = Input_field(3)
IMPORTING
SAP_CODE = output_variable
UNIQUE =
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
Could we know why this function has to be used? Does that mean that some unit from outside world cann't be accepted by SAP BW?
Thanks
Hi Kevin,
AFAIK, ISO codes in R/3 are important if you use EDI functionality. In other cases it (ISO codes) might be not used at all. And the call of this function module might be useless. You need to check it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Probably, you are right. Looks like the conversion is needed. Maybe the logic inside some BW code/routine/ABAP was built hardcoded reg ISO codes.
As a conclusion, you may either:
1. Do not use this call to FM and see if the result is corrupted. If corrupted - the call is necessary. Leave it as it is.
2. Try tracking the logic of data transformation in order to figure out what is the input and output of data (ISO code > SAP internal code > whatever...). The decision will depend on what you find out. No recipes!
Your system might be having a standard base unit of measure and to maintain the integrity of your source data this routine might have been developed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This function module is used tot Convert an ISO measurement unit code into the SAP code.
go to SE37 > enter the functin module > hit execute button.
Then give your ISP code and hit execute agian. You can see th ISO code been converted to the SAP Code.
This result will be stored in BW while loading data to the BW.
Hope this helps
Praveen
All Unit of Measure codes are stored in Table: T006.
You can check this table in SE16 > T006 > Execute.
in the results screen you can view ISOCodes udner ISOCODE column. Compare these codes with SAPCodes using function module.
<i>Usually all these codes are transferred from Source System as part of transfer global settings. (RSA1 > source system > right click > transfer global settings). I dont know what is the purpose of using this function module in your case.</i>
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.