Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

message no. 8I222 IN excise posting j1ih

Former Member
0 Kudos

hi all,

During posting excise in J1IH,i have got following error.

Unit of measurement does not exist in the material master

Message no. 8I222

Diagnosis

Material  number not existing in  Material has been input.

Procedure

Create the  material  under consideration.  Use  Help  Function (F4)
to  search  for the material using  match codes available.

I have thoroughly checked the material master,j1id UOM.all are present there.

Message no.8i222 also make as warning message,but system still shows error.

pls suggest?

regards

sumit

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Sumit,

Please check the material unit of measure again if the conversion are maintained right.

Also refer the link below:

http://help.sap.com/saphelp_46c/helpdata/en/a5/63346d43a211d189410000e829fbbd/content.htm

In J1ID --- Material / Chapter id combination assign material to chapter id with specific material type as raw material/consumable/tools etc,Then select tab modvat determination and assigned input/output material combination and save.

Hope this helps

3 REPLIES 3

Former Member
0 Kudos

Hello Sumit,

Please check the material unit of measure again if the conversion are maintained right.

Also refer the link below:

http://help.sap.com/saphelp_46c/helpdata/en/a5/63346d43a211d189410000e829fbbd/content.htm

In J1ID --- Material / Chapter id combination assign material to chapter id with specific material type as raw material/consumable/tools etc,Then select tab modvat determination and assigned input/output material combination and save.

Hope this helps

0 Kudos

ISSUE CLOSED.

In material master variable order unit was not activated.

Solution;activate variable order unit in material master.

thanks all for suggestions.

JL23
Active Contributor
0 Kudos

the message cannot be set to a warning, it is a hardcoded error message.

Even you add it in customizing as a warning, such customizing is only considered if the programmer has forseen it, which is not the case in program MJ1IHF01

        SELECT SINGLE * FROM marm WHERE
          matnr = jv_item-matnr AND
          meinh = jv_item-meins.
      IF sy-subrc <> 0.
        MESSAGE e222 with 'Unit of measurement'.
      ENDIF.

If you can read the coding, then you can see that SAP is querying the material master based on the material number and unit you  just entered.