cancel
Showing results for 
Search instead for 
Did you mean: 

Mass creation of Maintenance Plan

Former Member
0 Kudos
404

Hi Masters,

I have encountered a problem while developing a program for creation of mainteannce plans in bulk.

I am using the function module  "MPLAN_CREATE" for creating mass creation of maintenance plans.  I am able to map all the required fileds from MPOS table.

but for workcentrer i am not able to track any related table, i am able to get some internal number from the field GEWERK and RMIPM.  But user will give the work ceneter description in his uplading file while creating the maitenance plans.  Can you please let me know, which table i can use for getting the Main work center information.

Can any one of you please suggest me, which table i can use for getting this workcenter from MPOS table.

Thank you in advance for your reply.

Thanks,

Josh

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor

Hi Joshita,

You are looking for table CRHD.

The complete answer is:

Pass GEWRK value of MPOS table into the OBJID field of  CRHD table, and the description you are looking for, is available in the ARBPL field of the CRHD table.

(The full description of Work Center is available in CRTX  table. Input OBJID value to get the 40char description in field KTEXT )

Jogeswara Rao K

Former Member
0 Kudos

Hi Jogeswara,

Thank you for your quick and correct response.

jogeswararao_kavala
Active Contributor
0 Kudos

Joshita,

Perhaps you wanted to mark Correct Answer to my post.

Jogeswara Rao K

Answers (0)