Skip to Content
author's profile photo Former Member
Former Member

SOLUTION FOR OBSOLETE FUNCTION MODULE

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 11:19 AM

    Hi Shalu,

    i think if ur working with ECC 6 , this function module

    exists.

    regards,

    Sandhya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 11:28 AM

    hi,

    use FM UNIT_OF_MEASURE_SAP_TO_ISO.

    do reward if it is helpful

    Regards,

    Priya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 11:41 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.