on 03-31-2008 11:56 AM
Hi all,
i am working on upgrades. i have found function module "ISO_TO_SAP_MEASURE_UNIT_CODE". which is obsolete.
please do suggest replacement.
Thanks in Advance
Hi ,
u can use "'UNIT_OF_MEASURE_ISO_TO_SAP'
here is the sample code.
'ISO_TO_SAP_MEASURE_UNIT_CODE'
CALL FUNCTION 'ISO_TO_SAP_MEASURE_UNIT_CODE'
EXPORTING
iso_code = t_trdet-un_qte_ven
IMPORTING
sap_code = l_sap_un_qte_ven
EXCEPTIONS
not_found = 1
OTHERS = 2.
DATA: l_sap_un_qte_ven LIKE t_trdet-un_qte_ven.
DATA: T_TRHDR LIKE ZVTRHDR OCCURS 0 WITH HEADER LINE,
T_TRDET LIKE ZVTRDET OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP'
EXPORTING
ISO_CODE = t_trdet-un_qte_ven
IMPORTING
SAP_CODE = l_sap_un_qte_ven
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
reward points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use FM UNIT_OF_MEASURE_SAP_TO_ISO.
do reward if it is helpful
Regards,
Priya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shalu,
i think if ur working with ECC 6 , this function module
exists.
regards,
Sandhya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.