2008 Nov 12 1:19 PM
Hello All
I am trying to creata a Order against aNotification and trying to assign to the Notification.
There are below 2 approaches:
1. Create the Order with BAPI
BAPI_ALM_ORDER_MAINTAIN
and then assign it to the notification with BAPI
ISU_SMNOTIF_ASSIGNTOORDER
Some values are not getting updated with this BAPI
2. I have got another 2 FM's
DIWPS_NOTIF_CREATE_ORDERS
IWOL_IW28_CREATE_ORDER
but while running these 2 BAPI's the IW33 transaction for creating Maintenance Order screens are coming up, and we have to manually save the order then only the order no is getting generated.
Can anyone suggest me how to suppress those screens?
I am calling BAPI_TRANSACTION_COMMIT after calling the above BAPI's.
Please suggest.
Thanks in advance.
Hello All
I am trying to creata a Order against aNotification and trying to assign to the Notification.
There are below 2 approaches:
1. Create the Order with BAPI
BAPI_ALM_ORDER_MAINTAIN
and then assign it to the notification with BAPI
ISU_SMNOTIF_ASSIGNTOORDER
Some values are not getting updated with this BAPI
2. I have got another 2 FM's
DIWPS_NOTIF_CREATE_ORDERS
IWOL_IW28_CREATE_ORDER
but while running these 2 BAPI's the IW33 transaction for creating Maintenance Order screens are coming up, and we have to manually save the order then only the order no is getting generated.
Can anyone suggest me how to suppress those screens?
I am calling BAPI_TRANSACTION_COMMIT after calling the above BAPI's.
Please suggest.
Thanks in advance.
2008 Nov 12 1:24 PM
Hi,
You have to fill the Methods paramters correctly. Refer to the funtion module documentation
METHOD Methods
The methods with which the data should be processed. The following functions exist:
CREATE Create objects
CHANGE Change objects
DELETE Delete objects
RELEASE Release
TECHNICALCOMPLETE Technically complete
ATPCHECK Availability check
CALCULATE Calculate
SCHEDULE Schedule
DELELTEDSEX Delete the status for external scheduling at operation level
SAVE Save all data
DIALOG Call-up dialog. See explanation below.
TRACE Write trace file in the specified file to the frontend
I hope you are passing the CREATE for creating the order.
regards,
Advait
2008 Nov 12 4:10 PM
Thanks Advait
I am passing the parameters properly as per the 1st approach.
Also I am passing the CREATE method, and the order is getting created properly.
But I am unable to see the Notification Number against the order in IW33 screen, whereas the Order Number is properly getting assigned to the Notification, I am able to see that in IW23 screen.
Please let me know if anybody has tried any BAPI that I have mentioned in the 2nd approach.
2008 Nov 12 4:24 PM
Hi Raghu,
Try to use these bapis
BAPI_ALM_NOTIF_CREATE - to create notification
BAPI_ALM_NOTIF_SAVE - to save notification
BAPI_TRANSACTION_COMMIT
2008 Nov 12 4:30 PM
Thaks Rodrigo
The BAPI's you have mentioned are used for creating Notification and saving it.
But my requirement is to create a Maintenance Order(IW31) against a existing Notification.
2008 Nov 12 4:41 PM
You can create notif and order separate, and using BAPI_ALM_NOTIF_DATA_ADD to add order to notif
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |