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: 

IP02 BDC select of proper maintenance item

Former Member
0 Kudos

I am writing a cleanout program that will delete a piece of equipment off of the system. I have several tcodes that I am doing via BDC. When it comes to IP02, I do not want to deactivate the entire maintenance plan if the item I am deleting is not the only item on the plan. I would like to delete the specific item only. However, IP02 does not allow selection of the line by item number, it is a visual selection.

Does anyone know of another t-code or a hidden way in IP02 to select a specific item number from the list. When I generate a BDC for a sample it forces me to select a line based upon a visual inspection. Has anyone automated this before? I know in SD you can select a sales order line by part or other field.

Thanks

Jeff

1 REPLY 1

Former Member
0 Kudos

I was able to gather the entries that I would have into an internal table using function module IWP1_READ_ITEMS_FOR_PLAN_DB. I then sorted the entries by line item (wppos) and selected the entry that I needed and used the sy-tabix as the line number in the BDC.