cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the 'BAPI_ALM_ORDER_MAINTAIN' with the method 'CREATETONOTIF'

Former Member
0 Kudos

Dear friends,

I want to create the PM order referenced by notification in the ABAP program. BAPI 'BAPI_ALM_ORDER_MAINTAIN' seems a good solution. In my R/3 version ECC6.0, there is the method 'CREATETONOTIF' can be used in the importing parameter 'it_methods-method'. However, when I used the bapi and filled in the method, it doesn't work. The bapi created a PM order but not referenced by the notification.

I think I filled in some wrong values in those importing parameters like 'objectkey'.

Can anybody give me some hint? Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

By debug, i found the notification no I filled in is not transfered to the field 'lv_qmnum' in the function 'IBAPI_PROC_METHOD_TABLE_EXEC' embedded in the BAPI.

Which parameters i missed?

Former Member
0 Kudos

Hi,

You can write your notification number into it_methods

Here is example

REFNUM

000001

OBJECTTYPE

HEADER

METHOD

CREATETONOTIF

OBJECTKEY

%00000000001000300000047 (000300000047 is notif no)