I am using BAPI_ALM_ORDER_MAINTAIN to create Service Order. However, I have following queries on it.
1. When I am using the BAPI(BAPI_ALM_ORDER_MAINTAIN), it is also automatically creating Notification with Service Order. I want to know, if have an option of creating a Service Order without creating Notification.
2. In a situation, wherein I need to create Notification with Service Order, I need to pass Notification Header and Task data. However I don't see any option of passing this data in this BAPI(BAPI_ALM_ORDER_MAINTAIN). Let me know if we have any other option.
3. Right now I am using following methodology and sequence of BAPIs to create Service Order and Notification with Header and Task Data.
a. BAPI_ALM_ORDER_MAINTAIN - To create Service Order and Notification.
b. BAPI_ALM_NOTIF_DATA_MODIFY - To add CODE_GROUP(QMGRP) and Coding(QMCOD) in the created Notification Header Data.
c. BAPI_ALM_NOTIF_DATA_ADD - To add Tasks in the created Notification.
Please suggest, if there is any better option of creating Service Order & Notification with required Header Data and Tasks through single BAPI.