Skip to Content
0
Aug 17, 2007 at 12:28 PM

Create order based on notification number - BAPI_ALM_ORDER_MAINTAIN

189 Views

Hi!

We are using the BAPI "BAPI_ALM_ORDER_MAINTAIN" to create an order based on an existing notification number.

The input for this BAPI:

<b>METHODS</b>

000001   HEADER       CREATETONOTIF    %00000000001
000001   OPERATION    CREATE           %000000000010010
000001                SAVE             %00000000001

<b>HEADER</b>

ORDERID       %00000000001
ORDER_TYPE    PM09
PLANPLANT     W041
MN_WK_CTR     MECHANIC
NOTIF_NO      10000188

<b>OPERATION</b>

ACTIVITY     0010
WORK_CNTR    MECHANIC
PLANT        W041
DESCRIPTION  ...

The return-message of the BAPI says: "Order %00000000001 was saved with number 4000151 and notification <b>10000498</b>"

But this notification number is not the number that we gave as input. So the system creates a new notification and that is not what we want.

How can we link this order to an existing notification by using this BAPI?

Kind regards,

Lieselot