cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Equipment's to object list in newly created maintenance item from backend

former_member724791
Discoverer
0 Kudos

Hi Everyone,

I have a requirement to add Equipment's to object list in newly created maintenance item from ABAP.
I am using the FM 'IWOU_POST_OBJK' by passing maintenance item OBJNR and OBKNR.

It is working well, when I tried to add more equipment's where maintenance item has equipment/equipment's in object list already. In this case maintenance item has OBKNR value already, so using the above FM is working,

The issue here is when there is no equipment's in the object list and trying to add first equipment to object list, the above FM is not working, since there is no OBKNR value for the maintenance item in MPOS.

Could you please help me with the solution to fix this?

Thanks in advance!

Best Regards,
Lavanya

former_member401433
Discoverer
0 Kudos

Hi lavanyaravindran ,

Did you get any solution for this? we have same requirement. its not working to add first equipment if there is no object list

Thanks

former_member401433
Discoverer
0 Kudos

peter.atkin - Could you please check this?

former_member724791
Discoverer
0 Kudos

Hi Narendra,

The issue is solved. I have used the FM "OBJECTLIST_NUMBER" to create OBKNR and added this value to the internal table to call FM "IWOU_POST_OBJK".

Best Regards,
Lavanya Ravindran

former_member401433
Discoverer
0 Kudos

Thanks lavanyaravindran . OBJECTLIST_NUMBER & IWOU_POST_OBJK will save the object List in OBJK table. But we are not able to link to maintenance item ( OBJK--->OBKNR to MPOS --> OBKNR)via MPLAN_CREATE or MPLAN_CHANGE FMs. how did you link the object list number with maintenance item in MPOS?

Accepted Solutions (0)

Answers (0)