Skip to Content
0
Aug 10, 2012 at 11:11 AM

Service Master Upload - BAPI_SERVICE_CREATE

699 Views

Hy Gurus, i would like to use the BAPI 'BAPI_SERVICE_CREATE' in ABAP program for Migration of Service Master Records. Therefore i am testing the BAPI via SE37 in - Looks simple but i am facing always a strange error message:

"Unit of measure cannot be changed due to existence of conditions" (Class 30, message 065)

Looks like that SAP tries to change an existing record (Service conditions do not exist..) but i would like to create new service master record. Also i am not passing any service number..

Internal number Range is set in Customizing.

All i need is to pass:

  • Short Text
  • Service Category
  • UoM
  • Material Group

which is working in dialogue mode.

This is what i set in BAPI Structures:

IM_SERVICE_DATA

MATL_GROUP I_40305

BASE_UOM M

SERV_CAT ENGR

MASTER_LANGU EN

IM_SERVICE_DATAX

MATL_GROUP X

BASE_UOM X

SERV_CAT X

MASTER_LANGU X

SERVICE_DESCRIPTION

LANGUAGE EN

SHORT_TEXT MOTOR-ROTOR REPAIR-2,2KW-3HP,TEST

Any ideas?

Thanks!

Gregor

Attachments

Message 065.jpg (154.5 kB)