Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what are bapis for work order

Former Member
0 Kudos

hai gurus can any one tell me the bapis to create delete and update the workorders, and bapis to read resources, employee,workcenter, and association of employee with work center

thanx in advance

afzal

2 REPLIES 2

Former Member
0 Kudos

Hi,

BAPI

BAPI_ALM_ORDER_MAINTAIN

BAPI ALM_PM_NOTIFICATION_CREATE.

fm's

IQS0_CHANGE_NOTIF_TO_ORDER or IQS0_CREATE_NOTIF_TO_ORDER

Try with this BAPI....BAPI_ALM_NOTIF_CREATE

Functionality

You can use this BAPI to create a new maintenance- or service notification. You can create certain fields from the notification header as well as items, causes, tasks, actions and long texts for this. You can also maintain partner data.

Technical note

To create items, causes, tasks, or actions, the sort field must be filled.

When you create a cause, the sort field of the item must also be filled.

When you create a long text, the fields OBJTYP and OBJKEY must be filled. OBJTYP can have the following values:

1. QMEL - Notification header

2. QMFE - Notification item

3. QMUR - Notification cause

4. QMSM - Notification task

5. QMMA - Notification action

OBJKEY must have the corresponding sort field for the values named above. The combination of sort field of item/cause, item/task and item/action must be unique within a notification. If you leave the sort field empty and the OBJTYP = QME, then a long text is created for the notification header.

In the field REFOBJECTKEY an external reference can be transferred. The link between external reference keys and R/3 keys is transferred in the export table KEY_RELATIONSHIP. If the fields SENDER, REFOBJECTTYPE and REFRELTYPE are filled, then an object link can be created at notification header level.

<b>Reward points if useful</b>

Regards

Ashu

Former Member
0 Kudos

Hi

check the following Bapis

COXT_BAPI_ORDER_CREATE

BAPI_ALM_ORDER_GET_DETAIL

BAPI_ALM_ORDER_MAINTAIN

BAPI_STANDING_ORDER_CREATE

BAPI_PLANNEDORDER_CHANGE

BAPI_PLANNEDORDER_CREATE

IBAPI_R_REL_SET_WORKCENTER

IBAPI_R_CHECK_WORKCENTER

<b>Reward points for useful Answers</b>

Regards

Anji