cancel
Showing results for 
Search instead for 
Did you mean: 

'BAPI_ALM_ORDER_MAINTAIN' with method 'CREATETONOTIF' is not working

sonu_kumar6
Explorer
0 Kudos

Hello Expert,

i am using 'BAPI_ALM_ORDER_MAINTAIN' with method 'CREATETONOTIF' for create order. But it's giving me error " Entry 1 in table HEADER (method CREATETONOTIF) was not found "

while i am passing according to the solution provided in SAP community.

i have checked all the existing solutions and it's not helping.

Can anyone provide any sample code or suggestion how to use this BAPI for creation order for notification.

Thanks in Advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Bhagavathi
Explorer
0 Kudos

Entry 1 in table HEADER (method CREATETONOTIF) was not found means you need to pass the Header Value then only the workorder gets created.

Like this

ls_header-orderid = '%00000000001'.

ls_header-start_date = sy-datum.
ls_header-basicstart = sy-uzeit.
ls_header-funct_loc = PL01-SD. "functional location

CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = lt_methods
it_header = lt_header
return = lt_return
et_numbers = lt_numbers.

Regards,

Bhagavathi S