‎2009 Oct 27 7:02 AM
Hi ,
We have upgraded from ECC 5.0 to ECC 6.0 and during our testing we encoutered an error to this BAPI BAPI_ALM_ORDER_MAINTAIN, saying that the order type is not defined for maintenance order(Msg class I0, msg No 505).We are trying to change production orders through this BAPI. we tried the same program in the old version(ECC 5.0) but there is no error. have you encountered this same scenario and how did you fixed it?
Thanks in advance ,
Nikhil
‎2009 Dec 10 5:08 PM
Hi,
This error is by SP 15 for SAP_APPL 6.00. Temporarily, you can put in commentary the line 109 u201Cmtype = 'E'u201C in the function u201DIBAPI_H_EXEC_BU2_INTERNu201D while SAP fix it.
u201C* start of note 1275923
read t350
CALL FUNCTION 'T350_READ'
EXPORTING
auart = es_caufvd-auart
language = sy-langu
mtype = 'E' u201C<- Temporary fix
IMPORTING
t350_wa = ls_t350
EXCEPTIONS
no_t350_entry = 1
others = 2.
if sy-subrc <> 0.
message e505(i0) with es_caufvd-auart
raising save_not_possible.
endif.
end of note 1275923
start of note 1285912u201D
Regards,
‎2010 Aug 03 4:06 PM
‎2011 Mar 11 10:09 AM
BAPI BAPI_ALM_ORDER_MAINTAIN is named 'Process Maintenance-/Service Order', its doumentation states 'This Business Application Programming Interface (BAPI) is used to change maintenance or service orders and their subobjects'. It clearly was never meant to be used for production orders. It only supports order category 30. The system bahavour described is definitely not an error. A program 'correction' by SAP is not intended.
Best regards,
Reinhard Gruber
‎2013 Oct 23 3:04 PM
Hi Nikhil,
Did you solve this issue by any way.
Is there any other BAPI to change the Process Orders.
Thanks adn Reagrds,
Vinay Mutt
‎2013 Oct 23 3:13 PM
Read Note 1694267 - BAPI_ALM_ORDER_MAINTAIN not for work orders
(Summary : Try BAPI_PRODORD_CHANGE production or BAPI_PROCORD_CHANGE process, or raise an OSS message to request SAP Note 1636321.)
Regards,
Raymond
‎2013 Oct 24 5:41 AM
Hi Raymond,
BAPI_PROCORD_CHANGE can be used to change the data at Header Level of Process Orders. My Requirement is to change the Quantities of Materials present in the Material section of COR2. it would be great if you can provide me the BAPI for this purpose. I believe BDC is not a recommended approach for this.
Thanks in advance,
Vinay Mutt
‎2013 Oct 24 7:26 AM
As long as the OSS note is not updated/obsolete due to a, new one, there is few hope that such a BAPI exists in the delivered standard, If i knew one be sure I would have provided it...
So BDC may be today only standard available solution (Excluding play with not-released FM) - or - (as written, in the Note) create an OSS message to be allowed to implement the restricted (internally released only) https://service.sap.com/sap/support/notes/1636321
Regards,
Raymond