Skip to Content
0
Jan 06 at 11:35 AM

BAPI/FM for material assignment to an inspection plan QP02

116 Views Last edit Jan 09 at 05:22 AM 4 rev

Requirement: To assign single material to an existing inspection plan.

I had referred several threads and posting it here since I did not get any concrete solution. Some threads suggest direct update of MAPL table. Hope a better method exists.

BAPI

BAPI_INSPECTIONPLAN_CHANGE is unavailable in our system.

image.png

BDC

I tried BDC but the problem is that there is no facility for new row addition to insert a material assignment. I have to do multiple page downs to get a blank row for insertion. This will increase response time when the records are more. I could write a logic for the number of page downs required based on MAPL total count divided by count of visible rows in material assignment screen of QP02 tcode.

FM

I checked ROUTING_MAINTAIN but it did not contain any input for passing task list type.

If you had done this requirement using any FM/BAPI, kindly provide the FM detail or idea in BDC to quickly get to the table control empty row in order to assign a material to an inspection plan?

Attachments

image.png (21.7 kB)