on 08-10-2012 12:11 PM
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:
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
Unit of measure cannot be changed due to existence of conditions" (Class 30, message 065)
this message sounds like: you are not creating a service master, you are changing an existing service master
you submit unit M, but the existing service master has a different unit of measure.
M is internal and external unit for meter, but in BAPIs and IDOCs you usually have to use the ISO code for a unit, which is in my system MTR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly, the UoM M is fine in that case.
Also my idea why it is not working is same as Jürgen´s. But i have no idea whythe BAPI is trying to update existing service master, as this BAPI does not provide this functionality
Also i tried again the BAPI in SE37 with Data Avinash mentioned in his last reply - again same error message.
If i use this in IDES System, it works fine..
anyway, i am afraid there is no solution i can do on my side - i will try debugging and if not helpful then i will create SAP Customer Notification.
Thanks to all!!!
Gregor
Hi
I am also getting same issue, any solution... ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There exists a pilot note 1246559.You may have to raise a OSS message with SAP for this.
Regards,
Ashwini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor,
remove master language part it will work fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Gregor ,
i used following inputs
IM_SERVICE_DATA
MATL_GROUP S01
BASE_UOM M
SERV_CAT ALL
IM_SERVICE_DATAX
MATL_GROUP X
BASE_UOM X
SERV_CAT X
SERVICE_DESCRIPTION
LANGUAGE EN
LANGUAGE_ISO EN
SHORT_TEXT TESTING
this is message i get
S BAPI 000 Service 3000143 has been created. External reference:
so i am not sure , may issue is system specific
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.