Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Table / FM to display the current status of Maintenance Plan in SAP - PM

Dear PM experts,

I am preparing a z report to show the Maintenance plan details, I need to display the current status of the maintenance plan

Currently i have used the logic to fetch the status from JCDS - JEST tables.

i am unable to fetch the correct status of maintenance plan for the following scenario

1. Intial status of the maintenance plan - 10000001 - is CRTD and  If i change the status to "DLFL" / "INAC" - Now the report is showing "DLFL" / "INAC". But if i change the status  back to CRTD. The report has to show the current status as "CRTD",  but it is showing the last status of "INAC" / "DLFL"


I have tried using the table VIMPLASTAT, but there also the same issue

Please suggest some Function module or any other tables which will resolve this issue

Please help me on this issue




Also FM  'STATUS_READ' will help. Here just pass OBJNR value (also ONLY_ACTIVE value as 'X') in the import parameters and Execute. Your status will be coming through a table STATUS. (field STAT).


1. If your plan is in CRTD status then you will be getting one entry in this table with value I0001 (CRTD).

2. When your plan is in INAC/DLFL status then you will be getting two entries i,e, both I0001(CRTD) and I0076 (DLFL).

So you can code accordingly.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question