Skip to Content

Error in application

Hi ,

I have one requirement for Quantity Conversion .I am using FM: ' MD_CONVERT_MATERIAL_UNIT' .For particular Unit it rises exception : 'Error_in_application'.

CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'

EXPORTING

I_MATNR = LS_VBRP-MATNR

I_IN_ME = LS_VBRP-VRKME

I_OUT_ME = LS_VBRP-MEINS

I_MENGE = LS_VBRP-FKIMG

IMPORTING

E_MENGE = LS_FINAL-BASE_QUAN

EXCEPTIONS

ERROR_IN_APPLICATION = 1

ERROR = 2

OTHERS = 3.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 14, 2015 at 06:29 AM

    Dear Mahesh,

    please check conversion factor is maintained or not for the units of I_MENGE w.r.t base unit for the material you are getting error. Also check in mm02 tcode additional data ->units of measure tab.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2015 at 07:51 AM

    Hi Mahesh,

    Exception ERROR_IN_APPLICATION is triggered if the conversion factor cannot be determined OR if the calculated quantity in Base Unit of measurement is higher than "9999999999".

    Regards

    Oliver

    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.