Application Development and Automation 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: 
Read only

Create a Maintenance Plan Using function module mplan_create

Former Member
0 Likes
1,644

Hi ,

We are implmenting the changes for the Customer service projectt. The requirement is need to create the maintenance plan using the Custom function module "Mplan_create" But i am getting the error message like below. Please provide the solution if any.

In fm Wa_head the below field values are passed:

WPTEXT, :ESPERSSo

ABHRO : 200

SFKAT : 1

MpTYP :SA

HUNIT : DAY

STADT : 03.10.2014

MMPT :

ZYKL1 :1.000000e+07

Zeieh : MON

MPOS :

PSTEXT : ESPRESSO

EQUNR : 30000144

PLNTY  - A

PLNNR - 6

PLNAL : 1

GEWRK : 100005

IWERK :L105

KDAUF: 8XXXXX

KDPOS : 000020 (next item)

Error message : 1) E-Mplan-022-The following message concern maintenace plan  '%000000001'

                        2) E-IP-665-Use a Maintenance plan category without reference to outline agreement".

Please find the attachement for the details of the data.

Your help is highly appreciated.

Thanks & Regards

Joseph vijayan.L

1 REPLY 1
Read only

Former Member
0 Likes
844

Hi,

I am using the function module 'Mplan_create' for the New Contract and item. I need to create maintenance plan using the IP50 transaction.