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: 

Creating Plant maintainence orders

Former Member
0 Kudos

Hi Experts,

My requirement is to create work orders with certain order type and activity type ,with specific planner group,equipment,work center etc etc .

I have 2 function modules with me BAPI_ALM_ORDER_MAINTAIN and ALM_ME_ORDER_CREATE.

Currently i am looking for good set of data .But meanhwhile could someone post sample code .

Thanks,

Pradeep.

1 ACCEPTED SOLUTION

former_member544878
Participant
0 Kudos

Hi,

Oder creation - IW31 use BADI - 'BAPI_ALM_ORDER_MAINTAIN'

CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'

TABLES

it_methods = it_methods_1

it_header = it_header_1

it_operation = it_operation_1

return = it_return_1.

Thx,

Rehan

5 REPLIES 5

former_member544878
Participant
0 Kudos

Hi,

Oder creation - IW31 use BADI - 'BAPI_ALM_ORDER_MAINTAIN'

CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'

TABLES

it_methods = it_methods_1

it_header = it_header_1

it_operation = it_operation_1

return = it_return_1.

Thx,

Rehan

0 Kudos

Hi ,

Thanks can you send me the parameters to pass with in these IT_METHODS ,IT_HEADER,IT_OPERATIONS.

Thanks,

Pradeep.

0 Kudos

Mandatory ones.

0 Kudos

I found the sample code .

Former Member
0 Kudos

sample code found.