on ‎2011 Aug 03 5:19 PM
Hi all,
Does anyone know of a single function module that will close a PM/CS order (system-status CLSD) and also update the AFIH-IPHAS field at the same time.
We have tried various scenarios (including BAPI_ALM_ORDER_MAINTAIN, IMAS_CHANGE_STATUS_SINGLE, STATUS_CHANGE_INTERN, etc) without luck..
Note 1: if both aren't updated, then it messes up order processing and reporting...
Note 2: we have used the same method as IW38, but it uses BDC and we don't want to use that..
PeteA
Request clarification before answering.
Hi,
I don't know of any single function module, there possibly is none that does the close and updates IPHAS.
Have you considered transaction CO99 (program RKKBABS0 for batch/background).
- Can be run for specific order types based on retention time
- Order must have status TECO.
There are limited selection options but could be expanded as part of a custom development.
-Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pete,
maybe you know...
How to revoke CLSD and TECO...
We have tried to use BAPI_ALM_ORDER_MAINTAIN for revoke TECO, but It works sometimes and sometimes doesn't... We don't know when and why... (((
Similar thead was discussed here, but was not resolved...
Hi all,
I hope I found out the solution... But I have not used it yet...
See this SAP Note
1991913 - Status enhancements for BAPI BAPI_ALM_ORDER_MAINTAIN (25.02.2015)
Symptom
You use the BAPI BAPI_ALM_ORDER_MAINTAIN.
It is impossible to perform the following status actions:
And these
2027616 - EAM: Additional BAPI Functionality - Preparation Note (06.06.2014)
2001050 - EAM: Preparation for additional function - BAPI BAPI_ALM_NOTIF_CREATE (29.09.2014)
2003154 - EAM: Creation of notification with template - BAPI BAPI_ALM_NOTIF_CREATE (23.09.2014)
1991946 - Preparation for additional status changes - BAPI BAPI_ALM_NOTIF_CREATE (19.12.2014)
Best regards,
Anton
One more...
2032068 - Status enhancements for BAPI BAPI_ALM_ORDER_MAINTAIN 2 (25.02.2015)
With this SAP Note, you can select additional methods.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pete!!
If your desire to close your work order technically, the field PHASE is filled up as '3', which means 'Technically completed', by using IW32 T-CODE, in SAP.
Have you tried to use the method value "TECHNICALCOMPLETE" in the BAPI_ALM_ORDER_MAINTAIN? I guess it works!
Regards,
Evandro Costa Neves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 27 | |
| 14 | |
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.